]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Copyright texts (refs #4180)
authorlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 18 Mar 2013 08:34:42 +0000 (08:34 +0000)
committerlempinen <lempinen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 18 Mar 2013 08:34:42 +0000 (08:34 +0000)
git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27112 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.modelica/src/org/simantics/modelica/data/SimulationResult.java
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/HistoryDatasetResult.java
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SaveResultJob.java
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynExperiment.java
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynModel.java
org.simantics.sysdyn/src/org/simantics/sysdyn/manager/SysdynResult.java

index fdfbbf936c3f10f10e17ca1750fcc7c28be7faa0..369a28140039b70623cd52a9356541e0a0721d1f 100644 (file)
@@ -8,6 +8,7 @@
  *\r
  * Contributors:\r
  *     VTT Technical Research Centre of Finland - initial API and implementation\r
+ *     Semantum Oy - Bug #4180\r
  *******************************************************************************/\r
 package org.simantics.modelica.data;\r
 \r
index 4e11e0824c050d458d826f854afed7f1c3bad6ef..700ae07a66a652582d5ced7e36b364d0b85329e1 100644 (file)
@@ -8,7 +8,7 @@
  *\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
index c36d5703d98b044d3b4c892c45ecddc367db623c..797bdc6865b7cf8a251a85b12b43dabb64bda44a 100644 (file)
@@ -8,7 +8,7 @@
  *\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
index 98fc43ad203ee12f3eda24ffcac6bbc8b7c7a7fe..093baadff03d4f504335e1d8876f36255ab9d539 100644 (file)
@@ -8,7 +8,7 @@
  *\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
index 448deccc0c6dc7231eaff99616be8592fe43e3f1..55a72243c3c4849aec10f68dcabe48a9d08ccec6 100644 (file)
@@ -8,7 +8,7 @@
  *\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
@@ -90,6 +90,9 @@ public class SysdynModel implements IMappingListener, IModel, VariableSubscripti
 \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
@@ -268,6 +271,7 @@ public class SysdynModel implements IMappingListener, IModel, VariableSubscripti
      */\r
     public synchronized boolean update(ReadGraph graph) throws DatabaseException {\r
         if(mapping.isDomainModified()) {\r
+            structureModified = true;\r
             \r
             try {\r
                 mapping.updateRange(graph);\r
@@ -550,5 +554,13 @@ public class SysdynModel implements IMappingListener, IModel, VariableSubscripti
         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
index fe54118b9505028f8a6d7995c834f76fdf0685ae..e564d591f821c8ce09feda0a190ccd0d1b1cbd51 100644 (file)
@@ -8,7 +8,7 @@
  *\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