]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.server/src/org/simantics/document/server/IEventCommand.java
Playground for Antti.
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / IEventCommand.java
index b971fef4c6b6ca8540d8cc257c7166db1d0c7f04..5a024ec393090d58d28b7014048b5935e3580371 100644 (file)
@@ -1,11 +1,14 @@
 package org.simantics.document.server;
 
+import org.simantics.document.server.io.CommandContext;
+import org.simantics.document.server.io.CommandContextMutable;
+
 public interface IEventCommand {
     
     public void setNext(IEventCommand command);
     public IEventCommand getNext();    
-    public void handleCommand();
-    public void commandSuccess();
+    public CommandContext handleCommand(CommandContextMutable context);
+    public CommandContext commandSuccess(CommandContextMutable context);
     public void commandError(String errorMessage);
 
 }