Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-07-20 03:23:49 -0400
committercletavernie2011-07-20 03:23:49 -0400
commit27443d0ca327feb04279e826b77ad7c118e99a67 (patch)
tree174b4dcd1b417a4db66971be9bfc7aeaf7ac1be4
parent8a165800b989293db8a0a47d3331befdf296fca8 (diff)
downloadorg.eclipse.papyrus-27443d0ca327feb04279e826b77ad7c118e99a67.tar.gz
org.eclipse.papyrus-27443d0ca327feb04279e826b77ad7c118e99a67.tar.xz
org.eclipse.papyrus-27443d0ca327feb04279e826b77ad7c118e99a67.zip
351803: [New Child] Papyrus shall provide a customizable "New Child" menu
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351803
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/.project34
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/META-INF/MANIFEST.MF15
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx244
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.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/MultipleNewchildConfiguration.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/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/SingleNewchildConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/about.html28
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/build.properties7
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom36
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/plugin.xml19
-rw-r--r--sandbox/org.eclipse.papyrus.newchild.customization/src/org/eclipse/papyrus/newchild/customization/Activator.java50
30 files changed, 488 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/.classpath b/sandbox/org.eclipse.papyrus.newchild.customization/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/.project b/sandbox/org.eclipse.papyrus.newchild.customization/.project
new file mode 100644
index 00000000000..cd3ed096825
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.newchild.customization</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.gmt.modisco.common.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.gmt.modisco.common.ProjectNature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.newchild.customization/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..fbaeb718628
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Tue Jul 19 15:19:24 CEST 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.newchild.customization/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..0f481824c7e
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Newchild Customization (Incubation)
+Bundle-SymbolicName: org.eclipse.papyrus.newchild.customization;singleton:=true
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.newchild.customization.Activator
+Bundle-Vendor: Eclipse Modeling Project
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.newchild;bundle-version="0.9.0",
+ org.eclipse.emf.facet.infra.browser.custom.core;bundle-version="0.1.0",
+ org.eclipse.papyrus.properties;bundle-version="0.9.0",
+ org.eclipse.papyrus.constraints.customization;bundle-version="0.9.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx b/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx
new file mode 100644
index 00000000000..494985d9769
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/NewChild.ctx
@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="ASCII"?>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="newchild">
+ <dependencies href="ppe:/context/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx#/"/>
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single NewchildConfiguration" sectionFile="ui/SingleNewchildConfiguration.xwt">
+ <widget href="ui/SingleNewchildConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single MenuRoot" sectionFile="ui/SingleMenuRoot.xwt">
+ <widget href="ui/SingleMenuRoot.xwt#/"/>
+ </sections>
+ <sections name="Single MenuItem" sectionFile="ui/SingleMenuItem.xwt">
+ <widget href="ui/SingleMenuItem.xwt#/"/>
+ </sections>
+ <sections name="Single MenuContainer" sectionFile="ui/SingleMenuContainer.xwt">
+ <widget href="ui/SingleMenuContainer.xwt#/"/>
+ </sections>
+ <sections name="Single Menu" sectionFile="ui/SingleMenu.xwt">
+ <widget href="ui/SingleMenu.xwt#/"/>
+ </sections>
+ <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>
+ <sections name="Single MenuGroup" sectionFile="ui/SingleMenuGroup.xwt">
+ <widget href="ui/SingleMenuGroup.xwt#/"/>
+ </sections>
+ <sections name="Single CustomFiller" sectionFile="ui/SingleCustomFiller.xwt">
+ <widget href="ui/SingleCustomFiller.xwt#/"/>
+ </sections>
+ <sections name="Multiple NewchildConfiguration" sectionFile="ui/MultipleNewchildConfiguration.xwt">
+ <widget href="ui/MultipleNewchildConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple MenuRoot" sectionFile="ui/MultipleMenuRoot.xwt">
+ <widget href="ui/MultipleMenuRoot.xwt#/"/>
+ </sections>
+ <sections name="Multiple MenuItem" sectionFile="ui/MultipleMenuItem.xwt">
+ <widget href="ui/MultipleMenuItem.xwt#/"/>
+ </sections>
+ <sections name="Multiple MenuContainer" sectionFile="ui/MultipleMenuContainer.xwt">
+ <widget href="ui/MultipleMenuContainer.xwt#/"/>
+ </sections>
+ <sections name="Multiple Menu" sectionFile="ui/MultipleMenu.xwt">
+ <widget href="ui/MultipleMenu.xwt#/"/>
+ </sections>
+ <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>
+ <sections name="Multiple MenuGroup" sectionFile="ui/MultipleMenuGroup.xwt">
+ <widget href="ui/MultipleMenuGroup.xwt#/"/>
+ </sections>
+ <sections name="Multiple CustomFiller" sectionFile="ui/MultipleCustomFiller.xwt">
+ <widget href="ui/MultipleCustomFiller.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">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Single MenuRoot" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenuRoot">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <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="Single MenuItem" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenuItem">
+ <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="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"/>
+ </constraints>
+ </views>
+ <views name="Single Menu" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenu">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Single MenuAction" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMenuAction">
+ <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="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">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Single MenuGroup" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Single CustomFiller" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <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">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Multiple MenuRoot" sections="//@tabs.0/@sections.11" 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"/>
+ </constraints>
+ </views>
+ <views name="Multiple MenuItem" sections="//@tabs.0/@sections.12" 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">
+ <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"/>
+ </constraints>
+ </views>
+ <views name="Multiple Menu" sections="//@tabs.0/@sections.14" 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"/>
+ </constraints>
+ </views>
+ <views name="Multiple MenuAction" sections="//@tabs.0/@sections.15" 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">
+ <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">
+ <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">
+ <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>
+ <dataContexts name="newchild" label="newchild">
+ <elements name="NewchildConfiguration">
+ <properties name="roots" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="MenuRoot">
+ <properties name="groups" type="Reference" multiplicity="-1"/>
+ <supertypes href="#//@dataContexts.0/@elements.3"/>
+ <supertypes href="ppe:/context/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx#//@dataContexts.0/@elements.0"/>
+ </elements>
+ <elements name="MenuItem">
+ <properties name="id"/>
+ </elements>
+ <elements name="MenuContainer">
+ <properties name="submenus" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="Menu" supertypes="//@dataContexts.0/@elements.3 //@dataContexts.0/@elements.2">
+ <properties name="name"/>
+ <properties name="icon"/>
+ </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">
+ <properties name="before"/>
+ <properties name="after"/>
+ <properties name="absolutePosition" type="Enumeration"/>
+ </elements>
+ <elements name="CustomFiller" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="className"/>
+ </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
new file mode 100644
index 00000000000..5456a57ca8a
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleCustomFiller.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt
new file mode 100644
index 00000000000..f21059fd795
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenu.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt
new file mode 100644
index 00000000000..586569e5133
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuAction.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuContainer.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt
new file mode 100644
index 00000000000..a3bcc682a36
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuGroup.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuItem.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt
new file mode 100644
index 00000000000..30ac9551a19
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleMenuRoot.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt
new file mode 100644
index 00000000000..3541d99969d
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewChildMenu.xwt
@@ -0,0 +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><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/MultipleNewchildConfiguration.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleNewchildConfiguration.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/MultipleSeparator.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt
new file mode 100644
index 00000000000..b66f2ef5da5
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleCustomFiller.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt
new file mode 100644
index 00000000000..f34f8b612e1
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenu.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt
new file mode 100644
index 00000000000..5d60178ed9d
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuAction.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuContainer.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt
new file mode 100644
index 00000000000..a3bcc682a36
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuGroup.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt
new file mode 100644
index 00000000000..8e581d8ea75
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuItem.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleMenuRoot.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt
new file mode 100644
index 00000000000..1b94f4908c1
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewChildMenu.xwt
@@ -0,0 +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><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/SingleNewchildConfiguration.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleNewchildConfiguration.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt
new file mode 100644
index 00000000000..8e581d8ea75
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/Model/ui/SingleSeparator.xwt
@@ -0,0 +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
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/about.html b/sandbox/org.eclipse.papyrus.newchild.customization/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/build.properties b/sandbox/org.eclipse.papyrus.newchild.customization/build.properties
new file mode 100644
index 00000000000..afe1c809e46
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/build.properties
@@ -0,0 +1,7 @@
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ custom/,\
+ about.html
+source.. = src/
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom b/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom
new file mode 100644
index 00000000000..e112902e7b2
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/custom/newchild.uiCustom
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ASCII"?>
+<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/newchild">
+ <types metaclassName="newchild.NewchildConfiguration">
+ <references referenceName="roots">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.MenuAction">
+ <references referenceName="elementType">
+ <customizedFeatures>
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.MenuContainer">
+ <references referenceName="submenus">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ </types>
+ <types metaclassName="newchild.MenuRoot">
+ <references referenceName="groups">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ <references referenceName="constraints">
+ <customizedFeatures customizedFeature="collapseLink">
+ <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ </customizedFeatures>
+ </references>
+ </types>
+</uicustom:MetamodelView>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/plugin.xml b/sandbox/org.eclipse.papyrus.newchild.customization/plugin.xml
new file mode 100644
index 00000000000..01c14b4925b
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/plugin.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.emf.facet.infra.browser.custom.core.registration">
+ <browserCustomization
+ file="custom/newchild.uiCustom"
+ loadByDefault="true">
+ </browserCustomization>
+ </extension>
+ <extension
+ point="org.eclipse.papyrus.properties.context">
+ <context
+ contextModel="Model/NewChild.ctx"
+ loadDefault="true">
+ </context>
+ </extension>
+
+</plugin>
diff --git a/sandbox/org.eclipse.papyrus.newchild.customization/src/org/eclipse/papyrus/newchild/customization/Activator.java b/sandbox/org.eclipse.papyrus.newchild.customization/src/org/eclipse/papyrus/newchild/customization/Activator.java
new file mode 100644
index 00000000000..ee83deb91dd
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.newchild.customization/src/org/eclipse/papyrus/newchild/customization/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.newchild.customization;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.newchild.customization"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}

Back to the top