Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-07-25 08:30:59 -0400
committercletavernie2011-07-25 08:30:59 -0400
commit323b3e92c98294c9068f8da9226f8fe536a1f290 (patch)
tree2a13b11942f4ac23600be9bae99597dc2042cdd9 /sandbox/org.eclipse.papyrus.newchild.customization
parent985ce5d8005cbf920f6e9d351f7a784e7c3a4e3b (diff)
downloadorg.eclipse.papyrus-323b3e92c98294c9068f8da9226f8fe536a1f290.tar.gz
org.eclipse.papyrus-323b3e92c98294c9068f8da9226f8fe536a1f290.tar.xz
org.eclipse.papyrus-323b3e92c98294c9068f8da9226f8fe536a1f290.zip
351802: [Constraints] The Property View constraints model should be more generic
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351802 351803: [New Child] Papyrus shall provide a customizable "New Child" menu https://bugs.eclipse.org/bugs/show_bug.cgi?id=351803 351804: [EMF Embedded Editor] Papyrus shall provide an embedded EMF Editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=351804
Diffstat (limited to 'sandbox/org.eclipse.papyrus.newchild.customization')
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx208
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleFilterPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicySet.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewEMFChildMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleReplacePolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleFilterPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicySet.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewEMFChildMenu.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleReplacePolicy.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom43
34 files changed, 249 insertions, 66 deletions
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx b/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx
index 494985d9769..4d8a8559075 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx
@@ -20,9 +20,6 @@
<sections name="Single MenuAction" sectionFile="ui/SingleMenuAction.xwt">
<widget href="ui/SingleMenuAction.xwt#/"/>
</sections>
- <sections name="Single NewChildMenu" sectionFile="ui/SingleNewChildMenu.xwt">
- <widget href="ui/SingleNewChildMenu.xwt#/"/>
- </sections>
<sections name="Single Separator" sectionFile="ui/SingleSeparator.xwt">
<widget href="ui/SingleSeparator.xwt#/"/>
</sections>
@@ -50,9 +47,6 @@
<sections name="Multiple MenuAction" sectionFile="ui/MultipleMenuAction.xwt">
<widget href="ui/MultipleMenuAction.xwt#/"/>
</sections>
- <sections name="Multiple NewChildMenu" sectionFile="ui/MultipleNewChildMenu.xwt">
- <widget href="ui/MultipleNewChildMenu.xwt#/"/>
- </sections>
<sections name="Multiple Separator" sectionFile="ui/MultipleSeparator.xwt">
<widget href="ui/MultipleSeparator.xwt#/"/>
</sections>
@@ -62,6 +56,42 @@
<sections name="Multiple CustomFiller" sectionFile="ui/MultipleCustomFiller.xwt">
<widget href="ui/MultipleCustomFiller.xwt#/"/>
</sections>
+ <sections name="Single NewEMFChildMenu" sectionFile="ui/SingleNewEMFChildMenu.xwt">
+ <widget href="ui/SingleNewEMFChildMenu.xwt#/"/>
+ </sections>
+ <sections name="Multiple NewEMFChildMenu" sectionFile="ui/MultipleNewEMFChildMenu.xwt">
+ <widget href="ui/MultipleNewEMFChildMenu.xwt#/"/>
+ </sections>
+ <sections name="Single NewChildPolicySet" sectionFile="ui/SingleNewChildPolicySet.xwt">
+ <widget href="ui/SingleNewChildPolicySet.xwt#/"/>
+ </sections>
+ <sections name="Multiple NewChildPolicySet" sectionFile="ui/MultipleNewChildPolicySet.xwt">
+ <widget href="ui/MultipleNewChildPolicySet.xwt#/"/>
+ </sections>
+ <sections name="Single NewChildPolicy" sectionFile="ui/SingleNewChildPolicy.xwt">
+ <widget href="ui/SingleNewChildPolicy.xwt#/"/>
+ </sections>
+ <sections name="Multiple NewChildPolicy" sectionFile="ui/MultipleNewChildPolicy.xwt">
+ <widget href="ui/MultipleNewChildPolicy.xwt#/"/>
+ </sections>
+ <sections name="Single FilterPolicy" sectionFile="ui/SingleFilterPolicy.xwt">
+ <widget href="ui/SingleFilterPolicy.xwt#/"/>
+ </sections>
+ <sections name="Multiple FilterPolicy" sectionFile="ui/MultipleFilterPolicy.xwt">
+ <widget href="ui/MultipleFilterPolicy.xwt#/"/>
+ </sections>
+ <sections name="Single ReplacePolicy" sectionFile="ui/SingleReplacePolicy.xwt">
+ <widget href="ui/SingleReplacePolicy.xwt#/"/>
+ </sections>
+ <sections name="Multiple ReplacePolicy" sectionFile="ui/MultipleReplacePolicy.xwt">
+ <widget href="ui/MultipleReplacePolicy.xwt#/"/>
+ </sections>
+ <sections name="Single CustomPolicy" sectionFile="ui/SingleCustomPolicy.xwt">
+ <widget href="ui/SingleCustomPolicy.xwt#/"/>
+ </sections>
+ <sections name="Multiple CustomPolicy" sectionFile="ui/MultipleCustomPolicy.xwt">
+ <widget href="ui/MultipleCustomPolicy.xwt#/"/>
+ </sections>
</tabs>
<views name="Single NewchildConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleNewchildConfiguration">
@@ -87,8 +117,8 @@
<views name="Single MenuContainer" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenuContainer">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuContainer"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
<views name="Single Menu" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
@@ -105,110 +135,182 @@
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Single NewChildMenu" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNewChildMenu">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildMenu"/>
- </constraints>
- </views>
- <views name="Single Separator" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <views name="Single Separator" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleSeparator">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Separator"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Separator"/>
</constraints>
</views>
- <views name="Single MenuGroup" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <views name="Single MenuGroup" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenuGroup">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="MenuGroup"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="MenuGroup"/>
</constraints>
</views>
- <views name="Single CustomFiller" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <views name="Single CustomFiller" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomFiller">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="CustomFiller"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Multiple NewchildConfiguration" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <views name="Multiple NewchildConfiguration" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNewchildConfiguration">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NewchildConfiguration"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewchildConfiguration"/>
</constraints>
</views>
- <views name="Multiple MenuRoot" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <views name="Multiple MenuRoot" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenuRoot">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuRoot"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Multiple MenuItem" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <views name="Multiple MenuItem" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenuItem">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuItem"/>
</constraints>
</views>
- <views name="Multiple MenuContainer" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <views name="Multiple MenuContainer" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenuContainer">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuContainer"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Multiple Menu" sections="//@tabs.0/@sections.14" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <views name="Multiple Menu" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenu">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Menu"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Menu"/>
</constraints>
</views>
- <views name="Multiple MenuAction" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <views name="Multiple MenuAction" sections="//@tabs.0/@sections.14" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenuAction">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuAction"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Multiple NewChildMenu" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNewChildMenu">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildMenu"/>
- </constraints>
- </views>
- <views name="Multiple Separator" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <views name="Multiple Separator" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSeparator">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="Separator"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
</constraints>
</views>
- <views name="Multiple MenuGroup" sections="//@tabs.0/@sections.18" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <views name="Multiple MenuGroup" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMenuGroup">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="MenuGroup"/>
</constraints>
</views>
- <views name="Multiple CustomFiller" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <views name="Multiple CustomFiller" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
<constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomFiller">
<constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="CustomFiller"/>
</constraints>
</views>
+ <views name="Single NewEMFChildMenu" sections="//@tabs.0/@sections.18" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNewEMFChildMenu">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewEMFChildMenu"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Multiple NewEMFChildMenu" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNewEMFChildMenu">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewEMFChildMenu"/>
+ </constraints>
+ </views>
+ <views name="Single NewChildPolicySet" sections="//@tabs.0/@sections.20" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNewChildPolicySet">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildPolicySet"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Multiple NewChildPolicySet" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNewChildPolicySet">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildPolicySet"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Single NewChildPolicy" sections="//@tabs.0/@sections.22" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNewChildPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildPolicy"/>
+ </constraints>
+ </views>
+ <views name="Multiple NewChildPolicy" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNewChildPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="NewChildPolicy"/>
+ </constraints>
+ </views>
+ <views name="Single FilterPolicy" sections="//@tabs.0/@sections.24" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFilterPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FilterPolicy"/>
+ </constraints>
+ </views>
+ <views name="Multiple FilterPolicy" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFilterPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FilterPolicy"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Single ReplacePolicy" sections="//@tabs.0/@sections.26" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReplacePolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReplacePolicy"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Multiple ReplacePolicy" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReplacePolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReplacePolicy"/>
+ </constraints>
+ </views>
+ <views name="Single CustomPolicy" sections="//@tabs.0/@sections.28" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="CustomPolicy"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
+ <views name="Multiple CustomPolicy" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomPolicy">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="CustomPolicy"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/newchild/policy"/>
+ </constraints>
+ </views>
<dataContexts name="newchild" label="newchild">
<elements name="NewchildConfiguration">
<properties name="roots" type="Reference" multiplicity="-1"/>
+ <properties name="name"/>
</elements>
<elements name="MenuRoot">
<properties name="groups" type="Reference" multiplicity="-1"/>
+ <properties name="name"/>
<supertypes href="#//@dataContexts.0/@elements.3"/>
<supertypes href="ppe:/context/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx#//@dataContexts.0/@elements.0"/>
</elements>
@@ -224,11 +326,6 @@
</elements>
<elements name="MenuAction" supertypes="//@dataContexts.0/@elements.2">
<properties name="elementType" type="Reference"/>
- <properties name="position" type="Enumeration"/>
- </elements>
- <elements name="NewChildMenu" supertypes="//@dataContexts.0/@elements.4">
- <properties name="position" type="Enumeration"/>
- <properties name="kind" type="Enumeration"/>
</elements>
<elements name="Separator" supertypes="//@dataContexts.0/@elements.2"/>
<elements name="MenuGroup" supertypes="//@dataContexts.0/@elements.3">
@@ -239,6 +336,29 @@
<elements name="CustomFiller" supertypes="//@dataContexts.0/@elements.2">
<properties name="className"/>
</elements>
+ <elements xsi:type="contexts:DataContextPackage" name="ncpolicy">
+ <elements name="NewEMFChildMenu" supertypes="//@dataContexts.0/@elements.4">
+ <properties name="createIn" type="Enumeration"/>
+ <properties name="layout" type="Enumeration"/>
+ </elements>
+ <elements name="NewChildPolicySet">
+ <properties name="name"/>
+ <properties name="policies" type="Reference" multiplicity="-1"/>
+ <supertypes href="ppe:/context/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx#//@dataContexts.0/@elements.0"/>
+ </elements>
+ <elements name="NewChildPolicy">
+ <properties name="roles" multiplicity="-1"/>
+ <properties name="eClasses" type="Reference" multiplicity="-1"/>
+ <properties name="name"/>
+ </elements>
+ <elements name="FilterPolicy" supertypes="//@dataContexts.0/@elements.9/@elements.2"/>
+ <elements name="ReplacePolicy" supertypes="//@dataContexts.0/@elements.9/@elements.2">
+ <properties name="replaceWith" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="CustomPolicy" supertypes="//@dataContexts.0/@elements.9/@elements.2">
+ <properties name="className"/>
+ </elements>
+ </elements>
<modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
</dataContexts>
</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt
index 5456a57ca8a..ff7d91f3f18 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:CustomFiller:className"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:CustomFiller:className"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomPolicy.xwt
new file mode 100644
index 00000000000..9c2a1c12134
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:ncpolicy:CustomPolicy:className"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleFilterPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleFilterPolicy.xwt
new file mode 100644
index 00000000000..0bb8f23c3d9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleFilterPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt
index f21059fd795..1d627611acb 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt
index 586569e5133..3cdd622a374 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuAction:position"></ppe:EnumCombo></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="newchild:MenuAction:elementType"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt
index 506d138f590..0bb8f23c3d9 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt
index a3bcc682a36..c2443a2f3ff 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:before"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:after"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuGroup:absolutePosition"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:before"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:after"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuGroup:absolutePosition"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt
index 506d138f590..0bb8f23c3d9 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt
index 30ac9551a19..0bb8f23c3d9 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt
deleted file mode 100644
index 3541d99969d..00000000000
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:NewChildMenu:position"></ppe:EnumCombo><ppe:EnumCombo input="{Binding}" property="newchild:NewChildMenu:kind"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicy.xwt
new file mode 100644
index 00000000000..0bb8f23c3d9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicySet.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicySet.xwt
new file mode 100644
index 00000000000..b46518daf35
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildPolicySet.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewEMFChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewEMFChildMenu.xwt
new file mode 100644
index 00000000000..3dc2424ce94
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewEMFChildMenu.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:ncpolicy:NewEMFChildMenu:createIn"></ppe:EnumCombo><ppe:EnumCombo input="{Binding}" property="newchild:ncpolicy:NewEMFChildMenu:layout"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt
index 506d138f590..0bb8f23c3d9 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleReplacePolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleReplacePolicy.xwt
new file mode 100644
index 00000000000..0bb8f23c3d9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleReplacePolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt
index 506d138f590..16c43716496 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt
index b66f2ef5da5..c1e0de9addb 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:CustomFiller:className"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:CustomFiller:className"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomPolicy.xwt
new file mode 100644
index 00000000000..2030a41b650
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor property="newchild:ncpolicy:NewChildPolicy:name" input="{Binding}"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:ncpolicy:CustomPolicy:className"></ppe:StringEditor><ppe:MultiString input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:roles"></ppe:MultiString><ppe:MultiReference input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:eClasses"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleFilterPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleFilterPolicy.xwt
new file mode 100644
index 00000000000..d6a0122f2b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleFilterPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor property="newchild:ncpolicy:NewChildPolicy:name" input="{Binding}"></ppe:StringEditor><ppe:MultiReference input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:eClasses"></ppe:MultiReference><ppe:MultiString input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:roles"></ppe:MultiString></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt
index f34f8b612e1..c073d659052 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:name"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:name"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt
index 5d60178ed9d..ff855b18230 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuAction:position"></ppe:EnumCombo></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="newchild:MenuAction:elementType"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="newchild:MenuAction:elementType"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt
index 506d138f590..0bb8f23c3d9 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt
index a3bcc682a36..c2443a2f3ff 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:before"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:after"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuGroup:absolutePosition"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:before"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuGroup:after"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:MenuGroup:absolutePosition"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt
index 8e581d8ea75..68ffaf12f5e 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt
index 506d138f590..4e433091694 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuRoot:name"></ppe:StringEditor><ppe:MultiReference property="constraints:DisplayUnit:constraints" input="{Binding}"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt
deleted file mode 100644
index 1b94f4908c1..00000000000
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:name"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:NewChildMenu:position"></ppe:EnumCombo><ppe:EnumCombo input="{Binding}" property="newchild:NewChildMenu:kind"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicy.xwt
new file mode 100644
index 00000000000..023b9fd1851
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiString input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:roles"></ppe:MultiString></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:eClasses"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicySet.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicySet.xwt
new file mode 100644
index 00000000000..180c42079fe
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildPolicySet.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:ncpolicy:NewChildPolicySet:name"></ppe:StringEditor><ppe:MultiReference property="constraints:DisplayUnit:constraints" input="{Binding}"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewEMFChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewEMFChildMenu.xwt
new file mode 100644
index 00000000000..a2a56c9cb75
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewEMFChildMenu.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:Menu:name"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:Menu:icon"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="newchild:ncpolicy:NewEMFChildMenu:createIn"></ppe:EnumCombo><ppe:EnumCombo input="{Binding}" property="newchild:ncpolicy:NewEMFChildMenu:layout"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt
index 506d138f590..82af1df5e88 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:NewchildConfiguration:name"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleReplacePolicy.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleReplacePolicy.xwt
new file mode 100644
index 00000000000..abf8c8b3568
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleReplacePolicy.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor property="newchild:ncpolicy:NewChildPolicy:name" input="{Binding}"></ppe:StringEditor><ppe:MultiReference input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:eClasses"></ppe:MultiReference><ppe:MultiString input="{Binding}" property="newchild:ncpolicy:NewChildPolicy:roles"></ppe:MultiString></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt
index 8e581d8ea75..68ffaf12f5e 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="newchild:MenuItem:id"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom b/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom
index e112902e7b2..9771e75cc93 100644
--- a/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom
@@ -6,6 +6,11 @@
<defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
</customizedFeatures>
</references>
+ <references referenceName="newChildPolicies">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
</types>
<types metaclassName="newchild.MenuAction">
<references referenceName="elementType">
@@ -28,6 +33,44 @@
</customizedFeatures>
</references>
<references referenceName="constraints">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.ncpolicy.ReplacePolicy">
+ <references referenceName="replaceWith">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="eClasses">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.ncpolicy.NewChildPolicySet">
+ <references referenceName="constraints">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="policies">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.ncpolicy.NewChildPolicy">
+ <references referenceName="eClasses">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.ncpolicy.NewEMFChildMenu">
+ <references referenceName="groups">
<customizedFeatures customizedFeature="collapseLink">
<defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
</customizedFeatures>

Back to the top