From 160f610b24ee3802a109bcd32e00bfa2dde31ec2 Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 13 Mar 2012 15:31:25 +0100 Subject: Added Description Factory --- resources/boot/CA/ItemDescriptionFactoryWf.xml | 1 + resources/boot/CA/ItemDescriptionWf.xml | 1 + resources/boot/EA/CreateItem.xml | 1 + resources/boot/EA/CreateNewLocalObjectDef.xml | 2 +- resources/boot/EA/EditProperties.xml | 20 --------- resources/boot/EA/EditPropertyDescription.xml | 1 + resources/boot/EA/SetInstanceWorkflow.xml | 1 + resources/boot/OD/ChooseWorkflow.xsd | 14 ++++++ resources/boot/OD/NewDevObjectDef.xsd | 20 +++++++++ resources/boot/SC/InstantiateItem.xml | 30 +++++++++++++ resources/boot/SC/LocalObjectDefCreator.xml | 4 +- resources/boot/SC/SetWorkflow.xml | 47 +++++++++++++++++++++ resources/boot/factory/CA.xml | 8 ---- resources/boot/factory/EA.xml | 8 ---- resources/boot/factory/OD.xml | 8 ---- resources/boot/factory/SC.xml | 8 ---- resources/boot/property/DescProp.xml | 2 + resources/images/typeicons/factory_16.png | Bin 0 -> 916 bytes resources/images/typeicons/factory_32.png | Bin 0 -> 2084 bytes resources/images/typeicons/itemdescription_16.png | Bin 0 -> 722 bytes resources/images/typeicons/itemdescription_32.png | Bin 0 -> 1782 bytes .../images/typeicons/localobjectfactory_16.png | Bin 916 -> 0 bytes .../images/typeicons/localobjectfactory_32.png | Bin 2084 -> 0 bytes 23 files changed, 121 insertions(+), 55 deletions(-) create mode 100644 resources/boot/CA/ItemDescriptionFactoryWf.xml create mode 100644 resources/boot/CA/ItemDescriptionWf.xml create mode 100644 resources/boot/EA/CreateItem.xml delete mode 100644 resources/boot/EA/EditProperties.xml create mode 100644 resources/boot/EA/EditPropertyDescription.xml create mode 100644 resources/boot/EA/SetInstanceWorkflow.xml create mode 100644 resources/boot/OD/ChooseWorkflow.xsd create mode 100644 resources/boot/OD/NewDevObjectDef.xsd create mode 100644 resources/boot/SC/InstantiateItem.xml create mode 100644 resources/boot/SC/SetWorkflow.xml delete mode 100644 resources/boot/factory/CA.xml delete mode 100644 resources/boot/factory/EA.xml delete mode 100644 resources/boot/factory/OD.xml delete mode 100644 resources/boot/factory/SC.xml create mode 100644 resources/boot/property/DescProp.xml create mode 100644 resources/images/typeicons/factory_16.png create mode 100644 resources/images/typeicons/factory_32.png create mode 100644 resources/images/typeicons/itemdescription_16.png create mode 100644 resources/images/typeicons/itemdescription_32.png delete mode 100644 resources/images/typeicons/localobjectfactory_16.png delete mode 100644 resources/images/typeicons/localobjectfactory_32.png (limited to 'resources') diff --git a/resources/boot/CA/ItemDescriptionFactoryWf.xml b/resources/boot/CA/ItemDescriptionFactoryWf.xml new file mode 100644 index 0000000..43cdfc1 --- /dev/null +++ b/resources/boot/CA/ItemDescriptionFactoryWf.xml @@ -0,0 +1 @@ +713671213CreateItem612 \ No newline at end of file diff --git a/resources/boot/CA/ItemDescriptionWf.xml b/resources/boot/CA/ItemDescriptionWf.xml new file mode 100644 index 0000000..e8c294f --- /dev/null +++ b/resources/boot/CA/ItemDescriptionWf.xml @@ -0,0 +1 @@ +3536CreateItem3629322528311232352728292427301131221030212225SetInstanceWorkflow2124EditPropertyDescription13101112213SetInstanceWorkflow2EditPropertyDescription \ No newline at end of file diff --git a/resources/boot/EA/CreateItem.xml b/resources/boot/EA/CreateItem.xml new file mode 100644 index 0000000..6facb82 --- /dev/null +++ b/resources/boot/EA/CreateItem.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/boot/EA/CreateNewLocalObjectDef.xml b/resources/boot/EA/CreateNewLocalObjectDef.xml index e4a9426..8c8c9c1 100644 --- a/resources/boot/EA/CreateNewLocalObjectDef.xml +++ b/resources/boot/EA/CreateNewLocalObjectDef.xml @@ -10,7 +10,7 @@ - + diff --git a/resources/boot/EA/EditProperties.xml b/resources/boot/EA/EditProperties.xml deleted file mode 100644 index 15d51b8..0000000 --- a/resources/boot/EA/EditProperties.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/resources/boot/EA/EditPropertyDescription.xml b/resources/boot/EA/EditPropertyDescription.xml new file mode 100644 index 0000000..f560988 --- /dev/null +++ b/resources/boot/EA/EditPropertyDescription.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/boot/EA/SetInstanceWorkflow.xml b/resources/boot/EA/SetInstanceWorkflow.xml new file mode 100644 index 0000000..63f07ea --- /dev/null +++ b/resources/boot/EA/SetInstanceWorkflow.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/boot/OD/ChooseWorkflow.xsd b/resources/boot/OD/ChooseWorkflow.xsd new file mode 100644 index 0000000..9927231 --- /dev/null +++ b/resources/boot/OD/ChooseWorkflow.xsd @@ -0,0 +1,14 @@ + + + + + + + + Give the name of the composite activity description that you would like new instance of this description to run. + + + + + + diff --git a/resources/boot/OD/NewDevObjectDef.xsd b/resources/boot/OD/NewDevObjectDef.xsd new file mode 100644 index 0000000..637581e --- /dev/null +++ b/resources/boot/OD/NewDevObjectDef.xsd @@ -0,0 +1,20 @@ + + + + + + + + + Please give a name for your new object. + + + + + If you want to store your object in a subfolder, give the subpath here. + + + + + + diff --git a/resources/boot/SC/InstantiateItem.xml b/resources/boot/SC/InstantiateItem.xml new file mode 100644 index 0000000..4cd84b5 --- /dev/null +++ b/resources/boot/SC/InstantiateItem.xml @@ -0,0 +1,30 @@ + + + + + diff --git a/resources/boot/SC/LocalObjectDefCreator.xml b/resources/boot/SC/LocalObjectDefCreator.xml index c70ee72..cce559e 100644 --- a/resources/boot/SC/LocalObjectDefCreator.xml +++ b/resources/boot/SC/LocalObjectDefCreator.xml @@ -42,8 +42,8 @@ newObj = CastorXMLUtility.marshall(newAct); } else { - var fileType = type.equals("OD")?"xsd":"xml"; - newObj = Resource.getTextResource("dev", "boot/"+type+"/New."+fileType); + var fileType = type.equals("OD")?"Schema":"Script"; + newObj = item.getObject("/ViewPoint/"+fileType+"/last").getOutcome().getData(); } var newPath = new Packages.com.c2kernel.lookup.DomainPath(domPath+"/"+name); var newItem = agent.getItem(newPath); diff --git a/resources/boot/SC/SetWorkflow.xml b/resources/boot/SC/SetWorkflow.xml new file mode 100644 index 0000000..0fb2a30 --- /dev/null +++ b/resources/boot/SC/SetWorkflow.xml @@ -0,0 +1,47 @@ + + + + + diff --git a/resources/boot/factory/CA.xml b/resources/boot/factory/CA.xml deleted file mode 100644 index 908647a..0000000 --- a/resources/boot/factory/CA.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/resources/boot/factory/EA.xml b/resources/boot/factory/EA.xml deleted file mode 100644 index 1185f10..0000000 --- a/resources/boot/factory/EA.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/resources/boot/factory/OD.xml b/resources/boot/factory/OD.xml deleted file mode 100644 index 275048b..0000000 --- a/resources/boot/factory/OD.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/resources/boot/factory/SC.xml b/resources/boot/factory/SC.xml deleted file mode 100644 index 7f3f97e..0000000 --- a/resources/boot/factory/SC.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/resources/boot/property/DescProp.xml b/resources/boot/property/DescProp.xml new file mode 100644 index 0000000..95a41c9 --- /dev/null +++ b/resources/boot/property/DescProp.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/resources/images/typeicons/factory_16.png b/resources/images/typeicons/factory_16.png new file mode 100644 index 0000000..9979ee7 Binary files /dev/null and b/resources/images/typeicons/factory_16.png differ diff --git a/resources/images/typeicons/factory_32.png b/resources/images/typeicons/factory_32.png new file mode 100644 index 0000000..f43f44f Binary files /dev/null and b/resources/images/typeicons/factory_32.png differ diff --git a/resources/images/typeicons/itemdescription_16.png b/resources/images/typeicons/itemdescription_16.png new file mode 100644 index 0000000..7c80fd6 Binary files /dev/null and b/resources/images/typeicons/itemdescription_16.png differ diff --git a/resources/images/typeicons/itemdescription_32.png b/resources/images/typeicons/itemdescription_32.png new file mode 100644 index 0000000..d0afc4d Binary files /dev/null and b/resources/images/typeicons/itemdescription_32.png differ diff --git a/resources/images/typeicons/localobjectfactory_16.png b/resources/images/typeicons/localobjectfactory_16.png deleted file mode 100644 index 9979ee7..0000000 Binary files a/resources/images/typeicons/localobjectfactory_16.png and /dev/null differ diff --git a/resources/images/typeicons/localobjectfactory_32.png b/resources/images/typeicons/localobjectfactory_32.png deleted file mode 100644 index f43f44f..0000000 Binary files a/resources/images/typeicons/localobjectfactory_32.png and /dev/null differ -- cgit v1.2.3