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> {
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);