From 20aab0c365e87cdefadbb2c5c9325c530761a320 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Thu, 6 Mar 2014 16:46:11 +0100 Subject: New ModuleFactory - not finished yet. Can collect module info but not export. Contents collection to be added. Pretty-printed XML - an example module should be easy to read. --- src/main/resources/boot/SC/InstantiateItem.xml | 33 +++++++++++----------- .../resources/boot/SC/LocalObjectDefCreator.xml | 2 +- src/main/resources/boot/SC/New.xml | 2 +- src/main/resources/boot/SC/SetWorkflow.xml | 2 +- 4 files changed, 20 insertions(+), 19 deletions(-) (limited to 'src/main/resources/boot/SC') diff --git a/src/main/resources/boot/SC/InstantiateItem.xml b/src/main/resources/boot/SC/InstantiateItem.xml index 1ad7b6c..d4920f4 100644 --- a/src/main/resources/boot/SC/InstantiateItem.xml +++ b/src/main/resources/boot/SC/InstantiateItem.xml @@ -1,14 +1,15 @@ - - - - - + + // If this script is running in the Cristal GUI, open the new item. + //try { + // Packages.com.c2kernel.gui.MainFrame.treeBrowser.push(new DomainPath(domPath+"/"+name)); + //} catch (e) { } + + ]]> + \ No newline at end of file diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml index d47789d..de082dc 100644 --- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml +++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml @@ -1,6 +1,6 @@ - + diff --git a/src/main/resources/boot/SC/SetWorkflow.xml b/src/main/resources/boot/SC/SetWorkflow.xml index 684b813..704d732 100644 --- a/src/main/resources/boot/SC/SetWorkflow.xml +++ b/src/main/resources/boot/SC/SetWorkflow.xml @@ -1,6 +1,6 @@ - +