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:
parent
d093941722
commit
dd660ec538
1 changed files with 9 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue