X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.structural.synchronization%2Fsrc%2Forg%2Fsimantics%2Fstructural%2Fsynchronization%2Futils%2FStateUndoContextBase.java;fp=bundles%2Forg.simantics.structural.synchronization%2Fsrc%2Forg%2Fsimantics%2Fstructural%2Fsynchronization%2Futils%2FStateUndoContextBase.java;h=8c573042866f0d79823e61c318f944bf2fac235b;hp=0000000000000000000000000000000000000000;hb=bb4e04be3cb29a5d08e412cd4eaa90ad0158b954;hpb=a5a5b0f8e0d52f5e400e3857c12fe862dd2e2dd9 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 index 000000000..8c5730428 --- /dev/null +++ b/bundles/org.simantics.structural.synchronization/src/org/simantics/structural/synchronization/utils/StateUndoContextBase.java @@ -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); + +}