Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-07-20 03:21:43 -0400
committercletavernie2011-07-20 03:21:43 -0400
commit09e2cb1853c1b7ddea954c71dcab790396a03ba3 (patch)
treed8b1873f30a78d095f3fe01f5692160f43b68762
parent1e4f33b9ca3bbe0f5757b6c6d12df11c36cd62e9 (diff)
downloadorg.eclipse.papyrus-09e2cb1853c1b7ddea954c71dcab790396a03ba3.tar.gz
org.eclipse.papyrus-09e2cb1853c1b7ddea954c71dcab790396a03ba3.tar.xz
org.eclipse.papyrus-09e2cb1853c1b7ddea954c71dcab790396a03ba3.zip
351802: [Constraints] The Property View constraints model should be more generic
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351802
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/.classpath7
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/.project28
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/META-INF/MANIFEST.MF12
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx223
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleCompositeConstraint.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConfigProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintEnvironment.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintType.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleDisplayUnit.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleReferenceProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleSimpleConstraint.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleValueProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleCompositeConstraint.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConfigProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintDescriptor.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintEnvironment.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintType.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleDisplayUnit.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleReferenceProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleSimpleConstraint.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleValueProperty.xwt2
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/build.properties5
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/plugin.xml12
-rw-r--r--sandbox/org.eclipse.papyrus.constraints.customization/src/org/eclipse/papyrus/constraints/customization/Activator.java50
26 files changed, 381 insertions, 0 deletions
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/.classpath b/sandbox/org.eclipse.papyrus.constraints.customization/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.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.constraints.customization/.project b/sandbox/org.eclipse.papyrus.constraints.customization/.project
new file mode 100644
index 00000000000..ef06f44cb09
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.constraints.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.constraints.customization/.settings/org.eclipse.jdt.core.prefs b/sandbox/org.eclipse.papyrus.constraints.customization/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..c822c68a992
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Tue Jul 19 16:46:05 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.constraints.customization/META-INF/MANIFEST.MF b/sandbox/org.eclipse.papyrus.constraints.customization/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..54d5b343480
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Constraints Customization (Incubation)
+Bundle-SymbolicName: org.eclipse.papyrus.constraints.customization;singleton:=true
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.constraints.customization.Activator
+Bundle-Vendor: Eclipse Modeling Project
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.properties;bundle-version="0.9.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx b/sandbox/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx
new file mode 100644
index 00000000000..de05af0cc86
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/Constraints.ctx
@@ -0,0 +1,223 @@
+<?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="constraints">
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single DisplayUnit" sectionFile="ui/SingleDisplayUnit.xwt">
+ <widget href="ui/SingleDisplayUnit.xwt#/"/>
+ </sections>
+ <sections name="Single ConstraintDescriptor" sectionFile="ui/SingleConstraintDescriptor.xwt">
+ <widget href="ui/SingleConstraintDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Single SimpleConstraint" sectionFile="ui/SingleSimpleConstraint.xwt">
+ <widget href="ui/SingleSimpleConstraint.xwt#/"/>
+ </sections>
+ <sections name="Single CompositeConstraint" sectionFile="ui/SingleCompositeConstraint.xwt">
+ <widget href="ui/SingleCompositeConstraint.xwt#/"/>
+ </sections>
+ <sections name="Single ConfigProperty" sectionFile="ui/SingleConfigProperty.xwt">
+ <widget href="ui/SingleConfigProperty.xwt#/"/>
+ </sections>
+ <sections name="Single ValueProperty" sectionFile="ui/SingleValueProperty.xwt">
+ <widget href="ui/SingleValueProperty.xwt#/"/>
+ </sections>
+ <sections name="Single ReferenceProperty" sectionFile="ui/SingleReferenceProperty.xwt">
+ <widget href="ui/SingleReferenceProperty.xwt#/"/>
+ </sections>
+ <sections name="Multiple DisplayUnit" sectionFile="ui/MultipleDisplayUnit.xwt">
+ <widget href="ui/MultipleDisplayUnit.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConstraintDescriptor" sectionFile="ui/MultipleConstraintDescriptor.xwt">
+ <widget href="ui/MultipleConstraintDescriptor.xwt#/"/>
+ </sections>
+ <sections name="Multiple SimpleConstraint" sectionFile="ui/MultipleSimpleConstraint.xwt">
+ <widget href="ui/MultipleSimpleConstraint.xwt#/"/>
+ </sections>
+ <sections name="Multiple CompositeConstraint" sectionFile="ui/MultipleCompositeConstraint.xwt">
+ <widget href="ui/MultipleCompositeConstraint.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConfigProperty" sectionFile="ui/MultipleConfigProperty.xwt">
+ <widget href="ui/MultipleConfigProperty.xwt#/"/>
+ </sections>
+ <sections name="Multiple ValueProperty" sectionFile="ui/MultipleValueProperty.xwt">
+ <widget href="ui/MultipleValueProperty.xwt#/"/>
+ </sections>
+ <sections name="Multiple ReferenceProperty" sectionFile="ui/MultipleReferenceProperty.xwt">
+ <widget href="ui/MultipleReferenceProperty.xwt#/"/>
+ </sections>
+ <sections name="Single ConstraintEnvironment" sectionFile="ui/SingleConstraintEnvironment.xwt">
+ <widget href="ui/SingleConstraintEnvironment.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConstraintEnvironment" sectionFile="ui/MultipleConstraintEnvironment.xwt">
+ <widget href="ui/MultipleConstraintEnvironment.xwt#/"/>
+ </sections>
+ <sections name="Single ConstraintType" sectionFile="ui/SingleConstraintType.xwt">
+ <widget href="ui/SingleConstraintType.xwt#/"/>
+ </sections>
+ <sections name="Multiple ConstraintType" sectionFile="ui/MultipleConstraintType.xwt">
+ <widget href="ui/MultipleConstraintType.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single DisplayUnit" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDisplayUnit">
+ <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/constraints"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
+ </constraints>
+ </views>
+ <views name="Single ConstraintDescriptor" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintDescriptor">
+ <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/constraints"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
+ </constraints>
+ </views>
+ <views name="Single SimpleConstraint" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSimpleConstraint">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="SimpleConstraint"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Single CompositeConstraint" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeConstraint">
+ <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/constraints"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
+ </constraints>
+ </views>
+ <views name="Single ConfigProperty" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConfigProperty">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Single ValueProperty" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueProperty">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Single ReferenceProperty" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceProperty">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Multiple DisplayUnit" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDisplayUnit">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintDescriptor" sections="//@tabs.0/@sections.8" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintDescriptor">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Multiple SimpleConstraint" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSimpleConstraint">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="SimpleConstraint"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Multiple CompositeConstraint" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeConstraint">
+ <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/constraints"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConfigProperty" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConfigProperty">
+ <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/constraints"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
+ </constraints>
+ </views>
+ <views name="Multiple ValueProperty" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueProperty">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceProperty" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceProperty">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints"/>
+ </constraints>
+ </views>
+ <views name="Single ConstraintEnvironment" sections="//@tabs.0/@sections.14" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintEnvironment">
+ <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/constraints/environment"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintEnvironment"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintEnvironment" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintEnvironment">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintEnvironment"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints/environment"/>
+ </constraints>
+ </views>
+ <views name="Single ConstraintType" sections="//@tabs.0/@sections.16" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintType">
+ <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/constraints/environment"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintType" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintType">
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/constraints/environment"/>
+ </constraints>
+ </views>
+ <dataContexts name="constraints" label="constraints">
+ <elements name="DisplayUnit">
+ <properties name="constraints" type="Reference" multiplicity="-1"/>
+ <properties name="elementMultiplicity" type="Integer"/>
+ </elements>
+ <elements name="ConstraintDescriptor">
+ <properties name="name"/>
+ <properties name="display" type="Reference"/>
+ <properties name="overrideable" type="Boolean"/>
+ <properties name="overriddenConstraints" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="SimpleConstraint" supertypes="//@dataContexts.0/@elements.1">
+ <properties name="constraintType" type="Reference"/>
+ <properties name="properties" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="CompositeConstraint" supertypes="//@dataContexts.0/@elements.1">
+ <properties name="constraints" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ConfigProperty">
+ <properties name="name"/>
+ </elements>
+ <elements name="ValueProperty" supertypes="//@dataContexts.0/@elements.4">
+ <properties name="value"/>
+ </elements>
+ <elements name="ReferenceProperty" supertypes="//@dataContexts.0/@elements.4">
+ <properties name="value" type="Reference"/>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="environment">
+ <elements name="ConstraintEnvironment">
+ <properties name="constraintTypes" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ConstraintType">
+ <properties name="label"/>
+ <properties name="constraintClass"/>
+ </elements>
+ </elements>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleCompositeConstraint.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleCompositeConstraint.xwt
new file mode 100644
index 00000000000..097cd9cece7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleCompositeConstraint.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConfigProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConfigProperty.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConfigProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintDescriptor.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintDescriptor.xwt
new file mode 100644
index 00000000000..097cd9cece7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintDescriptor.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintEnvironment.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintEnvironment.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintEnvironment.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintType.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintType.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleConstraintType.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleDisplayUnit.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleDisplayUnit.xwt
new file mode 100644
index 00000000000..de4b2997eae
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleDisplayUnit.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:IntegerEditor input="{Binding}" property="constraints:DisplayUnit:elementMultiplicity"></ppe:IntegerEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleReferenceProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleReferenceProperty.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleReferenceProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleSimpleConstraint.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleSimpleConstraint.xwt
new file mode 100644
index 00000000000..097cd9cece7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleSimpleConstraint.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleValueProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleValueProperty.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/MultipleValueProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleCompositeConstraint.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleCompositeConstraint.xwt
new file mode 100644
index 00000000000..5f9cc92be4a
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleCompositeConstraint.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConstraintDescriptor:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="constraints:CompositeConstraint:constraints"></ppe:MultiReference><ppe:MultiReference input="{Binding}" property="constraints:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConfigProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConfigProperty.xwt
new file mode 100644
index 00000000000..522c7ff7ad6
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConfigProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConfigProperty:name"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintDescriptor.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintDescriptor.xwt
new file mode 100644
index 00000000000..294168b2f1f
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintDescriptor.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConstraintDescriptor:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="constraints:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintEnvironment.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintEnvironment.xwt
new file mode 100644
index 00000000000..506d138f590
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintEnvironment.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintType.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintType.xwt
new file mode 100644
index 00000000000..1ed7df0b3a2
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleConstraintType.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:environment:ConstraintType:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="constraints:environment:ConstraintType:constraintClass"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleDisplayUnit.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleDisplayUnit.xwt
new file mode 100644
index 00000000000..1aef22d4e97
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleDisplayUnit.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:IntegerEditor input="{Binding}" property="constraints:DisplayUnit:elementMultiplicity"></ppe:IntegerEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="constraints:DisplayUnit:constraints"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleReferenceProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleReferenceProperty.xwt
new file mode 100644
index 00000000000..93d6ae2fd25
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleReferenceProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConfigProperty:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="constraints:ReferenceProperty:value"></ppe:ReferenceDialog></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleSimpleConstraint.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleSimpleConstraint.xwt
new file mode 100644
index 00000000000..0c5aa3b148c
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleSimpleConstraint.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConstraintDescriptor:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="constraints:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="constraints:SimpleConstraint:constraintType"></ppe:ReferenceDialog></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="constraints:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleValueProperty.xwt b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleValueProperty.xwt
new file mode 100644
index 00000000000..3d9611a3ba9
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/Model/ui/SingleValueProperty.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="constraints:ConfigProperty:name"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="constraints:ValueProperty:value"></ppe:StringEditor></Composite></Composite> \ No newline at end of file
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/build.properties b/sandbox/org.eclipse.papyrus.constraints.customization/build.properties
new file mode 100644
index 00000000000..6f20375d6c7
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/build.properties
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/plugin.xml b/sandbox/org.eclipse.papyrus.constraints.customization/plugin.xml
new file mode 100644
index 00000000000..ff72b6f48e6
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.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/Constraints.ctx"
+ loadDefault="true">
+ </context>
+ </extension>
+
+</plugin>
diff --git a/sandbox/org.eclipse.papyrus.constraints.customization/src/org/eclipse/papyrus/constraints/customization/Activator.java b/sandbox/org.eclipse.papyrus.constraints.customization/src/org/eclipse/papyrus/constraints/customization/Activator.java
new file mode 100644
index 00000000000..840bf219852
--- /dev/null
+++ b/sandbox/org.eclipse.papyrus.constraints.customization/src/org/eclipse/papyrus/constraints/customization/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.papyrus.constraints.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.constraints.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