]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.server/src/org/simantics/document/server/bean/Command.java
Playground for Antti.
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / bean / Command.java
index f47c0c5c38ff53eade8eaa9834d641aa4e0cba06..ddfb6ea9ed89b91ebb4ac31a37c6c9ea2c7340c1 100644 (file)
@@ -12,6 +12,10 @@ public class Command implements ICommand {
 
     public Command() {}
     
+    public Command(String command) {
+        this.command = command;
+    }
+
     public Command(String targetId, String trigger, String command, CommandContext constants) {
         this.targetId = targetId;
         this.trigger = trigger;