*\r
* Contributors:\r
* VTT Technical Research Centre of Finland - initial API and implementation\r
- * Semantum Oy - initial API and implementation\r
+ * Semantum Oy - Bug #4180\r
*******************************************************************************/\r
package org.simantics.sysdyn.manager;\r
\r
*\r
* Contributors:\r
* VTT Technical Research Centre of Finland - initial API and implementation\r
- * Semantum Oy\r
+ * Semantum Oy - Bug #4180\r
*******************************************************************************/\r
package org.simantics.sysdyn.manager;\r
\r
*\r
* Contributors:\r
* VTT Technical Research Centre of Finland - initial API and implementation\r
- * Semantum Oy\r
+ * Semantum Oy - Bug #4180\r
*******************************************************************************/\r
package org.simantics.sysdyn.manager;\r
\r
\r
@SuppressWarnings("rawtypes")\r
private final Map<Class, Object> services = new HashMap<Class, Object>();\r
+ \r
+ \r
+ private boolean structureModified = false;\r
\r
/**\r
* Recursively read all module configurations that are used in \r
*/\r
public synchronized boolean update(ReadGraph graph) throws DatabaseException {\r
if(mapping.isDomainModified()) {\r
+ structureModified = true;\r
\r
try {\r
mapping.updateRange(graph);\r
for(VariableValueSubscription subscription : snapShot)\r
subscription.update();\r
}\r
-\r
+ \r
+ \r
+ public boolean isStructureModified() {\r
+ return structureModified;\r
+ }\r
+\r
+ public void setStructureModeified(boolean structureModified) {\r
+ this.structureModified = structureModified;\r
+ }\r
}\r
*\r
* Contributors:\r
* VTT Technical Research Centre of Finland - initial API and implementation\r
- * Semantum Oy\r
+ * Semantum Oy - Bug #4180\r
*******************************************************************************/\r
package org.simantics.sysdyn.manager;\r
\r