Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMélanie Bats2016-04-25 07:54:38 +0000
committerPierre-Charles David2016-06-27 14:23:46 +0000
commit72403dc3e4e12b73d5ae12043128fb9ba07ea6f1 (patch)
tree014ced3d302833bf0b16faf94c50e039f269011f /plugins/org.eclipse.sirius.tests.rcptt.properties.samples
parent818037cab466c47e60983061d80246a224d862c0 (diff)
downloadorg.eclipse.sirius-72403dc3e4e12b73d5ae12043128fb9ba07ea6f1.tar.gz
org.eclipse.sirius-72403dc3e4e12b73d5ae12043128fb9ba07ea6f1.tar.xz
org.eclipse.sirius-72403dc3e4e12b73d5ae12043128fb9ba07ea6f1.zip
[495993] Add RCPTT tests on properties view
Contribute: * org.eclipse.sirius.tests.rcptt.properties{.edit,.editor}: a very basic metamodel which serves as a target semantic model for properties view tests. * org.eclipse.sirius.tests.rcptt.properties.samples: an example wizard which can be used to import both an instance model of the metamodel above, and the definitions of several modelers (and properties views) which target it; * org.eclipse.sirius.tests.rcptt.feature: a new feature which contains all of the above. Designed to be installed in test environments. * org.eclipse.sirius.tests.product: a product definition which contains Sirius, its support for properties views, and the feature above. Designed to be used as a SUT for RCPTT. * org.eclipse.sirius.tests.rcptt: actual RCPTT tests/suites which target the SUT from above. Bug: 495993 Change-Id: I5a0403c27ef66255a81c3eb994a4cc468f2ddd36 Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr> Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Diffstat (limited to 'plugins/org.eclipse.sirius.tests.rcptt.properties.samples')
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/META-INF/MANIFEST.MF11
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/build.properties17
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign100
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/button/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/description/PropertiesTests.odesign81
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/checkbox/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/description/PropertiesTests.odesign342
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/group/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/description/PropertiesTests.odesign103
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/hyperlink/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/description/PropertiesTests.odesign95
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/label/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/description/PropertiesTests.odesign109
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/radio/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/description/PropertiesTests.odesign154
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/reference/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/description/PropertiesTests.odesign32
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/screenshot/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/description/PropertiesTests.odesign105
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/select/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign167
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/text/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.classpath7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.project28
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/META-INF/MANIFEST.MF13
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/build.properties6
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign17
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/plugin.xml10
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/Activator.java76
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/.project12
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/PropertiesTestsInstance.propertiestests21
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/representations.aird138
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.properties12
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.xml39
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/pom.xml27
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/src/org/eclipse/sirius/tests/properties/samples/PropertiesTestsExampleWizard.java57
100 files changed, 3298 insertions, 0 deletions
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.project
new file mode 100644
index 0000000000..c681eb4a5a
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.samples</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..fe746f6917
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/META-INF/MANIFEST.MF
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.properties.samples;singleton:=true
+Bundle-Version: 4.1.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+Require-Bundle: org.eclipse.emf.common.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui.ide
+Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/build.properties
new file mode 100644
index 0000000000..03fc825f1a
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/build.properties
@@ -0,0 +1,17 @@
+# ====================================================================
+# Copyright (c) 2016 Obeo
+# 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:
+# Obeo - initial API and implementation
+# ====================================================================
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ contents/,\
+ plugin.properties
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.project
new file mode 100644
index 0000000000..f7e0969658
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.button</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..b0bb9d1a50
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.button.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..cfaad40330
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsButton"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Button"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Button"
+ labelExpression="Button"
+ domainClass="">
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="ButtonClicked"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="ALongLongLongLabel"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="ALongLongLongLabel"/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="No Label"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression=""/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Style Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Conditional Style Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Disable Button"
+ helpExpression=""
+ isEnabledExpression="aql:false"
+ buttonLabelExpression="Label"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/plugin.xml
new file mode 100644
index 0000000000..36b8ef5d8e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.button.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/button/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/button/Activator.java
new file mode 100644
index 0000000000..ef03f6df3b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/button/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.button;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.button";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.project
new file mode 100644
index 0000000000..cbc0db9524
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.checkbox</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..c970572dce
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.checkbox.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..268a006631
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/description/PropertiesTests.odesign
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsCheckbox"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Checkbox"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Checkbox"
+ labelExpression="Checkbox"
+ domainClass="">
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression="aql:self.booleanAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="booleanAttribute"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Style Checkbox"
+ valueExpression="aql:self.booleanAttribute">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Conditional Style Checkbox"
+ valueExpression="aql:self.booleanAttribute">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Disable Checkbox"
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.booleanAttribute"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/plugin.xml
new file mode 100644
index 0000000000..dfc5742f5f
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.checkbox.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/checkbox/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/checkbox/Activator.java
new file mode 100644
index 0000000000..b38ff193d7
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.checkbox/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/checkbox/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.checkbox;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.checkbox";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.project
new file mode 100644
index 0000000000..b0f36dce87
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.group</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..12135b4834
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.group.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..c12308eda5
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/description/PropertiesTests.odesign
@@ -0,0 +1,342 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsGroup"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Group"
+ groups="//@extensions.0/@groups.0 //@extensions.0/@groups.2 //@extensions.0/@groups.3 //@extensions.0/@groups.4 //@extensions.0/@groups.5 //@extensions.0/@groups.6 //@extensions.0/@groups.1 //@extensions.0/@groups.7"/>
+ <groups
+ identifier="Group"
+ labelExpression="Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ helpExpression=""
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ </groups>
+ <groups
+ identifier="Style Group"
+ labelExpression="Style Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression="Times new roman"
+ fontSize="12"
+ expandedByDefault="true">
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ </style>
+ </groups>
+ <groups
+ identifier="Short title Group"
+ labelExpression="Short title Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression=""
+ barStyle="SHORT_TITLE_BAR"
+ expandedByDefault="true"/>
+ </groups>
+ <groups
+ identifier="No title Group"
+ labelExpression="No title Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression=""
+ barStyle="NO_TITLE"
+ expandedByDefault="true"/>
+ </groups>
+ <groups
+ identifier="Tree node Group"
+ labelExpression="Tree node Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression=""
+ toggleStyle="TREE_NODE"
+ expandedByDefault="true"/>
+ </groups>
+ <groups
+ identifier="None toggle Group"
+ labelExpression="None toggle Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression=""
+ toggleStyle="NONE"
+ expandedByDefault="true"/>
+ </groups>
+ <groups
+ identifier="Collapse Group"
+ labelExpression="Collapse Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <style
+ fontNameExpression=""/>
+ </groups>
+ <groups
+ identifier="Conditional Style Group"
+ labelExpression="Conditional Style Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier="Text"
+ labelExpression="Text"
+ helpExpression="Help"
+ isEnabledExpression="aql:true"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Text area"
+ valueExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ bodyExpression="Lorem ipsum dolor sit amet."/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ buttonLabelExpression="Button"/>
+ <controls
+ xsi:type="properties:CheckboxDescription"
+ labelExpression="Checkbox"
+ valueExpression=""/>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ valueExpression="a"
+ candidatesExpression="aql:Sequence{'a','b','c'}"
+ candidateDisplayExpression="aql:candidate"/>
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ fontNameExpression="Times new roman"
+ fontSize="12"
+ expandedByDefault="true">
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ </style>
+ </conditionalStyles>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/plugin.xml
new file mode 100644
index 0000000000..64acb1a7b4
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.group.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/group/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/group/Activator.java
new file mode 100644
index 0000000000..4c1dd21b26
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.group/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/group/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.group;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.group";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.project
new file mode 100644
index 0000000000..eb2c5cb38e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.hyperlink</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..7e4dfa6aa5
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.hyperlink.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..ec7d1e17b5
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/description/PropertiesTests.odesign
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsHyperlink"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Hyperlink"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Hyperlink"
+ labelExpression="Hyperlink"
+ domainClass="">
+ <controls
+ xsi:type="properties:HyperlinkDescription"
+ labelExpression="Hyperlink"
+ helpExpression=""
+ valueExpression="aql:self.stringAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="NewValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:HyperlinkDescription"
+ labelExpression="Style Hyperlink"
+ helpExpression=""
+ valueExpression="aql:self.stringAttribute">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:HyperlinkDescription"
+ labelExpression="Conditional Style Hyperlink"
+ helpExpression=""
+ valueExpression="aql:self.stringAttribute">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:HyperlinkDescription"
+ labelExpression="Disable Hyperlink"
+ helpExpression=""
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.stringAttribute"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/plugin.xml
new file mode 100644
index 0000000000..ad04e0c6ad
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.hyperlink.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/hyperlink/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/hyperlink/Activator.java
new file mode 100644
index 0000000000..8f89746512
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.hyperlink/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/hyperlink/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.hyperlink;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.hyperlink";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.project
new file mode 100644
index 0000000000..ebfc0963cc
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.label</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..6886b404ca
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.label.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..25360305b7
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/description/PropertiesTests.odesign
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsLabel"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Label"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Label"
+ labelExpression="Label"
+ domainClass="">
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Label"
+ helpExpression=""
+ bodyExpression="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu venenatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a purus."/>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Style Label"
+ helpExpression=""
+ bodyExpression="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu venenatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a purus.">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:LabelDescription"
+ labelExpression="Conditional Style Label"
+ helpExpression=""
+ bodyExpression="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam egestas ac dui eu venenatis. Etiam porta, ligula ut sollicitudin porta, elit tortor laoreet velit, sit amet iaculis risus velit a purus.">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/plugin.xml
new file mode 100644
index 0000000000..2f88556e0e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.label.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/label/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/label/Activator.java
new file mode 100644
index 0000000000..76036db852
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.label/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/label/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.label;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.label";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.project
new file mode 100644
index 0000000000..989255ab01
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.radio</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..c1e8aedfb7
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.radio.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..3208a617f6
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/description/PropertiesTests.odesign
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsRadio">
+ <ownedRepresentations
+ xsi:type="description_1:DiagramDescription"
+ enablePopupBars="true">
+ <defaultLayer
+ name="Default"/>
+ </ownedRepresentations>
+ </ownedViewpoints>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription"
+ identifier=""
+ metamodel="http://www.eclipse.org/sirius/tests/properties/1.0.0#/">
+ <pages labelExpression="Radio"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Radio"
+ labelExpression="Radio"
+ domainClass="">
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Radio"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.enumAttribute"
+ candidatesExpression="aql:propertiestests::TestEnum.eLiterals"
+ candidateDisplayExpression="aql:candidate.name">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="enumAttribute"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Style Radio"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.enumAttribute"
+ candidatesExpression="aql:propertiestests::TestEnum.eLiterals"
+ candidateDisplayExpression="aql:candidate.name">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Conditional Style Radio"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.enumAttribute"
+ candidatesExpression="aql:propertiestests::TestEnum.eLiterals"
+ candidateDisplayExpression="aql:candidate.name">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:RadioDescription"
+ identifier=""
+ labelExpression="Disable Radio"
+ helpExpression=""
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.enumAttribute"
+ candidatesExpression="aql:propertiestests::TestEnum.eLiterals"
+ candidateDisplayExpression="aql:candidate.name"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/plugin.xml
new file mode 100644
index 0000000000..657b0aba5e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.radio.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/radio/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/radio/Activator.java
new file mode 100644
index 0000000000..21f99db25f
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.radio/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/radio/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.radio;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.radio";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.project
new file mode 100644
index 0000000000..905b048d81
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.reference</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..a447e7921d
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.reference.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..80eafdb2b7
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/description/PropertiesTests.odesign
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsReference"
+ label=""
+ icon=""/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Reference"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Reference"
+ labelExpression="Reference"
+ domainClass="">
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Mono containment ref"
+ helpExpression=""
+ valueExpression="aql:self.containmentReference"
+ displayExpression="aql:self.stringAttribute">
+ <actions
+ labelExpression="Action1">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action1"/>
+ </initialOperation>
+ </actions>
+ <actions
+ labelExpression="Action2">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action2"/>
+ </initialOperation>
+ </actions>
+ <actions
+ labelExpression="">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="NoLabelAction"/>
+ </initialOperation>
+ </actions>
+ </controls>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Mono containment ref"
+ helpExpression=""
+ valueExpression="aql:self.containmentReference"
+ displayExpression="aql:self.stringAttribute">
+ <onClickOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="ClickedOnHyperlink"/>
+ </onClickOperation>
+ </controls>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Mono ref"
+ helpExpression=""
+ valueExpression="aql:self.reference"
+ displayExpression="aql:self.stringAttribute">
+ <actions
+ labelExpression="Action1">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action1"/>
+ </initialOperation>
+ </actions>
+ <actions
+ labelExpression="Action2">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action2"/>
+ </initialOperation>
+ </actions>
+ </controls>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Multi containment ref"
+ helpExpression=""
+ multiple="true"
+ valueExpression="aql:self.containmentReferences"
+ displayExpression="aql:self.stringAttribute">
+ <actions
+ labelExpression="Action1">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action1"/>
+ </initialOperation>
+ </actions>
+ <actions
+ labelExpression="Action2">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action2"/>
+ </initialOperation>
+ </actions>
+ </controls>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Mono without action"
+ helpExpression=""
+ valueExpression="aql:self.containmentReference"
+ displayExpression="aql:self.stringAttribute"/>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Multi without action"
+ helpExpression=""
+ multiple="true"
+ valueExpression="aql:self.containmentReferences"
+ displayExpression="aql:self.stringAttribute"/>
+ <controls
+ xsi:type="properties:ReferenceDescription"
+ labelExpression="Multi containment ref"
+ helpExpression=""
+ multiple="true"
+ valueExpression="aql:self.containmentReferences"
+ displayExpression="aql:self.stringAttribute">
+ <actions
+ labelExpression="Action1">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="Action1"/>
+ </initialOperation>
+ </actions>
+ </controls>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/plugin.xml
new file mode 100644
index 0000000000..1e330a76c9
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.reference.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/reference/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/reference/Activator.java
new file mode 100644
index 0000000000..ffdab4d306
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.reference/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/reference/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.reference;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.reference";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.project
new file mode 100644
index 0000000000..d7802008af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.screenshot</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..ecc5504cf3
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.screenshot.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..98c4d97bd2
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/description/PropertiesTests.odesign
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsScreenshot"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages labelExpression="Page"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ labelExpression="Group"
+ domainClass="">
+ <controls
+ xsi:type="properties:ContainerDescription">
+ <controls
+ xsi:type="properties:TextDescription"
+ labelExpression="Text"
+ helpExpression="Help"
+ valueExpression="aql:self.stringAttribute"/>
+ <layout
+ xsi:type="properties:FillLayoutDescription"
+ orientation="HORIZONTAL"/>
+ </controls>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/plugin.xml
new file mode 100644
index 0000000000..f0b6b908ef
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.screenshot.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/screenshot/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/screenshot/Activator.java
new file mode 100644
index 0000000000..9adbaaa867
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.screenshot/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/screenshot/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.screenshot;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.screenshot";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.project
new file mode 100644
index 0000000000..7583e7730e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.select</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..e68fdd807a
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.select.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..6ee8ab18bd
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/description/PropertiesTests.odesign
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsSelect">
+ <ownedRepresentations
+ xsi:type="description_1:DiagramDescription"
+ enablePopupBars="true">
+ <defaultLayer
+ name="Default"/>
+ </ownedRepresentations>
+ </ownedViewpoints>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription"
+ identifier=""
+ metamodel="http://www.eclipse.org/sirius/tests/properties/1.0.0#/">
+ <pages labelExpression="Select"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Select"
+ labelExpression="Select"
+ domainClass="">
+ <controls
+ xsi:type="properties:SelectDescription"
+ labelExpression="Select"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.reference"
+ candidatesExpression="aql:self.eResource().getContents().eAllContents()"
+ candidateDisplayExpression="aql:candidate.stringAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="reference"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:SelectDescription"
+ labelExpression="Style Select"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.reference"
+ candidatesExpression="aql:self.eResource().getContents().eAllContents()"
+ candidateDisplayExpression="aql:candidate.stringAttribute">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:SelectDescription"
+ labelExpression="Conditional Style Select"
+ helpExpression=""
+ isEnabledExpression="aql:true"
+ valueExpression="aql:self.reference"
+ candidatesExpression="aql:self.eResource().getContents().eAllContents()"
+ candidateDisplayExpression="aql:candidate.stringAttribute">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:SelectDescription"
+ labelExpression="Disable Select"
+ helpExpression=""
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.reference"
+ candidatesExpression="aql:self.eResource().getContents().eAllContents()"
+ candidateDisplayExpression="aql:candidate.stringAttribute"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/plugin.xml
new file mode 100644
index 0000000000..4cfdaac9c1
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.select.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/select/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/select/Activator.java
new file mode 100644
index 0000000000..2a7a4b5e14
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.select/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/select/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.select;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.select";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.project
new file mode 100644
index 0000000000..64af1dda9a
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design.text</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..b70b60cc69
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.sample.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.text.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..5a23ab165a
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsText"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Text"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Text"
+ labelExpression="Text"
+ domainClass="">
+ <controls
+ xsi:type="properties:TextDescription"
+ labelExpression="Text"
+ valueExpression="aql:self.stringAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:TextDescription"
+ identifier=""
+ labelExpression="Style Text"
+ valueExpression="aql:self.stringAttribute">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:TextDescription"
+ labelExpression="Conditional Style Text"
+ valueExpression="aql:self.stringAttribute">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:TextDescription"
+ labelExpression="Disable Text"
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.stringAttribute"/>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ identifier=""
+ labelExpression="Text area"
+ valueExpression="aql:self.stringAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ identifier=""
+ labelExpression="Style Text area"
+ valueExpression="aql:self.stringAttribute">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12"
+ fontNameExpression="Times new roman"
+ fontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ <backgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <foregroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <fontFormat>italic</fontFormat>
+ <fontFormat>bold</fontFormat>
+ <fontFormat>underline</fontFormat>
+ <fontFormat>strike_through</fontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ labelExpression="Conditional Style Text area"
+ valueExpression="aql:self.stringAttribute">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="aql:newValue"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:TextAreaDescription"
+ identifier=""
+ labelExpression="Disable Text area"
+ isEnabledExpression="aql:false"
+ valueExpression="aql:self.stringAttribute"/>
+ </groups>
+ </extensions>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/plugin.xml
new file mode 100644
index 0000000000..7c028595c2
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.text.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/text/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/text/Activator.java
new file mode 100644
index 0000000000..abcddfb73f
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/text/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design.text;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design.text";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.classpath b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.classpath
new file mode 100644
index 0000000000..098194ca4b
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.project
new file mode 100644
index 0000000000..93c3fc401c
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.design</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/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f42de363af
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/META-INF/MANIFEST.MF b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..1d2078d60f
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/META-INF/MANIFEST.MF
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.sirius.tests.rcptt.sample.properties.design
+Bundle-SymbolicName: org.eclipse.sirius.tests.rcptt.properties.design;singleton:=true
+Bundle-Version: 4.1.0
+Bundle-Activator: org.eclipse.sirius.tests.rcptt.sample.properties.design.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.sirius,
+ org.eclipse.sirius.common.acceleo.aql
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/build.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/build.properties
new file mode 100644
index 0000000000..c94531ff9e
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/build.properties
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ description/,\
+ plugin.xml
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..7794841f87
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" name="PropertiesTests" version="11.0.0.201601261200">
+ <ownedViewpoints name="PropertiesTests">
+ <ownedRepresentations xsi:type="description_1:DiagramDescription" name="Diagram" domainClass="propertiestests.TestRoot" enablePopupBars="true">
+ <metamodel href="http://www.eclipse.org/sirius/tests/properties/1.0.0#/"/>
+ <defaultLayer name="Default">
+ <nodeMappings name="TestElement" domainClass="propertiestests.TestElement">
+ <style xsi:type="style:SquareDescription" labelExpression="feature:stringAttribute" sizeComputationExpression="10" labelPosition="node" resizeKind="NSEW">
+ <borderColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
+ <labelColor xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='black']"/>
+ <color xsi:type="description:SystemColor" href="environment:/viewpoint#//@systemColors/@entries[name='gray']"/>
+ </style>
+ </nodeMappings>
+ </defaultLayer>
+ </ownedRepresentations>
+ </ownedViewpoints>
+</description:Group>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/plugin.xml
new file mode 100644
index 0000000000..06afe448fe
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/plugin.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+ <extension point="org.eclipse.sirius.componentization">
+ <component class="org.eclipse.sirius.tests.rcptt.sample.properties.design.Activator"
+ id="org.eclipse.sirius.tests.rcptt.sample.properties.design"
+ name="PropertiesTests">
+ </component>
+ </extension>
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/Activator.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/Activator.java
new file mode 100644
index 0000000000..3dfd58e438
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/src/org/eclipse/sirius/tests/rcptt/sample/properties/design/Activator.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.sirius.tests.rcptt.sample.properties.design;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.sirius.business.api.componentization.ViewpointRegistry;
+import org.eclipse.sirius.viewpoint.description.Viewpoint;
+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.sirius.tests.rcptt.sample.properties.design";
+
+ // The shared instance
+ private static Activator plugin;
+
+ private static Set<Viewpoint> viewpoints;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
+ * BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ viewpoints = new HashSet<Viewpoint>();
+ viewpoints.addAll(ViewpointRegistry.getInstance().registerFromPlugin(PLUGIN_ID + "/description/PropertiesTests.odesign"));
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
+ * BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ if (viewpoints != null) {
+ for (final Viewpoint viewpoint : viewpoints) {
+ ViewpointRegistry.getInstance().disposeFromPlugin(viewpoint);
+ }
+ viewpoints.clear();
+ viewpoints = null;
+ }
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+}
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/.project b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/.project
new file mode 100644
index 0000000000..c55595b616
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/.project
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.sirius.tests.rcptt.properties.instance</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.sirius.nature.modelingproject</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/PropertiesTestsInstance.propertiestests b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/PropertiesTestsInstance.propertiestests
new file mode 100644
index 0000000000..fe133624b1
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/PropertiesTestsInstance.propertiestests
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<propertiestests:TestRoot xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:propertiestests="http://www.eclipse.org/sirius/tests/properties/1.0.0">
+ <elements stringAttribute="Element1" reference="//@elements.1" references="//@elements.1 //@elements.2">
+ <stringAttributes>Attribute1</stringAttributes>
+ <stringAttributes>Attribute2</stringAttributes>
+ <stringAttributes>Attribute3</stringAttributes>
+ <intAttributes>1</intAttributes>
+ <intAttributes>2</intAttributes>
+ <intAttributes>3</intAttributes>
+ <booleanAttributes>true</booleanAttributes>
+ <booleanAttributes>false</booleanAttributes>
+ <enumAttributes>Literal1</enumAttributes>
+ <enumAttributes>Literal2</enumAttributes>
+ <enumAttributes>Literal3</enumAttributes>
+ <containmentReference stringAttribute="Element11"/>
+ <containmentReferences stringAttribute="Element12"/>
+ <containmentReferences stringAttribute="Element13"/>
+ </elements>
+ <elements stringAttribute="Element2"/>
+ <elements stringAttribute="Element3"/>
+</propertiestests:TestRoot>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/representations.aird b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/representations.aird
new file mode 100644
index 0000000000..0de0a56ce0
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/representations.aird
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<viewpoint:DAnalysis xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:propertiestests="http://www.eclipse.org/sirius/tests/properties/1.0.0" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style" xmi:id="_n4UK4AhuEea_TaWxXuy80g" selectedViews="_VkPb8AiBEeaRvL3xkYbMuw" version="11.0.0.201604141600">
+ <semanticResources>PropertiesTestsInstance.propertiestests</semanticResources>
+ <ownedViews xmi:type="viewpoint:DView" xmi:id="_VjvFoAiBEeaRvL3xkYbMuw">
+ <viewpoint xmi:type="description:Viewpoint" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design.text/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTestsText']"/>
+ </ownedViews>
+ <ownedViews xmi:type="viewpoint:DView" xmi:id="_VkPb8AiBEeaRvL3xkYbMuw">
+ <viewpoint xmi:type="description:Viewpoint" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']"/>
+ <ownedRepresentations xmi:type="diagram:DSemanticDiagram" xmi:id="_dK6SYAiBEeaRvL3xkYbMuw" name="RootDiagram">
+ <ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_dK6SYQiBEeaRvL3xkYbMuw" source="DANNOTATION_CUSTOMIZATION_KEY">
+ <data xmi:type="diagram:ComputedStyleDescriptionRegistry" xmi:id="_dK6SYgiBEeaRvL3xkYbMuw"/>
+ </ownedAnnotationEntries>
+ <ownedAnnotationEntries xmi:type="description:AnnotationEntry" xmi:id="_dLHtwAiBEeaRvL3xkYbMuw" source="GMF_DIAGRAMS">
+ <data xmi:type="notation:Diagram" xmi:id="_dLHtwQiBEeaRvL3xkYbMuw" type="Sirius" element="_dK6SYAiBEeaRvL3xkYbMuw" measurementUnit="Pixel">
+ <children xmi:type="notation:Node" xmi:id="_lUgYQAiYEeaQ8eZ7XL4hjg" type="2001" element="_lUWnQAiYEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_lUntAAiYEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_lUntAQiYEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_lUqwUAiYEeaQ8eZ7XL4hjg" type="3003" element="_lUX1YAiYEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_lUqwUQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lUqwUgiYEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_lUgYQQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lUgYQgiYEeaQ8eZ7XL4hjg" width="100" height="100"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_lUo7IAiYEeaQ8eZ7XL4hjg" type="2001" element="_lUZDgAiYEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_lUpiMAiYEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_lUpiMQiYEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_lUrXYAiYEeaQ8eZ7XL4hjg" type="3003" element="_lUZqkAiYEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_lUrXYQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lUrXYgiYEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_lUo7IQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lUo7IgiYEeaQ8eZ7XL4hjg" x="160" width="100" height="100"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_wbhwAAiYEeaQ8eZ7XL4hjg" type="2001" element="_wbfTwAiYEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_wbiXEAiYEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_wbiXEQiYEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_wbi-IAiYEeaQ8eZ7XL4hjg" type="3003" element="_wbf60AiYEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_wbi-IQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wbi-IgiYEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_wbhwAQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_wbhwAgiYEeaQ8eZ7XL4hjg" x="290" width="100" height="100"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_-GQaoAiYEeaQ8eZ7XL4hjg" type="2001" element="_-GMwQAiYEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_-GRBsAiYEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_-GRBsQiYEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_-GRowgiYEeaQ8eZ7XL4hjg" type="3003" element="_-GNXUAiYEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_-GRowwiYEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-GRoxAiYEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_-GQaoQiYEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-GQaogiYEeaQ8eZ7XL4hjg" x="420" width="100" height="100"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_-GRBsgiYEeaQ8eZ7XL4hjg" type="2001" element="_-GNXUQiYEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_-GRowAiYEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_-GRowQiYEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_-GSP0AiYEeaQ8eZ7XL4hjg" type="3003" element="_-GN-YAiYEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_-GSP0QiYEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-GSP0giYEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_-GRBswiYEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-GRBtAiYEeaQ8eZ7XL4hjg" x="580" width="100" height="100"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_AwcI8AiZEeaQ8eZ7XL4hjg" type="2001" element="_AwZFoAiZEeaQ8eZ7XL4hjg">
+ <children xmi:type="notation:Node" xmi:id="_AwcI8wiZEeaQ8eZ7XL4hjg" type="5002">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_AwcI9AiZEeaQ8eZ7XL4hjg" y="5"/>
+ </children>
+ <children xmi:type="notation:Node" xmi:id="_AwcwAAiZEeaQ8eZ7XL4hjg" type="3003" element="_AwZFoQiZEeaQ8eZ7XL4hjg">
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_AwcwAQiZEeaQ8eZ7XL4hjg" fontName="Droid Sans"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AwcwAgiZEeaQ8eZ7XL4hjg"/>
+ </children>
+ <styles xmi:type="notation:ShapeStyle" xmi:id="_AwcI8QiZEeaQ8eZ7XL4hjg" fontName="Droid Sans" fontHeight="8"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_AwcI8giZEeaQ8eZ7XL4hjg" x="710" width="100" height="100"/>
+ </children>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_dLHtwgiBEeaRvL3xkYbMuw"/>
+ </data>
+ </ownedAnnotationEntries>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_lUWnQAiYEeaQ8eZ7XL4hjg" name="Element1" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_lUX1YAiYEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_-GMwQAiYEeaQ8eZ7XL4hjg" name="Element11" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReference"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReference"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_-GNXUAiYEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_-GNXUQiYEeaQ8eZ7XL4hjg" name="Element12" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReferences.0"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReferences.0"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_-GN-YAiYEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_AwZFoAiZEeaQ8eZ7XL4hjg" name="Element13" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReferences.1"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.0/@containmentReferences.1"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_AwZFoQiZEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_lUZDgAiYEeaQ8eZ7XL4hjg" name="Element2" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.1"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.1"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_lUZqkAiYEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <ownedDiagramElements xmi:type="diagram:DNode" xmi:id="_wbfTwAiYEeaQ8eZ7XL4hjg" name="Element3" width="10" height="10" resizeKind="NSEW">
+ <target xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.2"/>
+ <semanticElements xmi:type="propertiestests:TestElement" href="PropertiesTestsInstance.propertiestests#//@elements.2"/>
+ <ownedStyle xmi:type="diagram:Square" xmi:id="_wbf60AiYEeaQ8eZ7XL4hjg" labelPosition="node">
+ <description xmi:type="style:SquareDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']/@style"/>
+ </ownedStyle>
+ <actualMapping xmi:type="description_1:NodeMapping" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer/@nodeMappings[name='TestElement']"/>
+ </ownedDiagramElements>
+ <description xmi:type="description_1:DiagramDescription" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']"/>
+ <filterVariableHistory xmi:type="diagram:FilterVariableHistory" xmi:id="_dK6SZQiBEeaRvL3xkYbMuw"/>
+ <activatedLayers xmi:type="description_1:Layer" href="platform:/resource/org.eclipse.sirius.tests.rcptt.properties.design/description/PropertiesTests.odesign#//@ownedViewpoints[name='PropertiesTests']/@ownedRepresentations[name='Diagram']/@defaultLayer"/>
+ <target xmi:type="propertiestests:TestRoot" href="PropertiesTestsInstance.propertiestests#/"/>
+ </ownedRepresentations>
+ </ownedViews>
+</viewpoint:DAnalysis>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.properties b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.properties
new file mode 100644
index 0000000000..95da2aae5d
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.properties
@@ -0,0 +1,12 @@
+# ====================================================================
+# Copyright (c) 2016 Obeo
+# 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:
+# Obeo - initial API and implementation
+# ====================================================================
+pluginName = Sirius RCPTT Tests Samples
+providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.xml
new file mode 100644
index 0000000000..fc04647043
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/plugin.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.emf.common.ui.examples">
+ <example
+ wizardID="org.eclipse.sirius.tests.properties.samples.wizard">
+ <projectDescriptor
+ contentURI="contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design/"
+ name="org.eclipse.sirius.tests.rcptt.properties.design">
+ </projectDescriptor>
+ <projectDescriptor
+ contentURI="contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.text/"
+ name="org.eclipse.sirius.tests.rcptt.properties.design.text">
+ </projectDescriptor>
+ <projectDescriptor
+ contentURI="contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.instance/"
+ name="org.eclipse.sirius.tests.rcptt.properties.instance">
+ </projectDescriptor>
+ </example>
+ </extension>
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <wizard
+ category="org.eclipse.ui.Examples/org.eclipse.sirius.tests.properties.samples.category"
+ class="org.eclipse.sirius.tests.properties.samples.PropertiesTestsExampleWizard"
+ finalPerspective="org.eclipse.sirius.ui.tools.perspective.modeling"
+ id="org.eclipse.sirius.tests.properties.samples.wizard"
+ name="Sirius Properties Tests Wizard"
+ project="true">
+ </wizard>
+ <category
+ id="org.eclipse.sirius.tests.properties.samples.category"
+ name="Sirius Tests"
+ parentCategory="org.eclipse.ui.Examples">
+ </category>
+ </extension>
+
+</plugin>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/pom.xml b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/pom.xml
new file mode 100644
index 0000000000..db9382d562
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/pom.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2016 Obeo
+ 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:
+ Obeo - Initial API and implementation
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.sirius</groupId>
+ <artifactId>sirius-parent</artifactId>
+ <version>4.1.0-SNAPSHOT</version>
+ <relativePath>../../packaging/org.eclipse.sirius.parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.sirius.tests.rcptt.properties.samples</artifactId>
+ <packaging>eclipse-plugin</packaging>
+ <version>4.1.0-SNAPSHOT</version>
+
+</project>
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/src/org/eclipse/sirius/tests/properties/samples/PropertiesTestsExampleWizard.java b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/src/org/eclipse/sirius/tests/properties/samples/PropertiesTestsExampleWizard.java
new file mode 100644
index 0000000000..7a54ffffb6
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/src/org/eclipse/sirius/tests/properties/samples/PropertiesTestsExampleWizard.java
@@ -0,0 +1,57 @@
+package org.eclipse.sirius.tests.properties.samples;
+
+import java.lang.reflect.InvocationTargetException;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard;
+import org.eclipse.jface.dialogs.ErrorDialog;
+import org.eclipse.jface.operation.IRunnableWithProgress;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.WorkbenchException;
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.wizards.newresource.BasicNewResourceWizard;
+
+public class PropertiesTestsExampleWizard extends ExampleInstallerWizard {
+ @Override
+ /**
+ * Import selected example and switch to modeling perspective. {@inheritDoc}
+ */
+ public boolean performFinish() {
+
+ super.performFinish();
+
+ final IRunnableWithProgress op = new WorkspaceModifyOperation(null) {
+ @Override
+ protected void execute(IProgressMonitor monitor) throws CoreException, InterruptedException {
+
+ // Switch to the modeling perspective
+ try {
+ PlatformUI.getWorkbench().showPerspective("org.eclipse.sirius.ui.tools.perspective.modeling", //$NON-NLS-1$
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow());
+ } catch (final WorkbenchException e) {
+ ErrorDialog.openError(getContainer().getShell(), "Error while opening example", null, e.getStatus());
+ }
+ }
+ };
+ try {
+ getContainer().run(false, true, op);
+ } catch (final InvocationTargetException e) {
+ if (e.getTargetException() instanceof CoreException) {
+ ErrorDialog.openError(getContainer().getShell(), "Error while opening example", null, ((CoreException) e.getTargetException()).getStatus());
+ }
+ } catch (final InterruptedException e) {
+ return false;
+ }
+
+ // Select it in the explorer
+ for (final ProjectDescriptor projectDescriptor : getProjectDescriptors()) {
+ final IProject project = projectDescriptor.getProject();
+ BasicNewResourceWizard.selectAndReveal(project, PlatformUI.getWorkbench().getActiveWorkbenchWindow());
+ }
+
+ return true;
+ }
+
+}

Back to the top