]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.server/src/org/simantics/document/server/client/WidgetManager.java
Playground for Antti.
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / client / WidgetManager.java
index 8474bfd15b1b14e3dcbda4f74c38fdc2d8955662..09338b50df288663e2d9e979aa6c1e6267ea3ad4 100644 (file)
@@ -4,6 +4,8 @@ import java.util.TreeMap;
 
 import org.simantics.document.server.IEventCommand;
 import org.simantics.document.server.JSONObject;
+import org.simantics.document.server.io.CommandContext;
+import org.simantics.document.server.io.ICommand;
 
 public interface WidgetManager<D extends Document, W> {
 
@@ -13,7 +15,7 @@ public interface WidgetManager<D extends Document, W> {
        
        public void updateChildren(D document, JSONObject object, W widget, TreeMap<String, WidgetData> childMap);
        
-    public IEventCommand eventCommand(D document, JSONObject object, W widget, String command);
+    public IEventCommand eventCommand(D document, JSONObject object, W widget, ICommand command, CommandContext context);
        
        public String getProperty(D document, JSONObject object, W widget, String property);