X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fservice%2FExternalOperation.java;h=d12414c79b2e86f46eb7b9ed283ce74459c80dc3;hb=c26409b1caf2f1e560d37c5befd11b442399c3fe;hp=0e1568aec13cca04214aa6d46ee283a35a8dc42d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db/src/org/simantics/db/service/ExternalOperation.java b/bundles/org.simantics.db/src/org/simantics/db/service/ExternalOperation.java index 0e1568aec..d12414c79 100644 --- a/bundles/org.simantics.db/src/org/simantics/db/service/ExternalOperation.java +++ b/bundles/org.simantics.db/src/org/simantics/db/service/ExternalOperation.java @@ -1,19 +1,19 @@ -package org.simantics.db.service; - -public interface ExternalOperation { - /** - * Undoes the operation. If operation is disposed, does nothing. - */ - void undo(); - - /** - * Redoes the operation. If operation is disposed, does nothing. - */ - void redo(); - - /** - * Tells if external operation is still valid. For example operations - * related to experiments are disposed when the experiment is disposed. - */ - boolean isDisposed(); -} +package org.simantics.db.service; + +public interface ExternalOperation { + /** + * Undoes the operation. If operation is disposed, does nothing. + */ + void undo(); + + /** + * Redoes the operation. If operation is disposed, does nothing. + */ + void redo(); + + /** + * Tells if external operation is still valid. For example operations + * related to experiments are disposed when the experiment is disposed. + */ + boolean isDisposed(); +}