Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2011-05-12 09:40:13 +0000
committervlorenzo2011-05-12 09:40:13 +0000
commit73335a7fff17edd9f288d69f081128ddb1f13bcb (patch)
treec7d45f844babc11f28040b179d3e8e171fa8c38f /incoming
parent767c7c6d76582f8b8edfd2f287071082125d31eb (diff)
downloadorg.eclipse.papyrus-73335a7fff17edd9f288d69f081128ddb1f13bcb.tar.gz
org.eclipse.papyrus-73335a7fff17edd9f288d69f081128ddb1f13bcb.tar.xz
org.eclipse.papyrus-73335a7fff17edd9f288d69f081128ddb1f13bcb.zip
339651: [TableEditor][Property View] the Papyrus Table should have a property view.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=339651 share the project.
Diffstat (limited to 'incoming')
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/.classpath7
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/.project28
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/META-INF/MANIFEST.MF21
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/build.properties11
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/Environment.xmi4
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstance.ctx37
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstanceFieldSelection.xmi12
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance.ctx359
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2.ctx148
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2FieldSelection.xmi20
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstanceFieldSelection.xmi56
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/Description.xwt10
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleAttributeColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleContextColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleDefaultLabelColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEContainerColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEObjectQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetAttributeColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetFeatureColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetReferenceColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFeatureColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleMetaClassColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePapyrusTableInstance.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePrimitiveTypeQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance2.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleReferenceColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance2.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleValueColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleAttributeColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleContextColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleDefaultLabelColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEContainerColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEObjectQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetAttributeColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetFeatureColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetReferenceColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFeatureColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleMetaClassColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePapyrusTableInstance.xwt68
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePrimitiveTypeQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance2.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleReferenceColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleRow.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance2.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleValueColumn.xwt2
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/plugin.properties3
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/plugin.xml26
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/Activator.java69
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableFactory.java51
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableModelElement.java142
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationContentProvider.java99
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationLabelProvider.java74
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FacetLabelProvider.java40
-rw-r--r--incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FillingQueriesContentProvider.java164
66 files changed, 1543 insertions, 0 deletions
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/.classpath b/incoming/trunk/org.eclipse.papyrus.properties.table/.classpath
new file mode 100644
index 00000000000..2d1a4302f04
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/.project b/incoming/trunk/org.eclipse.papyrus.properties.table/.project
new file mode 100644
index 00000000000..03ca67cb112
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.properties.table</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/.settings/org.eclipse.jdt.core.prefs b/incoming/trunk/org.eclipse.papyrus.properties.table/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..46f774520ba
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+#Fri Mar 11 10:04:20 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/META-INF/MANIFEST.MF b/incoming/trunk/org.eclipse.papyrus.properties.table/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..9404b8352c2
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/META-INF/MANIFEST.MF
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.papyrus.properties.table;singleton:=true
+Bundle-Version: 0.8.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.properties.table.Activator
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.properties,
+ org.eclipse.papyrus.properties.model;bundle-version="0.8.0",
+ org.eclipse.emf.edit,
+ org.eclipse.papyrus.widgets;bundle-version="0.8.0",
+ org.eclipse.emf.facet.infra.query.core;bundle-version="0.1.0",
+ org.eclipse.emf.databinding,
+ org.eclipse.papyrus.log,
+ org.eclipse.papyrus.table.instance;bundle-version="0.8.0",
+ org.eclipse.emf.facet.widgets.nattable.instance;bundle-version="0.1.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
+Bundle-Localization: plugin
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/build.properties b/incoming/trunk/org.eclipse.papyrus.properties.table/build.properties
new file mode 100644
index 00000000000..e2048ef6583
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/build.properties
@@ -0,0 +1,11 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.properties,\
+ plugin.xml,\
+ model/
+src.includes = plugin.xml,\
+ plugin.properties,\
+ model/,\
+ META-INF/
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/Environment.xmi b/incoming/trunk/org.eclipse.papyrus.properties.table/model/Environment.xmi
new file mode 100644
index 00000000000..2e6c01b7a67
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/Environment.xmi
@@ -0,0 +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">
+ <modelElementFactories name="PapyrusTableFactory" factoryClass="org.eclipse.papyrus.properties.table.modelelement.PapyrusTableFactory"/>
+</environment:Environment>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstance.ctx b/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstance.ctx
new file mode 100644
index 00000000000..b8d5d0755d2
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstance.ctx
@@ -0,0 +1,37 @@
+<?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="papyrustableinstance">
+ <dependencies href="platform:/plugin/org.eclipse.papyrus.properties.table/model/tableinstance2.ctx#/"/>
+ <dependencies href="platform:/plugin/org.eclipse.papyrus.properties.table/model/tableinstance.ctx#/"/>
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single PapyrusTableInstance" sectionFile="ui/SinglePapyrusTableInstance.xwt">
+ <widget href="ui/SinglePapyrusTableInstance.xwt#/"/>
+ </sections>
+ <sections name="Multiple PapyrusTableInstance" sectionFile="ui/MultiplePapyrusTableInstance.xwt">
+ <widget href="ui/MultiplePapyrusTableInstance.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single PapyrusTableInstance" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePapyrusTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PapyrusTableInstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple PapyrusTableInstance" sections="//@tabs.0/@sections.1" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePapyrusTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PapyrusTableInstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
+ </constraints>
+ </views>
+ <dataContexts name="papyrustableinstance" label="papyrustableinstance">
+ <elements name="PapyrusTableInstance">
+ <properties name="name"/>
+ <properties name="type"/>
+ <properties name="isSynchronized" type="Boolean"/>
+ <properties name="table" type="Reference"/>
+ <properties name="fillingQueries" type="Reference" multiplicity="-1"/>
+ </elements>
+ <modelElementFactory href="../../../plugin/org.eclipse.papyrus.properties.table/model/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstanceFieldSelection.xmi b/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstanceFieldSelection.xmi
new file mode 100644
index 00000000000..9ffca51ce04
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/papyrustableinstanceFieldSelection.xmi
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="ASCII"?>
+<fs:FieldSelection xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fs="http://www.eclipse.org/papyrus/properties/fieldSelection">
+ <contextElements name="papyrustableinstance">
+ <elements name="PapyrusTableInstance">
+ <properties name="name"/>
+ <properties name="type"/>
+ <properties name="isSynchronized"/>
+ <properties name="table" valueSingle="FALSE"/>
+ <properties name="fillingQueries"/>
+ </elements>
+ </contextElements>
+</fs:FieldSelection>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance.ctx b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance.ctx
new file mode 100644
index 00000000000..a8cab49afcf
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance.ctx
@@ -0,0 +1,359 @@
+<?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="tableinstance">
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single TableInstance" sectionFile="ui/SingleTableInstance.xwt">
+ <widget href="ui/SingleTableInstance.xwt#/"/>
+ </sections>
+ <sections name="Single QueryTableInstance" sectionFile="ui/SingleQueryTableInstance.xwt">
+ <widget href="ui/SingleQueryTableInstance.xwt#/"/>
+ </sections>
+ <sections name="Single Column" sectionFile="ui/SingleColumn.xwt">
+ <widget href="ui/SingleColumn.xwt#/"/>
+ </sections>
+ <sections name="Single QueryColumn" sectionFile="ui/SingleQueryColumn.xwt">
+ <widget href="ui/SingleQueryColumn.xwt#/"/>
+ </sections>
+ <sections name="Single ReferenceColumn" sectionFile="ui/SingleReferenceColumn.xwt">
+ <widget href="ui/SingleReferenceColumn.xwt#/"/>
+ </sections>
+ <sections name="Single ContextColumn" sectionFile="ui/SingleContextColumn.xwt">
+ <widget href="ui/SingleContextColumn.xwt#/"/>
+ </sections>
+ <sections name="Single MetaClassColumn" sectionFile="ui/SingleMetaClassColumn.xwt">
+ <widget href="ui/SingleMetaClassColumn.xwt#/"/>
+ </sections>
+ <sections name="Single AttributeColumn" sectionFile="ui/SingleAttributeColumn.xwt">
+ <widget href="ui/SingleAttributeColumn.xwt#/"/>
+ </sections>
+ <sections name="Single EContainerColumn" sectionFile="ui/SingleEContainerColumn.xwt">
+ <widget href="ui/SingleEContainerColumn.xwt#/"/>
+ </sections>
+ <sections name="Single DefaultLabelColumn" sectionFile="ui/SingleDefaultLabelColumn.xwt">
+ <widget href="ui/SingleDefaultLabelColumn.xwt#/"/>
+ </sections>
+ <sections name="Single FeatureColumn" sectionFile="ui/SingleFeatureColumn.xwt">
+ <widget href="ui/SingleFeatureColumn.xwt#/"/>
+ </sections>
+ <sections name="Single Row" sectionFile="ui/SingleRow.xwt">
+ <widget href="ui/SingleRow.xwt#/"/>
+ </sections>
+ <sections name="Single FacetAttributeColumn" sectionFile="ui/SingleFacetAttributeColumn.xwt">
+ <widget href="ui/SingleFacetAttributeColumn.xwt#/"/>
+ </sections>
+ <sections name="Single FacetReferenceColumn" sectionFile="ui/SingleFacetReferenceColumn.xwt">
+ <widget href="ui/SingleFacetReferenceColumn.xwt#/"/>
+ </sections>
+ <sections name="Single FacetFeatureColumn" sectionFile="ui/SingleFacetFeatureColumn.xwt">
+ <widget href="ui/SingleFacetFeatureColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple TableInstance" sectionFile="ui/MultipleTableInstance.xwt">
+ <widget href="ui/MultipleTableInstance.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryTableInstance" sectionFile="ui/MultipleQueryTableInstance.xwt">
+ <widget href="ui/MultipleQueryTableInstance.xwt#/"/>
+ </sections>
+ <sections name="Multiple Column" sectionFile="ui/MultipleColumn.xwt">
+ <widget href="ui/MultipleColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryColumn" sectionFile="ui/MultipleQueryColumn.xwt">
+ <widget href="ui/MultipleQueryColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple ReferenceColumn" sectionFile="ui/MultipleReferenceColumn.xwt">
+ <widget href="ui/MultipleReferenceColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple ContextColumn" sectionFile="ui/MultipleContextColumn.xwt">
+ <widget href="ui/MultipleContextColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple MetaClassColumn" sectionFile="ui/MultipleMetaClassColumn.xwt">
+ <widget href="ui/MultipleMetaClassColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple AttributeColumn" sectionFile="ui/MultipleAttributeColumn.xwt">
+ <widget href="ui/MultipleAttributeColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple EContainerColumn" sectionFile="ui/MultipleEContainerColumn.xwt">
+ <widget href="ui/MultipleEContainerColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple DefaultLabelColumn" sectionFile="ui/MultipleDefaultLabelColumn.xwt">
+ <widget href="ui/MultipleDefaultLabelColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple FeatureColumn" sectionFile="ui/MultipleFeatureColumn.xwt">
+ <widget href="ui/MultipleFeatureColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple Row" sectionFile="ui/MultipleRow.xwt">
+ <widget href="ui/MultipleRow.xwt#/"/>
+ </sections>
+ <sections name="Multiple FacetAttributeColumn" sectionFile="ui/MultipleFacetAttributeColumn.xwt">
+ <widget href="ui/MultipleFacetAttributeColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple FacetReferenceColumn" sectionFile="ui/MultipleFacetReferenceColumn.xwt">
+ <widget href="ui/MultipleFacetReferenceColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple FacetFeatureColumn" sectionFile="ui/MultipleFacetFeatureColumn.xwt">
+ <widget href="ui/MultipleFacetFeatureColumn.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single TableInstance" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance"/>
+ </constraints>
+ </views>
+ <views name="Single QueryTableInstance" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single Column" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Column"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single QueryColumn" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryColumn"/>
+ </constraints>
+ </views>
+ <views name="Single ReferenceColumn" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceColumn"/>
+ </constraints>
+ </views>
+ <views name="Single ContextColumn" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContextColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ContextColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single MetaClassColumn" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMetaClassColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="MetaClassColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single AttributeColumn" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAttributeColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="AttributeColumn"/>
+ </constraints>
+ </views>
+ <views name="Single EContainerColumn" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEContainerColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="EContainerColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single DefaultLabelColumn" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDefaultLabelColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DefaultLabelColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single FeatureColumn" sections="//@tabs.0/@sections.10" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFeatureColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single Row" sections="//@tabs.0/@sections.11" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Row"/>
+ </constraints>
+ </views>
+ <views name="Single FacetAttributeColumn" sections="//@tabs.0/@sections.12" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetAttributeColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetAttributeColumn"/>
+ </constraints>
+ </views>
+ <views name="Single FacetReferenceColumn" sections="//@tabs.0/@sections.13" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetReferenceColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetReferenceColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Single FacetFeatureColumn" sections="//@tabs.0/@sections.14" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetFeatureColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetFeatureColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple TableInstance" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryTableInstance" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryTableInstance">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple Column" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Column"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryColumn" sections="//@tabs.0/@sections.18" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceColumn" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple ContextColumn" sections="//@tabs.0/@sections.20" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContextColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ContextColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple MetaClassColumn" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMetaClassColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="MetaClassColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple AttributeColumn" sections="//@tabs.0/@sections.22" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAttributeColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="AttributeColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple EContainerColumn" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEContainerColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="EContainerColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple DefaultLabelColumn" sections="//@tabs.0/@sections.24" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDefaultLabelColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="DefaultLabelColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple FeatureColumn" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFeatureColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple Row" sections="//@tabs.0/@sections.26" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="Row"/>
+ </constraints>
+ </views>
+ <views name="Multiple FacetAttributeColumn" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetAttributeColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetAttributeColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple FacetReferenceColumn" sections="//@tabs.0/@sections.28" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetReferenceColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetReferenceColumn"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ </constraints>
+ </views>
+ <views name="Multiple FacetFeatureColumn" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetFeatureColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="FacetFeatureColumn"/>
+ </constraints>
+ </views>
+ <dataContexts name="tableinstance" label="tableinstance">
+ <elements name="TableInstance">
+ <properties name="tableConfiguration" type="Reference"/>
+ <properties name="customizations" type="Reference" multiplicity="-1"/>
+ <properties name="facets" type="Reference"/>
+ <properties name="context" type="Reference"/>
+ <properties name="parameter"/>
+ <properties name="hideEmptyColumns" type="Boolean"/>
+ <properties name="onlyShowCommonColumns" type="Boolean"/>
+ <properties name="description"/>
+ <properties name="columns" type="Reference" multiplicity="-1"/>
+ <properties name="rows" type="Reference" multiplicity="-1"/>
+ <properties name="elements" type="Reference" multiplicity="-1"/>
+ <properties name="localCustomization" type="Reference"/>
+ </elements>
+ <elements name="QueryTableInstance">
+ <properties name="queryResults" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="Column">
+ <properties name="isHidden" type="Boolean"/>
+ <properties name="width" type="Integer"/>
+ </elements>
+ <elements name="QueryColumn">
+ <properties name="query" type="Reference"/>
+ <properties name="queryResult" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="ReferenceColumn">
+ <properties name="reference" type="Reference"/>
+ </elements>
+ <elements name="ContextColumn"/>
+ <elements name="MetaClassColumn"/>
+ <elements name="AttributeColumn">
+ <properties name="attribute" type="Reference"/>
+ </elements>
+ <elements name="EContainerColumn"/>
+ <elements name="DefaultLabelColumn"/>
+ <elements name="FeatureColumn">
+ <properties name="feature" type="Reference"/>
+ </elements>
+ <elements name="Row">
+ <properties name="element" type="Reference"/>
+ <properties name="height" type="Integer"/>
+ </elements>
+ <elements name="FacetAttributeColumn">
+ <properties name="attribute" type="Reference"/>
+ </elements>
+ <elements name="FacetReferenceColumn">
+ <properties name="reference" type="Reference"/>
+ </elements>
+ <elements name="FacetFeatureColumn">
+ <properties name="facetFeature" type="Reference"/>
+ </elements>
+ <modelElementFactory href="pathmap://PPEResources/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2.ctx b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2.ctx
new file mode 100644
index 00000000000..6981c1ddf7f
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2.ctx
@@ -0,0 +1,148 @@
+<?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="tableinstance2">
+ <dependencies href="tableinstance.ctx#/"/>
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single TableInstance2" sectionFile="ui/SingleTableInstance2.xwt">
+ <widget href="ui/SingleTableInstance2.xwt#/"/>
+ </sections>
+ <sections name="Single QueryRow" sectionFile="ui/SingleQueryRow.xwt">
+ <widget href="ui/SingleQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Single PrimitiveTypeQueryRow" sectionFile="ui/SinglePrimitiveTypeQueryRow.xwt">
+ <widget href="ui/SinglePrimitiveTypeQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Single EObjectQueryRow" sectionFile="ui/SingleEObjectQueryRow.xwt">
+ <widget href="ui/SingleEObjectQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Single ValueColumn" sectionFile="ui/SingleValueColumn.xwt">
+ <widget href="ui/SingleValueColumn.xwt#/"/>
+ </sections>
+ <sections name="Single QueryTableInstance2" sectionFile="ui/SingleQueryTableInstance2.xwt">
+ <widget href="ui/SingleQueryTableInstance2.xwt#/"/>
+ </sections>
+ <sections name="Multiple TableInstance2" sectionFile="ui/MultipleTableInstance2.xwt">
+ <widget href="ui/MultipleTableInstance2.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryRow" sectionFile="ui/MultipleQueryRow.xwt">
+ <widget href="ui/MultipleQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Multiple PrimitiveTypeQueryRow" sectionFile="ui/MultiplePrimitiveTypeQueryRow.xwt">
+ <widget href="ui/MultiplePrimitiveTypeQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Multiple EObjectQueryRow" sectionFile="ui/MultipleEObjectQueryRow.xwt">
+ <widget href="ui/MultipleEObjectQueryRow.xwt#/"/>
+ </sections>
+ <sections name="Multiple ValueColumn" sectionFile="ui/MultipleValueColumn.xwt">
+ <widget href="ui/MultipleValueColumn.xwt#/"/>
+ </sections>
+ <sections name="Multiple QueryTableInstance2" sectionFile="ui/MultipleQueryTableInstance2.xwt">
+ <widget href="ui/MultipleQueryTableInstance2.xwt#/"/>
+ </sections>
+ <sections name="Description" sectionFile="ui/Description.xwt">
+ <widget href="ui/Description.xwt#/"/>
+ </sections>
+ </tabs>
+ <views name="Single TableInstance2" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTableInstance2">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ </constraints>
+ </views>
+ <views name="Single QueryRow" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryRow"/>
+ </constraints>
+ </views>
+ <views name="Single PrimitiveTypeQueryRow" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePrimitiveTypeQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
+ </constraints>
+ </views>
+ <views name="Single EObjectQueryRow" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEObjectQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectQueryRow"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ </constraints>
+ </views>
+ <views name="Single ValueColumn" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ValueColumn"/>
+ </constraints>
+ </views>
+ <views name="Single QueryTableInstance2" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryTableInstance2">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ </constraints>
+ </views>
+ <views name="Multiple TableInstance2" sections="//@tabs.0/@sections.6" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTableInstance2">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance2"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryRow" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryRow"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ </constraints>
+ </views>
+ <views name="Multiple PrimitiveTypeQueryRow" sections="//@tabs.0/@sections.8" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePrimitiveTypeQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
+ </constraints>
+ </views>
+ <views name="Multiple EObjectQueryRow" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEObjectQueryRow">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectQueryRow"/>
+ </constraints>
+ </views>
+ <views name="Multiple ValueColumn" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueColumn">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="ValueColumn"/>
+ </constraints>
+ </views>
+ <views name="Multiple QueryTableInstance2" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryTableInstance2">
+ <constraintType href="pathmap://PPEResources/Environment.xmi#//@constraintTypes.0"/>
+ <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance2"/>
+ </constraints>
+ </views>
+ <views name="Description" sections="//@tabs.0/@sections.12"/>
+ <dataContexts name="tableinstance2" label="tableinstance2">
+ <elements name="TableInstance2">
+ <properties name="localCustomizations" type="Reference" multiplicity="-1"/>
+ <properties name="facets2" type="Reference" multiplicity="-1"/>
+ </elements>
+ <elements name="QueryRow">
+ <properties name="queryResult" type="Reference"/>
+ </elements>
+ <elements name="PrimitiveTypeQueryRow">
+ <properties name="value"/>
+ </elements>
+ <elements name="EObjectQueryRow"/>
+ <elements name="ValueColumn"/>
+ <elements name="QueryTableInstance2">
+ <properties name="queryResults2" type="Reference" multiplicity="-1"/>
+ </elements>
+ <modelElementFactory href="pathmap://PPEResources/Environment.xmi#//@modelElementFactories.0"/>
+ </dataContexts>
+</contexts:Context>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2FieldSelection.xmi b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2FieldSelection.xmi
new file mode 100644
index 00000000000..e9d9acb7c79
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstance2FieldSelection.xmi
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ASCII"?>
+<fs:FieldSelection xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fs="http://www.eclipse.org/papyrus/properties/fieldSelection">
+ <contextElements name="tableinstance2">
+ <elements name="TableInstance2">
+ <properties name="localCustomizations" valueSingle="TRUE"/>
+ <properties name="facets2"/>
+ </elements>
+ <elements name="QueryRow">
+ <properties name="queryResult" valueSingle="FALSE"/>
+ </elements>
+ <elements name="PrimitiveTypeQueryRow">
+ <properties name="value" valueSingle="FALSE"/>
+ </elements>
+ <elements name="EObjectQueryRow"/>
+ <elements name="ValueColumn"/>
+ <elements name="QueryTableInstance2">
+ <properties name="queryResults2"/>
+ </elements>
+ </contextElements>
+</fs:FieldSelection>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstanceFieldSelection.xmi b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstanceFieldSelection.xmi
new file mode 100644
index 00000000000..d3b2c00f81b
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/tableinstanceFieldSelection.xmi
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ASCII"?>
+<fs:FieldSelection xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fs="http://www.eclipse.org/papyrus/properties/fieldSelection">
+ <contextElements name="tableinstance">
+ <elements name="TableInstance">
+ <properties name="tableConfiguration" valueSingle="FALSE"/>
+ <properties name="customizations"/>
+ <properties name="facets"/>
+ <properties name="context"/>
+ <properties name="parameter" valueSingle="FALSE"/>
+ <properties name="hideEmptyColumns" valueMultiple="FALSE"/>
+ <properties name="onlyShowCommonColumns" valueMultiple="FALSE"/>
+ <properties name="description"/>
+ <properties name="columns"/>
+ <properties name="rows"/>
+ <properties name="elements"/>
+ <properties name="localCustomization"/>
+ </elements>
+ <elements name="QueryTableInstance">
+ <properties name="queryResults"/>
+ </elements>
+ <elements name="Column">
+ <properties name="isHidden" valueSingle="FALSE"/>
+ <properties name="width" valueSingle="FALSE"/>
+ </elements>
+ <elements name="QueryColumn">
+ <properties name="query" valueSingle="FALSE"/>
+ <properties name="queryResult" valueSingle="FALSE"/>
+ </elements>
+ <elements name="ReferenceColumn">
+ <properties name="reference" valueSingle="FALSE"/>
+ </elements>
+ <elements name="ContextColumn"/>
+ <elements name="MetaClassColumn"/>
+ <elements name="AttributeColumn">
+ <properties name="attribute" valueSingle="FALSE"/>
+ </elements>
+ <elements name="EContainerColumn"/>
+ <elements name="DefaultLabelColumn"/>
+ <elements name="FeatureColumn">
+ <properties name="feature"/>
+ </elements>
+ <elements name="Row">
+ <properties name="element" valueSingle="FALSE"/>
+ <properties name="height" valueSingle="FALSE"/>
+ </elements>
+ <elements name="FacetAttributeColumn">
+ <properties name="attribute" valueSingle="FALSE"/>
+ </elements>
+ <elements name="FacetReferenceColumn">
+ <properties name="reference" valueSingle="FALSE"/>
+ </elements>
+ <elements name="FacetFeatureColumn">
+ <properties name="facetFeature"/>
+ </elements>
+ </contextElements>
+</fs:FieldSelection>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/Description.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/Description.xwt
new file mode 100644
index 00000000000..534b3d5b68f
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/Description.xwt
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"
+ xmlns:x="http://www.eclipse.org/xwt" xmlns="http://www.eclipse.org/xwt/presentation"
+ xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets">
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:StringMultiline input="{Binding}"
+ property="tableinstance:TableInstance:description"></ppe:StringMultiline>
+</Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleAttributeColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleAttributeColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleAttributeColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleColumn.xwt
new file mode 100644
index 00000000000..166f1fc4446
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="tableinstance:Column:isHidden"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:IntegerEditor input="{Binding}" property="tableinstance:Column:width"></ppe:IntegerEditor></Composite></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleContextColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleContextColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleContextColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleDefaultLabelColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleDefaultLabelColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleDefaultLabelColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEContainerColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEContainerColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEContainerColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEObjectQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEObjectQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleEObjectQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetAttributeColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetAttributeColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetAttributeColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetFeatureColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetFeatureColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetFeatureColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetReferenceColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetReferenceColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFacetReferenceColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFeatureColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFeatureColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleFeatureColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleMetaClassColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleMetaClassColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleMetaClassColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePapyrusTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePapyrusTableInstance.xwt
new file mode 100644
index 00000000000..5b1bcbf19f6
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePapyrusTableInstance.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns="http://www.eclipse.org/xwt/presentation"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="papyrustableinstance:PapyrusTableInstance:isSynchronized"></ppe:BooleanRadio></Composite></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePrimitiveTypeQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePrimitiveTypeQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultiplePrimitiveTypeQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance2.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance2.xwt
new file mode 100644
index 00000000000..b46518daf35
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleQueryTableInstance2.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:j="clr-namespace:java.lang" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleReferenceColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleReferenceColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleReferenceColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleRow.xwt
new file mode 100644
index 00000000000..8df809ff0c4
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:IntegerEditor input="{Binding}" property="tableinstance:Row:height"></ppe:IntegerEditor></Composite></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance2.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance2.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleTableInstance2.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleValueColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleValueColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/MultipleValueColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleAttributeColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleAttributeColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleAttributeColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleContextColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleContextColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleContextColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleDefaultLabelColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleDefaultLabelColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleDefaultLabelColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEContainerColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEContainerColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEContainerColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEObjectQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEObjectQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleEObjectQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetAttributeColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetAttributeColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetAttributeColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetFeatureColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetFeatureColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetFeatureColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetReferenceColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetReferenceColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFacetReferenceColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFeatureColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFeatureColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleFeatureColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleMetaClassColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleMetaClassColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleMetaClassColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePapyrusTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePapyrusTableInstance.xwt
new file mode 100644
index 00000000000..9b65ae3528d
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePapyrusTableInstance.xwt
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns="http://www.eclipse.org/xwt/presentation"
+ xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets"
+ xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout"
+ xmlns:j="clr-namespace:java.lang" xmlns:x="http://www.eclipse.org/xwt">
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout makeColumnsEqualWidth="true"
+ numColumns="2"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:StringEditor input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:name"></ppe:StringEditor>
+ <ppe:StringEditor input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:type" readOnly="true"></ppe:StringEditor>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout makeColumnsEqualWidth="false"
+ numColumns="3"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:StringMultiline input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.description" customLabel="Description"></ppe:StringMultiline>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="3"
+ makeColumnsEqualWidth="false"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:ReferenceLabel input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.context" customLabel="Context"></ppe:ReferenceLabel>
+ <ppe:BooleanRadio input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:isSynchronized"></ppe:BooleanRadio>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:MultiReference input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:fillingQueries"></ppe:MultiReference>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="2"
+ makeColumnsEqualWidth="true"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:BooleanRadio input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.hideEmptyColumns"
+ readOnly="true" customLabel="HideEmptyColumns"></ppe:BooleanRadio>
+ <ppe:BooleanRadio input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.onlyShowCommonColumns"
+ readOnly="true" customLabel="OnlyCommonColumns"></ppe:BooleanRadio>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="2"
+ makeColumnsEqualWidth="true"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:MultiReference input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.customizations"
+ readOnly="true" customLabel="Customizations"></ppe:MultiReference>
+ <ppe:MultiReference input="{Binding}"
+ property="papyrustableinstance:PapyrusTableInstance:table.facets2"
+ readOnly="true" customLabel="Facets"></ppe:MultiReference>
+ </Composite>
+</Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePrimitiveTypeQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePrimitiveTypeQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SinglePrimitiveTypeQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance2.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance2.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleQueryTableInstance2.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleReferenceColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleReferenceColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleReferenceColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleRow.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleRow.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleRow.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance.xwt
new file mode 100644
index 00000000000..d94c6f8d837
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:StringEditor input="{Binding}" property="tableinstance:TableInstance:description"></ppe:StringEditor></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout></Composite.layout><ppe:BooleanRadio input="{Binding}" property="tableinstance:TableInstance:hideEmptyColumns"></ppe:BooleanRadio><ppe:BooleanRadio input="{Binding}" property="tableinstance:TableInstance:onlyShowCommonColumns"></ppe:BooleanRadio></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:ReferenceDialog input="{Binding}" property="tableinstance:TableInstance:facets"></ppe:ReferenceDialog><ppe:ReferenceDialog input="{Binding}" property="tableinstance:TableInstance:context"></ppe:ReferenceDialog></Composite><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="tableinstance:TableInstance:customizations"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance2.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance2.xwt
new file mode 100644
index 00000000000..7b1bad01412
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleTableInstance2.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:ppe="clr-namespace:org.eclipse.papyrus.properties.widgets" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout><Composite><Composite.layout><ppel:PropertiesLayout numColumns="1"></ppel:PropertiesLayout></Composite.layout><ppe:MultiReference input="{Binding}" property="tableinstance2:TableInstance2:localCustomizations"></ppe:MultiReference><ppe:MultiReference input="{Binding}" property="tableinstance2:TableInstance2:facets2"></ppe:MultiReference></Composite></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleValueColumn.xwt b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleValueColumn.xwt
new file mode 100644
index 00000000000..9f2fd49ad6a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/model/ui/SingleValueColumn.xwt
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite xmlns:ppel="clr-namespace:org.eclipse.papyrus.properties.widgets.layout" xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang"><Composite.layout><ppel:PropertiesLayout></ppel:PropertiesLayout></Composite.layout></Composite> \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.properties b/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.properties
new file mode 100644
index 00000000000..7fdd9404855
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.papyrus.properties.table
+providerName = Eclipse Modeling Project (Incubation)
+pluginName = Papyrus Table Property View \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.xml b/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.xml
new file mode 100644
index 00000000000..ff4c3326a2f
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/plugin.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<plugin>
+ <extension
+ point="org.eclipse.papyrus.properties.context">
+ <context
+ contextModel="model/papyrustableinstance.ctx"
+ loadDefault="true">
+ </context>
+ <context
+ contextModel="model/tableinstance.ctx"
+ loadDefault="true">
+ </context>
+ <context
+ contextModel="model/tableinstance2.ctx"
+ loadDefault="true">
+ </context>
+ </extension>
+ <extension
+ point="org.eclipse.papyrus.properties.environment">
+ <environment
+ environmentModel="model/Environment.xmi">
+ </environment>
+ </extension>
+</plugin>
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/Activator.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/Activator.java
new file mode 100644
index 00000000000..3f2aa5cd439
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/Activator.java
@@ -0,0 +1,69 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table;
+
+import org.eclipse.papyrus.log.LogHelper;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.properties.table"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /** Logging helper */
+ public static LogHelper log;
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void start(final BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ log = new LogHelper(plugin);
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void stop(final BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableFactory.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableFactory.java
new file mode 100644
index 00000000000..796c17e8001
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableFactory.java
@@ -0,0 +1,51 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.modelelement;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.properties.modelelement.EMFModelElementFactory;
+import org.eclipse.papyrus.properties.modelelement.ModelElement;
+import org.eclipse.papyrus.properties.table.Activator;
+import org.eclipse.papyrus.properties.util.EMFHelper;
+
+/**
+ *
+ * The factory for the PapyrusTable
+ *
+ */
+public class PapyrusTableFactory extends EMFModelElementFactory{
+
+ /**
+ *
+ * @see org.eclipse.papyrus.properties.modelelement.EMFModelElementFactory#createFromSource(java.lang.Object, org.eclipse.papyrus.properties.contexts.DataContextElement)
+ *
+ * @param sourceElement
+ * @param context
+ * @return
+ */
+ @Override
+ public ModelElement createFromSource(final Object sourceElement, final DataContextElement context) {
+ EObject source = EMFHelper.getEObject(sourceElement);
+ if(source == null) {
+ Activator.log.warn("Unable to resolve the selected element to an EObject"); //$NON-NLS-1$
+ return null;
+ }
+
+ EditingDomain domain = AdapterFactoryEditingDomain.getEditingDomainFor(source);
+ return new PapyrusTableModelElement(source, domain);
+ }
+}
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableModelElement.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableModelElement.java
new file mode 100644
index 00000000000..b1228331051
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/modelelement/PapyrusTableModelElement.java
@@ -0,0 +1,142 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.modelelement;
+
+
+import org.eclipse.core.runtime.Assert;
+import org.eclipse.emf.databinding.FeaturePath;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance.TableInstance;
+import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance2.TableInstance2;
+import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.properties.modelelement.EMFModelElement;
+import org.eclipse.papyrus.properties.table.provider.CustomizationContentProvider;
+import org.eclipse.papyrus.properties.table.provider.CustomizationLabelProvider;
+import org.eclipse.papyrus.properties.table.provider.FacetLabelProvider;
+import org.eclipse.papyrus.properties.table.provider.FillingQueriesContentProvider;
+import org.eclipse.papyrus.widgets.creation.ReferenceValueFactory;
+import org.eclipse.papyrus.widgets.providers.IStaticContentProvider;
+
+
+
+
+public class PapyrusTableModelElement extends EMFModelElement {
+
+ /** these 3 value are used for the preference of the display of the localCustom in the property view */
+ /** any local customization is displayed */
+ public static final int NO_LOCALS = 0;
+
+ /** only one of the local customization is displayed */
+ public static final int ONLY_ONE_LOCALS = NO_LOCALS + 1;
+
+ /** all local customizations are displayed */
+ public static final int ALL_LOCALS = ONLY_ONE_LOCALS + 1;
+
+ /** the property path for the customization */
+ public static final String TABLE_CUSTOMIZATIONS = "table.customizations"; //$NON-NLS-1$
+
+ /** the property path for the customization */
+ public static final String TABLE_FACETS2 = "table.facets2"; //$NON-NLS-1$
+
+ /** the property path for the customization */
+ public static final String TABLE_FILLING_QUERIES = "fillingQueries"; //$NON-NLS-1$
+
+ public static final String TABLE_CONTEXT = "table.context"; //$NON-NLS-1$
+
+ /** the current value of the preference for the display of the local customization */
+ private static int local_preference = ALL_LOCALS;
+
+ /**
+ *
+ * Constructor.
+ *
+ * @param source
+ */
+ public PapyrusTableModelElement(final EObject source) {
+ super(source);
+ }
+
+ /**
+ *
+ * Constructor.
+ *
+ * @param source
+ * @param domain
+ */
+ public PapyrusTableModelElement(final EObject source, final EditingDomain domain) {
+ super(source, domain);
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.properties.modelelement.EMFModelElement#getContentProvider(java.lang.String)
+ *
+ * @param propertyPath
+ * @return
+ */
+ @Override
+ public IStaticContentProvider getContentProvider(final String propertyPath) {
+ if(TABLE_FILLING_QUERIES.equals(propertyPath)) {
+ FeaturePath featurePath = getFeaturePath(TABLE_CONTEXT);
+ EObject table = getSource(featurePath);
+ Assert.isTrue(table instanceof TableInstance);
+ return new FillingQueriesContentProvider((TableInstance)table);
+ }
+ if(TABLE_CUSTOMIZATIONS.equals(propertyPath)) {
+ FeaturePath featurePath = getFeaturePath(TABLE_CUSTOMIZATIONS);
+ EStructuralFeature feature = getFeature(featurePath);
+ return new CustomizationContentProvider(feature, getSource(featurePath), local_preference);
+ }
+ return super.getContentProvider(propertyPath);
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.properties.modelelement.EMFModelElement#getLabelProvider(java.lang.String)
+ *
+ * @param propertyPath
+ * @return
+ */
+ @Override
+ public ILabelProvider getLabelProvider(final String propertyPath) {
+ if(TABLE_CUSTOMIZATIONS.equals(propertyPath)) {
+ FeaturePath featurePath = getFeaturePath(TABLE_CUSTOMIZATIONS);
+ EObject table = getSource(featurePath);
+ Assert.isTrue(table instanceof TableInstance2);
+ return new CustomizationLabelProvider((TableInstance2)table, local_preference);
+ }
+ if(TABLE_FACETS2.equals(propertyPath)) {
+ return new FacetLabelProvider();
+ }
+ return super.getLabelProvider(propertyPath);
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.properties.modelelement.EMFModelElement#getValueFactory(java.lang.String)
+ *
+ * @param propertyPath
+ * @return
+ */
+ @Override
+ public ReferenceValueFactory getValueFactory(final String propertyPath) {
+ //allow to disabled the edition of the filling queries
+ if(TABLE_FILLING_QUERIES.equals(propertyPath)) {
+ return null;
+ }
+ return super.getValueFactory(propertyPath);
+ }
+}
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationContentProvider.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationContentProvider.java
new file mode 100644
index 00000000000..110052f1874
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationContentProvider.java
@@ -0,0 +1,99 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.provider;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.Assert;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
+import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance2.TableInstance2;
+import org.eclipse.papyrus.properties.providers.EcoreReferenceContentProvider;
+import org.eclipse.papyrus.properties.table.modelelement.PapyrusTableModelElement;
+
+/**
+ *
+ * The content provider for the MetamodelView
+ *
+ */
+public class CustomizationContentProvider extends EcoreReferenceContentProvider {
+
+ /**
+ * the table instance
+ */
+ private final TableInstance2 source;
+
+ /**
+ * the preference
+ */
+ private final int preference;
+
+ /**
+ *
+ * Constructor.
+ *
+ * @param feature
+ * the feature
+ * @param eObject
+ * the eobject
+ * @param pref
+ * the preference : it allows to display to choose how to display the local customization :
+ * <ul>
+ * <li> all customization</li>
+ * <li> one customization</li>
+ * <li> no customization</li>
+ * </ul>
+ */
+ public CustomizationContentProvider(final EStructuralFeature feature, final EObject eObject, final int pref) {
+ super(feature, eObject);
+ preference = pref;
+ Assert.isTrue(eObject instanceof TableInstance2);
+ source = (TableInstance2)eObject;
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.properties.providers.EcoreReferenceContentProvider#getElements()
+ *
+ * @return
+ */
+ @Override
+ public Object[] getElements() {
+ Object[] elements = new Object[0];
+ List<MetamodelView> allCustom = new ArrayList<MetamodelView>();
+ allCustom.addAll(source.getCustomizations());
+ List<MetamodelView> allLocalCustom = new ArrayList<MetamodelView>();
+ allLocalCustom.addAll(source.getLocalCustomizations());
+ switch(preference) {
+ case PapyrusTableModelElement.NO_LOCALS:
+ allCustom.removeAll(allLocalCustom);
+ elements = allCustom.toArray();
+ break;
+ case PapyrusTableModelElement.ONLY_ONE_LOCALS:
+ allLocalCustom.remove(0);
+ allCustom.removeAll(allLocalCustom);
+ elements = allCustom.toArray();
+ break;
+ case PapyrusTableModelElement.ALL_LOCALS:
+ elements = allCustom.toArray();
+ break;
+ default:
+ break;
+ }
+ return elements;
+ }
+
+}
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationLabelProvider.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationLabelProvider.java
new file mode 100644
index 00000000000..fe970fd380a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/CustomizationLabelProvider.java
@@ -0,0 +1,74 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.provider;
+
+import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
+import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance2.TableInstance2;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.papyrus.properties.table.modelelement.PapyrusTableModelElement;
+
+/**
+ *
+ * LabelProvider for the MetamodelView
+ *
+ */
+public class CustomizationLabelProvider extends LabelProvider {
+
+ /** the table instance*/
+ private final TableInstance2 table;
+
+ /** the preference : allows to manage the text displayed to represent the MetamodelView*/
+ private final int preference;
+
+ /**
+ *
+ * Constructor.
+ *
+ * @param table
+ * the table instance
+ * @param pref
+ * the preference
+ */
+ public CustomizationLabelProvider(final TableInstance2 table, final int pref) {
+ preference = pref;
+ this.table = table;
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
+ *
+ * @param element
+ * @return
+ */
+ @Override
+ public String getText(final Object element) {
+ final MetamodelView metamodelView = (MetamodelView) element;
+ if(table.getLocalCustomizations().contains(metamodelView)){
+ switch(preference){
+ case PapyrusTableModelElement.NO_LOCALS :
+ //it is not possible
+ return ""; //$NON-NLS-1$
+ case PapyrusTableModelElement.ONLY_ONE_LOCALS :
+ return "localCustomizations"; //$NON-NLS-1$
+ case PapyrusTableModelElement.ALL_LOCALS :
+ return "localCustomization" + " " + metamodelView.getMetamodelURI(); //$NON-NLS-1$ //$NON-NLS-2$
+ default :
+ return metamodelView.getName();
+ }
+ }else{
+ return metamodelView.getName();
+ }
+ }
+} \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FacetLabelProvider.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FacetLabelProvider.java
new file mode 100644
index 00000000000..d458375464a
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FacetLabelProvider.java
@@ -0,0 +1,40 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.provider;
+
+import org.eclipse.emf.facet.infra.facet.Facet;
+import org.eclipse.jface.viewers.LabelProvider;
+
+/**
+ *
+ * The label provider for the facets
+ *
+ */
+public class FacetLabelProvider extends LabelProvider{
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.LabelProvider#getText(java.lang.Object)
+ *
+ * @param element
+ * @return
+ */
+ @Override
+ public String getText(final Object element) {
+ if(element instanceof Facet){
+ return ((Facet)element).getName();
+ }
+ return super.getText(element);
+ }
+} \ No newline at end of file
diff --git a/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FillingQueriesContentProvider.java b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FillingQueriesContentProvider.java
new file mode 100644
index 00000000000..dd93158fb23
--- /dev/null
+++ b/incoming/trunk/org.eclipse.papyrus.properties.table/src/org/eclipse/papyrus/properties/table/provider/FillingQueriesContentProvider.java
@@ -0,0 +1,164 @@
+/*****************************************************************************
+ * Copyright (c) 2011 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.properties.table.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.facet.infra.query.ModelQuery;
+import org.eclipse.emf.facet.infra.query.ModelQuerySet;
+import org.eclipse.emf.facet.infra.query.core.ModelQuerySetCatalog;
+import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance.TableInstance;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.papyrus.widgets.providers.IHierarchicContentProvider;
+import org.eclipse.papyrus.widgets.providers.IStaticContentProvider;
+
+/**
+ *
+ * Thi content provider for the FillingQueries editor
+ *
+ */
+public class FillingQueriesContentProvider implements IHierarchicContentProvider, IStaticContentProvider{
+
+ private final TableInstance table;
+ public FillingQueriesContentProvider(final TableInstance table) {
+ this.table = table;
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.widgets.providers.IStaticContentProvider#getElements()
+ *
+ * @return
+ */
+ public Object[] getElements() {
+ //we return only the querySet with interesting queries
+ Collection<ModelQuerySet> allQueriesSet = new ArrayList<ModelQuerySet>();
+ Collection<ModelQuerySet> querySetToKeep = new ArrayList<ModelQuerySet>();
+ allQueriesSet.addAll(ModelQuerySetCatalog.getSingleton().getAllModelQuerySets());
+ for(ModelQuerySet current : allQueriesSet){
+ if(getChildren(current).length!=0){
+ querySetToKeep.add(current);
+ }
+ }
+ return querySetToKeep.toArray();
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
+ *
+ * @param inputElement
+ * @return
+ */
+ public Object[] getElements(final Object inputElement) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
+ *
+ * @param parentElement
+ * @return
+ */
+ public Object[] getChildren(final Object parentElement) {
+ if(parentElement instanceof ModelQuerySet){
+ List<ModelQuery> queries = new ArrayList<ModelQuery>();
+ queries.addAll(((ModelQuerySet)parentElement).getQueries());
+ List<ModelQuery> queriesToKeep = new ArrayList<ModelQuery>();
+ EObject context = this.table.getContext();
+ EClass eClassContext = context.eClass();
+ for(ModelQuery current : queries){
+ //TODO we should test the return type, no?
+ EList<EClass> scope = current.getScope();
+ for(EClass currentEClass : scope){
+ if(currentEClass.isSuperTypeOf(eClassContext) || eClassContext.isInstance(current)){
+
+ queriesToKeep.add(current);
+ }else{
+ queriesToKeep.add(current);
+ //nothing to do
+ }
+
+ }
+ }
+ return queries.toArray();
+ }
+ return new Object[0];
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
+ *
+ * @param element
+ * @return
+ */
+ public Object getParent(final Object element) {
+ return null;
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
+ *
+ * @param element
+ * @return
+ */
+ public boolean hasChildren(final Object element) {
+ return getChildren(element).length!=0;
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.IContentProvider#dispose()
+ *
+ */
+ public void dispose() {
+ //nothing to do
+ }
+
+ /**
+ *
+ * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
+ *
+ * @param viewer
+ * @param oldInput
+ * @param newInput
+ */
+ public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) {
+ //nothing to do
+ }
+
+ /**
+ *
+ * @see org.eclipse.papyrus.widgets.providers.IHierarchicContentProvider#isValidValue(java.lang.Object)
+ *
+ * @param element
+ * @return
+ */
+ public boolean isValidValue(final Object element) {
+ if(element instanceof ModelQuery){
+ return true;
+ }
+ return false;
+ }
+
+}

Back to the top