Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-12-21 10:34:25 -0500
committercletavernie2011-12-21 10:34:25 -0500
commit95805bac8c9093e325014c4295fafd1fa66e29f7 (patch)
treebc5b9498d170ebf2ac6b0dc450fe2ae759691dc6 /plugins/customization
parent78f4e594778246a9621821023ee6fa09b044299e (diff)
downloadorg.eclipse.papyrus-95805bac8c9093e325014c4295fafd1fa66e29f7.tar.gz
org.eclipse.papyrus-95805bac8c9093e325014c4295fafd1fa66e29f7.tar.xz
org.eclipse.papyrus-95805bac8c9093e325014c4295fafd1fa66e29f7.zip
359794: [UML - Tools] Content/Label providers
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359794 367066: [Refactoring] There should be a central generic plug-in for pure EMF-based tools https://bugs.eclipse.org/bugs/show_bug.cgi?id=367066 351802: [Constraints] The Property View constraints model should be more generic https://bugs.eclipse.org/bugs/show_bug.cgi?id=351802
Diffstat (limited to 'plugins/customization')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF7
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java91
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java31
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java115
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java55
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java83
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java58
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java104
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java104
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx2323
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet25
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom499
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom26
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx527
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java4
48 files changed, 2360 insertions, 1948 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
index e5fbd3dd27a..afb9bb46ef3 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="src" path="src"/>
<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="output" path="bin"/>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF
index 3de1cd0fa21..b10703628c3 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF
@@ -24,11 +24,12 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.6.1",
org.eclipse.core.databinding;bundle-version="1.3.100",
org.eclipse.emf.databinding;bundle-version="1.2.0",
org.eclipse.core.databinding.property;bundle-version="1.3.0",
- org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="0.9.0"
+ org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Bundle-Vendor: %Bundle-Vendor
Bundle-Version: 0.9.0.qualifier
-Eclipse-BuddyPolicy: dependent
Bundle-ManifestVersion: 2
Bundle-Activator: org.eclipse.papyrus.customization.properties.generation.Activator
Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.generation;singleton:=true
-
+Eclipse-BuddyPolicy: dependent
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
index 6f3b4ad800d..38e5bc93e67 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
@@ -14,16 +14,16 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Context Element</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement()
* @model
* @generated
@@ -38,7 +38,6 @@ public interface ContextElement extends EObject {
* If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Elements</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Elements()
* @model containment="true"
@@ -54,7 +53,6 @@ public interface ContextElement extends EObject {
* If the meaning of the '<em>Properties</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Properties</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Properties()
* @model containment="true"
@@ -69,7 +67,6 @@ public interface ContextElement extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Name()
@@ -82,9 +79,7 @@ public interface ContextElement extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
+ * @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
index 09cbb9bdd0b..b3630e1b9d8 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
@@ -14,15 +14,15 @@ import org.eclipse.emf.ecore.EObject;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Field Selection</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection()
* @model
* @generated
@@ -37,7 +37,6 @@ public interface FieldSelection extends EObject {
* If the meaning of the '<em>Fields</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Fields</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_Fields()
* @model containment="true"
@@ -53,7 +52,6 @@ public interface FieldSelection extends EObject {
* If the meaning of the '<em>Context Elements</em>' containment reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Context Elements</em>' containment reference list.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_ContextElements()
* @model containment="true"
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
index db6bc8bc292..b1a8ef9499b 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
@@ -13,7 +13,6 @@ import org.eclipse.emf.ecore.EFactory;
* The <b>Factory</b> for the model.
* It provides a create method for each non-abstract class of the model.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
* @generated
*/
@@ -23,7 +22,6 @@ public interface FieldSelectionFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
FieldSelectionFactory eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionFactoryImpl.init();
@@ -32,7 +30,6 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Field Selection</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Field Selection</em>'.
* @generated
*/
@@ -42,7 +39,6 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Property Definition</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Property Definition</em>'.
* @generated
*/
@@ -52,7 +48,6 @@ public interface FieldSelectionFactory extends EFactory {
* Returns a new object of class '<em>Context Element</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Context Element</em>'.
* @generated
*/
@@ -62,7 +57,6 @@ public interface FieldSelectionFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
index f46b5d04965..c4e9152ec0d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
@@ -23,7 +23,6 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory
* @model kind="package"
* @generated
@@ -34,7 +33,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "fieldselection";
@@ -43,7 +41,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/properties/fieldSelection";
@@ -52,7 +49,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "fs";
@@ -61,17 +57,14 @@ public interface FieldSelectionPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
FieldSelectionPackage eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}'
- * class.
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
* @generated
@@ -82,7 +75,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -92,7 +84,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Context Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -102,18 +93,15 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Field Selection</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int FIELD_SELECTION_FEATURE_COUNT = 2;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
- * <em>Property Definition</em>}' class.
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
* @generated
@@ -124,7 +112,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -134,7 +121,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Single</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -144,7 +130,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Multiple</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -154,18 +139,15 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Property Definition</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
int PROPERTY_DEFINITION_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}'
- * class.
+ * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
* @generated
@@ -176,7 +158,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -186,7 +167,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -196,7 +176,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -206,7 +185,6 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Context Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -216,7 +194,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object id for the '<em>Value</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
* @generated
@@ -228,7 +205,6 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection <em>Field Selection</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Field Selection</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
* @generated
@@ -236,11 +212,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getFieldSelection();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the containment reference list '<em>Fields</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields()
* @see #getFieldSelection()
@@ -249,11 +223,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getFieldSelection_Fields();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the containment reference list '<em>Context Elements</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements()
* @see #getFieldSelection()
@@ -262,11 +234,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getFieldSelection_ContextElements();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * <em>Property Definition</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition <em>Property Definition</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Property Definition</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
* @generated
@@ -274,11 +244,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getPropertyDefinition();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName
- * <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName()
* @see #getPropertyDefinition()
@@ -287,11 +255,9 @@ public interface FieldSelectionPackage extends EPackage {
EAttribute getPropertyDefinition_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle
- * <em>Value Single</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Value Single</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle()
* @see #getPropertyDefinition()
@@ -300,11 +266,9 @@ public interface FieldSelectionPackage extends EPackage {
EAttribute getPropertyDefinition_ValueSingle();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple
- * <em>Value Multiple</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Value Multiple</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple()
* @see #getPropertyDefinition()
@@ -316,7 +280,6 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement <em>Context Element</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Context Element</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
* @generated
@@ -324,11 +287,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getContextElement();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the containment reference list '<em>Elements</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements()
* @see #getContextElement()
@@ -337,11 +298,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getContextElement_Elements();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the containment reference list '<em>Properties</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties()
* @see #getContextElement()
@@ -350,11 +309,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getContextElement_Properties();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName
- * <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName()
* @see #getContextElement()
@@ -366,7 +323,6 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the meta object for data type '{@link org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State <em>Value</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for data type '<em>Value</em>'.
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @model instanceClass="org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State"
@@ -378,7 +334,6 @@ public interface FieldSelectionPackage extends EPackage {
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -394,17 +349,14 @@ public interface FieldSelectionPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
- * <em>Field Selection</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
* @generated
@@ -415,7 +367,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference FIELD_SELECTION__FIELDS = eINSTANCE.getFieldSelection_Fields();
@@ -424,17 +375,14 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Context Elements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference FIELD_SELECTION__CONTEXT_ELEMENTS = eINSTANCE.getFieldSelection_ContextElements();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
- * <em>Property Definition</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
* @generated
@@ -445,7 +393,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute PROPERTY_DEFINITION__NAME = eINSTANCE.getPropertyDefinition_Name();
@@ -454,7 +401,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Value Single</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute PROPERTY_DEFINITION__VALUE_SINGLE = eINSTANCE.getPropertyDefinition_ValueSingle();
@@ -463,17 +409,14 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Value Multiple</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute PROPERTY_DEFINITION__VALUE_MULTIPLE = eINSTANCE.getPropertyDefinition_ValueMultiple();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
- * <em>Context Element</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
* @generated
@@ -484,7 +427,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference CONTEXT_ELEMENT__ELEMENTS = eINSTANCE.getContextElement_Elements();
@@ -493,7 +435,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference CONTEXT_ELEMENT__PROPERTIES = eINSTANCE.getContextElement_Properties();
@@ -502,7 +443,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EAttribute CONTEXT_ELEMENT__NAME = eINSTANCE.getContextElement_Name();
@@ -511,7 +451,6 @@ public interface FieldSelectionPackage extends EPackage {
* The meta object literal for the '<em>Value</em>' data type.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
* @generated
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
index 004333fc917..6330076a5a2 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
@@ -14,16 +14,16 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Property Definition</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition()
* @model
* @generated
@@ -37,7 +37,6 @@ public interface PropertyDefinition extends EObject {
* If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_Name()
@@ -50,9 +49,7 @@ public interface PropertyDefinition extends EObject {
* Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
+ * @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -66,7 +63,6 @@ public interface PropertyDefinition extends EObject {
* If the meaning of the '<em>Value Single</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Value Single</em>' attribute.
* @see #setValueSingle(State)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueSingle()
@@ -76,13 +72,10 @@ public interface PropertyDefinition extends EObject {
State getValueSingle();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}
- * ' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value Single</em>' attribute.
+ * @param value the new value of the '<em>Value Single</em>' attribute.
* @see #getValueSingle()
* @generated
*/
@@ -96,7 +89,6 @@ public interface PropertyDefinition extends EObject {
* If the meaning of the '<em>Value Multiple</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Value Multiple</em>' attribute.
* @see #setValueMultiple(State)
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueMultiple()
@@ -106,13 +98,10 @@ public interface PropertyDefinition extends EObject {
State getValueMultiple();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple
- * <em>Value Multiple</em>}' attribute.
+ * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value Multiple</em>' attribute.
+ * @param value the new value of the '<em>Value Multiple</em>' attribute.
* @see #getValueMultiple()
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
index 4cfe54e9eed..f91a8fca215 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
@@ -33,12 +33,12 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class ContextElementImpl extends EObjectImpl implements ContextElement {
@@ -47,7 +47,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getElements()
* @generated
* @ordered
@@ -58,7 +57,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getProperties()
* @generated
* @ordered
@@ -69,7 +67,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -80,7 +77,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -90,7 +86,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ContextElementImpl() {
@@ -100,7 +95,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -111,11 +105,10 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<ContextElement> getElements() {
- if(elements == null) {
+ if (elements == null) {
elements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS);
}
return elements;
@@ -124,11 +117,10 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<PropertyDefinition> getProperties() {
- if(properties == null) {
+ if (properties == null) {
properties = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES);
}
return properties;
@@ -137,7 +129,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
@@ -147,29 +138,27 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.CONTEXT_ELEMENT__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return ((InternalEList<?>)getProperties()).basicRemove(otherEnd, msgs);
+ switch (featureID) {
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return ((InternalEList<?>)getProperties()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -177,18 +166,17 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return getElements();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return getProperties();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return getName();
+ switch (featureID) {
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return getElements();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return getProperties();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ return getName();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -196,24 +184,23 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- getElements().addAll((Collection<? extends ContextElement>)newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- getProperties().addAll((Collection<? extends PropertyDefinition>)newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName((String)newValue);
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ getElements().clear();
+ getElements().addAll((Collection<? extends ContextElement>)newValue);
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ getProperties().clear();
+ getProperties().addAll((Collection<? extends PropertyDefinition>)newValue);
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ setName((String)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -221,21 +208,20 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ getElements().clear();
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ getProperties().clear();
+ return;
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -243,18 +229,17 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return elements != null && !elements.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return properties != null && !properties.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ switch (featureID) {
+ case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
+ return elements != null && !elements.isEmpty();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
@@ -262,13 +247,11 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
index 8e631ca9d86..dd585f82fd9 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
@@ -23,7 +23,6 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSelectionFactory {
@@ -32,16 +31,16 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static FieldSelectionFactory init() {
try {
- FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
- if(theFieldSelectionFactory != null) {
+ FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
+ if (theFieldSelectionFactory != null) {
return theFieldSelectionFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FieldSelectionFactoryImpl();
@@ -51,7 +50,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionFactoryImpl() {
@@ -61,59 +59,52 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case FieldSelectionPackage.FIELD_SELECTION:
- return createFieldSelection();
- case FieldSelectionPackage.PROPERTY_DEFINITION:
- return createPropertyDefinition();
- case FieldSelectionPackage.CONTEXT_ELEMENT:
- return createContextElement();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ switch (eClass.getClassifierID()) {
+ case FieldSelectionPackage.FIELD_SELECTION: return createFieldSelection();
+ case FieldSelectionPackage.PROPERTY_DEFINITION: return createPropertyDefinition();
+ case FieldSelectionPackage.CONTEXT_ELEMENT: return createContextElement();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
- switch(eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return createValueFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case FieldSelectionPackage.VALUE:
+ return createValueFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
- switch(eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return convertValueToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ switch (eDataType.getClassifierID()) {
+ case FieldSelectionPackage.VALUE:
+ return convertValueToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelection createFieldSelection() {
@@ -124,7 +115,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PropertyDefinition createPropertyDefinition() {
@@ -135,7 +125,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ContextElement createContextElement() {
@@ -146,7 +135,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public State createValueFromString(EDataType eDataType, String initialValue) {
@@ -156,7 +144,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String convertValueToString(EDataType eDataType, Object instanceValue) {
@@ -166,7 +153,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionPackage getFieldSelectionPackage() {
@@ -176,7 +162,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
index 1d6b5dc3529..c39f998ad00 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
@@ -32,11 +32,11 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
@@ -45,7 +45,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
* The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getFields()
* @generated
* @ordered
@@ -56,7 +55,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
* The cached value of the '{@link #getContextElements() <em>Context Elements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getContextElements()
* @generated
* @ordered
@@ -66,7 +64,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected FieldSelectionImpl() {
@@ -76,7 +73,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -87,11 +83,10 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<PropertyDefinition> getFields() {
- if(fields == null) {
+ if (fields == null) {
fields = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.FIELD_SELECTION__FIELDS);
}
return fields;
@@ -100,11 +95,10 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<ContextElement> getContextElements() {
- if(contextElements == null) {
+ if (contextElements == null) {
contextElements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS);
}
return contextElements;
@@ -113,16 +107,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch(featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return ((InternalEList<?>)getContextElements()).basicRemove(otherEnd, msgs);
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return ((InternalEList<?>)getFields()).basicRemove(otherEnd, msgs);
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return ((InternalEList<?>)getContextElements()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -130,16 +123,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return getFields();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return getContextElements();
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return getFields();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return getContextElements();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -147,21 +139,20 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- getFields().addAll((Collection<? extends PropertyDefinition>)newValue);
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- getContextElements().addAll((Collection<? extends ContextElement>)newValue);
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ getFields().clear();
+ getFields().addAll((Collection<? extends PropertyDefinition>)newValue);
+ return;
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ getContextElements().clear();
+ getContextElements().addAll((Collection<? extends ContextElement>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -169,18 +160,17 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ getFields().clear();
+ return;
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ getContextElements().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -188,16 +178,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return fields != null && !fields.isEmpty();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return contextElements != null && !contextElements.isEmpty();
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return fields != null && !fields.isEmpty();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return contextElements != null && !contextElements.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
index c26f0ba6d46..0cf0ebe5534 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
@@ -26,7 +26,6 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSelectionPackage {
@@ -34,7 +33,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass fieldSelectionEClass = null;
@@ -42,7 +40,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass propertyDefinitionEClass = null;
@@ -50,7 +47,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass contextElementEClass = null;
@@ -58,19 +54,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EDataType valueEDataType = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
- * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#eNS_URI
* @see #init()
@@ -83,7 +79,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -91,18 +86,16 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
- * <p>
- * This method is used to initialize {@link FieldSelectionPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly.
- * Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * <p>This method is used to initialize {@link FieldSelectionPackage#eINSTANCE} when that field is accessed.
+ * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static FieldSelectionPackage init() {
- if(isInited)
- return (FieldSelectionPackage)EPackage.Registry.INSTANCE.getEPackage(FieldSelectionPackage.eNS_URI);
+ if (isInited) return (FieldSelectionPackage)EPackage.Registry.INSTANCE.getEPackage(FieldSelectionPackage.eNS_URI);
// Obtain or create and register package
FieldSelectionPackageImpl theFieldSelectionPackage = (FieldSelectionPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FieldSelectionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FieldSelectionPackageImpl());
@@ -118,7 +111,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
// Mark meta-data to indicate it can't be changed
theFieldSelectionPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(FieldSelectionPackage.eNS_URI, theFieldSelectionPackage);
return theFieldSelectionPackage;
@@ -127,7 +120,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getFieldSelection() {
@@ -137,7 +129,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getFieldSelection_Fields() {
@@ -147,7 +138,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getFieldSelection_ContextElements() {
@@ -157,7 +147,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPropertyDefinition() {
@@ -167,7 +156,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_Name() {
@@ -177,7 +165,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_ValueSingle() {
@@ -187,7 +174,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_ValueMultiple() {
@@ -197,7 +183,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getContextElement() {
@@ -207,7 +192,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContextElement_Elements() {
@@ -217,7 +201,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContextElement_Properties() {
@@ -227,7 +210,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getContextElement_Name() {
@@ -237,7 +219,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getValue() {
@@ -247,7 +228,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionFactory getFieldSelectionFactory() {
@@ -257,22 +237,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void createPackageContents() {
- if(isCreated)
- return;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -297,22 +274,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void initializePackageContents() {
- if(isInitialized)
- return;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
index ab58d0fefd9..26584120949 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
@@ -26,12 +26,12 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
+ * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefinition {
@@ -40,7 +40,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -51,7 +50,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -62,7 +60,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueSingle()
* @generated
* @ordered
@@ -73,7 +70,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueSingle()
* @generated
* @ordered
@@ -84,7 +80,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueMultiple()
* @generated
* @ordered
@@ -95,7 +90,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueMultiple()
* @generated
* @ordered
@@ -105,7 +99,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected PropertyDefinitionImpl() {
@@ -115,7 +108,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -126,7 +118,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
@@ -136,20 +127,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public State getValueSingle() {
@@ -159,20 +148,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValueSingle(State newValueSingle) {
State oldValueSingle = valueSingle;
valueSingle = newValueSingle;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE, oldValueSingle, valueSingle));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public State getValueMultiple() {
@@ -182,31 +169,29 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValueMultiple(State newValueMultiple) {
State oldValueMultiple = valueMultiple;
valueMultiple = newValueMultiple;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE, oldValueMultiple, valueMultiple));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return getName();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return getValueSingle();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return getValueMultiple();
+ switch (featureID) {
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ return getName();
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ return getValueSingle();
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ return getValueMultiple();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -214,21 +199,20 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName((String)newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle((State)newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple((State)newValue);
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ setName((String)newValue);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ setValueSingle((State)newValue);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ setValueMultiple((State)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -236,21 +220,20 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle(VALUE_SINGLE_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple(VALUE_MULTIPLE_EDEFAULT);
- return;
+ switch (featureID) {
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ setValueSingle(VALUE_SINGLE_EDEFAULT);
+ return;
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ setValueMultiple(VALUE_MULTIPLE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -258,18 +241,17 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return VALUE_SINGLE_EDEFAULT == null ? valueSingle != null : !VALUE_SINGLE_EDEFAULT.equals(valueSingle);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return VALUE_MULTIPLE_EDEFAULT == null ? valueMultiple != null : !VALUE_MULTIPLE_EDEFAULT.equals(valueMultiple);
+ switch (featureID) {
+ case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
+ return VALUE_SINGLE_EDEFAULT == null ? valueSingle != null : !VALUE_SINGLE_EDEFAULT.equals(valueSingle);
+ case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
+ return VALUE_MULTIPLE_EDEFAULT == null ? valueMultiple != null : !VALUE_MULTIPLE_EDEFAULT.equals(valueMultiple);
}
return super.eIsSet(featureID);
}
@@ -277,13 +259,11 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
index 02bdff0fb8b..7ccac8432a6 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
@@ -20,7 +20,6 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.*;
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
* @generated
*/
@@ -30,7 +29,6 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -39,11 +37,10 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = FieldSelectionPackage.eINSTANCE;
}
}
@@ -53,16 +50,15 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
- *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
- if(object == modelPackage) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -72,39 +68,32 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected FieldSelectionSwitch<Adapter> modelSwitch = new FieldSelectionSwitch<Adapter>() {
-
- @Override
- public Adapter caseFieldSelection(FieldSelection object) {
- return createFieldSelectionAdapter();
- }
-
- @Override
- public Adapter casePropertyDefinition(PropertyDefinition object) {
- return createPropertyDefinitionAdapter();
- }
-
- @Override
- public Adapter caseContextElement(ContextElement object) {
- return createContextElementAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter caseFieldSelection(FieldSelection object) {
+ return createFieldSelectionAdapter();
+ }
+ @Override
+ public Adapter casePropertyDefinition(PropertyDefinition object) {
+ return createPropertyDefinitionAdapter();
+ }
+ @Override
+ public Adapter caseContextElement(ContextElement object) {
+ return createContextElementAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -115,13 +104,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
- * <em>Field Selection</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection <em>Field Selection</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
* @generated
@@ -131,13 +118,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * <em>Property Definition</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition <em>Property Definition</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
* @generated
@@ -147,13 +132,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
- * <em>Context Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement <em>Context Element</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
* @generated
@@ -167,7 +150,6 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
index 1fb025eeddd..a3ea0ddecc2 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
@@ -11,6 +11,8 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.papyrus.customization.properties.generation.fieldselection.*;
/**
@@ -22,17 +24,16 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.*;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
* @generated
*/
-public class FieldSelectionSwitch<T> {
+public class FieldSelectionSwitch<T> extends
+Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -41,80 +42,56 @@ public class FieldSelectionSwitch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = FieldSelectionPackage.eINSTANCE;
}
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @generated
*/
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if(theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- } else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
+ @Override
protected T doSwitch(int classifierID, EObject theEObject) {
- switch(classifierID) {
- case FieldSelectionPackage.FIELD_SELECTION:
- {
- FieldSelection fieldSelection = (FieldSelection)theEObject;
- T result = caseFieldSelection(fieldSelection);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case FieldSelectionPackage.PROPERTY_DEFINITION:
- {
- PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject;
- T result = casePropertyDefinition(propertyDefinition);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- case FieldSelectionPackage.CONTEXT_ELEMENT:
- {
- ContextElement contextElement = (ContextElement)theEObject;
- T result = caseContextElement(contextElement);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ switch (classifierID) {
+ case FieldSelectionPackage.FIELD_SELECTION: {
+ FieldSelection fieldSelection = (FieldSelection)theEObject;
+ T result = caseFieldSelection(fieldSelection);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FieldSelectionPackage.PROPERTY_DEFINITION: {
+ PropertyDefinition propertyDefinition = (PropertyDefinition)theEObject;
+ T result = casePropertyDefinition(propertyDefinition);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FieldSelectionPackage.CONTEXT_ELEMENT: {
+ ContextElement contextElement = (ContextElement)theEObject;
+ T result = caseContextElement(contextElement);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
@@ -124,9 +101,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Field Selection</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -141,9 +116,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Property Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -158,9 +131,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Context Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -175,13 +146,12 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
+ @Override
public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java
index c386404e058..1b4211f390c 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java
@@ -15,6 +15,7 @@ import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
import org.eclipse.papyrus.customization.properties.generation.wizard.CreateContextWizard;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.views.properties.Activator;
/**
@@ -36,13 +37,12 @@ public class GeneratorExtensionPoint {
for(IConfigurationElement e : config) {
String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- try {
- Class<? extends IGenerator> generatorClass = Class.forName(generatorClassName).asSubclass(IGenerator.class);
- IGenerator generator = generatorClass.newInstance();
- CreateContextWizard.addGenerator(generator);
- } catch (Exception ex) {
- Activator.log.error("Cannot instantiate the generator : " + generatorClassName, ex); //$NON-NLS-1$
+ IGenerator generator = ClassLoaderHelper.newInstance(generatorClassName, IGenerator.class);
+ if(generator == null) {
+ Activator.log.warn("Cannot instantiate the generator : " + generatorClassName); //$NON-NLS-1$
+ continue;
}
+ CreateContextWizard.addGenerator(generator);
}
}
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java
index 0f4003a4931..62dd568d2df 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java
@@ -15,6 +15,7 @@ import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.papyrus.customization.properties.generation.layout.ILayoutGenerator;
import org.eclipse.papyrus.customization.properties.generation.wizard.CreateContextWizard;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.views.properties.Activator;
/**
@@ -35,13 +36,12 @@ public class LayoutExtensionPoint {
for(IConfigurationElement e : config) {
String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- try {
- Class<? extends ILayoutGenerator> generatorClass = Class.forName(generatorClassName).asSubclass(ILayoutGenerator.class);
- ILayoutGenerator generator = generatorClass.newInstance();
- CreateContextWizard.addLayoutGenerator(generator);
- } catch (Exception ex) {
- Activator.log.error("Cannot instantiate the layout generator : " + generatorClassName, ex); //$NON-NLS-1$
+ ILayoutGenerator generator = ClassLoaderHelper.newInstance(generatorClassName, ILayoutGenerator.class);
+ if(generator == null) {
+ Activator.log.warn("Cannot instantiate the layout generator : " + generatorClassName); //$NON-NLS-1$
+ continue;
}
+ CreateContextWizard.addLayoutGenerator(generator);
}
}
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java
index 1f47e4f1d4b..1c657282f16 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java
@@ -38,7 +38,7 @@ import org.eclipse.papyrus.views.properties.ui.Layout;
import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
import org.eclipse.papyrus.views.properties.ui.UiFactory;
import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* Default implementation for ILayoutGenerator
@@ -123,8 +123,8 @@ public class StandardLayoutGenerator implements ILayoutGenerator {
}
ValueAttribute attribute = UiFactory.eINSTANCE.createValueAttribute();
- attribute.setName(Util.getQualifiedName(namespace));
- attribute.setValue(Util.getPrefixedValue(namespace));
+ attribute.setName(PropertiesUtil.getQualifiedName(namespace));
+ attribute.setValue(PropertiesUtil.getPrefixedValue(namespace));
xmlNamespaces.add(attribute);
}
return xmlNamespaces;
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
index 5ddeab7671d..9f724796df7 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
@@ -1,7 +1,8 @@
modeltype Ecore uses "http://www.eclipse.org/emf/2002/Ecore";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment";
+modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
+modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
modeltype PRoot uses "http://www.eclipse.org/papyrus/properties/root";
+modeltype Constraints uses "http://www.eclipse.org/papyrus/constraints/0.9";
transformation ecore2datacontext(in ecore : Ecore, in pRoot : PRoot, out context : PropertyContext);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
index 864b784a01c..4404fc41dbe 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
@@ -1,7 +1,8 @@
modeltype UML uses "http://www.eclipse.org/uml2/4.0.0/UML";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment";
+modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
+modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
modeltype PRoot uses "http://www.eclipse.org/papyrus/properties/root";
+modeltype Constraints uses "http://www.eclipse.org/papyrus/constraints/0.9";
transformation stereotype2datacontext(in profile : UML, out context : PropertyContext, in uml : PropertyContext, in pRoot : PRoot);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
index 9375edb76f6..ee90e8600cc 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
@@ -1,7 +1,7 @@
modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment";
-modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts";
+modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
+modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
+modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
transformation UIToXML(in ui : UI, out xml : XML);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
index a9650991724..364a07f44b4 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
@@ -1,8 +1,8 @@
modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui";
+modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
modeltype PropertiesRoot uses "http://www.eclipse.org/papyrus/properties/root";
-modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment";
+modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
+modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
transformation XMLToUI(in xml : XML, in root : PropertiesRoot, in ctx : Context, out ui : UI);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
index ff35aaad9a0..2ec3bb2465b 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
@@ -48,13 +48,13 @@ import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* A Resource for representing XWT (XML Widget Toolkit) files
* as EObjects.
* Resulting EObjects are conform to the Papyrus property view UI Metamodel :
- * http://www.eclipse.org/papyrus/properties/ui
+ * http://www.eclipse.org/papyrus/properties/ui/0.9
*
* The resource is based on MoDisco for reading and writing XML,
* and on QVTO to go from XML to EMF and vice-versa.
@@ -148,7 +148,7 @@ public class XWTResource extends ResourceImpl {
Set<Context> allContexts = new HashSet<Context>();
for(Context context : rootContexts) {
- allContexts.addAll(Util.getDependencies(context));
+ allContexts.addAll(PropertiesUtil.getDependencies(context));
}
return allContexts;
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
index 9e43a931693..985db7c2ea4 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
@@ -18,7 +18,8 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.facet.infra.facet;bundle-version="0.1.0",
org.eclipse.emf.facet.infra.common.core;bundle-version="0.1.0",
org.eclipse.emf.databinding;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.customization.properties.editor,
org.eclipse.papyrus.customization.properties.modelelement,
org.eclipse.papyrus.customization.properties.providers
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
index 6dc1ab6d455..c0568fdb21d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
@@ -1,971 +1,1356 @@
<?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="Customization">
- <tabs label="Context" id="context" category="" priority="10">
- <sections name="Single Environment" sectionFile="ui/SingleEnvironment.xwt">
- <widget href="ui/SingleEnvironment.xwt#/"/>
- </sections>
- <sections name="Multiple Environment" sectionFile="ui/MultipleEnvironment.xwt">
- <widget href="ui/MultipleEnvironment.xwt#/"/>
- </sections>
- <sections name="Single WidgetType" sectionFile="ui/SingleWidgetType.xwt">
- <widget href="ui/SingleWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple WidgetType" sectionFile="ui/MultipleWidgetType.xwt">
- <widget href="ui/MultipleWidgetType.xwt#/"/>
- </sections>
- <sections name="Single PropertyEditorType" sectionFile="ui/SinglePropertyEditorType.xwt">
- <widget href="ui/SinglePropertyEditorType.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyEditorType" sectionFile="ui/MultiplePropertyEditorType.xwt">
- <widget href="ui/MultiplePropertyEditorType.xwt#/"/>
- </sections>
- <sections name="Single CompositeWidgetType" sectionFile="ui/SingleCompositeWidgetType.xwt">
- <widget href="ui/SingleCompositeWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple CompositeWidgetType" sectionFile="ui/MultipleCompositeWidgetType.xwt">
- <widget href="ui/MultipleCompositeWidgetType.xwt#/"/>
- </sections>
- <sections name="Single LayoutType" sectionFile="ui/SingleLayoutType.xwt">
- <widget href="ui/SingleLayoutType.xwt#/"/>
- </sections>
- <sections name="Multiple LayoutType" sectionFile="ui/MultipleLayoutType.xwt">
- <widget href="ui/MultipleLayoutType.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>
- <sections name="Single ModelElementFactoryDescriptor" sectionFile="ui/SingleModelElementFactoryDescriptor.xwt">
- <widget href="ui/SingleModelElementFactoryDescriptor.xwt#/"/>
- </sections>
- <sections name="Multiple ModelElementFactoryDescriptor" sectionFile="ui/MultipleModelElementFactoryDescriptor.xwt">
- <widget href="ui/MultipleModelElementFactoryDescriptor.xwt#/"/>
- </sections>
- <sections name="Single StandardWidgetType" sectionFile="ui/SingleStandardWidgetType.xwt">
- <widget href="ui/SingleStandardWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple StandardWidgetType" sectionFile="ui/MultipleStandardWidgetType.xwt">
- <widget href="ui/MultipleStandardWidgetType.xwt#/"/>
- </sections>
- <sections name="Single Context" sectionFile="ui/SingleContext.xwt">
- <widget href="ui/SingleContext.xwt#/"/>
- </sections>
- <sections name="Multiple Context" sectionFile="ui/MultipleContext.xwt">
- <widget href="ui/MultipleContext.xwt#/"/>
- </sections>
- <sections name="Single DisplayUnit" sectionFile="ui/SingleDisplayUnit.xwt">
- <widget href="ui/SingleDisplayUnit.xwt#/"/>
- </sections>
- <sections name="Multiple DisplayUnit" sectionFile="ui/MultipleDisplayUnit.xwt">
- <widget href="ui/MultipleDisplayUnit.xwt#/"/>
- </sections>
- <sections name="Single View" sectionFile="ui/SingleView.xwt">
- <widget href="ui/SingleView.xwt#/"/>
- </sections>
- <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
- <widget href="ui/MultipleView.xwt#/"/>
- </sections>
- <sections name="Single Tab" sectionFile="ui/SingleTab.xwt">
- <widget href="ui/SingleTab.xwt#/"/>
- </sections>
- <sections name="Multiple Tab" sectionFile="ui/MultipleTab.xwt">
- <widget href="ui/MultipleTab.xwt#/"/>
- </sections>
- <sections name="Single Section" sectionFile="ui/SingleSection.xwt">
- <widget href="ui/SingleSection.xwt#/"/>
- </sections>
- <sections name="Multiple Section" sectionFile="ui/MultipleSection.xwt">
- <widget href="ui/MultipleSection.xwt#/"/>
- </sections>
- <sections name="Single DataContextElement" sectionFile="ui/SingleDataContextElement.xwt">
- <widget href="ui/SingleDataContextElement.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextElement" sectionFile="ui/MultipleDataContextElement.xwt">
- <widget href="ui/MultipleDataContextElement.xwt#/"/>
- </sections>
- <sections name="Single Property" sectionFile="ui/SingleProperty.xwt">
- <widget href="ui/SingleProperty.xwt#/"/>
- </sections>
- <sections name="Multiple Property" sectionFile="ui/MultipleProperty.xwt">
- <widget href="ui/MultipleProperty.xwt#/"/>
- </sections>
- <sections name="Single UnknownProperty" sectionFile="ui/SingleUnknownProperty.xwt">
- <widget href="ui/SingleUnknownProperty.xwt#/"/>
- </sections>
- <sections name="Multiple UnknownProperty" sectionFile="ui/MultipleUnknownProperty.xwt">
- <widget href="ui/MultipleUnknownProperty.xwt#/"/>
- </sections>
- <sections name="Single DataContextPackage" sectionFile="ui/SingleDataContextPackage.xwt">
- <widget href="ui/SingleDataContextPackage.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextPackage" sectionFile="ui/MultipleDataContextPackage.xwt">
- <widget href="ui/MultipleDataContextPackage.xwt#/"/>
- </sections>
- <sections name="Single DataContextRoot" sectionFile="ui/SingleDataContextRoot.xwt">
- <widget href="ui/SingleDataContextRoot.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextRoot" sectionFile="ui/MultipleDataContextRoot.xwt">
- <widget href="ui/MultipleDataContextRoot.xwt#/"/>
- </sections>
- <sections name="Single ConstraintDescriptor" sectionFile="ui/SingleConstraintDescriptor.xwt">
- <widget href="ui/SingleConstraintDescriptor.xwt#/"/>
- </sections>
- <sections name="Multiple ConstraintDescriptor" sectionFile="ui/MultipleConstraintDescriptor.xwt">
- <widget href="ui/MultipleConstraintDescriptor.xwt#/"/>
- </sections>
- <sections name="Single ConfigProperty" sectionFile="ui/SingleConfigProperty.xwt">
- <widget href="ui/SingleConfigProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ConfigProperty" sectionFile="ui/MultipleConfigProperty.xwt">
- <widget href="ui/MultipleConfigProperty.xwt#/"/>
- </sections>
- <sections name="Single ValueProperty" sectionFile="ui/SingleValueProperty.xwt">
- <widget href="ui/SingleValueProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ValueProperty" sectionFile="ui/MultipleValueProperty.xwt">
- <widget href="ui/MultipleValueProperty.xwt#/"/>
- </sections>
- <sections name="Single ReferenceProperty" sectionFile="ui/SingleReferenceProperty.xwt">
- <widget href="ui/SingleReferenceProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ReferenceProperty" sectionFile="ui/MultipleReferenceProperty.xwt">
- <widget href="ui/MultipleReferenceProperty.xwt#/"/>
- </sections>
- <sections name="Single Element" sectionFile="ui/SingleElement.xwt">
- <widget href="ui/SingleElement.xwt#/"/>
- </sections>
- <sections name="Multiple Element" sectionFile="ui/MultipleElement.xwt">
- <widget href="ui/MultipleElement.xwt#/"/>
- </sections>
- <sections name="Single UIComponent" sectionFile="ui/SingleUIComponent.xwt">
- <widget href="ui/SingleUIComponent.xwt#/"/>
- </sections>
- <sections name="Multiple UIComponent" sectionFile="ui/MultipleUIComponent.xwt">
- <widget href="ui/MultipleUIComponent.xwt#/"/>
- </sections>
- <sections name="Single Widget" sectionFile="ui/SingleWidget.xwt">
- <widget href="ui/SingleWidget.xwt#/"/>
- </sections>
- <sections name="Multiple Widget" sectionFile="ui/MultipleWidget.xwt">
- <widget href="ui/MultipleWidget.xwt#/"/>
- </sections>
- <sections name="Single StandardWidget" sectionFile="ui/SingleStandardWidget.xwt">
- <widget href="ui/SingleStandardWidget.xwt#/"/>
- </sections>
- <sections name="Multiple StandardWidget" sectionFile="ui/MultipleStandardWidget.xwt">
- <widget href="ui/MultipleStandardWidget.xwt#/"/>
- </sections>
- <sections name="Single PropertyEditor" sectionFile="ui/SinglePropertyEditor.xwt">
- <widget href="ui/SinglePropertyEditor.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyEditor" sectionFile="ui/MultiplePropertyEditor.xwt">
- <widget href="ui/MultiplePropertyEditor.xwt#/"/>
- </sections>
- <sections name="Single CompositeWidget" sectionFile="ui/SingleCompositeWidget.xwt">
- <widget href="ui/SingleCompositeWidget.xwt#/"/>
- </sections>
- <sections name="Multiple CompositeWidget" sectionFile="ui/MultipleCompositeWidget.xwt">
- <widget href="ui/MultipleCompositeWidget.xwt#/"/>
- </sections>
- <sections name="Single Layout" sectionFile="ui/SingleLayout.xwt">
- <widget href="ui/SingleLayout.xwt#/"/>
- </sections>
- <sections name="Multiple Layout" sectionFile="ui/MultipleLayout.xwt">
- <widget href="ui/MultipleLayout.xwt#/"/>
- </sections>
- <sections name="Single WidgetAttribute" sectionFile="ui/SingleWidgetAttribute.xwt">
- <widget href="ui/SingleWidgetAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple WidgetAttribute" sectionFile="ui/MultipleWidgetAttribute.xwt">
- <widget href="ui/MultipleWidgetAttribute.xwt#/"/>
- </sections>
- <sections name="Single ValueAttribute" sectionFile="ui/SingleValueAttribute.xwt">
- <widget href="ui/SingleValueAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple ValueAttribute" sectionFile="ui/MultipleValueAttribute.xwt">
- <widget href="ui/MultipleValueAttribute.xwt#/"/>
- </sections>
- <sections name="Single ReferenceAttribute" sectionFile="ui/SingleReferenceAttribute.xwt">
- <widget href="ui/SingleReferenceAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple ReferenceAttribute" sectionFile="ui/MultipleReferenceAttribute.xwt">
- <widget href="ui/MultipleReferenceAttribute.xwt#/"/>
- </sections>
- <sections name="Single UnknownComponent" sectionFile="ui/SingleUnknownComponent.xwt">
- <widget href="ui/SingleUnknownComponent.xwt#/"/>
- </sections>
- <sections name="Multiple UnknownComponent" sectionFile="ui/MultipleUnknownComponent.xwt">
- <widget href="ui/MultipleUnknownComponent.xwt#/"/>
- </sections>
- <sections name="GroupAttributes" sectionFile="ui/GroupAttributes.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isGroup">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isGroup"/>
- </properties>
- </constraints>
- <widget href="ui/GroupAttributes.xwt#/"/>
- </sections>
- <sections name="EcoreInstanceOf" sectionFile="ui/EcoreInstanceOf.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isEcoreInstanceOf">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isEcoreInstanceOf"/>
- </properties>
- </constraints>
- <widget href="ui/EcoreInstanceOf.xwt#/"/>
- </sections>
- <sections name="UMLInstanceOf" sectionFile="ui/UMLInstanceOf.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isUMLInstanceOf">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isUmlInstanceOf"/>
- </properties>
- </constraints>
- <widget href="ui/UMLInstanceOf.xwt#/"/>
- </sections>
- <sections name="OCLQuery" sectionFile="ui/OCLQuery.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isOCLQueryConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isOclQuery"/>
- </properties>
- </constraints>
- <widget href="ui/OCLQuery.xwt#/"/>
- </sections>
- <sections name="Stereotype" sectionFile="ui/Stereotype.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isStereotypeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isStereotype"/>
- </properties>
- </constraints>
- <widget href="ui/Stereotype.xwt#/"/>
- </sections>
- <sections name="GridLayout" sectionFile="ui/GridLayout.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isGridLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isGridLayout"/>
- </properties>
- </constraints>
- <widget href="ui/GridLayout.xwt#/"/>
- </sections>
- <sections name="Label" sectionFile="ui/Label.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSWTLabel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isLabel"/>
- </properties>
- </constraints>
- <widget href="ui/Label.xwt#/"/>
- </sections>
- <sections name="Single ToggleButton" sectionFile="ui/Single ToggleButton.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleToggleButton">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isToggleButton"/>
- </properties>
- </constraints>
- <widget href="ui/Single ToggleButton.xwt#/"/>
- </sections>
- <sections name="SingleFileSelector" sectionFile="ui/SingleFileSelector.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFileSelector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isFileSelector"/>
- </properties>
- </constraints>
- <widget href="ui/SingleFileSelector.xwt#/"/>
- </sections>
- <sections name="Single IntegerSpinner" sectionFile="ui/Single IntegerSpinner.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isIntegerSpinner">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isIntegerSpinner"/>
- </properties>
- </constraints>
- <widget href="ui/Single IntegerSpinner.xwt#/"/>
- </sections>
- <sections name="SingleCompositeConstraint" sectionFile="ui/SingleCompositeConstraint.xwt">
- <widget href="ui/SingleCompositeConstraint.xwt#/"/>
- </sections>
- <sections name="MultipleCompositeConstraint" sectionFile="ui/MultipleCompositeConstraint.xwt">
- <widget href="ui/MultipleCompositeConstraint.xwt#/"/>
- </sections>
- </tabs>
- <views name="Single Environment" sections="//@tabs.0/@sections.0" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEnvironment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Environment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple Environment" sections="//@tabs.0/@sections.1" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEnvironment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Environment"/>
- </constraints>
- </views>
- <views name="Single WidgetType" sections="//@tabs.0/@sections.2" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple WidgetType" sections="//@tabs.0/@sections.3" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetType"/>
- </constraints>
- </views>
- <views name="Single PropertyEditorType" sections="//@tabs.0/@sections.4" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyEditorType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditorType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple PropertyEditorType" sections="//@tabs.0/@sections.5" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyEditorType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditorType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single CompositeWidgetType" sections="//@tabs.0/@sections.6" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidgetType"/>
- </constraints>
- </views>
- <views name="Multiple CompositeWidgetType" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidgetType"/>
- </constraints>
- </views>
- <views name="Single LayoutType" sections="//@tabs.0/@sections.8" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLayoutType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple LayoutType" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLayoutType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single ConstraintType" sections="//@tabs.0/@sections.10" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
- </constraints>
- </views>
- <views name="Multiple ConstraintType" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/environment"/>
- </constraints>
- </views>
- <views name="Single ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.12" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModelElementFactoryDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelElementFactoryDescriptor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModelElementFactoryDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelElementFactoryDescriptor"/>
- </constraints>
- </views>
- <views name="Single StandardWidgetType" sections="//@tabs.0/@sections.14" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStandardWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple StandardWidgetType" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStandardWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single Context" sections="//@tabs.0/@sections.16" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContext">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Context"/>
- </constraints>
- </views>
- <views name="Multiple Context" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContext">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Context"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single DisplayUnit" sections="//@tabs.0/@sections.18" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDisplayUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple DisplayUnit" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDisplayUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single View" sections="//@tabs.0/@sections.20" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple View" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single Tab" sections="//@tabs.0/@sections.22" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTab">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Tab"/>
- </constraints>
- </views>
- <views name="Multiple Tab" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTab">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Tab"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single Section" sections="//@tabs.0/@sections.24" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSection">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Section"/>
- </constraints>
- </views>
- <views name="Multiple Section" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSection">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Section"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single DataContextElement" sections="//@tabs.0/@sections.26" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextElement"/>
- </constraints>
- </views>
- <views name="Multiple DataContextElement" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextElement"/>
- </constraints>
- </views>
- <views name="Single Property" sections="//@tabs.0/@sections.28" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Property"/>
- </constraints>
- </views>
- <views name="Multiple Property" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Property"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single UnknownProperty" sections="//@tabs.0/@sections.30" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnknownProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownProperty"/>
- </constraints>
- </views>
- <views name="Multiple UnknownProperty" sections="//@tabs.0/@sections.31" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnknownProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownProperty"/>
- </constraints>
- </views>
- <views name="Single DataContextPackage" sections="//@tabs.0/@sections.32" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextPackage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextPackage"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple DataContextPackage" sections="//@tabs.0/@sections.33" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextPackage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextPackage"/>
- </constraints>
- </views>
- <views name="Single DataContextRoot" sections="//@tabs.0/@sections.34" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextRoot">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextRoot"/>
- </constraints>
- </views>
- <views name="Multiple DataContextRoot" sections="//@tabs.0/@sections.35" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextRoot">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextRoot"/>
- </constraints>
- </views>
- <views name="Single ConstraintDescriptor" sections="//@tabs.0/@sections.36 //@tabs.0/@sections.67 //@tabs.0/@sections.68 //@tabs.0/@sections.69 //@tabs.0/@sections.70" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
- </constraints>
- </views>
- <views name="Multiple ConstraintDescriptor" sections="//@tabs.0/@sections.37" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
- </constraints>
- </views>
- <views name="Single ConfigProperty" sections="//@tabs.0/@sections.38" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConfigProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple ConfigProperty" sections="//@tabs.0/@sections.39" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConfigProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single ValueProperty" sections="//@tabs.0/@sections.40" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
- </constraints>
- </views>
- <views name="Multiple ValueProperty" sections="//@tabs.0/@sections.41" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.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/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single ReferenceProperty" sections="//@tabs.0/@sections.42" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
- </constraints>
- </views>
- <views name="Multiple ReferenceProperty" sections="//@tabs.0/@sections.43" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
- </constraints>
- </views>
- <views name="Single Element" sections="//@tabs.0/@sections.44" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Element"/>
- </constraints>
- </views>
- <views name="Multiple Element" sections="//@tabs.0/@sections.45" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Element"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single UIComponent" sections="//@tabs.0/@sections.46" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUIComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UIComponent"/>
- </constraints>
- </views>
- <views name="Multiple UIComponent" sections="//@tabs.0/@sections.47" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUIComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UIComponent"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single Widget" sections="//@tabs.0/@sections.48" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Widget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple Widget" sections="//@tabs.0/@sections.49" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Widget"/>
- </constraints>
- </views>
- <views name="Single StandardWidget" sections="//@tabs.0/@sections.50 //@tabs.0/@sections.72" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStandardWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple StandardWidget" sections="//@tabs.0/@sections.51" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStandardWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single PropertyEditor" sections="//@tabs.0/@sections.52 //@tabs.0/@sections.73 //@tabs.0/@sections.74 //@tabs.0/@sections.75" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyEditor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditor"/>
- </constraints>
- </views>
- <views name="Multiple PropertyEditor" sections="//@tabs.0/@sections.53" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyEditor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single CompositeWidget" sections="//@tabs.0/@sections.54 //@tabs.0/@sections.66" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidget"/>
- </constraints>
- </views>
- <views name="Multiple CompositeWidget" sections="//@tabs.0/@sections.55" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single Layout" sections="//@tabs.0/@sections.56 //@tabs.0/@sections.71" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Layout"/>
- </constraints>
- </views>
- <views name="Multiple Layout" sections="//@tabs.0/@sections.57" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Layout"/>
- </constraints>
- </views>
- <views name="Single WidgetAttribute" sections="//@tabs.0/@sections.58" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidgetAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetAttribute"/>
- </constraints>
- </views>
- <views name="Multiple WidgetAttribute" sections="//@tabs.0/@sections.59" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidgetAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetAttribute"/>
- </constraints>
- </views>
- <views name="Single ValueAttribute" sections="//@tabs.0/@sections.60" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple ValueAttribute" sections="//@tabs.0/@sections.61" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single ReferenceAttribute" sections="//@tabs.0/@sections.62" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple ReferenceAttribute" sections="//@tabs.0/@sections.63" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceAttribute"/>
- </constraints>
- </views>
- <views name="Single UnknownComponent" sections="//@tabs.0/@sections.64" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnknownComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownComponent"/>
- </constraints>
- </views>
- <views name="Multiple UnknownComponent" sections="//@tabs.0/@sections.65" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnknownComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownComponent"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="SingleCompositeConstraint" sections="//@tabs.0/@sections.76">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
- </constraints>
- </views>
- <views name="MultipleCompositeConstraint" sections="//@tabs.0/@sections.77" elementMultiplicity="-1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <dataContexts name="properties" label="properties">
- <elements xsi:type="contexts:DataContextPackage" name="environment">
- <elements name="Environment">
- <properties name="modelElementFactories" type="Reference" multiplicity="-1"/>
- <properties name="constraintTypes" type="Reference" multiplicity="-1"/>
- <properties name="widgetTypes" type="Reference" multiplicity="-1"/>
- <properties name="propertyEditorTypes" type="Reference" multiplicity="-1"/>
- <properties name="compositeWidgetTypes" type="Reference" multiplicity="-1"/>
- <properties name="layoutTypes" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="PropertyEditorType" supertypes="//@dataContexts.0/@elements.0/@elements.2">
- <properties name="type" type="Enumeration"/>
- <properties name="multiplicity" type="Integer"/>
- </elements>
- <elements name="WidgetType">
- <properties name="label"/>
- <properties name="widgetClass"/>
- </elements>
- <elements name="CompositeWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- <elements name="LayoutType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- <elements name="ConstraintType">
- <properties name="label"/>
- <properties name="constraintClass"/>
- </elements>
- <elements name="ModelElementFactoryDescriptor">
- <properties name="name"/>
- <properties name="factoryClass"/>
- </elements>
- <elements name="StandardWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="contexts">
- <elements name="Context">
- <properties name="name" description="The name of the Configuration"/>
- <properties name="views" type="Reference" multiplicity="-1" description="The list of views for this Configuration"/>
- <properties name="tabs" type="Reference" multiplicity="-1" description="The list of tabs for this Configuration"/>
- <properties name="dataContexts" type="Reference" multiplicity="-1" description="The list of Data Contexts used by this configuration"/>
- <properties name="dependencies" type="Reference" multiplicity="-1" description="The list of Configurations on which this configuration depends"/>
- </elements>
- <elements name="DisplayUnit">
- <properties name="constraints" type="Reference" multiplicity="-1" description="The constraints associated to this Display Unit. The unit will be displayed only if at least one constraint is matched"/>
- </elements>
- <elements name="View" supertypes="//@dataContexts.0/@elements.1/@elements.1">
- <properties name="name" description="The name of this view"/>
- <properties name="sections" type="Reference" multiplicity="-1" description="The list of sections for this view"/>
- <properties name="automaticContext" label="" type="Boolean" description="deprecated"/>
- <properties name="datacontexts" type="Reference" multiplicity="-1" description="deprecated"/>
- <properties name="elementMultiplicity" label="" type="Integer" description="The number of selected elements for which this view should be displayed. May be 1 (Single element), -1 (Any number of elements) or any positive integer (For a strict number of elements)"/>
- </elements>
- <elements name="Tab">
- <properties name="label" description="The tab's label"/>
- <properties name="id" description="The tab's id. The ID should be unique within its category"/>
- <properties name="category" description="The tab's category"/>
- <properties name="image" label="" description="The tab's image. The path should be of the form /&lt;plug-in id>/&lt;path to the image>"/>
- <properties name="afterTab" label="" type="Reference" description="The tab after which this tab will be displayed. The afterTab's category should be the same as this tab's category"/>
- <properties name="sections" type="Reference" multiplicity="-1" description="The list of sections that can be displayed in this tab"/>
- <properties name="indented" label="" type="Boolean" description="Indicates if this tab should be indented. The preview isn't available for indentation"/>
- <properties name="priority" type="Integer" description="Indicates the priority for this tab. A lower priority means the tab will be placed before the other tabs. 0 is the highest priority, 100 is a very low priority."/>
- </elements>
- <elements name="Section" supertypes="//@dataContexts.0/@elements.1/@elements.1">
- <properties name="name" description="The section's name. It should be unique within this Configuration"/>
- <properties name="tab" type="Reference" description="The tab in which this section will be displayed"/>
- <properties name="sectionFile" description="The XWT file containing this section's UI declaration"/>
- <properties name="widget" label="" type="Reference" description="The SWT Widget representing this section"/>
- </elements>
- <elements name="DataContextElement">
- <properties name="name" label="" description="The name of this Data Context element"/>
- <properties name="properties" label="" type="Reference" multiplicity="-1" description="The list of properties of this Element"/>
- <properties name="package" type="Reference" description="This element's package"/>
- <properties name="supertypes" type="Reference" multiplicity="-1" description="This element's direct supertypes"/>
- </elements>
- <elements name="Property">
- <properties name="name" label="" description="The name of the property"/>
- <properties name="label" description="The label of this property"/>
- <properties name="type" type="Enumeration" description="The type of this property"/>
- <properties name="contextElement" type="Reference" description="The element to which this property belongs"/>
- <properties name="multiplicity" type="Integer" description="The multiplicity of this property."/>
- <properties name="description"/>
- </elements>
- <elements name="UnknownProperty" supertypes="//@dataContexts.0/@elements.1/@elements.6"/>
- <elements name="DataContextPackage" supertypes="//@dataContexts.0/@elements.1/@elements.5">
- <properties name="elements" type="Reference" multiplicity="-1" description="The list of Data Context elements contained into this package"/>
- </elements>
- <elements name="DataContextRoot" supertypes="//@dataContexts.0/@elements.1/@elements.8">
- <properties name="label" label="" description="The label of this Data Context root"/>
- <properties name="modelElementFactory" type="Reference" description="The factory used to instantiate to ModelElements associated to all the DataContext Elements inside this DataContext Root"/>
- </elements>
- <elements name="ConstraintDescriptor">
- <properties name="name" description="The name of this constraint descriptor"/>
- <properties name="display" type="Reference" description="The display unit (View or Section) associated to this constraint."/>
- <properties name="constraints" type="Reference" multiplicity="-1" description="The sub-constraints of this constraint (Used for Composite constraints - Not implemented yet)"/>
- <properties name="overriddenConstraints" type="Reference" multiplicity="-1" description="The constraints overridden by this constraint. If two constraints match a given selection, a constraint may override another one. In such a case, the overridden constraint's displayUnit won't be displayed. This property is dedicated to manual resolution of constraints : the Constraint classes may also implement an automatic resolution of conflicts"/>
- <properties name="overrideable" type="Boolean" description="If set to false, this constraint cannot be automatically overridden by other constraints. Only constraints which explicitly specify they need to override this constraint (Through the &quot;overriddenConstraints&quot; property) will be able to disable it."/>
- </elements>
- <elements name="ConfigProperty">
- <properties name="name" description="The name of the property"/>
- </elements>
- <elements name="ValueProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
- <properties name="value" description="The value of the property"/>
- </elements>
- <elements name="ReferenceProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
- <properties name="value" label="" type="Reference" description="The value of the property"/>
- </elements>
- <elements name="CompositeConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
- <properties name="constraints" type="Reference" multiplicity="-1" description="The sub-constraints owned by this composite constraint. The composite constraint is matched if and only if all its sub-constraints are matched."/>
- </elements>
- <elements name="SimpleConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
- <properties name="constraintType" type="Reference" description="The type of this constraint"/>
- <properties name="properties" label="" type="Reference" multiplicity="-1" description="The list of properties used to instantiate this constraint (key - value pairs)"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="ui">
- <elements name="Element"/>
- <elements name="UIComponent" supertypes="//@dataContexts.0/@elements.2/@elements.0">
- <properties name="attributes" type="Reference" multiplicity="-1" description="The attributes used to instantiate this element. Set of key - value pairs."/>
- </elements>
- <elements name="Widget" supertypes="//@dataContexts.0/@elements.2/@elements.1"/>
- <elements name="StandardWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="widgetType" type="Reference" description="The type of this widget"/>
- </elements>
- <elements name="PropertyEditor" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="property" type="Reference" description="The property that this editor will edit"/>
- <properties name="readOnly" type="Boolean" description="Indicates if this editor should be read-only. Note that in some cases, the read only state may be applied at runtime, independently of this field's value"/>
- <properties name="widgetType" type="Reference" description="The type of this widget"/>
- <properties name="showLabel" type="Boolean" description="If set to false, the property editor's label won't be displayed"/>
- <properties name="customLabel" label="Custom label" description="Defines a custom label for this editor. The custom label will replace the property's default label (Only for this property editor)"/>
- </elements>
- <elements name="CompositeWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="layout" type="Reference" description="The layout of this widget"/>
- <properties name="widgets" type="Reference" multiplicity="-1" description="The widgets directly contained into this Composite"/>
- <properties name="widgetType" type="Reference" description="The type of this Composite widget."/>
- </elements>
- <elements name="Layout" supertypes="//@dataContexts.0/@elements.2/@elements.1">
- <properties name="layoutType" label="" type="Reference" description="The type of this Layout"/>
- </elements>
- <elements name="WidgetAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.0">
- <properties name="name" description="The name of the attribute"/>
- </elements>
- <elements name="ValueAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
- <properties name="value" description="The litteral value of this attribute"/>
- </elements>
- <elements name="ReferenceAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
- <properties name="value" type="Reference" description="The value of this attribute"/>
- </elements>
- <elements name="UnknownComponent" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="typeName" description="The fully-qualified name of this element"/>
- </elements>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.2"/>
- </dataContexts>
- <dataContexts name="Custom" label="Custom">
- <elements xsi:type="contexts:DataContextPackage" name="Attribute">
- <elements name="GridLayout">
- <properties name="numColumns" label="" type="Integer" description="The number of columns of this layout"/>
- <properties name="makeColumnsEqualWidth" description="Indicates if all columns should have the same width"/>
- </elements>
- <elements name="Group">
- <properties name="text" description="The label of this Group container"/>
- </elements>
- <elements name="Text">
- <properties name="text" description="The text to display"/>
- </elements>
- <elements name="Label">
- <properties name="text" label="Text" description="The text to display"/>
- </elements>
- <elements name="BooleanToggle">
- <properties name="image" label="Image"/>
- </elements>
- <elements name="FileSelector">
- <properties name="allowWorkspace"/>
- <properties name="allowFileSystem"/>
- <properties name="filteredExtension"/>
- </elements>
- <elements name="IntegerSpinner">
- <properties name="minimum" label="" description="The minimum value that this spinner can return"/>
- <properties name="maximum" description="The maximum value that this spinner can return"/>
- <properties name="increment" description="The increment value for this spinner"/>
- </elements>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.0"/>
- </dataContexts>
- <dataContexts name="Properties" label="Properties">
- <elements name="EcoreInstanceOf">
- <properties name="className" label="Class Name" description="The name of the Class"/>
- <properties name="nsUri" label="NS URI" description="The namespace URI (NsURI) of the EPackage containing the Class"/>
- </elements>
- <elements name="UMLInstanceOf">
- <properties name="umlClassName" label="UML Class name" description="The name of the UML Metaclass"/>
- </elements>
- <elements name="OCLQuery">
- <properties name="query" label="Query" type="Reference" description="The EMF Query"/>
- </elements>
- <elements name="Stereotype">
- <properties name="stereotypeName" label="Stereotype name" description="The fully qualified name of the Stereotype. The separator is &quot;::&quot;. For example : MyProfile::MyPackage::MyStereotype"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.1"/>
- </dataContexts>
+<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/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="Customization">
+ <tabs label="Context" id="context" category="" priority="10">
+ <sections name="Single Environment" sectionFile="ui/SingleEnvironment.xwt">
+ <widget href="ui/SingleEnvironment.xwt#/" />
+ </sections>
+ <sections name="Multiple Environment" sectionFile="ui/MultipleEnvironment.xwt">
+ <widget href="ui/MultipleEnvironment.xwt#/" />
+ </sections>
+ <sections name="Single WidgetType" sectionFile="ui/SingleWidgetType.xwt">
+ <widget href="ui/SingleWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple WidgetType" sectionFile="ui/MultipleWidgetType.xwt">
+ <widget href="ui/MultipleWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single PropertyEditorType" sectionFile="ui/SinglePropertyEditorType.xwt">
+ <widget href="ui/SinglePropertyEditorType.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyEditorType" sectionFile="ui/MultiplePropertyEditorType.xwt">
+ <widget href="ui/MultiplePropertyEditorType.xwt#/" />
+ </sections>
+ <sections name="Single CompositeWidgetType" sectionFile="ui/SingleCompositeWidgetType.xwt">
+ <widget href="ui/SingleCompositeWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple CompositeWidgetType" sectionFile="ui/MultipleCompositeWidgetType.xwt">
+ <widget href="ui/MultipleCompositeWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single LayoutType" sectionFile="ui/SingleLayoutType.xwt">
+ <widget href="ui/SingleLayoutType.xwt#/" />
+ </sections>
+ <sections name="Multiple LayoutType" sectionFile="ui/MultipleLayoutType.xwt">
+ <widget href="ui/MultipleLayoutType.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>
+ <sections name="Single ModelElementFactoryDescriptor"
+ sectionFile="ui/SingleModelElementFactoryDescriptor.xwt">
+ <widget href="ui/SingleModelElementFactoryDescriptor.xwt#/" />
+ </sections>
+ <sections name="Multiple ModelElementFactoryDescriptor"
+ sectionFile="ui/MultipleModelElementFactoryDescriptor.xwt">
+ <widget href="ui/MultipleModelElementFactoryDescriptor.xwt#/" />
+ </sections>
+ <sections name="Single StandardWidgetType" sectionFile="ui/SingleStandardWidgetType.xwt">
+ <widget href="ui/SingleStandardWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple StandardWidgetType" sectionFile="ui/MultipleStandardWidgetType.xwt">
+ <widget href="ui/MultipleStandardWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single Context" sectionFile="ui/SingleContext.xwt">
+ <widget href="ui/SingleContext.xwt#/" />
+ </sections>
+ <sections name="Multiple Context" sectionFile="ui/MultipleContext.xwt">
+ <widget href="ui/MultipleContext.xwt#/" />
+ </sections>
+ <sections name="Single DisplayUnit" sectionFile="ui/SingleDisplayUnit.xwt">
+ <widget href="ui/SingleDisplayUnit.xwt#/" />
+ </sections>
+ <sections name="Multiple DisplayUnit" sectionFile="ui/MultipleDisplayUnit.xwt">
+ <widget href="ui/MultipleDisplayUnit.xwt#/" />
+ </sections>
+ <sections name="Single View" sectionFile="ui/SingleView.xwt">
+ <widget href="ui/SingleView.xwt#/" />
+ </sections>
+ <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
+ <widget href="ui/MultipleView.xwt#/" />
+ </sections>
+ <sections name="Single Tab" sectionFile="ui/SingleTab.xwt">
+ <widget href="ui/SingleTab.xwt#/" />
+ </sections>
+ <sections name="Multiple Tab" sectionFile="ui/MultipleTab.xwt">
+ <widget href="ui/MultipleTab.xwt#/" />
+ </sections>
+ <sections name="Single Section" sectionFile="ui/SingleSection.xwt">
+ <widget href="ui/SingleSection.xwt#/" />
+ </sections>
+ <sections name="Multiple Section" sectionFile="ui/MultipleSection.xwt">
+ <widget href="ui/MultipleSection.xwt#/" />
+ </sections>
+ <sections name="Single DataContextElement" sectionFile="ui/SingleDataContextElement.xwt">
+ <widget href="ui/SingleDataContextElement.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextElement" sectionFile="ui/MultipleDataContextElement.xwt">
+ <widget href="ui/MultipleDataContextElement.xwt#/" />
+ </sections>
+ <sections name="Single Property" sectionFile="ui/SingleProperty.xwt">
+ <widget href="ui/SingleProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple Property" sectionFile="ui/MultipleProperty.xwt">
+ <widget href="ui/MultipleProperty.xwt#/" />
+ </sections>
+ <sections name="Single UnknownProperty" sectionFile="ui/SingleUnknownProperty.xwt">
+ <widget href="ui/SingleUnknownProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple UnknownProperty" sectionFile="ui/MultipleUnknownProperty.xwt">
+ <widget href="ui/MultipleUnknownProperty.xwt#/" />
+ </sections>
+ <sections name="Single DataContextPackage" sectionFile="ui/SingleDataContextPackage.xwt">
+ <widget href="ui/SingleDataContextPackage.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextPackage" sectionFile="ui/MultipleDataContextPackage.xwt">
+ <widget href="ui/MultipleDataContextPackage.xwt#/" />
+ </sections>
+ <sections name="Single DataContextRoot" sectionFile="ui/SingleDataContextRoot.xwt">
+ <widget href="ui/SingleDataContextRoot.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextRoot" sectionFile="ui/MultipleDataContextRoot.xwt">
+ <widget href="ui/MultipleDataContextRoot.xwt#/" />
+ </sections>
+ <sections name="Single ConstraintDescriptor" sectionFile="ui/SingleConstraintDescriptor.xwt">
+ <widget href="ui/SingleConstraintDescriptor.xwt#/" />
+ </sections>
+ <sections name="Multiple ConstraintDescriptor" sectionFile="ui/MultipleConstraintDescriptor.xwt">
+ <widget href="ui/MultipleConstraintDescriptor.xwt#/" />
+ </sections>
+ <sections name="Single ConfigProperty" sectionFile="ui/SingleConfigProperty.xwt">
+ <widget href="ui/SingleConfigProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ConfigProperty" sectionFile="ui/MultipleConfigProperty.xwt">
+ <widget href="ui/MultipleConfigProperty.xwt#/" />
+ </sections>
+ <sections name="Single ValueProperty" sectionFile="ui/SingleValueProperty.xwt">
+ <widget href="ui/SingleValueProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ValueProperty" sectionFile="ui/MultipleValueProperty.xwt">
+ <widget href="ui/MultipleValueProperty.xwt#/" />
+ </sections>
+ <sections name="Single ReferenceProperty" sectionFile="ui/SingleReferenceProperty.xwt">
+ <widget href="ui/SingleReferenceProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ReferenceProperty" sectionFile="ui/MultipleReferenceProperty.xwt">
+ <widget href="ui/MultipleReferenceProperty.xwt#/" />
+ </sections>
+ <sections name="Single Element" sectionFile="ui/SingleElement.xwt">
+ <widget href="ui/SingleElement.xwt#/" />
+ </sections>
+ <sections name="Multiple Element" sectionFile="ui/MultipleElement.xwt">
+ <widget href="ui/MultipleElement.xwt#/" />
+ </sections>
+ <sections name="Single UIComponent" sectionFile="ui/SingleUIComponent.xwt">
+ <widget href="ui/SingleUIComponent.xwt#/" />
+ </sections>
+ <sections name="Multiple UIComponent" sectionFile="ui/MultipleUIComponent.xwt">
+ <widget href="ui/MultipleUIComponent.xwt#/" />
+ </sections>
+ <sections name="Single Widget" sectionFile="ui/SingleWidget.xwt">
+ <widget href="ui/SingleWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple Widget" sectionFile="ui/MultipleWidget.xwt">
+ <widget href="ui/MultipleWidget.xwt#/" />
+ </sections>
+ <sections name="Single StandardWidget" sectionFile="ui/SingleStandardWidget.xwt">
+ <widget href="ui/SingleStandardWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple StandardWidget" sectionFile="ui/MultipleStandardWidget.xwt">
+ <widget href="ui/MultipleStandardWidget.xwt#/" />
+ </sections>
+ <sections name="Single PropertyEditor" sectionFile="ui/SinglePropertyEditor.xwt">
+ <widget href="ui/SinglePropertyEditor.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyEditor" sectionFile="ui/MultiplePropertyEditor.xwt">
+ <widget href="ui/MultiplePropertyEditor.xwt#/" />
+ </sections>
+ <sections name="Single CompositeWidget" sectionFile="ui/SingleCompositeWidget.xwt">
+ <widget href="ui/SingleCompositeWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple CompositeWidget" sectionFile="ui/MultipleCompositeWidget.xwt">
+ <widget href="ui/MultipleCompositeWidget.xwt#/" />
+ </sections>
+ <sections name="Single Layout" sectionFile="ui/SingleLayout.xwt">
+ <widget href="ui/SingleLayout.xwt#/" />
+ </sections>
+ <sections name="Multiple Layout" sectionFile="ui/MultipleLayout.xwt">
+ <widget href="ui/MultipleLayout.xwt#/" />
+ </sections>
+ <sections name="Single WidgetAttribute" sectionFile="ui/SingleWidgetAttribute.xwt">
+ <widget href="ui/SingleWidgetAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple WidgetAttribute" sectionFile="ui/MultipleWidgetAttribute.xwt">
+ <widget href="ui/MultipleWidgetAttribute.xwt#/" />
+ </sections>
+ <sections name="Single ValueAttribute" sectionFile="ui/SingleValueAttribute.xwt">
+ <widget href="ui/SingleValueAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple ValueAttribute" sectionFile="ui/MultipleValueAttribute.xwt">
+ <widget href="ui/MultipleValueAttribute.xwt#/" />
+ </sections>
+ <sections name="Single ReferenceAttribute" sectionFile="ui/SingleReferenceAttribute.xwt">
+ <widget href="ui/SingleReferenceAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple ReferenceAttribute" sectionFile="ui/MultipleReferenceAttribute.xwt">
+ <widget href="ui/MultipleReferenceAttribute.xwt#/" />
+ </sections>
+ <sections name="Single UnknownComponent" sectionFile="ui/SingleUnknownComponent.xwt">
+ <widget href="ui/SingleUnknownComponent.xwt#/" />
+ </sections>
+ <sections name="Multiple UnknownComponent" sectionFile="ui/MultipleUnknownComponent.xwt">
+ <widget href="ui/MultipleUnknownComponent.xwt#/" />
+ </sections>
+ <sections name="GroupAttributes" sectionFile="ui/GroupAttributes.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isGroup">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isGroup" />
+ </properties>
+ </constraints>
+ <widget href="ui/GroupAttributes.xwt#/" />
+ </sections>
+ <sections name="EcoreInstanceOf" sectionFile="ui/EcoreInstanceOf.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isEcoreInstanceOf">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isEcoreInstanceOf" />
+ </properties>
+ </constraints>
+ <widget href="ui/EcoreInstanceOf.xwt#/" />
+ </sections>
+ <sections name="UMLInstanceOf" sectionFile="ui/UMLInstanceOf.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isUMLInstanceOf">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isUmlInstanceOf" />
+ </properties>
+ </constraints>
+ <widget href="ui/UMLInstanceOf.xwt#/" />
+ </sections>
+ <sections name="OCLQuery" sectionFile="ui/OCLQuery.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isOCLQueryConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isOclQuery" />
+ </properties>
+ </constraints>
+ <widget href="ui/OCLQuery.xwt#/" />
+ </sections>
+ <sections name="Stereotype" sectionFile="ui/Stereotype.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isStereotypeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isStereotype" />
+ </properties>
+ </constraints>
+ <widget href="ui/Stereotype.xwt#/" />
+ </sections>
+ <sections name="GridLayout" sectionFile="ui/GridLayout.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isGridLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isGridLayout" />
+ </properties>
+ </constraints>
+ <widget href="ui/GridLayout.xwt#/" />
+ </sections>
+ <sections name="Label" sectionFile="ui/Label.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSWTLabel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isLabel" />
+ </properties>
+ </constraints>
+ <widget href="ui/Label.xwt#/" />
+ </sections>
+ <sections name="Single ToggleButton" sectionFile="ui/Single ToggleButton.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleToggleButton">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isToggleButton" />
+ </properties>
+ </constraints>
+ <widget href="ui/Single ToggleButton.xwt#/" />
+ </sections>
+ <sections name="SingleFileSelector" sectionFile="ui/SingleFileSelector.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleFileSelector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isFileSelector" />
+ </properties>
+ </constraints>
+ <widget href="ui/SingleFileSelector.xwt#/" />
+ </sections>
+ <sections name="Single IntegerSpinner" sectionFile="ui/Single IntegerSpinner.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isIntegerSpinner">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isIntegerSpinner" />
+ </properties>
+ </constraints>
+ <widget href="ui/Single IntegerSpinner.xwt#/" />
+ </sections>
+ <sections name="SingleCompositeConstraint" sectionFile="ui/SingleCompositeConstraint.xwt">
+ <widget href="ui/SingleCompositeConstraint.xwt#/" />
+ </sections>
+ <sections name="MultipleCompositeConstraint" sectionFile="ui/MultipleCompositeConstraint.xwt">
+ <widget href="ui/MultipleCompositeConstraint.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Single Environment" sections="//@tabs.0/@sections.0"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEnvironment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Environment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple Environment" sections="//@tabs.0/@sections.1"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEnvironment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Environment" />
+ </constraints>
+ </views>
+ <views name="Single WidgetType" sections="//@tabs.0/@sections.2"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple WidgetType" sections="//@tabs.0/@sections.3"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetType" />
+ </constraints>
+ </views>
+ <views name="Single PropertyEditorType" sections="//@tabs.0/@sections.4"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyEditorType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditorType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyEditorType" sections="//@tabs.0/@sections.5"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyEditorType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditorType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single CompositeWidgetType" sections="//@tabs.0/@sections.6"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidgetType" />
+ </constraints>
+ </views>
+ <views name="Multiple CompositeWidgetType" sections="//@tabs.0/@sections.7"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidgetType" />
+ </constraints>
+ </views>
+ <views name="Single LayoutType" sections="//@tabs.0/@sections.8"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLayoutType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple LayoutType" sections="//@tabs.0/@sections.9"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLayoutType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ConstraintType" sections="//@tabs.0/@sections.10"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintType" />
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintType" sections="//@tabs.0/@sections.11"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.12"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleModelElementFactoryDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelElementFactoryDescriptor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.13"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleModelElementFactoryDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelElementFactoryDescriptor" />
+ </constraints>
+ </views>
+ <views name="Single StandardWidgetType" sections="//@tabs.0/@sections.14"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStandardWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple StandardWidgetType" sections="//@tabs.0/@sections.15"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStandardWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Context" sections="//@tabs.0/@sections.16"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleContext">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Context" />
+ </constraints>
+ </views>
+ <views name="Multiple Context" sections="//@tabs.0/@sections.17"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleContext">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Context" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single DisplayUnit" sections="//@tabs.0/@sections.18"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDisplayUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DisplayUnit" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple DisplayUnit" sections="//@tabs.0/@sections.19"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDisplayUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DisplayUnit" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single View" sections="//@tabs.0/@sections.20"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple View" sections="//@tabs.0/@sections.21"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Tab" sections="//@tabs.0/@sections.22"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTab">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Tab" />
+ </constraints>
+ </views>
+ <views name="Multiple Tab" sections="//@tabs.0/@sections.23"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTab">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Tab" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Section" sections="//@tabs.0/@sections.24"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSection">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Section" />
+ </constraints>
+ </views>
+ <views name="Multiple Section" sections="//@tabs.0/@sections.25"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSection">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Section" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single DataContextElement" sections="//@tabs.0/@sections.26"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextElement" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextElement" sections="//@tabs.0/@sections.27"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextElement" />
+ </constraints>
+ </views>
+ <views name="Single Property" sections="//@tabs.0/@sections.28"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Property" />
+ </constraints>
+ </views>
+ <views name="Multiple Property" sections="//@tabs.0/@sections.29"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Property" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single UnknownProperty" sections="//@tabs.0/@sections.30"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnknownProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple UnknownProperty" sections="//@tabs.0/@sections.31"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnknownProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownProperty" />
+ </constraints>
+ </views>
+ <views name="Single DataContextPackage" sections="//@tabs.0/@sections.32"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextPackage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextPackage" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextPackage" sections="//@tabs.0/@sections.33"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextPackage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextPackage" />
+ </constraints>
+ </views>
+ <views name="Single DataContextRoot" sections="//@tabs.0/@sections.34"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextRoot">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextRoot" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextRoot" sections="//@tabs.0/@sections.35"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextRoot">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextRoot" />
+ </constraints>
+ </views>
+ <views name="Single ConstraintDescriptor"
+ sections="//@tabs.0/@sections.36 //@tabs.0/@sections.67 //@tabs.0/@sections.68 //@tabs.0/@sections.69 //@tabs.0/@sections.70"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintDescriptor" />
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintDescriptor" sections="//@tabs.0/@sections.37"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintDescriptor" />
+ </constraints>
+ </views>
+ <views name="Single ConfigProperty" sections="//@tabs.0/@sections.38"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConfigProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConfigProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ConfigProperty" sections="//@tabs.0/@sections.39"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConfigProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConfigProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ValueProperty" sections="//@tabs.0/@sections.40"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple ValueProperty" sections="//@tabs.0/@sections.41"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ReferenceProperty" sections="//@tabs.0/@sections.42"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReferenceProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceProperty" sections="//@tabs.0/@sections.43"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReferenceProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceProperty" />
+ </constraints>
+ </views>
+ <views name="Single Element" sections="//@tabs.0/@sections.44"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Element" />
+ </constraints>
+ </views>
+ <views name="Multiple Element" sections="//@tabs.0/@sections.45"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Element" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single UIComponent" sections="//@tabs.0/@sections.46"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUIComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UIComponent" />
+ </constraints>
+ </views>
+ <views name="Multiple UIComponent" sections="//@tabs.0/@sections.47"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUIComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UIComponent" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Widget" sections="//@tabs.0/@sections.48"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Widget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple Widget" sections="//@tabs.0/@sections.49"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Widget" />
+ </constraints>
+ </views>
+ <views name="Single StandardWidget" sections="//@tabs.0/@sections.50 //@tabs.0/@sections.72"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStandardWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple StandardWidget" sections="//@tabs.0/@sections.51"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStandardWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single PropertyEditor"
+ sections="//@tabs.0/@sections.52 //@tabs.0/@sections.73 //@tabs.0/@sections.74 //@tabs.0/@sections.75"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyEditor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditor" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyEditor" sections="//@tabs.0/@sections.53"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyEditor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single CompositeWidget" sections="//@tabs.0/@sections.54 //@tabs.0/@sections.66"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidget" />
+ </constraints>
+ </views>
+ <views name="Multiple CompositeWidget" sections="//@tabs.0/@sections.55"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Layout" sections="//@tabs.0/@sections.56 //@tabs.0/@sections.71"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Layout" />
+ </constraints>
+ </views>
+ <views name="Multiple Layout" sections="//@tabs.0/@sections.57"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Layout" />
+ </constraints>
+ </views>
+ <views name="Single WidgetAttribute" sections="//@tabs.0/@sections.58"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidgetAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetAttribute" />
+ </constraints>
+ </views>
+ <views name="Multiple WidgetAttribute" sections="//@tabs.0/@sections.59"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidgetAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetAttribute" />
+ </constraints>
+ </views>
+ <views name="Single ValueAttribute" sections="//@tabs.0/@sections.60"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ValueAttribute" sections="//@tabs.0/@sections.61"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ReferenceAttribute" sections="//@tabs.0/@sections.62"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReferenceAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceAttribute" sections="//@tabs.0/@sections.63"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReferenceAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceAttribute" />
+ </constraints>
+ </views>
+ <views name="Single UnknownComponent" sections="//@tabs.0/@sections.64"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnknownComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownComponent" />
+ </constraints>
+ </views>
+ <views name="Multiple UnknownComponent" sections="//@tabs.0/@sections.65"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnknownComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownComponent" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="SingleCompositeConstraint" sections="//@tabs.0/@sections.76">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeConstraint" />
+ </constraints>
+ </views>
+ <views name="MultipleCompositeConstraint" sections="//@tabs.0/@sections.77"
+ elementMultiplicity="-1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeConstraint" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <dataContexts name="properties" label="properties">
+ <elements xsi:type="contexts:DataContextPackage" name="environment">
+ <elements name="Environment">
+ <properties name="modelElementFactories" type="Reference"
+ multiplicity="-1" />
+ <properties name="constraintTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="widgetTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="propertyEditorTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="compositeWidgetTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="layoutTypes" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="PropertyEditorType" supertypes="//@dataContexts.0/@elements.0/@elements.2">
+ <properties name="type" type="Enumeration" />
+ <properties name="multiplicity" type="Integer" />
+ </elements>
+ <elements name="WidgetType">
+ <properties name="label" />
+ <properties name="widgetClass" />
+ </elements>
+ <elements name="CompositeWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ <elements name="LayoutType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ <elements name="ConstraintType">
+ <properties name="label" />
+ <properties name="constraintClass" />
+ </elements>
+ <elements name="ModelElementFactoryDescriptor">
+ <properties name="name" />
+ <properties name="factoryClass" />
+ </elements>
+ <elements name="StandardWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="contexts">
+ <elements name="Context">
+ <properties name="name" description="The name of the Configuration" />
+ <properties name="views" type="Reference" multiplicity="-1"
+ description="The list of views for this Configuration" />
+ <properties name="tabs" type="Reference" multiplicity="-1"
+ description="The list of tabs for this Configuration" />
+ <properties name="dataContexts" type="Reference"
+ multiplicity="-1" description="The list of Data Contexts used by this configuration" />
+ <properties name="dependencies" type="Reference"
+ multiplicity="-1"
+ description="The list of Configurations on which this configuration depends" />
+ </elements>
+ <elements name="DisplayUnit">
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The constraints associated to this Display Unit. The unit will be displayed only if at least one constraint is matched" />
+ </elements>
+ <elements name="View" supertypes="//@dataContexts.0/@elements.1/@elements.1">
+ <properties name="name" description="The name of this view" />
+ <properties name="sections" type="Reference"
+ multiplicity="-1" description="The list of sections for this view" />
+ <properties name="automaticContext" label="" type="Boolean"
+ description="deprecated" />
+ <properties name="datacontexts" type="Reference"
+ multiplicity="-1" description="deprecated" />
+ <properties name="elementMultiplicity" label="" type="Integer"
+ description="The number of selected elements for which this view should be displayed. May be 1 (Single element), -1 (Any number of elements) or any positive integer (For a strict number of elements)" />
+ </elements>
+ <elements name="Tab">
+ <properties name="label" description="The tab's label" />
+ <properties name="id"
+ description="The tab's id. The ID should be unique within its category" />
+ <properties name="category" description="The tab's category" />
+ <properties name="image" label=""
+ description="The tab's image. The path should be of the form /&lt;plug-in id>/&lt;path to the image>" />
+ <properties name="afterTab" label="" type="Reference"
+ description="The tab after which this tab will be displayed. The afterTab's category should be the same as this tab's category" />
+ <properties name="sections" type="Reference"
+ multiplicity="-1"
+ description="The list of sections that can be displayed in this tab" />
+ <properties name="indented" label="" type="Boolean"
+ description="Indicates if this tab should be indented. The preview isn't available for indentation" />
+ <properties name="priority" type="Integer"
+ description="Indicates the priority for this tab. A lower priority means the tab will be placed before the other tabs. 0 is the highest priority, 100 is a very low priority." />
+ </elements>
+ <elements name="Section" supertypes="//@dataContexts.0/@elements.1/@elements.1">
+ <properties name="name"
+ description="The section's name. It should be unique within this Configuration" />
+ <properties name="tab" type="Reference"
+ description="The tab in which this section will be displayed" />
+ <properties name="sectionFile"
+ description="The XWT file containing this section's UI declaration" />
+ <properties name="widget" label="" type="Reference"
+ description="The SWT Widget representing this section" />
+ </elements>
+ <elements name="DataContextElement">
+ <properties name="name" label=""
+ description="The name of this Data Context element" />
+ <properties name="properties" label="" type="Reference"
+ multiplicity="-1" description="The list of properties of this Element" />
+ <properties name="package" type="Reference" description="This element's package" />
+ <properties name="supertypes" type="Reference"
+ multiplicity="-1" description="This element's direct supertypes" />
+ </elements>
+ <elements name="Property">
+ <properties name="name" label="" description="The name of the property" />
+ <properties name="label" description="The label of this property" />
+ <properties name="type" type="Enumeration" description="The type of this property" />
+ <properties name="contextElement" type="Reference"
+ description="The element to which this property belongs" />
+ <properties name="multiplicity" type="Integer"
+ description="The multiplicity of this property." />
+ <properties name="description" />
+ </elements>
+ <elements name="UnknownProperty" supertypes="//@dataContexts.0/@elements.1/@elements.6" />
+ <elements name="DataContextPackage" supertypes="//@dataContexts.0/@elements.1/@elements.5">
+ <properties name="elements" type="Reference"
+ multiplicity="-1"
+ description="The list of Data Context elements contained into this package" />
+ </elements>
+ <elements name="DataContextRoot" supertypes="//@dataContexts.0/@elements.1/@elements.8">
+ <properties name="label" label=""
+ description="The label of this Data Context root" />
+ <properties name="modelElementFactory" type="Reference"
+ description="The factory used to instantiate to ModelElements associated to all the DataContext Elements inside this DataContext Root" />
+ </elements>
+ <elements name="ConstraintDescriptor">
+ <properties name="name" description="The name of this constraint descriptor" />
+ <properties name="display" type="Reference"
+ description="The display unit (View or Section) associated to this constraint." />
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The sub-constraints of this constraint (Used for Composite constraints - Not implemented yet)" />
+ <properties name="overriddenConstraints" type="Reference"
+ multiplicity="-1"
+ description="The constraints overridden by this constraint. If two constraints match a given selection, a constraint may override another one. In such a case, the overridden constraint's displayUnit won't be displayed. This property is dedicated to manual resolution of constraints : the Constraint classes may also implement an automatic resolution of conflicts" />
+ <properties name="overrideable" type="Boolean"
+ description="If set to false, this constraint cannot be automatically overridden by other constraints. Only constraints which explicitly specify they need to override this constraint (Through the &quot;overriddenConstraints&quot; property) will be able to disable it." />
+ </elements>
+ <elements name="ConfigProperty">
+ <properties name="name" description="The name of the property" />
+ </elements>
+ <elements name="ValueProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
+ <properties name="value" description="The value of the property" />
+ </elements>
+ <elements name="ReferenceProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
+ <properties name="value" label="" type="Reference"
+ description="The value of the property" />
+ </elements>
+ <elements name="CompositeConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The sub-constraints owned by this composite constraint. The composite constraint is matched if and only if all its sub-constraints are matched." />
+ </elements>
+ <elements name="SimpleConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
+ <properties name="constraintType" type="Reference"
+ description="The type of this constraint" />
+ <properties name="properties" label="" type="Reference"
+ multiplicity="-1"
+ description="The list of properties used to instantiate this constraint (key - value pairs)" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="ui">
+ <elements name="Element" />
+ <elements name="UIComponent" supertypes="//@dataContexts.0/@elements.2/@elements.0">
+ <properties name="attributes" type="Reference"
+ multiplicity="-1"
+ description="The attributes used to instantiate this element. Set of key - value pairs." />
+ </elements>
+ <elements name="Widget" supertypes="//@dataContexts.0/@elements.2/@elements.1" />
+ <elements name="StandardWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="widgetType" type="Reference"
+ description="The type of this widget" />
+ </elements>
+ <elements name="PropertyEditor" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="property" type="Reference"
+ description="The property that this editor will edit" />
+ <properties name="readOnly" type="Boolean"
+ description="Indicates if this editor should be read-only. Note that in some cases, the read only state may be applied at runtime, independently of this field's value" />
+ <properties name="widgetType" type="Reference"
+ description="The type of this widget" />
+ <properties name="showLabel" type="Boolean"
+ description="If set to false, the property editor's label won't be displayed" />
+ <properties name="customLabel" label="Custom label"
+ description="Defines a custom label for this editor. The custom label will replace the property's default label (Only for this property editor)" />
+ </elements>
+ <elements name="CompositeWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="layout" type="Reference"
+ description="The layout of this widget" />
+ <properties name="widgets" type="Reference" multiplicity="-1"
+ description="The widgets directly contained into this Composite" />
+ <properties name="widgetType" type="Reference"
+ description="The type of this Composite widget." />
+ </elements>
+ <elements name="Layout" supertypes="//@dataContexts.0/@elements.2/@elements.1">
+ <properties name="layoutType" label="" type="Reference"
+ description="The type of this Layout" />
+ </elements>
+ <elements name="WidgetAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.0">
+ <properties name="name" description="The name of the attribute" />
+ </elements>
+ <elements name="ValueAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
+ <properties name="value" description="The litteral value of this attribute" />
+ </elements>
+ <elements name="ReferenceAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
+ <properties name="value" type="Reference"
+ description="The value of this attribute" />
+ </elements>
+ <elements name="UnknownComponent" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="typeName"
+ description="The fully-qualified name of this element" />
+ </elements>
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.2" />
+ </dataContexts>
+ <dataContexts name="Custom" label="Custom">
+ <elements xsi:type="contexts:DataContextPackage" name="Attribute">
+ <elements name="GridLayout">
+ <properties name="numColumns" label="" type="Integer"
+ description="The number of columns of this layout" />
+ <properties name="makeColumnsEqualWidth"
+ description="Indicates if all columns should have the same width" />
+ </elements>
+ <elements name="Group">
+ <properties name="text" description="The label of this Group container" />
+ </elements>
+ <elements name="Text">
+ <properties name="text" description="The text to display" />
+ </elements>
+ <elements name="Label">
+ <properties name="text" label="Text" description="The text to display" />
+ </elements>
+ <elements name="BooleanToggle">
+ <properties name="image" label="Image" />
+ </elements>
+ <elements name="FileSelector">
+ <properties name="allowWorkspace" />
+ <properties name="allowFileSystem" />
+ <properties name="filteredExtension" />
+ </elements>
+ <elements name="IntegerSpinner">
+ <properties name="minimum" label=""
+ description="The minimum value that this spinner can return" />
+ <properties name="maximum"
+ description="The maximum value that this spinner can return" />
+ <properties name="increment" description="The increment value for this spinner" />
+ </elements>
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.0" />
+ </dataContexts>
+ <dataContexts name="Properties" label="Properties">
+ <elements name="EcoreInstanceOf">
+ <properties name="className" label="Class Name"
+ description="The name of the Class" />
+ <properties name="nsUri" label="NS URI"
+ description="The namespace URI (NsURI) of the EPackage containing the Class" />
+ </elements>
+ <elements name="UMLInstanceOf">
+ <properties name="umlClassName" label="UML Class name"
+ description="The name of the UML Metaclass" />
+ </elements>
+ <elements name="OCLQuery">
+ <properties name="query" label="Query" type="Reference"
+ description="The EMF Query" />
+ </elements>
+ <elements name="Stereotype">
+ <properties name="stereotypeName" label="Stereotype name"
+ description="The fully qualified name of the Stereotype. The separator is &quot;::&quot;. For example : MyProfile::MyPackage::MyStereotype" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.1" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
index 0dea7f87b3b..89723b198ad 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
@@ -1,5 +1,5 @@
<?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">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="Generic Attribute" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.GenericAttributeModelElementFactory"/>
<modelElementFactories name="Generic Property" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.GenericPropertyModelElementFactory"/>
<modelElementFactories name="Customization Factory" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.CustomizationModelElementFactory"/>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
index cc5e9d28125..0f70e58f9fb 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
@@ -1,45 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="custom">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts#/"/>
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/constraints/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="isGroup" lowerBound="1" query="widgetType.widgetClass = 'Group' and widgetType.namespace.oclIsUndefined()">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//CompositeWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//CompositeWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isUmlInstanceOf" description="" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.uml.constraints.UmlInstanceOfConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isEcoreInstanceOf" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.constraints.EMFInstanceOfConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isOclQuery" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.constraints.EMFQueryConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isStereotype" description="" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.uml.constraints.HasStereotypeConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isGridLayout" lowerBound="1" query="layoutType.widgetClass = 'GridLayout' or (layoutType.widgetClass = 'PropertiesLayout' and layoutType.namespace.name = 'ppel')">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//Layout"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//Layout"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isLabel" description="Tests if a standard widget is an SWT Label" lowerBound="1" query="self.widgetType.widgetClass = 'Label' and widgetType.namespace.oclIsUndefined()">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//StandardWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//StandardWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isToggleButton" description="Tests if the given PropertyEditor is a ToggleButton" lowerBound="1" query="widgetType.widgetClass = 'BooleanToggle' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isFileSelector" description="Tests if a PropertyEditor is a File Selector" lowerBound="1" query="widgetType.widgetClass = 'StringFileSelector' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isIntegerSpinner" description="Tests if a PropertyEditor is an IntegerSpinner" lowerBound="1" query="widgetType.widgetClass = 'IntegerSpinner' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
index 45066af28fc..7bf736b16da 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
@@ -1,53 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="Contexts" description="">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts#/"/>
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="Tab label" description="Tab label" lowerBound="1" query="if label.oclIsUndefined() or label = '' then '&lt;&lt;Unnamed>>' else label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Tab"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Tab"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="View label" description="View label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//View"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//View"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Context label" description="Context label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Section label" description="Section label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name.concat(if tab.oclIsUndefined() then ' [&lt;&lt;Undefined>>]' else ' ['.concat(tab.label).concat(']') endif) endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Section"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Section"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Property editor label" description="Returns the PropertyEditor label" lowerBound="1" query="if property.oclIsUndefined() then '&lt;&lt;Undefined>>' else if property.label.oclIsUndefined() or property.label = '' then property.name else _property.label endif endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Composite label" lowerBound="1" query="if widgetType = null then '&lt;&lt;Undefined>>' else widgetType.label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//CompositeWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//CompositeWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Layout label" description="Layout label" lowerBound="1" query="if layoutType = null then '&lt;&lt;Undefined>>' else layoutType.label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//Layout"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//Layout"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Attribute label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Undefined>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//WidgetAttribute"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//WidgetAttribute"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Property label" description="Property label" lowerBound="1" query="if label.oclIsUndefined() or label = '' then name else label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Property"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Property"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="DataContextElement label" description="DataContextElement label" lowerBound="1" query="name">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//DataContextElement"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//DataContextElement"/>
</queries>
<queries xsi:type="query:JavaModelQuery" name="showDataContext-j" description="Tests if the data contexts should be displayed" lowerBound="1" implementationClassName="org.eclipse.papyrus.customization.properties.query.ShowContextQuery">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="showDataContext" description="Blabla" lowerBound="1" query="true">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
index d35080e5d2f..b49354963c5 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ASCII"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="Ui">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="isReferenceAttribute" description="Tests if an attribute is a ReferenceAttribute" lowerBound="1" query="self.oclIsKindOf(ReferenceAttribute)">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//WidgetAttribute"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//WidgetAttribute"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
index 76b5a18db6a..5f76864bf4d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
@@ -1,330 +1,471 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/contexts">
+<uicustom:MetamodelView
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation"
+ xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8"
+ metamodelURI="http://www.eclipse.org/papyrus/properties/contexts/0.9">
<types metaclassName="contexts.Context">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Context label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Context label"/>
</defaultValue>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="constraints">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="views">
- <customizedFeatures customizedFeature="icon">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.customization.properties/icons/MultiView.gif"/>
- </customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="Views"/>
+ <references
+ referenceName="views">
+ <customizedFeatures
+ customizedFeature="icon">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="/org.eclipse.papyrus.customization.properties/icons/MultiView.gif"/>
+ </customizedFeatures>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="Views"/>
</customizedFeatures>
</references>
- <references referenceName="tabs">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="tabs">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="dataContexts">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:JavaModelQuery" href="emffacet:/query/Contexts#showDataContext-j"/>
+ <references
+ referenceName="dataContexts">
+ <customizedFeatures>
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:JavaModelQuery"
+ href="emffacet:/query/Contexts#showDataContext-j"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="icon">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.customization.properties/icons/DataContexts.gif"/>
+ <customizedFeatures
+ customizedFeature="icon">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="/org.eclipse.papyrus.customization.properties/icons/DataContexts.gif"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="Data contexts"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="Data contexts"/>
</customizedFeatures>
</references>
- <references referenceName="dependencies">
+ <references
+ referenceName="dependencies">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="eAnnotations">
+ <references
+ referenceName="eAnnotations">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="contexts.ConfigProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
<types metaclassName="contexts.DataContextElement">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#DataContextElement label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#DataContextElement label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="hideMetaclassName">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="hideMetaclassName">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="properties">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="properties">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="package">
+ <references
+ referenceName="package">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="supertypes">
+ <references
+ referenceName="supertypes">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.DataContextPackage">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <references referenceName="elements">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="elements">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.DataContextRoot">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="modelElementFactory">
+ <references
+ referenceName="modelElementFactory">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.Property">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Property label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Property label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="hideMetaclassName">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="hideMetaclassName">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="description">
+ <attributes
+ attributeName="description">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="multiplicity">
+ <attributes
+ attributeName="multiplicity">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="type">
+ <attributes
+ attributeName="type">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="contextElement">
+ <references
+ referenceName="contextElement">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="contexts.ReferenceProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
<types metaclassName="contexts.Section">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Section label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Section label"/>
</defaultValue>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="sectionFile">
+ <attributes
+ attributeName="sectionFile">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="tab">
+ <references
+ referenceName="tab">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="widget">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="widget">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="constraints">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.Tab">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Tab label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Tab label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="category">
+ <attributes
+ attributeName="category">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="id">
+ <attributes
+ attributeName="id">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="image">
+ <attributes
+ attributeName="image">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="afterTab">
+ <references
+ referenceName="afterTab">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="sections">
+ <references
+ referenceName="sections">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.View">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#View label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#View label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="elementMultiplicity">
+ <attributes
+ attributeName="elementMultiplicity">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="automaticContext">
+ <attributes
+ attributeName="automaticContext">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="constraints">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="sections">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
- </customizedFeatures>
- </references>
- <references referenceName="datacontexts">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="context">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- </types>
- <types metaclassName="contexts.ValueProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
- <types metaclassName="contexts.DisplayUnit">
- <references referenceName="constraints">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- </types>
- <types metaclassName="contexts.ConstraintDescriptor">
- <references referenceName="display">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="constraintType">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="constraints">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="sections">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="properties">
+ <references
+ referenceName="datacontexts">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="overriddenConstraints">
+ <references
+ referenceName="context">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
index 17f4809a2b9..a4524c6dc0a 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
@@ -1,18 +1,24 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/environment">
+<uicustom:MetamodelView
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8"
+ metamodelURI="http://www.eclipse.org/papyrus/properties/environment/0.9">
<types metaclassName="environment.Environment">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <references referenceName="eAnnotations">
+ <references
+ referenceName="eAnnotations">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="environment.ConstraintType">
- <customizedFeatures customizedFeature="bold">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
- </customizedFeatures>
- </types>
</uicustom:MetamodelView>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
index e0dd487b017..236f250f80a 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/ui">
+<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/ui/0.9">
<types metaclassName="ui.CompositeWidget">
<customizedFeatures customizedFeature="label">
<defaultValue xsi:type="uicustom:DerivedFeatureValue">
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
index 1dc0ca6dbcd..d1ea2769cbf 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
@@ -14,7 +14,6 @@ package org.eclipse.papyrus.customization.properties.editor.actions;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.State;
import org.eclipse.papyrus.customization.properties.editor.UIEditor;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PlatformUI;
@@ -40,8 +39,8 @@ public class ToggleDataContextAction extends AbstractHandler {
uiEditor.getViewer().refresh();
}
- State state = event.getCommand().getState("org.eclipse.papyrus.customization.properties.displayContextState"); //$NON-NLS-1$
- state.setValue(showDataContext);
+ // State state = event.getCommand().getState("org.eclipse.papyrus.customization.properties.displayContextState"); //$NON-NLS-1$
+ // state.setValue(showDataContext);
return null;
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
index 8fec6f50abe..247c5eb2b9e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.customization.properties.providers.EnvironmentContent
import org.eclipse.papyrus.customization.properties.providers.PropertyContentProvider;
import org.eclipse.papyrus.customization.properties.providers.PropertyEditorTypeContentProvider;
import org.eclipse.papyrus.customization.properties.providers.TabContentProvider;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.infra.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
@@ -79,7 +80,7 @@ public class CustomizationModelElement extends AbstractModelElement {
providers = new HashMap<EClassifier, IStaticContentProvider>();
providers.put(EnvironmentPackage.eINSTANCE.getCompositeWidgetType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_CompositeWidgetTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getStandardWidgetType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_WidgetTypes()));
- providers.put(EnvironmentPackage.eINSTANCE.getConstraintType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_ConstraintTypes()));
+ providers.put(org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eINSTANCE.getConstraintType(), new EnvironmentContentProvider(org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eINSTANCE.getConstraintEnvironment_ConstraintTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getLayoutType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_LayoutTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getModelElementFactoryDescriptor(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_ModelElementFactories()));
}
@@ -109,7 +110,7 @@ public class CustomizationModelElement extends AbstractModelElement {
//Sections can only be moved to tabs from non-plugin contexts
boolean editableTabsOnly = delegate.getSource() instanceof Section;
return new TabContentProvider(delegate.getSource(), editableTabsOnly);
- } else if(classifier instanceof EClass && EMFHelper.isSubclass((EClass)classifier, ContextsPackage.eINSTANCE.getConstraintDescriptor())) {
+ } else if(classifier instanceof EClass && EMFHelper.isSubclass((EClass)classifier, ConstraintsPackage.eINSTANCE.getConstraintDescriptor())) {
return new ConstraintDescriptorContentProvider(delegate.getSource(), (EClass)classifier);
} else if(isDataContextElement(classifier)) {
return new DataContextElementContentProvider((DataContextElement)delegate.getSource());
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
index 84df9b34929..99cada000d7 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
@@ -24,11 +24,11 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.facet.infra.query.ModelQuery;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.constraints.ConfigProperty;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.papyrus.infra.widgets.providers.AbstractStaticContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
import org.eclipse.papyrus.views.properties.modelelement.AbstractModelElement;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
/**
@@ -124,7 +124,7 @@ public class GenericAttributeModelElement extends AbstractModelElement {
@Override
public ILabelProvider getLabelProvider(String propertyPath) {
- return new EMFObjectLabelProvider();
+ return new EMFLabelProvider();
}
@Override
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
index 0997fc2a501..3d0167e7291 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
@@ -16,11 +16,11 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.infra.constraints.ConfigProperty;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
import org.eclipse.papyrus.views.properties.modelelement.ModelElement;
import org.eclipse.papyrus.views.properties.modelelement.ModelElementFactory;
@@ -44,9 +44,9 @@ public class GenericPropertyModelElementFactory implements ModelElementFactory {
EditingDomain domain = AdapterFactoryEditingDomain.getEditingDomainFor(source);
- EClass valueProperty = ContextsPackage.eINSTANCE.getValueProperty();
- EClass referenceProperty = ContextsPackage.eINSTANCE.getReferenceProperty();
- EStructuralFeature attributes = ContextsPackage.eINSTANCE.getSimpleConstraint_Properties();
+ EClass valueProperty = ConstraintsPackage.eINSTANCE.getValueProperty();
+ EClass referenceProperty = ConstraintsPackage.eINSTANCE.getReferenceProperty();
+ EStructuralFeature attributes = ConstraintsPackage.eINSTANCE.getSimpleConstraint_Properties();
return new GenericAttributeModelElement(source, domain, attributes, ContextsFactory.eINSTANCE, valueProperty, referenceProperty);
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
index 6ad4324442e..52a58ca84e6 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
@@ -20,9 +20,9 @@ import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.infra.emf.databinding.EMFObservableValue;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableValue;
/**
* An ObservableValue for handling changes in a section's name.
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
index a47882da905..34335d381cc 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.papyrus.infra.widgets.providers.AbstractFilteredContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* An abstract implementation of {@link IStaticContentProvider} for
@@ -69,6 +69,6 @@ public abstract class AbstractContextualContentProvider extends AbstractFiltered
}
}
- return Util.getDependencies(rootContext);
+ return PropertiesUtil.getDependencies(rootContext);
}
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
index 70bb1eee0b0..e9d6f0f073e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
@@ -16,9 +16,9 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.Tab;
import org.eclipse.papyrus.views.properties.contexts.View;
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
index 0b7f4862454..4b9d461fa83 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
@@ -20,7 +20,7 @@ import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelContentProvid
import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
import org.eclipse.papyrus.customization.properties.Activator;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* The customization editor's content provider. Based on the EMF Facet
@@ -66,7 +66,7 @@ public class ContextContentProvider extends CustomizableModelContentProvider {
Set<Context> allContexts = new LinkedHashSet<Context>();
for(EObject element : elements) {
if(element instanceof Context) {
- allContexts.addAll(Util.getDependencies((Context)element));
+ allContexts.addAll(PropertiesUtil.getDependencies((Context)element));
}
}
elements.addAll(allContexts);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
index 7568dcf9a71..1220ac8f906 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
@@ -46,7 +46,7 @@ import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.Tab;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
import org.eclipse.swt.widgets.Display;
/**
@@ -177,7 +177,7 @@ public class CopyContextAction {
int filesToCopy = source.eResource().getResourceSet().getResources().size();
List<Context> contexts = new LinkedList<Context>();
- for(Context context : Util.getDependencies(source)) {
+ for(Context context : PropertiesUtil.getDependencies(source)) {
if(isRelative(source, context.eResource())) {
contexts.add(context);
for(Tab tab : context.getTabs()) {
diff --git a/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
index 7281b5bfbcb..a42bed34672 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
@@ -24,7 +24,8 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.edit;bundle-version="2.7.0",
org.eclipse.emf.databinding;bundle-version="1.2.0",
org.eclipse.papyrus.views.properties.model;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-ManifestVersion: 2
diff --git a/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx b/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
index bb691043108..f7f9cbd7971 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
+++ b/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
@@ -1,219 +1,312 @@
<?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="customization">
- <tabs label="Default" id="default" category="default">
- <sections name="Single CustomizationConfiguration" sectionFile="ui/SingleCustomizationConfiguration.xwt">
- <widget href="ui/SingleCustomizationConfiguration.xwt#/"/>
- </sections>
- <sections name="Single CustomizableElement" sectionFile="ui/SingleCustomizableElement.xwt">
- <widget href="ui/SingleCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Single FileBasedCustomizableElement" sectionFile="ui/SingleFileBasedCustomizableElement.xwt">
- <widget href="ui/SingleFileBasedCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Single PropertyView" sectionFile="ui/SinglePropertyView.xwt">
- <widget href="ui/SinglePropertyView.xwt#/"/>
- </sections>
- <sections name="Single UICustom" sectionFile="ui/SingleUICustom.xwt">
- <widget href="ui/SingleUICustom.xwt#/"/>
- </sections>
- <sections name="Single ModelTemplate" sectionFile="ui/SingleModelTemplate.xwt">
- <widget href="ui/SingleModelTemplate.xwt#/"/>
- </sections>
- <sections name="Single Palette" sectionFile="ui/SinglePalette.xwt">
- <widget href="ui/SinglePalette.xwt#/"/>
- </sections>
- <sections name="Single Profile" sectionFile="ui/SingleProfile.xwt">
- <widget href="ui/SingleProfile.xwt#/"/>
- </sections>
- <sections name="Single UMLModel" sectionFile="ui/SingleUMLModel.xwt">
- <widget href="ui/SingleUMLModel.xwt#/"/>
- </sections>
- <sections name="Multiple CustomizationConfiguration" sectionFile="ui/MultipleCustomizationConfiguration.xwt">
- <widget href="ui/MultipleCustomizationConfiguration.xwt#/"/>
- </sections>
- <sections name="Multiple CustomizableElement" sectionFile="ui/MultipleCustomizableElement.xwt">
- <widget href="ui/MultipleCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Multiple FileBasedCustomizableElement" sectionFile="ui/MultipleFileBasedCustomizableElement.xwt">
- <widget href="ui/MultipleFileBasedCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyView" sectionFile="ui/MultiplePropertyView.xwt">
- <widget href="ui/MultiplePropertyView.xwt#/"/>
- </sections>
- <sections name="Multiple UICustom" sectionFile="ui/MultipleUICustom.xwt">
- <widget href="ui/MultipleUICustom.xwt#/"/>
- </sections>
- <sections name="Multiple ModelTemplate" sectionFile="ui/MultipleModelTemplate.xwt">
- <widget href="ui/MultipleModelTemplate.xwt#/"/>
- </sections>
- <sections name="Multiple Palette" sectionFile="ui/MultiplePalette.xwt">
- <widget href="ui/MultiplePalette.xwt#/"/>
- </sections>
- <sections name="Multiple Profile" sectionFile="ui/MultipleProfile.xwt">
- <widget href="ui/MultipleProfile.xwt#/"/>
- </sections>
- <sections name="Multiple UMLModel" sectionFile="ui/MultipleUMLModel.xwt">
- <widget href="ui/MultipleUMLModel.xwt#/"/>
- </sections>
- </tabs>
- <views name="Single CustomizationConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomizationConfiguration">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizationConfiguration"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single CustomizableElement" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizableElement"/>
- </constraints>
- </views>
- <views name="Single FileBasedCustomizableElement" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFileBasedCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FileBasedCustomizableElement"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single PropertyView" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyView"/>
- </constraints>
- </views>
- <views name="Single UICustom" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUICustom">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UICustom"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single ModelTemplate" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModelTemplate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelTemplate"/>
- </constraints>
- </views>
- <views name="Single Palette" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePalette">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Palette"/>
- </constraints>
- </views>
- <views name="Single Profile" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProfile">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Profile"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single UMLModel" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUMLModel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UMLModel"/>
- </constraints>
- </views>
- <views name="Multiple CustomizationConfiguration" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomizationConfiguration">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizationConfiguration"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple CustomizableElement" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizableElement"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple FileBasedCustomizableElement" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFileBasedCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FileBasedCustomizableElement"/>
- </constraints>
- </views>
- <views name="Multiple PropertyView" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyView"/>
- </constraints>
- </views>
- <views name="Multiple UICustom" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUICustom">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UICustom"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple ModelTemplate" sections="//@tabs.0/@sections.14" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModelTemplate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelTemplate"/>
- </constraints>
- </views>
- <views name="Multiple Palette" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePalette">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Palette"/>
- </constraints>
- </views>
- <views name="Multiple Profile" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProfile">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Profile"/>
- </constraints>
- </views>
- <views name="Multiple UMLModel" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUMLModel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UMLModel"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <dataContexts name="customization" label="customization">
- <elements name="CustomizationConfiguration">
- <properties name="plugin"/>
- <properties name="elements" label="Configuration elements" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="CustomizableElement"/>
- <elements name="FileBasedCustomizableElement">
- <properties name="file"/>
- </elements>
- <elements name="PropertyView"/>
- <elements name="UICustom">
- <properties name="loadByDefault" type="Boolean"/>
- </elements>
- <elements name="ModelTemplate">
- <properties name="language"/>
- <properties name="name"/>
- <properties name="id"/>
- </elements>
- <elements name="Palette"/>
- <elements name="Profile">
- <properties name="qualifiednames"/>
- <properties name="iconpath"/>
- <properties name="description"/>
- <properties name="provider"/>
- <properties name="name"/>
- </elements>
- <elements name="UMLModel">
- <properties name="name"/>
- <properties name="iconpath"/>
- <properties name="description"/>
- <properties name="provider"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization/Model/Environment.xmi#//@modelElementFactories.0"/>
- </dataContexts>
+<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/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="customization">
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single CustomizationConfiguration"
+ sectionFile="ui/SingleCustomizationConfiguration.xwt">
+ <widget href="ui/SingleCustomizationConfiguration.xwt#/" />
+ </sections>
+ <sections name="Single CustomizableElement" sectionFile="ui/SingleCustomizableElement.xwt">
+ <widget href="ui/SingleCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Single FileBasedCustomizableElement"
+ sectionFile="ui/SingleFileBasedCustomizableElement.xwt">
+ <widget href="ui/SingleFileBasedCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Single PropertyView" sectionFile="ui/SinglePropertyView.xwt">
+ <widget href="ui/SinglePropertyView.xwt#/" />
+ </sections>
+ <sections name="Single UICustom" sectionFile="ui/SingleUICustom.xwt">
+ <widget href="ui/SingleUICustom.xwt#/" />
+ </sections>
+ <sections name="Single ModelTemplate" sectionFile="ui/SingleModelTemplate.xwt">
+ <widget href="ui/SingleModelTemplate.xwt#/" />
+ </sections>
+ <sections name="Single Palette" sectionFile="ui/SinglePalette.xwt">
+ <widget href="ui/SinglePalette.xwt#/" />
+ </sections>
+ <sections name="Single Profile" sectionFile="ui/SingleProfile.xwt">
+ <widget href="ui/SingleProfile.xwt#/" />
+ </sections>
+ <sections name="Single UMLModel" sectionFile="ui/SingleUMLModel.xwt">
+ <widget href="ui/SingleUMLModel.xwt#/" />
+ </sections>
+ <sections name="Multiple CustomizationConfiguration"
+ sectionFile="ui/MultipleCustomizationConfiguration.xwt">
+ <widget href="ui/MultipleCustomizationConfiguration.xwt#/" />
+ </sections>
+ <sections name="Multiple CustomizableElement" sectionFile="ui/MultipleCustomizableElement.xwt">
+ <widget href="ui/MultipleCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Multiple FileBasedCustomizableElement"
+ sectionFile="ui/MultipleFileBasedCustomizableElement.xwt">
+ <widget href="ui/MultipleFileBasedCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyView" sectionFile="ui/MultiplePropertyView.xwt">
+ <widget href="ui/MultiplePropertyView.xwt#/" />
+ </sections>
+ <sections name="Multiple UICustom" sectionFile="ui/MultipleUICustom.xwt">
+ <widget href="ui/MultipleUICustom.xwt#/" />
+ </sections>
+ <sections name="Multiple ModelTemplate" sectionFile="ui/MultipleModelTemplate.xwt">
+ <widget href="ui/MultipleModelTemplate.xwt#/" />
+ </sections>
+ <sections name="Multiple Palette" sectionFile="ui/MultiplePalette.xwt">
+ <widget href="ui/MultiplePalette.xwt#/" />
+ </sections>
+ <sections name="Multiple Profile" sectionFile="ui/MultipleProfile.xwt">
+ <widget href="ui/MultipleProfile.xwt#/" />
+ </sections>
+ <sections name="Multiple UMLModel" sectionFile="ui/MultipleUMLModel.xwt">
+ <widget href="ui/MultipleUMLModel.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Single CustomizationConfiguration" sections="//@tabs.0/@sections.0"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCustomizationConfiguration">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizationConfiguration" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single CustomizableElement" sections="//@tabs.0/@sections.1"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizableElement" />
+ </constraints>
+ </views>
+ <views name="Single FileBasedCustomizableElement" sections="//@tabs.0/@sections.2"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleFileBasedCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FileBasedCustomizableElement" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single PropertyView" sections="//@tabs.0/@sections.3"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyView" />
+ </constraints>
+ </views>
+ <views name="Single UICustom" sections="//@tabs.0/@sections.4"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUICustom">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UICustom" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single ModelTemplate" sections="//@tabs.0/@sections.5"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleModelTemplate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelTemplate" />
+ </constraints>
+ </views>
+ <views name="Single Palette" sections="//@tabs.0/@sections.6"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePalette">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Palette" />
+ </constraints>
+ </views>
+ <views name="Single Profile" sections="//@tabs.0/@sections.7"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProfile">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Profile" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single UMLModel" sections="//@tabs.0/@sections.8"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUMLModel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UMLModel" />
+ </constraints>
+ </views>
+ <views name="Multiple CustomizationConfiguration" sections="//@tabs.0/@sections.9"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleCustomizationConfiguration">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizationConfiguration" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple CustomizableElement" sections="//@tabs.0/@sections.10"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizableElement" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple FileBasedCustomizableElement" sections="//@tabs.0/@sections.11"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleFileBasedCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FileBasedCustomizableElement" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyView" sections="//@tabs.0/@sections.12"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyView" />
+ </constraints>
+ </views>
+ <views name="Multiple UICustom" sections="//@tabs.0/@sections.13"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUICustom">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UICustom" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple ModelTemplate" sections="//@tabs.0/@sections.14"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleModelTemplate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelTemplate" />
+ </constraints>
+ </views>
+ <views name="Multiple Palette" sections="//@tabs.0/@sections.15"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePalette">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Palette" />
+ </constraints>
+ </views>
+ <views name="Multiple Profile" sections="//@tabs.0/@sections.16"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProfile">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Profile" />
+ </constraints>
+ </views>
+ <views name="Multiple UMLModel" sections="//@tabs.0/@sections.17"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUMLModel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UMLModel" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <dataContexts name="customization" label="customization">
+ <elements name="CustomizationConfiguration">
+ <properties name="plugin" />
+ <properties name="elements" label="Configuration elements"
+ type="Reference" multiplicity="-1" />
+ </elements>
+ <elements name="CustomizableElement" />
+ <elements name="FileBasedCustomizableElement">
+ <properties name="file" />
+ </elements>
+ <elements name="PropertyView" />
+ <elements name="UICustom">
+ <properties name="loadByDefault" type="Boolean" />
+ </elements>
+ <elements name="ModelTemplate">
+ <properties name="language" />
+ <properties name="name" />
+ <properties name="id" />
+ </elements>
+ <elements name="Palette" />
+ <elements name="Profile">
+ <properties name="qualifiednames" />
+ <properties name="iconpath" />
+ <properties name="description" />
+ <properties name="provider" />
+ <properties name="name" />
+ </elements>
+ <elements name="UMLModel">
+ <properties name="name" />
+ <properties name="iconpath" />
+ <properties name="description" />
+ <properties name="provider" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization/Model/Environment.xmi#//@modelElementFactories.0" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi b/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
index acf1704d653..e761d49334d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
+++ b/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
@@ -1,4 +1,4 @@
<?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">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="Customization Plugin Factory" factoryClass="org.eclipse.papyrus.customization.modelelement.CustomizationModelElementFactory"/>
</environment:Environment>
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
index a1fce8fcd28..ef87eddf59e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
@@ -11,6 +11,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.papyrus.customization.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationFactory;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
index a49c517058b..5e3ec814aa0 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
@@ -10,6 +10,7 @@ import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.customization.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
index 2a9a7e12ac8..7de3416e123 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
@@ -9,6 +9,7 @@ package org.eclipse.papyrus.customization.model.customization.util;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.customization.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
index 32d8f05c598..fba9493b385 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
@@ -1,7 +1,7 @@
package org.eclipse.papyrus.customization.display;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
public class DisplayManager {
@@ -11,7 +11,7 @@ public class DisplayManager {
constraintEngine = ConfigurationManager.instance.constraintEngine;
//TODO : Add support for local constraint engines in the creation factories
- // constraintEngine = new DefaultConstraintEngine();
+ // constraintEngine = new DefaultViewConstraintEngine();
// ResourceSet resourceSet = new ResourceSetImpl();
// URI uri = URI.createPlatformPluginURI(Activator.PLUGIN_ID + "/Model/Customization/Customization.ctx", true); //$NON-NLS-1$
// try {
@@ -29,5 +29,5 @@ public class DisplayManager {
public static DisplayManager instance = new DisplayManager();
- public ConstraintEngine constraintEngine;
+ public ViewConstraintEngine constraintEngine;
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
index 5c319ad5347..4330d422290 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
@@ -21,8 +21,8 @@ import org.eclipse.papyrus.customization.messages.Messages;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
import org.eclipse.papyrus.views.properties.contexts.View;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
import org.eclipse.papyrus.views.properties.runtime.EmbeddedDisplayEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
import org.eclipse.papyrus.views.properties.widgets.layout.PropertiesLayout;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
@@ -59,7 +59,7 @@ public class CustomizationPage extends WizardPage {
IStructuredSelection selection = new StructuredSelection(configuration);
- ConstraintEngine constraintEngine = DisplayManager.instance.constraintEngine;
+ ViewConstraintEngine constraintEngine = DisplayManager.instance.constraintEngine;
Set<View> views = constraintEngine.getViews(selection);
Composite self = new Composite(container, SWT.BORDER);

Back to the top