|
@@ -1,5 +1,11 @@
|
|
package de.tu_darmstadt.tk.SmartHomeNetworkSim.core;
|
|
package de.tu_darmstadt.tk.SmartHomeNetworkSim.core;
|
|
|
|
|
|
|
|
+import de.tu_darmstadt.tk.SmartHomeNetworkSim.core.configuration.ImportConfiguration;
|
|
|
|
+import de.tu_darmstadt.tk.SmartHomeNetworkSim.core.configuration.NetworkTreeSettings;
|
|
|
|
+import de.tu_darmstadt.tk.SmartHomeNetworkSim.core.configuration.SelectionModel;
|
|
|
|
+import de.tu_darmstadt.tk.SmartHomeNetworkSim.core.configuration.VisualizationConfiguration;
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Class which stores and returns the different configuration classes
|
|
* Class which stores and returns the different configuration classes
|
|
*
|
|
*
|
|
@@ -21,7 +27,10 @@ public class ConfigurationManager {
|
|
* Selection model
|
|
* Selection model
|
|
*/
|
|
*/
|
|
private SelectionModel selection;
|
|
private SelectionModel selection;
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Settings of the networkTree
|
|
|
|
+ */
|
|
|
|
+ private NetworkTreeSettings networkTree;
|
|
/**
|
|
/**
|
|
* Initialize the Configuration Manager
|
|
* Initialize the Configuration Manager
|
|
*/
|
|
*/
|
|
@@ -29,6 +38,7 @@ public class ConfigurationManager {
|
|
visual = new VisualizationConfiguration();
|
|
visual = new VisualizationConfiguration();
|
|
importConf = new ImportConfiguration();
|
|
importConf = new ImportConfiguration();
|
|
selection = new SelectionModel();
|
|
selection = new SelectionModel();
|
|
|
|
+ networkTree = new NetworkTreeSettings();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -57,4 +67,8 @@ public class ConfigurationManager {
|
|
public SelectionModel getSelectionModel(){
|
|
public SelectionModel getSelectionModel(){
|
|
return selection;
|
|
return selection;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public NetworkTreeSettings getNetworkTreeSettings(){
|
|
|
|
+ return networkTree;
|
|
|
|
+ }
|
|
}
|
|
}
|