]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/BatchEntrySpec.js
Handle order, editor, toggle autoOpen when adding to batch, added toggleInitialState...
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / execution / BatchEntrySpec.js
index 5eae2b3b1f2709e56d13dcd5c359180b70ff225c..2662984e05b3b20ae74bd3b52f8667244c375439 100644 (file)
@@ -15,10 +15,23 @@ qx.Class.define("org.argeo.slc.ria.execution.BatchEntrySpec", {
                this.setModule(module);\r
                this.setFlow(flow);\r
                this.setOriginalSpec(flow.getExecutionSpec());\r
+               this.setName(flow.getExecutionSpec().getName());\r
                this.fetchInstanceValues();\r
        },\r
        \r
        members :  {\r
+               \r
+               getLabel : function(){\r
+                       var label = this.getModule().getName();\r
+                       label += "/" + this.getModule().getVersion();\r
+                       label += "/" + this.getFlow().getName();\r
+                       return label;\r
+               },\r
+               \r
+               toXml : function(){\r
+                       return this.getLabel() + "\n";\r
+               },\r
+               \r
                /**\r
                 * Fetch the Spec Values with the Flow Values to make the current instance value\r
                 */\r