]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/utils/StateUndoContextBase.java
Refactoring of simulator toolkit
[simantics/platform.git] / bundles / org.simantics.structural.synchronization / src / org / simantics / structural / synchronization / utils / StateUndoContextBase.java
diff --git a/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/utils/StateUndoContextBase.java b/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/utils/StateUndoContextBase.java
new file mode 100644 (file)
index 0000000..8c57304
--- /dev/null
@@ -0,0 +1,13 @@
+package org.simantics.structural.synchronization.utils;
+
+/**
+ * Stores state information of removed modules.
+ * 
+ * @author Hannu Niemistö
+ */
+public interface StateUndoContextBase {
+       
+    public void saveState(Solver solver, int componentId, String uid);
+    public boolean loadState(Solver solver, int componentId, String uid);
+       
+}