diff options
author | cletavernie | 2011-07-04 10:11:28 +0000 |
---|---|---|
committer | cletavernie | 2011-07-04 10:11:28 +0000 |
commit | aaf59cbbe939c60dd448a1cf287e9fd7212785d5 (patch) | |
tree | 602e990ec747143e17fd6c3a158ef72dfa9db604 /incoming | |
parent | 83a753f037c02b8d96619b6b60443ada9fb1ece6 (diff) | |
download | org.eclipse.papyrus-aaf59cbbe939c60dd448a1cf287e9fd7212785d5.tar.gz org.eclipse.papyrus-aaf59cbbe939c60dd448a1cf287e9fd7212785d5.tar.xz org.eclipse.papyrus-aaf59cbbe939c60dd448a1cf287e9fd7212785d5.zip |
340430: [Widget] creation of dialog box based on the model explorer
https://bugs.eclipse.org/bugs/show_bug.cgi?id=340430
351054: [Property View] The property view configurations need a URI catalog
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351054
Merged from 0.8.X
Diffstat (limited to 'incoming')
17 files changed, 153 insertions, 106 deletions
diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/Customization.ctx b/incoming/org.eclipse.papyrus.properties.customization/Model/Customization.ctx index 1a2dca9b479..e3fa9c297f8 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/Customization.ctx +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/Customization.ctx @@ -201,7 +201,7 @@ </sections>
<sections name="GroupAttributes" sectionFile="ui/GroupAttributes.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isGroup">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isGroup"/>
</properties>
@@ -210,7 +210,7 @@ </sections>
<sections name="EcoreInstanceOf" sectionFile="ui/EcoreInstanceOf.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isEcoreInstanceOf">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isEcoreInstanceOf"/>
</properties>
@@ -219,7 +219,7 @@ </sections>
<sections name="UMLInstanceOf" sectionFile="ui/UMLInstanceOf.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isUMLInstanceOf">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isUmlInstanceOf"/>
</properties>
@@ -228,7 +228,7 @@ </sections>
<sections name="OCLQuery" sectionFile="ui/OCLQuery.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isOCLQueryConstraint">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isOclQuery"/>
</properties>
@@ -237,7 +237,7 @@ </sections>
<sections name="Stereotype" sectionFile="ui/Stereotype.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isStereotypeConstraint">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isStereotype"/>
</properties>
@@ -246,7 +246,7 @@ </sections>
<sections name="GridLayout" sectionFile="ui/GridLayout.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isGridLayout">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isGridLayout"/>
</properties>
@@ -255,7 +255,7 @@ </sections>
<sections name="Label" sectionFile="ui/Label.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isSWTLabel">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isLabel"/>
</properties>
@@ -264,7 +264,7 @@ </sections>
<sections name="Single ToggleButton" sectionFile="ui/Single ToggleButton.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleToggleButton">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isToggleButton"/>
</properties>
@@ -273,7 +273,7 @@ </sections>
<sections name="SingleFileSelector" sectionFile="ui/SingleFileSelector.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleFileSelector">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.2"/>
<properties xsi:type="contexts:ReferenceProperty" name="query">
<value href="custom.querySet#isFileSelector"/>
</properties>
@@ -282,476 +282,496 @@ </sections>
<sections name="Single IntegerSpinner" sectionFile="ui/Single IntegerSpinner.xwt">
<constraints xsi:type="contexts:SimpleConstraint" name="isIntegerSpinner">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.2"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
</constraints>
</views>
<views name="Single ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.12" automaticContext="true">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleModelElementFactoryDescriptor">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
</constraints>
</views>
<views name="Single View" sections="//@tabs.0/@sections.20" automaticContext="true">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleView">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
</constraints>
</views>
<views name="Single ValueProperty" sections="//@tabs.0/@sections.40" automaticContext="true">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueProperty">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
</constraints>
</views>
<views name="Single ReferenceProperty" sections="//@tabs.0/@sections.42" automaticContext="true">
<constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceProperty">
- <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.properties/model/Environment.xmi#//@constraintTypes.0"/>
<properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/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="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <constraintType href="ppe:/environment/org.eclipse.papyrus.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.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.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">
@@ -840,9 +860,7 @@ <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="constraintType" type="Reference" description="The type of 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="properties" label="" type="Reference" multiplicity="-1" description="The list of properties used to instantiate this constraint (key - value pairs)"/>
<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 "overriddenConstraints" property) will be able to disable it."/>
</elements>
@@ -855,6 +873,13 @@ <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"/>
@@ -893,7 +918,7 @@ <properties name="typeName" description="The fully-qualified name of this element"/>
</elements>
</elements>
- <modelElementFactory href="pathmap://PPECustom/CustomizationEnvironment.xmi#//@modelElementFactories.2"/>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties.customization/Model/CustomizationEnvironment.xmi#//@modelElementFactories.2"/>
</dataContexts>
<dataContexts name="Custom" label="Custom">
<elements xsi:type="contexts:DataContextPackage" name="Attribute">
@@ -924,7 +949,7 @@ <properties name="increment" description="The increment value for this spinner"/>
</elements>
</elements>
- <modelElementFactory href="pathmap://PPECustom/CustomizationEnvironment.xmi#//@modelElementFactories.0"/>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties.customization/Model/CustomizationEnvironment.xmi#//@modelElementFactories.0"/>
</dataContexts>
<dataContexts name="Properties" label="Properties">
<elements name="EcoreInstanceOf">
@@ -940,6 +965,6 @@ <elements name="Stereotype">
<properties name="stereotypeName" label="Stereotype name" description="The fully qualified name of the Stereotype. The separator is "::". For example : MyProfile::MyPackage::MyStereotype"/>
</elements>
- <modelElementFactory href="pathmap://PPECustom/CustomizationEnvironment.xmi#//@modelElementFactories.1"/>
+ <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.properties.customization/Model/CustomizationEnvironment.xmi#//@modelElementFactories.1"/>
</dataContexts>
</contexts:Context>
diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/EcoreInstanceOf.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/EcoreInstanceOf.xwt index c971158aa4a..dc2e8c4b749 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/EcoreInstanceOf.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/EcoreInstanceOf.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:EcoreInstanceOf:nsUri"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="Properties:EcoreInstanceOf:className"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file +<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:EcoreInstanceOf:nsUri"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="Properties:EcoreInstanceOf:className"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleCompositeConstraint.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleCompositeConstraint.xwt new file mode 100644 index 00000000000..615db8f43bb --- /dev/null +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleCompositeConstraint.xwt @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio property="properties:contexts:ConstraintDescriptor:overrideable" input="{Binding}"></ppe:BooleanRadio></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleConstraintDescriptor.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleConstraintDescriptor.xwt index 0652e3cca94..c278bb83e9c 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleConstraintDescriptor.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleConstraintDescriptor.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite>
\ No newline at end of file +<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="properties:contexts:SimpleConstraint:constraintType"></ppe:ReferenceDialog><ppe:BooleanRadio input="{Binding}" property="properties:contexts:ConstraintDescriptor:overrideable"></ppe:BooleanRadio></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleEnvironment.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleEnvironment.xwt index c42af8507ee..ab3d7fcf9b9 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleEnvironment.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/MultipleEnvironment.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite>
\ No newline at end of file +<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/OCLQuery.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/OCLQuery.xwt index 43f23369284..9d2314c3993 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/OCLQuery.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/OCLQuery.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="Properties:OCLQuery:query"></ppe:ReferenceDialog></Composite></Composite>
\ No newline at end of file +<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="Properties:OCLQuery:query"></ppe:ReferenceDialog></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleCompositeConstraint.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleCompositeConstraint.xwt new file mode 100644 index 00000000000..ba8217a7cf3 --- /dev/null +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleCompositeConstraint.xwt @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor property="properties:contexts:ConstraintDescriptor:name" input="{Binding}"></ppe:StringEditor><ppe:BooleanRadio property="properties:contexts:ConstraintDescriptor:overrideable" input="{Binding}"></ppe:BooleanRadio><ppe:MultiReference property="properties:contexts:CompositeConstraint:constraints" input="{Binding}"></ppe:MultiReference><ppe:MultiReference input="{Binding}" property="properties:contexts:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintDescriptor.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintDescriptor.xwt index e841cf3fa44..6c585193189 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintDescriptor.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintDescriptor.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="properties:contexts:ConstraintDescriptor:name"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="properties:contexts:ConstraintDescriptor:constraintType"></ppe:ReferenceDialog></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="properties:contexts:ConstraintDescriptor:overrideable"></ppe:BooleanRadio><ppe:MultiReference input="{Binding}" property="properties:contexts:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite>
\ No newline at end of file +<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="properties:contexts:ConstraintDescriptor:name"></ppe:StringEditor><ppe:ReferenceDialog input="{Binding}" property="properties:contexts:SimpleConstraint:constraintType"></ppe:ReferenceDialog><ppe:BooleanRadio input="{Binding}" property="properties:contexts:ConstraintDescriptor:overrideable"></ppe:BooleanRadio><ppe:MultiReference input="{Binding}" property="properties:contexts:ConstraintDescriptor:overriddenConstraints"></ppe:MultiReference></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintType.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintType.xwt index 03a3b35f6aa..b1948e43bc0 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintType.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleConstraintType.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="properties:environment:ConstraintType:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="properties:environment:ConstraintType:constraintClass"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file +<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="properties:environment:ConstraintType:label"></ppe:StringEditor><ppe:StringEditor input="{Binding}" property="properties:environment:ConstraintType:constraintClass"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleEnvironment.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleEnvironment.xwt index 9d4a124e5c8..ff64d5ab388 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleEnvironment.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/SingleEnvironment.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite>
\ No newline at end of file +<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/Stereotype.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/Stereotype.xwt index 93536b4094c..63db56d2dad 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/Stereotype.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/Stereotype.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:Stereotype:stereotypeName"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file +<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:Stereotype:stereotypeName"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/UMLInstanceOf.xwt b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/UMLInstanceOf.xwt index 578271783f2..977189c4f2e 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/Model/ui/UMLInstanceOf.xwt +++ b/incoming/org.eclipse.papyrus.properties.customization/Model/ui/UMLInstanceOf.xwt @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?>
-<Composite xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:UMLInstanceOf:umlClassName"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file +<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="Properties:UMLInstanceOf:umlClassName"></ppe:StringEditor></Composite></Composite>
\ No newline at end of file diff --git a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/messages/messages.properties b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/messages/messages.properties index 0610a712d78..1900ca64f6e 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/messages/messages.properties +++ b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/messages/messages.properties @@ -2,7 +2,7 @@ CopyContextAction_Copying=Copying CopyContextAction_InitializingTheCopyOf=Initializing the copy of
CopyContextAction_ThisMayTakeSomeTime=. This may take some time
CopyContextAction_To=\ to
-CustomizationDialog_cannotDeletePluginContext=Plugin contexts cannot be deleted
+CustomizationDialog_cannotDeletePluginContext=Read-only contexts cannot be deleted
CustomizationDialog_configurationName=Configuration name
CustomizationDialog_configurationNameNotEmpty=The name of the configuration shouldn't be empty
CustomizationDialog_configurationWithSameNameExists=A configuration with the same name already exists
@@ -15,11 +15,11 @@ CustomizationDialog_deleteContext=Delete context ? CustomizationDialog_deleteContextConfirmation1=Are you sure you want to delete the Property View context
CustomizationDialog_deleteContextConfirmation2=\ ? This choice is irreversible. If you simply want to deactivate this context, you can do so in Preferences > Papyrus > Property views
CustomizationDialog_edit=Edit
-CustomizationDialog_editSelectedContext=Edits the selected Context. This option is only available for non-plugin Contexts
+CustomizationDialog_editSelectedContext=Edits the selected Context. This option is only available for writeable Contexts
CustomizationDialog_enterConfigurationName=Enter the new configuration name
-CustomizationDialog_plugin=\ (Plugin)
-CustomizationDialog_removeSelectedContext=Removes the selected Context. This option is only available for non-plugin Contexts
-CustomizationDialog_selectContextToEdit=Select a context to edit. Plugin contexts should be copied before they can be edited.
+CustomizationDialog_plugin=\ (Read-only)
+CustomizationDialog_removeSelectedContext=Removes the selected Context. This option is only available for writeable Contexts
+CustomizationDialog_selectContextToEdit=Select a context to edit. Read-only contexts should be copied before they can be edited.
CustomizationPreferencePage_AskForConfirmation=Ask for confirmation
CustomizationPreferencePage_OpenCustomizationPerspective=Open customization perspective
CustomizationPreferencePage_PropertyViewCustomizationPreferences=Property view customization preferences
diff --git a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/modelelement/CustomizationModelElement.java b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/modelelement/CustomizationModelElement.java index 0609feda734..ac43094dde0 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/modelelement/CustomizationModelElement.java +++ b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/modelelement/CustomizationModelElement.java @@ -32,6 +32,7 @@ import org.eclipse.papyrus.properties.customization.providers.TabContentProvider import org.eclipse.papyrus.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.properties.modelelement.AbstractModelElement;
import org.eclipse.papyrus.properties.modelelement.EMFModelElement;
+import org.eclipse.papyrus.properties.util.EMFHelper;
import org.eclipse.papyrus.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.widgets.providers.IStaticContentProvider;
@@ -50,9 +51,6 @@ import org.eclipse.papyrus.widgets.providers.IStaticContentProvider; */
public class CustomizationModelElement extends AbstractModelElement {
- //TODO : Support for ConstraintDescriptor content provider
- //The provider relies on EMF, which loads the whole model (including XWT files)
-
private EMFModelElement delegate;
private static Map<EClassifier, IStaticContentProvider> providers;
@@ -106,8 +104,8 @@ 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 == ContextsPackage.eINSTANCE.getConstraintDescriptor()) {
- return new ConstraintDescriptorContentProvider(delegate.getSource());
+ } else if(classifier instanceof EClass && EMFHelper.isSubclass((EClass)classifier, ContextsPackage.eINSTANCE.getConstraintDescriptor())) {
+ return new ConstraintDescriptorContentProvider(delegate.getSource(), (EClass)classifier);
} else if(isDataContextElement(classifier)) {
return new DataContextElementContentProvider((DataContextElement)delegate.getSource());
} else {
diff --git a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/providers/ConstraintDescriptorContentProvider.java b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/providers/ConstraintDescriptorContentProvider.java index dbd0b6d1ad6..e7db4381274 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/providers/ConstraintDescriptorContentProvider.java +++ b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/providers/ConstraintDescriptorContentProvider.java @@ -14,9 +14,11 @@ package org.eclipse.papyrus.properties.customization.providers; import java.util.LinkedList;
import java.util.List;
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.properties.contexts.ConstraintDescriptor;
import org.eclipse.papyrus.properties.contexts.Context;
+import org.eclipse.papyrus.properties.contexts.DisplayUnit;
import org.eclipse.papyrus.properties.contexts.Section;
import org.eclipse.papyrus.properties.contexts.Tab;
import org.eclipse.papyrus.properties.contexts.View;
@@ -29,6 +31,8 @@ import org.eclipse.papyrus.properties.contexts.View; */
public class ConstraintDescriptorContentProvider extends AbstractContextualContentProvider {
+ private EClass type;
+
/**
*
* Constructor.
@@ -36,23 +40,34 @@ public class ConstraintDescriptorContentProvider extends AbstractContextualConte * @param source
* The source Object used to retrieve the available ConstraintDescriptors
*/
- public ConstraintDescriptorContentProvider(EObject source) {
+ public ConstraintDescriptorContentProvider(EObject source, EClass type) {
super(source);
+ this.type = type;
}
public Object[] getElements() {
List<ConstraintDescriptor> result = new LinkedList<ConstraintDescriptor>();
for(Context context : contexts) {
for(View view : context.getViews()) {
- result.addAll(view.getConstraints());
+ result.addAll(getFilteredConstraintsFromDisplayUnit(view));
}
for(Tab tab : context.getTabs()) {
for(Section section : tab.getSections()) {
- result.addAll(section.getConstraints());
+ result.addAll(getFilteredConstraintsFromDisplayUnit(section));
}
}
}
return result.toArray();
}
+ private List<ConstraintDescriptor> getFilteredConstraintsFromDisplayUnit(DisplayUnit unit) {
+ List<ConstraintDescriptor> result = new LinkedList<ConstraintDescriptor>();
+ for(ConstraintDescriptor constraint : unit.getConstraints()) {
+ if(type.isInstance(constraint)) {
+ result.add(constraint);
+ }
+ }
+ return result;
+ }
+
}
diff --git a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/ui/CopyContextAction.java b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/ui/CopyContextAction.java index 3550081727d..9ed0f1091f2 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/ui/CopyContextAction.java +++ b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/ui/CopyContextAction.java @@ -32,6 +32,7 @@ import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.papyrus.properties.Activator;
+import org.eclipse.papyrus.properties.catalog.PropertiesURIHandler;
import org.eclipse.papyrus.properties.contexts.Context;
import org.eclipse.papyrus.properties.customization.messages.Messages;
import org.eclipse.papyrus.properties.runtime.ConfigurationManager;
@@ -158,7 +159,12 @@ public class CopyContextAction { }
protected void copy(Resource resource, File target) throws IOException {
- copy(new URL(resource.getURI().toString()).openStream(), target);
+ PropertiesURIHandler uriHandler = new PropertiesURIHandler();
+ URI uri = resource.getURI();
+ if(uriHandler.canHandle(uri)) {
+ uri = uriHandler.getConvertedURI(uri);
+ }
+ copy(new URL(uri.toString()).openStream(), target);
}
private void copy(Resource resource, File directory, EObject source, String targetName) throws IOException {
diff --git a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/util/ProjectUtil.java b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/util/ProjectUtil.java index 67f58424af5..6e5cb31df16 100644 --- a/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/util/ProjectUtil.java +++ b/incoming/org.eclipse.papyrus.properties.customization/src/org/eclipse/papyrus/properties/customization/util/ProjectUtil.java @@ -26,7 +26,6 @@ import org.eclipse.core.runtime.Path; import org.eclipse.papyrus.properties.contexts.Context;
import org.eclipse.papyrus.properties.contexts.Section;
import org.eclipse.papyrus.properties.customization.Activator;
-import org.eclipse.papyrus.properties.customization.ui.CopyContextAction;
/**
* The Eclipse Editors can only handle files from the workspace. However, when
@@ -86,7 +85,7 @@ public class ProjectUtil { custom.open(null);
}
- custom.setHidden(false);
+ custom.setHidden(true);
workspace.getRoot().refreshLocal(IResource.DEPTH_INFINITE, null);
return custom;
|