mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +02:00
[425026] import connection fails to create default filters when no prior
connections
This commit is contained in:
parent
d093941722
commit
dd660ec538
1 changed files with 9 additions and 1 deletions
|
@ -150,7 +150,15 @@ public class RSEDOMImporter {
|
||||||
if (systemType != null) {
|
if (systemType != null) {
|
||||||
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
|
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
|
||||||
String profileName = profile.getName();
|
String profileName = profile.getName();
|
||||||
host = registry.createHost(profileName, systemType, hostName, hostAddress, description, true);
|
host = registry.createHost(profileName, systemType, hostName, hostAddress, description, false);
|
||||||
|
|
||||||
|
// make sure default filters available
|
||||||
|
ISubSystemConfiguration[] configsArray = registry.getSubSystemConfigurationsBySystemType(systemType, true);
|
||||||
|
for (int i = 0; i < configsArray.length; i++) {
|
||||||
|
ISubSystemConfiguration config = (ISubSystemConfiguration)configsArray[i];
|
||||||
|
config.getFilterPoolManager(profile, true); // create the filter pool
|
||||||
|
}
|
||||||
|
|
||||||
host.setOffline(isOffline);
|
host.setOffline(isOffline);
|
||||||
host.setPromptable(isPromptable);
|
host.setPromptable(isPromptable);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue