Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-09-23 08:50:41 -0400
committercletavernie2011-09-23 08:50:41 -0400
commit5adaa2bcd4bb336eb9b31b9a1cb57eba743c2318 (patch)
tree1e816eda4eddc2b634a207d8d2576bbeadf39c69
parent80404d822cdfbb4f02577244c7e3e1f3a7eac1f4 (diff)
downloadorg.eclipse.papyrus-5adaa2bcd4bb336eb9b31b9a1cb57eba743c2318.tar.gz
org.eclipse.papyrus-5adaa2bcd4bb336eb9b31b9a1cb57eba743c2318.tar.xz
org.eclipse.papyrus-5adaa2bcd4bb336eb9b31b9a1cb57eba743c2318.zip
Sandbox : Initial import.
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/.project28
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/META-INF/MANIFEST.MF19
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/about.html28
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/build.properties11
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Environment.xmi6
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/PaletteEMF.ctx169
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleConstantValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleDynamicValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureToSet.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleListValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleModifySemanticValuesActionConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleQueryExecutionValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleConstantValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleDynamicValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureToSet.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleListValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleModifySemanticValuesActionConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleQueryExecutionValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/PaletteUML.ctx59
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleApplyStereotypeActionConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleStereotypeToApply.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleApplyStereotypeActionConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleStereotypeToApply.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx262
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/AspectActions.xwt15
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleChildConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleDrawerConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleElementDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleIconDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleLeafConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultiplePaletteConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleSeparatorConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleStackConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleToolConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleAspectAction.xwt21
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleChildConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleDrawerConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleElementDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleIconDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleLeafConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SinglePaletteConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleSeparatorConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleStackConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleToolConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/plugin.xml26
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/Activator.java50
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/constraints/AspectActionConstraint.java19
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/creation/AspectActionEditionFactory.java116
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElement.java33
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElementFactory.java29
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/ToolConfigurationModelElement.java90
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionEditor.java84
-rw-r--r--sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionPropertyEditor.java15
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/.project28
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/META-INF/MANIFEST.MF15
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/about.html28
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/build.properties9
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/resources/about.html.file28
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/Activator.java68
-rw-r--r--sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/runtime/RefactoringRuntime.java250
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/.project28
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/META-INF/MANIFEST.MF13
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/about.html28
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/build.properties7
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/Queries.ctx147
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleConstantParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleListParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleModiscoQueryConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryExecutionValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleConstantParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleListParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleModiscoQueryConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleParameterValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryConfiguration.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryExecutionValue.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/plugin.xml12
-rw-r--r--sandbox/org.eclipse.papyrus.queries.customization/src/org/eclipse/papyrus/queries/customization/Activator.java50
89 files changed, 1936 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/.classpath b/sandbox/org.eclipse.papyrus.palette.customization/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.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.palette.customization/.project b/sandbox/org.eclipse.papyrus.palette.customization/.project
new file mode 100644
index 00000000000..c0c260a3cff
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.palette.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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.palette.customization/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..a42947cbf43
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Wed Jul 27 10:28:39 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.palette.customization/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.palette.customization/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..b9c09a07741
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Palette customization (Incubation)
+Bundle-SymbolicName: org.eclipse.papyrus.palette.customization;singleton:=true
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.palette.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.papyrus.properties;bundle-version="0.9.0",
+ org.eclipse.papyrus.extendedtypes.customization;bundle-version="0.9.0",
+ org.eclipse.core.databinding;bundle-version="1.4.0",
+ org.eclipse.papyrus.widgets;bundle-version="0.9.0",
+ org.eclipse.papyrus.diagram.common;bundle-version="0.9.0",
+ org.eclipse.papyrus.properties.model;bundle-version="0.9.0",
+ org.eclipse.papyrus.paletteconfiguration;bundle-version="0.9.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/about.html b/sandbox/org.eclipse.papyrus.palette.customization/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.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.palette.customization/build.properties b/sandbox/org.eclipse.papyrus.palette.customization/build.properties
new file mode 100644
index 00000000000..f7e86960221
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/build.properties
@@ -0,0 +1,11 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ model/,\
+ about.html
+src.includes = META-INF/,\
+ about.html,\
+ model/,\
+ plugin.xml
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Environment.xmi b/sandbox/org.eclipse.papyrus.palette.customization/model/Environment.xmi
new file mode 100644
index 00000000000..5f033143e1d
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Environment.xmi
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="ASCII"?>
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+ <modelElementFactories name="AspectAction Factory" factoryClass="org.eclipse.papyrus.palette.customization.modelelement.AspectActionModelElementFactory"/>
+ <propertyEditorTypes label="AspectActionEditor" widgetClass="AspectActionPropertyEditor" namespace="//@namespaces.0" type="Reference"/>
+ <namespaces prefix="clr-namespace" name="palette" value="org.eclipse.papyrus.palette.customization.widgets"/>
+</environment:Environment>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/PaletteEMF.ctx b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/PaletteEMF.ctx
new file mode 100644
index 00000000000..74bbdce86ab
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/PaletteEMF.ctx
@@ -0,0 +1,169 @@
+<?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="PaletteEMF">
+ <dependencies href="ppe:/context/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx#/"/>
+ <dependencies href="ppe:/context/org.eclipse.papyrus.extendedtypes.customization/model/ExtendedTypes.ctx#/"/>
+ <tabs label="Palette" id="palette" category="org.eclipse.papyrus">
+ <sections name="Single ModifySemanticValuesActionConfiguration" sectionFile="ui/SingleModifySemanticValuesActionConfiguration.xwt">
+ <widget href="ui/SingleModifySemanticValuesActionConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single FeatureToSet" sectionFile="ui/SingleFeatureToSet.xwt">
+ <widget href="ui/SingleFeatureToSet.xwt#/"/>
+ </sections>
+ <sections name="Single FeatureValue" sectionFile="ui/SingleFeatureValue.xwt">
+ <widget href="ui/SingleFeatureValue.xwt#/"/>
+ </sections>
+ <sections name="Single DynamicValue" sectionFile="ui/SingleDynamicValue.xwt">
+ <widget href="ui/SingleDynamicValue.xwt#/"/>
+ </sections>
+ <sections name="Single ConstantValue" sectionFile="ui/SingleConstantValue.xwt">
+ <widget href="ui/SingleConstantValue.xwt#/"/>
+ </sections>
+ <sections name="Single ListValue" sectionFile="ui/SingleListValue.xwt">
+ <widget href="ui/SingleListValue.xwt#/"/>
+ </sections>
+ <sections name="Single QueryExecutionValue" sectionFile="ui/SingleQueryExecutionValue.xwt">
+ <widget href="ui/SingleQueryExecutionValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple ModifySemanticValuesActionConfiguration" sectionFile="ui/MultipleModifySemanticValuesActionConfiguration.xwt">
+ <widget href="ui/MultipleModifySemanticValuesActionConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple FeatureToSet" sectionFile="ui/MultipleFeatureToSet.xwt">
+ <widget href="ui/MultipleFeatureToSet.xwt#/"/>
+ </sections>
+ <sections name="Multiple FeatureValue" sectionFile="ui/MultipleFeatureValue.xwt">
+ <widget href="ui/MultipleFeatureValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple DynamicValue" sectionFile="ui/MultipleDynamicValue.xwt">
+ <widget href="ui/MultipleDynamicValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConstantValue" sectionFile="ui/MultipleConstantValue.xwt">
+ <widget href="ui/MultipleConstantValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple ListValue" sectionFile="ui/MultipleListValue.xwt">
+ <widget href="ui/MultipleListValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryExecutionValue" sectionFile="ui/MultipleQueryExecutionValue.xwt">
+ <widget href="ui/MultipleQueryExecutionValue.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single ModifySemanticValuesActionConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModifySemanticValuesActionConfiguration">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ModifySemanticValuesActionConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single FeatureToSet" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFeatureToSet">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureToSet"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Single FeatureValue" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFeatureValue">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Single DynamicValue" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDynamicValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DynamicValue"/>
+ </constraints>
+ </views>
+ <views name="Single ConstantValue" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstantValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstantValue"/>
+ </constraints>
+ </views>
+ <views name="Single ListValue" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleListValue">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ListValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Single QueryExecutionValue" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryExecutionValue">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryExecutionValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Multiple ModifySemanticValuesActionConfiguration" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModifySemanticValuesActionConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ModifySemanticValuesActionConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Multiple FeatureToSet" sections="//@tabs.0/@sections.8" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFeatureToSet">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureToSet"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ </constraints>
+ </views>
+ <views name="Multiple FeatureValue" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFeatureValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple DynamicValue" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDynamicValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DynamicValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConstantValue" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstantValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstantValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple ListValue" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleListValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ListValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryExecutionValue" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryExecutionValue">
+ <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/diagram/types/modifysemanticvaluesactionconfiguration/0.8"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryExecutionValue"/>
+ </constraints>
+ </views>
+ <dataContexts name="modifysemanticvaluesactionconfiguration" label="modifysemanticvaluesactionconfiguration">
+ <elements name="ModifySemanticValuesActionConfiguration">
+ <properties name="featuresToSet" type="Reference" multiplicity="-1"/>
+ <supertypes href="ppe:/context/org.eclipse.papyrus.extendedtypes.customization/model/ExtendedTypes.ctx#//@dataContexts.0/@elements.5"/>
+ </elements>
+ <elements name="FeatureToSet">
+ <properties name="featureName"/>
+ <properties name="value" type="Reference"/>
+ </elements>
+ <elements name="FeatureValue"/>
+ <elements name="DynamicValue" supertypes="//@dataContexts.0/@elements.2"/>
+ <elements name="ConstantValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="valueInstance" type="Reference"/>
+ </elements>
+ <elements name="ListValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="values" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="QueryExecutionValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="configuration" type="Reference"/>
+ </elements>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleConstantValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleConstantValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleConstantValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleDynamicValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleDynamicValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleDynamicValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureToSet.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureToSet.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureToSet.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleFeatureValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleListValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleListValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleListValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleModifySemanticValuesActionConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleModifySemanticValuesActionConfiguration.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleModifySemanticValuesActionConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleQueryExecutionValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleQueryExecutionValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/MultipleQueryExecutionValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleConstantValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleConstantValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleConstantValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleDynamicValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleDynamicValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleDynamicValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureToSet.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureToSet.xwt
new file mode 100644
index 00000000000..ee4d1f4888a
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureToSet.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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="modifysemanticvaluesactionconfiguration:FeatureToSet:featureName"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleFeatureValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleListValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleListValue.xwt
new file mode 100644
index 00000000000..c8bba1d04c8
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleListValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:MultiReference input="{Binding}" property="modifysemanticvaluesactionconfiguration:ListValue:values"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleModifySemanticValuesActionConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleModifySemanticValuesActionConfiguration.xwt
new file mode 100644
index 00000000000..bc27cc98728
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleModifySemanticValuesActionConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite 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> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleQueryExecutionValue.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleQueryExecutionValue.xwt
new file mode 100644
index 00000000000..096b1e84a9a
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.emf/ui/SingleQueryExecutionValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:ReferenceDialog input="{Binding}" property="modifysemanticvaluesactionconfiguration:QueryExecutionValue:configuration"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/PaletteUML.ctx b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/PaletteUML.ctx
new file mode 100644
index 00000000000..a495f165258
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/PaletteUML.ctx
@@ -0,0 +1,59 @@
+<?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="PaletteUML">
+ <dependencies href="ppe:/context/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx#/"/>
+ <dependencies href="ppe:/context/org.eclipse.papyrus.extendedtypes.customization/model/ExtendedTypes.ctx#/"/>
+ <tabs label="Palette" id="palette" category="org.eclipse.papyrus">
+ <sections name="Single ApplyStereotypeActionConfiguration" sectionFile="ui/SingleApplyStereotypeActionConfiguration.xwt">
+ <widget href="ui/SingleApplyStereotypeActionConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single StereotypeToApply" sectionFile="ui/SingleStereotypeToApply.xwt">
+ <widget href="ui/SingleStereotypeToApply.xwt#/"/>
+ </sections>
+ <sections name="Multiple ApplyStereotypeActionConfiguration" sectionFile="ui/MultipleApplyStereotypeActionConfiguration.xwt">
+ <widget href="ui/MultipleApplyStereotypeActionConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple StereotypeToApply" sectionFile="ui/MultipleStereotypeToApply.xwt">
+ <widget href="ui/MultipleStereotypeToApply.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single ApplyStereotypeActionConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleApplyStereotypeActionConfiguration">
+ <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/diagram/types/applystereotypeactionconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ApplyStereotypeActionConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single StereotypeToApply" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStereotypeToApply">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="StereotypeToApply"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/applystereotypeactionconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple ApplyStereotypeActionConfiguration" sections="//@tabs.0/@sections.2" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleApplyStereotypeActionConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ApplyStereotypeActionConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/types/applystereotypeactionconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple StereotypeToApply" sections="//@tabs.0/@sections.3" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStereotypeToApply">
+ <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/diagram/types/applystereotypeactionconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="StereotypeToApply"/>
+ </constraints>
+ </views>
+ <dataContexts name="applystereotypeactionconfiguration" label="applystereotypeactionconfiguration">
+ <elements name="ApplyStereotypeActionConfiguration">
+ <properties name="stereotypesToApply" type="Reference" multiplicity="-1"/>
+ <supertypes href="ppe:/context/org.eclipse.papyrus.extendedtypes.customization/model/ExtendedTypes.ctx#//@dataContexts.0/@elements.5"/>
+ </elements>
+ <elements name="StereotypeToApply">
+ <properties name="stereotypeQualifiedName"/>
+ <properties name="updateName" type="Boolean"/>
+ <properties name="requiredProfiles" multiplicity="-1"/>
+ </elements>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleApplyStereotypeActionConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleApplyStereotypeActionConfiguration.xwt
new file mode 100644
index 00000000000..30ac9551a19
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleApplyStereotypeActionConfiguration.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.palette.customization/model/Palette.uml/ui/MultipleStereotypeToApply.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleStereotypeToApply.xwt
new file mode 100644
index 00000000000..5ffdaa286cd
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/MultipleStereotypeToApply.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt" 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="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="applystereotypeactionconfiguration:StereotypeToApply:updateName"></ppe:BooleanRadio></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleApplyStereotypeActionConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleApplyStereotypeActionConfiguration.xwt
new file mode 100644
index 00000000000..f0510bc728e
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleApplyStereotypeActionConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" 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> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleStereotypeToApply.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleStereotypeToApply.xwt
new file mode 100644
index 00000000000..63833b052fa
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette.uml/ui/SingleStereotypeToApply.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:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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="applystereotypeactionconfiguration:StereotypeToApply:stereotypeQualifiedName"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="applystereotypeactionconfiguration:StereotypeToApply:updateName"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiString input="{Binding}" property="applystereotypeactionconfiguration:StereotypeToApply:requiredProfiles"></ppe:MultiString></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx
new file mode 100644
index 00000000000..b07ec66ccf3
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/Palette.ctx
@@ -0,0 +1,262 @@
+<?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="Palette">
+ <tabs label="Palette" id="palette" category="org.eclipse.papyrus">
+ <sections name="Single PaletteConfiguration" sectionFile="ui/SinglePaletteConfiguration.xwt">
+ <widget href="ui/SinglePaletteConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single ToolConfiguration" sectionFile="ui/SingleToolConfiguration.xwt">
+ <widget href="ui/SingleToolConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single StackConfiguration" sectionFile="ui/SingleStackConfiguration.xwt">
+ <widget href="ui/SingleStackConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single ChildConfiguration" sectionFile="ui/SingleChildConfiguration.xwt">
+ <widget href="ui/SingleChildConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single DrawerConfiguration" sectionFile="ui/SingleDrawerConfiguration.xwt">
+ <widget href="ui/SingleDrawerConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single Configuration" sectionFile="ui/SingleConfiguration.xwt">
+ <widget href="ui/SingleConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single IconDescriptor" sectionFile="ui/SingleIconDescriptor.xwt">
+ <widget href="ui/SingleIconDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Single ElementDescriptor" sectionFile="ui/SingleElementDescriptor.xwt">
+ <widget href="ui/SingleElementDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Single SeparatorConfiguration" sectionFile="ui/SingleSeparatorConfiguration.xwt">
+ <widget href="ui/SingleSeparatorConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single LeafConfiguration" sectionFile="ui/SingleLeafConfiguration.xwt">
+ <widget href="ui/SingleLeafConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple PaletteConfiguration" sectionFile="ui/MultiplePaletteConfiguration.xwt">
+ <widget href="ui/MultiplePaletteConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple ToolConfiguration" sectionFile="ui/MultipleToolConfiguration.xwt">
+ <widget href="ui/MultipleToolConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple StackConfiguration" sectionFile="ui/MultipleStackConfiguration.xwt">
+ <widget href="ui/MultipleStackConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple ChildConfiguration" sectionFile="ui/MultipleChildConfiguration.xwt">
+ <widget href="ui/MultipleChildConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple DrawerConfiguration" sectionFile="ui/MultipleDrawerConfiguration.xwt">
+ <widget href="ui/MultipleDrawerConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple Configuration" sectionFile="ui/MultipleConfiguration.xwt">
+ <widget href="ui/MultipleConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple IconDescriptor" sectionFile="ui/MultipleIconDescriptor.xwt">
+ <widget href="ui/MultipleIconDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Multiple ElementDescriptor" sectionFile="ui/MultipleElementDescriptor.xwt">
+ <widget href="ui/MultipleElementDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Multiple SeparatorConfiguration" sectionFile="ui/MultipleSeparatorConfiguration.xwt">
+ <widget href="ui/MultipleSeparatorConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple LeafConfiguration" sectionFile="ui/MultipleLeafConfiguration.xwt">
+ <widget href="ui/MultipleLeafConfiguration.xwt#/"/>
+ </sections>
+ <sections name="SingleAspectAction" sectionFile="ui/SingleAspectAction.xwt">
+ <widget href="ui/SingleAspectAction.xwt#/"/>
+ </sections>
+ </tabs>
+ <tabs label="Aspect Actions" id="aspectActions" category="org.eclipse.papyrus" afterTab="//@tabs.0">
+ <sections name="AspectActions" sectionFile="ui/AspectActions.xwt">
+ <widget href="ui/AspectActions.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single PaletteConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePaletteConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PaletteConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single ToolConfiguration" sections="//@tabs.0/@sections.1 //@tabs.1/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleToolConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ToolConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Single StackConfiguration" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStackConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="StackConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single ChildConfiguration" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleChildConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ChildConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single DrawerConfiguration" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDrawerConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DrawerConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single Configuration" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Configuration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Single IconDescriptor" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleIconDescriptor">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="IconDescriptor"/>
+ </constraints>
+ </views>
+ <views name="Single ElementDescriptor" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleElementDescriptor">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ElementDescriptor"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Single SeparatorConfiguration" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSeparatorConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="SeparatorConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Single LeafConfiguration" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLeafConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="LeafConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple PaletteConfiguration" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePaletteConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PaletteConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Multiple ToolConfiguration" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleToolConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ToolConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Multiple StackConfiguration" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStackConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="StackConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Multiple ChildConfiguration" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleChildConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ChildConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple DrawerConfiguration" sections="//@tabs.0/@sections.14" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDrawerConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DrawerConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple Configuration" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Configuration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple IconDescriptor" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleIconDescriptor">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="IconDescriptor"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple ElementDescriptor" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleElementDescriptor">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ElementDescriptor"/>
+ </constraints>
+ </views>
+ <views name="Multiple SeparatorConfiguration" sections="//@tabs.0/@sections.18" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSeparatorConfiguration">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="SeparatorConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple LeafConfiguration" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLeafConfiguration">
+ <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/diagram/paletteconfiguration/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="LeafConfiguration"/>
+ </constraints>
+ </views>
+ <views name="SingleAspectAction" sections="//@tabs.0/@sections.20">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isAspectAction">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.3"/>
+ <properties xsi:type="contexts:ValueProperty" name="class" value="org.eclipse.papyrus.diagram.common.service.palette.IAspectAction"/>
+ </constraints>
+ </views>
+ <dataContexts name="paletteconfiguration" label="paletteconfiguration">
+ <elements name="PaletteConfiguration" supertypes="//@dataContexts.0/@elements.5">
+ <properties name="drawerConfigurations" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ToolConfiguration" supertypes="//@dataContexts.0/@elements.9">
+ <properties name="preValidationQuery" type="Reference"/>
+ <properties name="kind" type="Enumeration"/>
+ <properties name="elementDescriptors" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="StackConfiguration" supertypes="//@dataContexts.0/@elements.3">
+ <properties name="ownedConfigurations" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ChildConfiguration" supertypes="//@dataContexts.0/@elements.5"/>
+ <elements name="DrawerConfiguration" supertypes="//@dataContexts.0/@elements.5">
+ <properties name="ownedConfigurations" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="Configuration">
+ <properties name="id"/>
+ <properties name="label"/>
+ <properties name="description"/>
+ <properties name="icon" type="Reference"/>
+ </elements>
+ <elements name="IconDescriptor">
+ <properties name="pluginID"/>
+ <properties name="iconPath"/>
+ </elements>
+ <elements name="ElementDescriptor">
+ <properties name="elementTypeId"/>
+ <properties name="graphicalHints" multiplicity="-1"/>
+ </elements>
+ <elements name="SeparatorConfiguration" supertypes="//@dataContexts.0/@elements.9"/>
+ <elements name="LeafConfiguration" supertypes="//@dataContexts.0/@elements.3"/>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+ <dataContexts name="AspectActions" label="Aspect actions">
+ <elements name="ToolConfiguration">
+ <properties name="aspectActions" label="Aspect actions" type="Reference" multiplicity="-1" description="The list of aspect actions applied to this ToolConfiguration"/>
+ </elements>
+ <elements name="AspectAction">
+ <properties name="action" label="Action"/>
+ </elements>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.palette.customization/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/AspectActions.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/AspectActions.xwt
new file mode 100644
index 00000000000..f6d2d449614
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/AspectActions.xwt
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"
+ xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"
+ xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout">
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <Composite.layoutData>
+ <GridData horizontalAlignment="FILL" verticalAlignment="FILL"
+ grabExcessHorizontalSpace="true" grabExcessVerticalSpace="true" />
+ </Composite.layoutData>
+ <ppe:MultiReferencePropertyEditorWithPropertyView
+ input="{Binding}" property="AspectActions:ToolConfiguration:aspectActions">
+ </ppe:MultiReferencePropertyEditorWithPropertyView>
+</Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleChildConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleChildConfiguration.xwt
new file mode 100644
index 00000000000..4a73c945c36
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleChildConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleConfiguration.xwt
new file mode 100644
index 00000000000..752ca362651
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleConfiguration.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="http://www.eclipse.org/xwt/presentation" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleDrawerConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleDrawerConfiguration.xwt
new file mode 100644
index 00000000000..4a73c945c36
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleDrawerConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleElementDescriptor.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleElementDescriptor.xwt
new file mode 100644
index 00000000000..0bb8f23c3d9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleElementDescriptor.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.palette.customization/model/Palette/ui/MultipleIconDescriptor.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleIconDescriptor.xwt
new file mode 100644
index 00000000000..bc27cc98728
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleIconDescriptor.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite 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> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleLeafConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleLeafConfiguration.xwt
new file mode 100644
index 00000000000..969f186937c
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleLeafConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang" 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> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultiplePaletteConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultiplePaletteConfiguration.xwt
new file mode 100644
index 00000000000..8d9c4dc0edc
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultiplePaletteConfiguration.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: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.palette.customization/model/Palette/ui/MultipleSeparatorConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleSeparatorConfiguration.xwt
new file mode 100644
index 00000000000..61f6625375b
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleSeparatorConfiguration.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:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" 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.palette.customization/model/Palette/ui/MultipleStackConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleStackConfiguration.xwt
new file mode 100644
index 00000000000..969f186937c
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleStackConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang" 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> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleToolConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleToolConfiguration.xwt
new file mode 100644
index 00000000000..6e76b760037
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/MultipleToolConfiguration.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:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" 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><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="paletteconfiguration:ToolConfiguration:kind"></ppe:EnumCombo></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleAspectAction.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleAspectAction.xwt
new file mode 100644
index 00000000000..2fa329139c4
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleAspectAction.xwt
@@ -0,0 +1,21 @@
+<?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:x="http://www.eclipse.org/xwt"
+ xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"
+ xmlns:palette="clr-namespace:org.eclipse.papyrus.palette.customization.widgets">
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <Composite.layoutData>
+ <GridData verticalAlignment="FILL" grabExcessVerticalSpace="true"
+ horizontalAlignment="FILL" grabExcessHorizontalSpace="true"></GridData>
+ </Composite.layoutData>
+ <palette:AspectActionPropertyEditor
+ input="{Binding}" property="AspectActions:AspectAction:action"
+ showLabel="false">
+ <palette:AspectActionPropertyEditor.layoutData>
+ <GridData verticalAlignment="FILL" grabExcessVerticalSpace="true"
+ horizontalAlignment="FILL" grabExcessHorizontalSpace="true"></GridData>
+ </palette:AspectActionPropertyEditor.layoutData>
+ </palette:AspectActionPropertyEditor>
+</Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleChildConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleChildConfiguration.xwt
new file mode 100644
index 00000000000..b082bd4db84
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleChildConfiguration.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:x="http://www.eclipse.org/xwt" 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 input="{Binding}" property="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleConfiguration.xwt
new file mode 100644
index 00000000000..74d6bb91a52
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleConfiguration.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="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" 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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleDrawerConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleDrawerConfiguration.xwt
new file mode 100644
index 00000000000..4ea7fbd41fc
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleDrawerConfiguration.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="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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleElementDescriptor.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleElementDescriptor.xwt
new file mode 100644
index 00000000000..b03350d4fea
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleElementDescriptor.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:x="http://www.eclipse.org/xwt" 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="paletteconfiguration:ElementDescriptor:elementTypeId"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiString input="{Binding}" property="paletteconfiguration:ElementDescriptor:graphicalHints"></ppe:MultiString></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleIconDescriptor.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleIconDescriptor.xwt
new file mode 100644
index 00000000000..319d576f0f3
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleIconDescriptor.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" 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 input="{Binding}" property="paletteconfiguration:IconDescriptor:pluginID"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:IconDescriptor:iconPath"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleLeafConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleLeafConfiguration.xwt
new file mode 100644
index 00000000000..8ffaaaf5cc0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleLeafConfiguration.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:j="clr-namespace:java.lang" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" 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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SinglePaletteConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SinglePaletteConfiguration.xwt
new file mode 100644
index 00000000000..ecc4e07be0f
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SinglePaletteConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:x="http://www.eclipse.org/xwt" 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="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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleSeparatorConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleSeparatorConfiguration.xwt
new file mode 100644
index 00000000000..78620cc33a9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleSeparatorConfiguration.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: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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleStackConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleStackConfiguration.xwt
new file mode 100644
index 00000000000..d8b1622d363
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleStackConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" 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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleToolConfiguration.xwt b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleToolConfiguration.xwt
new file mode 100644
index 00000000000..69860af0ffe
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/model/Palette/ui/SingleToolConfiguration.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:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" 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="paletteconfiguration:Configuration:id"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="paletteconfiguration:Configuration:description"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:EnumCombo input="{Binding}" property="paletteconfiguration:ToolConfiguration:kind"></ppe:EnumCombo></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="paletteconfiguration:ToolConfiguration:preValidationQuery"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/plugin.xml b/sandbox/org.eclipse.papyrus.palette.customization/plugin.xml
new file mode 100644
index 00000000000..2e57a959525
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/plugin.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.papyrus.properties.context">
+ <context
+ contextModel="model/Palette/Palette.ctx"
+ loadDefault="true">
+ </context>
+ <context
+ contextModel="model/Palette.emf/PaletteEMF.ctx"
+ loadDefault="true">
+ </context>
+ <context
+ contextModel="model/Palette.uml/PaletteUML.ctx"
+ loadDefault="true">
+ </context>
+ </extension>
+ <extension
+ point="org.eclipse.papyrus.properties.environment">
+ <environment
+ environmentModel="model/Environment.xmi">
+ </environment>
+ </extension>
+
+</plugin>
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/Activator.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/Activator.java
new file mode 100644
index 00000000000..64f02d52819
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.palette.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.palette.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;
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/constraints/AspectActionConstraint.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/constraints/AspectActionConstraint.java
new file mode 100644
index 00000000000..a533c67770e
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/constraints/AspectActionConstraint.java
@@ -0,0 +1,19 @@
+package org.eclipse.papyrus.palette.customization.constraints;
+
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.properties.constraints.AbstractConstraint;
+import org.eclipse.papyrus.properties.constraints.Constraint;
+
+
+public class AspectActionConstraint extends AbstractConstraint {
+
+ public boolean match(Object selection) {
+ return selection instanceof IAspectAction;
+ }
+
+ @Override
+ protected boolean equivalent(Constraint constraint) {
+ return constraint instanceof AspectActionConstraint;
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/creation/AspectActionEditionFactory.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/creation/AspectActionEditionFactory.java
new file mode 100644
index 00000000000..6a4144af4d9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/creation/AspectActionEditionFactory.java
@@ -0,0 +1,116 @@
+package org.eclipse.papyrus.palette.customization.creation;
+
+import java.util.List;
+
+import org.eclipse.papyrus.diagram.common.service.palette.AspectToolService;
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectActionProvider;
+import org.eclipse.papyrus.properties.Activator;
+import org.eclipse.papyrus.properties.creation.PropertyEditorFactory;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Menu;
+import org.eclipse.swt.widgets.MenuItem;
+
+
+public class AspectActionEditionFactory extends PropertyEditorFactory {
+
+ protected IAspectActionProvider aspectActionProvider;
+
+ @Override
+ public boolean canCreateObject() {
+ return true;
+ }
+
+ @Override
+ public boolean canEdit() {
+ return super.canEdit();
+ }
+
+ @Override
+ public Object createObject(Control widget) {
+ IAspectActionProvider provider = chooseAspectActionProvider(widget);
+ if(provider != null) {
+ IAspectAction action = provider.createAction(null);
+ return action;
+ }
+
+ return null;
+ }
+
+ /**
+ * Gets the EClass to instantiate
+ * If the {@link #eClass} has been specified, then it is returned.
+ * Otherwise, displays a list of all valid concrete EClasses that
+ * are subtypes of {@link #type}, from which the user can choose
+ * the one to instantiate.
+ *
+ * @param widget
+ * The control used to open a selection list (if more than one EClass
+ * can be instantiated)
+ * @return
+ * The EClass to instantiate
+ */
+ protected IAspectActionProvider chooseAspectActionProvider(Control widget) {
+
+ if(this.aspectActionProvider != null) {
+ return aspectActionProvider;
+ }
+
+ List<IAspectActionProvider> availableProviders = getAvailableProviders();
+ if(availableProviders.isEmpty()) {
+ return null;
+ }
+
+ if(availableProviders.size() == 1) {
+ return availableProviders.get(0);
+ }
+
+ final Menu menu = new Menu(widget);
+ for(IAspectActionProvider aspectActionClass : availableProviders) {
+ final MenuItem item = new MenuItem(menu, SWT.NONE);
+ item.setText(aspectActionClass.getName());
+ item.setData("class", aspectActionClass); //$NON-NLS-1$
+ item.addSelectionListener(new SelectionListener() {
+
+ public void widgetSelected(SelectionEvent e) {
+ AspectActionEditionFactory.this.aspectActionProvider = (IAspectActionProvider)item.getData("class"); //$NON-NLS-1$
+ }
+
+ public void widgetDefaultSelected(SelectionEvent e) {
+ // Nothing
+ }
+
+ });
+ }
+
+ menu.setVisible(true);
+
+ //The menu is blocking the thread
+ Display display = widget.getDisplay();
+ while(menu.isVisible()) {
+ try {
+ if(!display.readAndDispatch()) {
+ display.sleep();
+ }
+ } catch (Throwable ex) {
+ Activator.log.error(ex);
+ }
+ }
+ if(!display.isDisposed()) {
+ display.update();
+ }
+
+ IAspectActionProvider aspectActionProvider = this.aspectActionProvider;
+ this.aspectActionProvider = null;
+
+ return aspectActionProvider;
+ }
+
+ protected List<IAspectActionProvider> getAvailableProviders() {
+ return AspectToolService.getInstance().getProviders();
+ }
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElement.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElement.java
new file mode 100644
index 00000000000..adfd6ffc7f8
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElement.java
@@ -0,0 +1,33 @@
+package org.eclipse.papyrus.palette.customization.modelelement;
+
+import org.eclipse.core.databinding.observable.IObservable;
+import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.properties.modelelement.AbstractModelElement;
+
+
+public class AspectActionModelElement extends AbstractModelElement {
+
+ protected IAspectAction action;
+
+ public AspectActionModelElement(IAspectAction action) {
+ this.action = action;
+ }
+
+ @Override
+ protected IObservable doGetObservable(String propertyPath) {
+ return new AbstractObservableValue() {
+
+ public Object getValueType() {
+ return IAspectAction.class;
+ }
+
+ @Override
+ protected Object doGetValue() {
+ return action;
+ }
+
+ };
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElementFactory.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElementFactory.java
new file mode 100644
index 00000000000..3d435b61a72
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/AspectActionModelElementFactory.java
@@ -0,0 +1,29 @@
+package org.eclipse.papyrus.palette.customization.modelelement;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.paletteconfiguration.ToolConfiguration;
+import org.eclipse.papyrus.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.properties.modelelement.ModelElement;
+import org.eclipse.papyrus.properties.modelelement.ModelElementFactory;
+
+
+public class AspectActionModelElementFactory implements ModelElementFactory {
+
+ public ModelElement createFromSource(Object sourceElement, DataContextElement context) {
+ if(sourceElement instanceof IAspectAction) {
+ return new AspectActionModelElement((IAspectAction)sourceElement);
+ } else if(sourceElement instanceof IAdaptable) {
+ Object adaptedEObject = ((IAdaptable)sourceElement).getAdapter(EObject.class);
+ if(adaptedEObject instanceof EObject) {
+ EObject eObject = (EObject)adaptedEObject;
+ if(eObject instanceof ToolConfiguration) {
+ return new ToolConfigurationModelElement((ToolConfiguration)eObject);
+ }
+ }
+ }
+ return null;
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/ToolConfigurationModelElement.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/ToolConfigurationModelElement.java
new file mode 100644
index 00000000000..9500991fce8
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/modelelement/ToolConfigurationModelElement.java
@@ -0,0 +1,90 @@
+package org.eclipse.papyrus.palette.customization.modelelement;
+
+import java.util.LinkedList;
+
+import org.eclipse.core.databinding.observable.IObservable;
+import org.eclipse.core.databinding.observable.list.WritableList;
+import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.palette.customization.creation.AspectActionEditionFactory;
+import org.eclipse.papyrus.paletteconfiguration.ToolConfiguration;
+import org.eclipse.papyrus.properties.modelelement.AbstractModelElement;
+import org.eclipse.papyrus.widgets.creation.ReferenceValueFactory;
+import org.eclipse.swt.graphics.Image;
+
+
+public class ToolConfigurationModelElement extends AbstractModelElement {
+
+ /**
+ * The aspectActions property
+ */
+ public static final String ASPECT_ACTIONS = "aspectActions";
+
+ /**
+ * The ToolConfiguration on which the IAspectActions are applied
+ */
+ private ToolConfiguration toolConfiguration;
+
+ public ToolConfigurationModelElement(ToolConfiguration toolConfiguration) {
+ this.toolConfiguration = toolConfiguration;
+ }
+
+ @Override
+ protected IObservable doGetObservable(String propertyPath) {
+ if(propertyPath.equals(ASPECT_ACTIONS)) {
+ //TODO : Retrieve the list of IAspectActions
+ return new WritableList(new LinkedList<IAspectAction>(), IAspectAction.class);
+ }
+
+ //Unknown property
+ return null;
+ }
+
+ @Override
+ public boolean isOrdered(String propertyPath) {
+ return propertyPath.equals(ASPECT_ACTIONS);
+ }
+
+ @Override
+ public boolean isUnique(String propertyPath) {
+ return false;
+ }
+
+ @Override
+ public boolean getDirectCreation(String propertyPath) {
+ return propertyPath.equals(ASPECT_ACTIONS);
+ }
+
+ @Override
+ public ILabelProvider getLabelProvider(String propertyPath) {
+ return new LabelProvider() {
+
+ @Override
+ public String getText(Object element) {
+ if(element instanceof IAspectAction) {
+ return ((IAspectAction)element).getLabel();
+ }
+ return super.getText(element);
+ }
+
+ @Override
+ public Image getImage(Object element) {
+ if(element instanceof IAspectAction) {
+ return ((IAspectAction)element).getImage();
+ }
+ return super.getImage(element);
+ }
+ };
+ }
+
+ @Override
+ public ReferenceValueFactory getValueFactory(String propertyPath) {
+ if(propertyPath.equals(ASPECT_ACTIONS)) {
+ return new AspectActionEditionFactory();
+ }
+
+ return super.getValueFactory(propertyPath);
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionEditor.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionEditor.java
new file mode 100644
index 00000000000..c0108c3db00
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionEditor.java
@@ -0,0 +1,84 @@
+package org.eclipse.papyrus.palette.customization.widgets;
+
+import java.util.LinkedList;
+import java.util.List;
+
+import org.eclipse.papyrus.diagram.common.service.palette.IAspectAction;
+import org.eclipse.papyrus.diagram.common.service.palette.IPaletteEntryProxy;
+import org.eclipse.papyrus.widgets.editors.AbstractValueEditor;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.uml2.uml.Profile;
+
+
+public class AspectActionEditor extends AbstractValueEditor {
+
+ protected IAspectAction action;
+
+ protected IPaletteEntryProxy entryProxy;
+
+ protected List<Profile> appliedProfiles = new LinkedList<Profile>();
+
+ protected AspectActionEditor(Composite parent, int style) {
+ super(parent, style);
+ GridLayout layout = (GridLayout)getLayout();
+ layout.marginHeight = 0;
+ layout.marginWidth = 0;
+ }
+
+ @Override
+ public Object getValue() {
+ return action;
+ }
+
+ @Override
+ public Object getEditableType() {
+ return Object.class;
+ }
+
+ @Override
+ public void setReadOnly(boolean readOnly) {
+ this.setEnabled(!readOnly);
+ }
+
+ @Override
+ public boolean isReadOnly() {
+ return !this.isEnabled();
+ }
+
+ @Override
+ public void setToolTipText(String text) {
+ super.setLabelToolTipText(text);
+ }
+
+ public void setEntryProxy(IPaletteEntryProxy entryProxy) {
+ this.entryProxy = entryProxy;
+ }
+
+ public void setAppliedProfiles(List<Profile> appliedProfiles) {
+ this.appliedProfiles = appliedProfiles;
+ }
+
+ @Override
+ protected void doBinding() {
+ //The value probably never changes outside of the current property view
+ //Otherwise, we should add some listeners here (This is currently not
+ //possible to listen on the IAspectAction)
+ Object value = this.modelProperty.getValue();
+ if(value instanceof IAspectAction) {
+ this.action = (IAspectAction)value;
+ action.createConfigurationComposite(this, entryProxy, appliedProfiles).setLayoutData(getDefaultLayoutData());
+ }
+ }
+
+ @Override
+ protected GridData getDefaultLayoutData() {
+ GridData data = super.getDefaultLayoutData();
+ data.grabExcessVerticalSpace = true;
+ data.verticalAlignment = SWT.FILL;
+ return data;
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionPropertyEditor.java b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionPropertyEditor.java
new file mode 100644
index 00000000000..e040ba1aa4b
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.palette.customization/src/org/eclipse/papyrus/palette/customization/widgets/AspectActionPropertyEditor.java
@@ -0,0 +1,15 @@
+package org.eclipse.papyrus.palette.customization.widgets;
+
+import org.eclipse.papyrus.properties.widgets.AbstractPropertyEditor;
+import org.eclipse.swt.widgets.Composite;
+
+
+public class AspectActionPropertyEditor extends AbstractPropertyEditor {
+
+ protected AspectActionEditor editor;
+
+ public AspectActionPropertyEditor(Composite parent, int style) {
+ editor = new AspectActionEditor(parent, style);
+ setEditor(editor);
+ }
+}
diff --git a/sandbox/org.eclipse.papyrus.plugin.management/.classpath b/sandbox/org.eclipse.papyrus.plugin.management/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/.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.plugin.management/.project b/sandbox/org.eclipse.papyrus.plugin.management/.project
new file mode 100644
index 00000000000..b203890cb52
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.plugin.management</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.plugin.management/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.plugin.management/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..942cb7f9422
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Fri Sep 09 09:27:23 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.plugin.management/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.plugin.management/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..9b9d3be4a2a
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Plug-in management
+Bundle-SymbolicName: org.eclipse.papyrus.plugin.management
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.plugin.management.Activator
+Bundle-Vendor: Eclipse Modeling Project
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.eclipse.project.editors;bundle-version="0.9.0",
+ org.eclipse.core.resources;bundle-version="3.7.100",
+ org.eclipse.papyrus.log;bundle-version="0.8.1",
+ org.eclipse.pde.ui;bundle-version="3.6.100"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/org.eclipse.papyrus.plugin.management/about.html b/sandbox/org.eclipse.papyrus.plugin.management/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/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.plugin.management/build.properties b/sandbox/org.eclipse.papyrus.plugin.management/build.properties
new file mode 100644
index 00000000000..b3905be0691
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/build.properties
@@ -0,0 +1,9 @@
+source.. = src/
+output.. = bin/
+bin.includes = .,\
+ META-INF/,\
+ resources/,\
+ about.html
+src.includes = META-INF/,\
+ resources/,\
+ about.html
diff --git a/sandbox/org.eclipse.papyrus.plugin.management/resources/about.html.file b/sandbox/org.eclipse.papyrus.plugin.management/resources/about.html.file
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/resources/about.html.file
@@ -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.plugin.management/src/org/eclipse/papyrus/plugin/management/Activator.java b/sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/Activator.java
new file mode 100644
index 00000000000..d2f907a4bd7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/Activator.java
@@ -0,0 +1,68 @@
+package org.eclipse.papyrus.plugin.management;
+
+import org.eclipse.papyrus.log.LogHelper;
+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.plugin.management"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ public static LogHelper log;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ log = new LogHelper(this);
+
+ // RefactoringRuntime runtime = new RefactoringRuntime();
+ // runtime.setPluginPattern("org.eclipse.papyrus.*");
+ // runtime.setProvider(null);
+ // runtime.setVersion("0.8.2.qualifier");
+ // try {
+ // runtime.run();
+ // } catch (Throwable e) {
+ // log.error(e);
+ // }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ @Override
+ 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;
+ }
+
+}
diff --git a/sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/runtime/RefactoringRuntime.java b/sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/runtime/RefactoringRuntime.java
new file mode 100644
index 00000000000..76da1b2fe84
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.plugin.management/src/org/eclipse/papyrus/plugin/management/runtime/RefactoringRuntime.java
@@ -0,0 +1,250 @@
+package org.eclipse.papyrus.plugin.management.runtime;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.LinkedList;
+import java.util.List;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.papyrus.eclipse.project.editors.file.BuildEditor;
+import org.eclipse.papyrus.eclipse.project.editors.file.ClasspathEditor;
+import org.eclipse.papyrus.eclipse.project.editors.file.ManifestEditor;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IBuildEditor;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IClasspathEditor;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IJavaProjectEditor;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IManifestEditor;
+import org.eclipse.papyrus.eclipse.project.editors.interfaces.IPluginProjectEditor;
+import org.eclipse.papyrus.plugin.management.Activator;
+import org.eclipse.ui.internal.misc.StringMatcher;
+
+/**
+ * A class for refactoring a set of Eclipse Plug-ins
+ *
+ * This class handles the following elements :
+ *
+ * - Plugins filtered by name
+ * - Add a about.html file
+ * - Sets the version and provider of the plug-in
+ * - Adds the required files to the binary build
+ * - Adds the source folders to the source build
+ *
+ * TODO :
+ * - Copy the /OSGI-INF/l10n/bundle.properties file to /plugin.properties
+ * - Handle the externalized strings for Manifest
+ *
+ * @author Camille Letavernier
+ *
+ */
+//USAGE :
+//RefactoringRuntime runtime = new RefactoringRuntime();
+//runtime.setProvider("Eclipse Modeling Project"); //Or null if the provider should not change
+//runtime.setVersion("0.9.1"); //Or null if the version should not change
+//runtime.setPluginPattern("org.eclipse.papyrus.*");
+//try {
+// runtime.run();
+//} catch (Throwable e) {
+// Activator.log.error(e);
+//}
+public class RefactoringRuntime {
+
+ private String pluginPattern = "*"; //$NON-NLS-1$
+
+ private StringMatcher matcher = new StringMatcher(pluginPattern, true, false);
+
+ private IFile aboutHtmlFile;
+
+ private String version = "0.0.0.qualified"; //$NON-NLS-1$
+
+ private String provider = "www.eclipse.org"; //$NON-NLS-1$
+
+ public static final String ABOUT_HTML_SOURCE_PATH = "/resources/about.html.file"; //$NON-NLS-1$
+
+ public static final String ABOUT_HTML_PATH = "about.html"; //$NON-NLS-1$
+
+ public RefactoringRuntime() {
+
+ }
+
+ public void setPluginPattern(String pattern) {
+ this.pluginPattern = pattern;
+ matcher = new StringMatcher(pattern, true, false);
+ }
+
+ public void setAboutHtmlFile(IFile file) {
+ this.aboutHtmlFile = file;
+ }
+
+ public void setProvider(String providerName) {
+ this.provider = providerName;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public void run() throws CoreException, IOException, Throwable {
+ List<IProject> projectsToHandle = new LinkedList<IProject>();
+ for(IProject project : ResourcesPlugin.getWorkspace().getRoot().getProjects()) {
+ if(project.isOpen()) {
+ if(project.getNature(IPluginProjectEditor.PLUGIN_NATURE) != null) {
+ if(matcher.match(project.getName())) {
+ handleProject(project);
+ projectsToHandle.add(project);
+ } else {
+ Activator.log.warn(String.format("The plugin %1$s doesn't match the pattern %2$s", project.getName(), pluginPattern)); //$NON-NLS-1$
+ }
+ } else {
+ Activator.log.warn(String.format("The project %s is not a plug-in project", project.getName())); //$NON-NLS-1$
+ project.close(new NullProgressMonitor());
+ }
+ }
+ }
+
+ ResourcesPlugin.getWorkspace().getRoot().refreshLocal(IWorkspaceRoot.DEPTH_INFINITE, new NullProgressMonitor());
+ // GetNonExternalizedStringsAction externalizeAction = new GetNonExternalizedStringsAction();
+ // externalizeAction.selectionChanged(null, new StructuredSelection(projectsToHandle));
+ // externalizeAction.setExternalizeSelectedPluginsOnly(true);
+ // externalizeAction.run(null);
+ // ResourcesPlugin.getWorkspace().getRoot().refreshLocal(IWorkspaceRoot.DEPTH_INFINITE, new NullProgressMonitor());
+ //
+ // for(IProject project : projectsToHandle) {
+ // checkBinaryBuild(project);
+ // checkSourceBuild(project);
+ // project.refreshLocal(IProject.DEPTH_INFINITE, new NullProgressMonitor());
+ // }
+ }
+
+ protected void handleProject(IProject project) throws CoreException, IOException, Throwable {
+ Activator.log.warn("Handle " + project.getName());
+ checkAboutHtmlFile(project);
+ checkProviderAndVersion(project);
+ checkClasspath(project);
+ project.refreshLocal(IProject.DEPTH_INFINITE, new NullProgressMonitor());
+ }
+
+ protected void checkClasspath(IProject project) throws Throwable {
+ if(!project.hasNature(IJavaProjectEditor.JAVA_NATURE)) {
+ return;
+ }
+
+ IClasspathEditor editor = new ClasspathEditor(project);
+ if(!editor.exists()) {
+ return;
+ }
+
+ //Adds the classpath entries to the build (source.. and output..)
+ IBuildEditor buildEditor = getBuildEditor(project, null);
+ for(String sourceFolder : editor.getSourceFolders()) {
+ buildEditor.registerSourceFolder(sourceFolder + "/");
+ }
+ for(String binFolder : editor.getBinFolders()) {
+ buildEditor.registerBinFolder(binFolder + "/");
+ }
+
+ buildEditor.save();
+ }
+
+ protected void checkProviderAndVersion(IProject project) throws CoreException, IOException, Throwable {
+ IManifestEditor manifest = new ManifestEditor(project);
+ manifest.init();
+ boolean manifestChange = false;
+
+ if(!manifest.exists()) {
+ manifest.create();
+ manifestChange = true;
+ }
+
+ if(provider != null) {
+ //TODO : If the string is already externalized, edit the *.properties language file
+ //(Can be either plugin.properties or bundle.properties ; see Bundle-localization to find it)
+ String bundleVendor = manifest.getBundleVendor();
+ if(!provider.equals(bundleVendor)) {
+ if(bundleVendor == null || !bundleVendor.startsWith("%")) { //Undefined or not externalized String
+ manifest.setBundleVendor(provider);
+ manifestChange = true;
+ }
+ }
+ }
+ if(version != null) {
+ String currentVersion = manifest.getBundleVersion();
+ if(!version.equals(currentVersion)) {
+ manifest.setBundleVersion(version);
+ manifestChange = true;
+ }
+ }
+
+ if(manifestChange) {
+ manifest.save();
+ }
+ }
+
+ protected void checkSourceBuild(IProject project) throws Throwable {
+ IBuildEditor sourceEditor = getBuildEditor(project, IBuildEditor.SOURCE_BUILD);
+ IBuildEditor binEditor = getBuildEditor(project, IBuildEditor.BINARY_BUILD);
+
+ //Copy the binary build
+ for(String binaryBuildElement : binEditor.getElementsInBuild()) {
+ sourceEditor.addToBuild(binaryBuildElement);
+ }
+
+ //Add the source folders to the build
+ //Fix : the source folders are automatically added to source builds
+ //for(String sourceFolder : sourceEditor.getSourceFolders()) {
+ // sourceEditor.addToBuild(sourceFolder);
+ //}
+ sourceEditor.save();
+ project.getFile(IBuildEditor.BUILD_PROPERTIES_FILE).refreshLocal(IFile.DEPTH_ZERO, new NullProgressMonitor());
+ }
+
+ protected void checkBinaryBuild(IProject project) throws Throwable {
+ IBuildEditor editor = getBuildEditor(project, IBuildEditor.BINARY_BUILD);
+ addToBuildIfExists(editor, ABOUT_HTML_PATH);
+ addToBuildIfExists(editor, IManifestEditor.META_INF_PATH);
+ addToBuildIfExists(editor, IPluginProjectEditor.PLUGIN_XML_FILE);
+ addToBuildIfExists(editor, "plugin.properties"); //$NON-NLS-1$
+ addToBuildIfExists(editor, "OSGI-INF/"); //$NON-NLS-1$
+ editor.save();
+ project.getFile(IBuildEditor.BUILD_PROPERTIES_FILE).refreshLocal(IFile.DEPTH_ZERO, new NullProgressMonitor());
+ }
+
+ protected void addToBuildIfExists(IBuildEditor editor, String file) {
+ if(editor.getProject().getFile(file).exists()) {
+ editor.addToBuild(file);
+ }
+ }
+
+ protected void checkAboutHtmlFile(IProject project) throws CoreException, IOException {
+ IFile targetFile = project.getFile(new Path(ABOUT_HTML_PATH));
+ if(targetFile.exists()) {
+ return;
+ }
+
+ InputStream is;
+ if(aboutHtmlFile == null) {
+ URL url = new URL("platform:/plugin/" + Activator.PLUGIN_ID + ABOUT_HTML_SOURCE_PATH); //$NON-NLS-1$
+ is = url.openStream();
+ } else {
+ is = aboutHtmlFile.getContents();
+ }
+
+ targetFile.create(is, false, new NullProgressMonitor());
+ is.close();
+ targetFile.refreshLocal(IFile.DEPTH_ZERO, new NullProgressMonitor());
+ }
+
+ protected IBuildEditor getBuildEditor(IProject project, String buildKey) {
+ IBuildEditor editor = new BuildEditor(project, buildKey);
+ editor.init();
+ if(!editor.exists()) {
+ editor.create();
+ }
+ return editor;
+ }
+}
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/.classpath b/sandbox/org.eclipse.papyrus.queries.customization/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.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.queries.customization/.project b/sandbox/org.eclipse.papyrus.queries.customization/.project
new file mode 100644
index 00000000000..8a6f7ec6dae
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.queries.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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.queries.customization/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..7d71bd6f1e9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Wed Jul 27 11:22:35 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.queries.customization/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.queries.customization/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..81750c8cd75
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Queries customization (Incubation)
+Bundle-SymbolicName: org.eclipse.papyrus.queries.customization;singleton:=true
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.queries.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.papyrus.properties;bundle-version="0.9.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/about.html b/sandbox/org.eclipse.papyrus.queries.customization/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.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.queries.customization/build.properties b/sandbox/org.eclipse.papyrus.queries.customization/build.properties
new file mode 100644
index 00000000000..1ba16e6b820
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/build.properties
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ model/,\
+ about.html
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/Queries.ctx b/sandbox/org.eclipse.papyrus.queries.customization/model/Queries.ctx
new file mode 100644
index 00000000000..53776ca0df5
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/Queries.ctx
@@ -0,0 +1,147 @@
+<?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="Queries">
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single QueryConfiguration" sectionFile="ui/SingleQueryConfiguration.xwt">
+ <widget href="ui/SingleQueryConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single ModiscoQueryConfiguration" sectionFile="ui/SingleModiscoQueryConfiguration.xwt">
+ <widget href="ui/SingleModiscoQueryConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Single ParameterValue" sectionFile="ui/SingleParameterValue.xwt">
+ <widget href="ui/SingleParameterValue.xwt#/"/>
+ </sections>
+ <sections name="Single QueryExecutionValue" sectionFile="ui/SingleQueryExecutionValue.xwt">
+ <widget href="ui/SingleQueryExecutionValue.xwt#/"/>
+ </sections>
+ <sections name="Single ConstantParameterValue" sectionFile="ui/SingleConstantParameterValue.xwt">
+ <widget href="ui/SingleConstantParameterValue.xwt#/"/>
+ </sections>
+ <sections name="Single ListParameterValue" sectionFile="ui/SingleListParameterValue.xwt">
+ <widget href="ui/SingleListParameterValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryConfiguration" sectionFile="ui/MultipleQueryConfiguration.xwt">
+ <widget href="ui/MultipleQueryConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple ModiscoQueryConfiguration" sectionFile="ui/MultipleModiscoQueryConfiguration.xwt">
+ <widget href="ui/MultipleModiscoQueryConfiguration.xwt#/"/>
+ </sections>
+ <sections name="Multiple ParameterValue" sectionFile="ui/MultipleParameterValue.xwt">
+ <widget href="ui/MultipleParameterValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryExecutionValue" sectionFile="ui/MultipleQueryExecutionValue.xwt">
+ <widget href="ui/MultipleQueryExecutionValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConstantParameterValue" sectionFile="ui/MultipleConstantParameterValue.xwt">
+ <widget href="ui/MultipleConstantParameterValue.xwt#/"/>
+ </sections>
+ <sections name="Multiple ListParameterValue" sectionFile="ui/MultipleListParameterValue.xwt">
+ <widget href="ui/MultipleListParameterValue.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single QueryConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryConfiguration">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single ModiscoQueryConfiguration" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModiscoQueryConfiguration">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ModiscoQueryConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Single ParameterValue" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ParameterValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ </constraints>
+ </views>
+ <views name="Single QueryExecutionValue" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryExecutionValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryExecutionValue"/>
+ </constraints>
+ </views>
+ <views name="Single ConstantParameterValue" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstantParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstantParameterValue"/>
+ </constraints>
+ </views>
+ <views name="Single ListParameterValue" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleListParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ListParameterValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryConfiguration" sections="//@tabs.0/@sections.6" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryConfiguration">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryConfiguration"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple ModiscoQueryConfiguration" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModiscoQueryConfiguration">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ModiscoQueryConfiguration"/>
+ </constraints>
+ </views>
+ <views name="Multiple ParameterValue" sections="//@tabs.0/@sections.8" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ParameterValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryExecutionValue" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryExecutionValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryExecutionValue"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConstantParameterValue" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstantParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstantParameterValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ </constraints>
+ </views>
+ <views name="Multiple ListParameterValue" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleListParameterValue">
+ <constraintType href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ListParameterValue"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/core/queries/0.7"/>
+ </constraints>
+ </views>
+ <dataContexts name="configuration" label="configuration">
+ <elements name="QueryConfiguration">
+ <properties name="name"/>
+ </elements>
+ <elements name="ModiscoQueryConfiguration" supertypes="//@dataContexts.0/@elements.0">
+ <properties name="query" type="Reference"/>
+ <properties name="parameterValues" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ParameterValue">
+ <properties name="parameter" type="Reference"/>
+ </elements>
+ <elements name="QueryExecutionValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="configuration" type="Reference"/>
+ </elements>
+ <elements name="ConstantParameterValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="valueInstance" type="Reference"/>
+ </elements>
+ <elements name="ListParameterValue" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="values" type="Reference" multiplicity="-1"/>
+ </elements>
+ <modelElementFactory href="../../../environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleConstantParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleConstantParameterValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleConstantParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleListParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleListParameterValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleListParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleModiscoQueryConfiguration.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleModiscoQueryConfiguration.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleModiscoQueryConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleParameterValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryConfiguration.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryConfiguration.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryExecutionValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryExecutionValue.xwt
new file mode 100644
index 00000000000..8bea86c96b0
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/MultipleQueryExecutionValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleConstantParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleConstantParameterValue.xwt
new file mode 100644
index 00000000000..cda428cc063
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleConstantParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:ReferenceDialog input="{Binding}" property="configuration:ParameterValue:parameter"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleListParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleListParameterValue.xwt
new file mode 100644
index 00000000000..be76988663e
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleListParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:ReferenceDialog input="{Binding}" property="configuration:ParameterValue:parameter"></ppe:ReferenceDialog></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="configuration:ListParameterValue:values"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleModiscoQueryConfiguration.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleModiscoQueryConfiguration.xwt
new file mode 100644
index 00000000000..6aeb2102840
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleModiscoQueryConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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="configuration:QueryConfiguration:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="configuration:ModiscoQueryConfiguration:query"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleParameterValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleParameterValue.xwt
new file mode 100644
index 00000000000..cda428cc063
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleParameterValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:ReferenceDialog input="{Binding}" property="configuration:ParameterValue:parameter"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryConfiguration.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryConfiguration.xwt
new file mode 100644
index 00000000000..41e4924f4c3
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryConfiguration.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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="configuration:QueryConfiguration:name"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryExecutionValue.xwt b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryExecutionValue.xwt
new file mode 100644
index 00000000000..06e0a83f15f
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/model/ui/SingleQueryExecutionValue.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" 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:ReferenceDialog input="{Binding}" property="configuration:QueryExecutionValue:configuration"></ppe:ReferenceDialog><ppe:ReferenceDialog input="{Binding}" property="configuration:ParameterValue:parameter"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/plugin.xml b/sandbox/org.eclipse.papyrus.queries.customization/plugin.xml
new file mode 100644
index 00000000000..cd11a6e4c2b
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/plugin.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.papyrus.properties.context">
+ <context
+ contextModel="model/Queries.ctx"
+ loadDefault="true">
+ </context>
+ </extension>
+
+</plugin>
diff --git a/sandbox/org.eclipse.papyrus.queries.customization/src/org/eclipse/papyrus/queries/customization/Activator.java b/sandbox/org.eclipse.papyrus.queries.customization/src/org/eclipse/papyrus/queries/customization/Activator.java
new file mode 100644
index 00000000000..064fab7d47f
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.queries.customization/src/org/eclipse/papyrus/queries/customization/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.queries.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.queries.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