1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 02:45:32 +02:00

[425026] import connection fails to create default filters when no prior

connections
This commit is contained in:
Dave McKnight 2014-01-10 11:13:34 -05:00
parent d093941722
commit dd660ec538

View file

@ -150,7 +150,15 @@ public class RSEDOMImporter {
if (systemType != null) {
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
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.setPromptable(isPromptable);
} else {