]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db/src/org/simantics/db/service/ExternalOperation.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db / src / org / simantics / db / service / ExternalOperation.java
1 package org.simantics.db.service;\r
2 \r
3 public interface ExternalOperation {\r
4         /**\r
5          * Undoes the operation. If operation is disposed, does nothing.\r
6          */\r
7         void undo();\r
8 \r
9         /**\r
10          * Redoes the operation. If operation is disposed, does nothing.\r
11          */\r
12         void redo();\r
13 \r
14         /**\r
15          * Tells if external operation is still valid. For example operations\r
16          * related to experiments are disposed when the experiment is disposed.\r
17          */\r
18         boolean isDisposed();\r
19 }\r