Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschnekenbu2011-04-29 09:20:37 +0000
committerrschnekenbu2011-04-29 09:20:37 +0000
commit07e16ffb2532603af86b60cdaeb8563eb65bfdc1 (patch)
tree0ad109ae374cd3f21828fbd70830efca3159c306 /tests/debug
parentf25138df22f2fa00ce48303b51f5234619b5196e (diff)
downloadorg.eclipse.papyrus-07e16ffb2532603af86b60cdaeb8563eb65bfdc1.tar.gz
org.eclipse.papyrus-07e16ffb2532603af86b60cdaeb8563eb65bfdc1.tar.xz
org.eclipse.papyrus-07e16ffb2532603af86b60cdaeb8563eb65bfdc1.zip
Move the plugin from incoming folder to its final destination folder
Diffstat (limited to 'tests/debug')
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath7
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project28
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF23
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html28
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties15
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gifbin0 -> 597 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gifbin0 -> 223 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gifbin0 -> 101 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gifbin0 -> 194 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gifbin0 -> 349 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gifbin0 -> 223 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gifbin0 -> 223 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gifbin0 -> 194 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gifbin0 -> 223 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gifbin0 -> 597 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gifbin0 -> 101 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gifbin0 -> 194 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gifbin0 -> 349 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gifbin0 -> 216 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gifbin0 -> 129 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gifbin0 -> 597 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gifbin0 -> 597 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gifbin0 -> 633 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gifbin0 -> 124 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gifbin0 -> 101 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gifbin0 -> 194 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gifbin0 -> 216 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gifbin0 -> 633 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gifbin0 -> 101 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gifbin0 -> 194 bytes
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties52
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml25
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java103
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java239
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java170
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java185
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java185
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java103
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java105
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java160
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java347
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java114
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java165
-rw-r--r--tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java211
44 files changed, 2265 insertions, 0 deletions
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath
new file mode 100644
index 00000000000..cedf0d0d0b5
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project
new file mode 100644
index 00000000000..d782348efac
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.paletteconfiguration.edit</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.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..b38a2e1e612
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF
@@ -0,0 +1,23 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.papyrus.paletteconfiguration.edit;singleton:=true
+Bundle-Version: 0.8.0.qualifier
+Bundle-ClassPath: .
+Bundle-Activator: org.eclipse.papyrus.paletteconfiguration.provider.PaletteConfigurationEditPlugin$Implementation
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.eclipse.papyrus.paletteconfiguration.provider
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.papyrus.paletteconfiguration;visibility:=reexport,
+ org.eclipse.emf.edit;visibility:=reexport,
+ org.eclipse.papyrus.core.queries.configuration;visibility:=reexport,
+ org.eclipse.papyrus.core.queries.configuration.edit;visibility:=reexport,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.ecore.edit;visibility:=reexport,
+ org.eclipse.emf.facet.infra.query;visibility:=reexport,
+ org.eclipse.emf.facet.infra.query.edit;visibility:=reexport,
+ org.eclipse.uml2.uml;visibility:=reexport,
+ org.eclipse.uml2.uml.edit;visibility:=reexport
+Bundle-ActivationPolicy: lazy
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties
new file mode 100644
index 00000000000..349c54c9d8e
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties
@@ -0,0 +1,15 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+bin.includes = .,\
+ icons/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html
+jars.compile.order = .
+source.. = src-gen/
+output.. = bin/
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif
new file mode 100644
index 00000000000..07e259867da
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif
new file mode 100644
index 00000000000..6844bf8a90f
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif
new file mode 100644
index 00000000000..234486172ca
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif
new file mode 100644
index 00000000000..9dfa28cb9e3
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif
new file mode 100644
index 00000000000..310eb18e34b
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif
new file mode 100644
index 00000000000..9073955a8bc
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif
new file mode 100644
index 00000000000..564bdbd779d
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif
new file mode 100644
index 00000000000..9dfa28cb9e3
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif
new file mode 100644
index 00000000000..fc576a1c112
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif
new file mode 100644
index 00000000000..07e259867da
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif
new file mode 100644
index 00000000000..234486172ca
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif
new file mode 100644
index 00000000000..9dfa28cb9e3
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif
new file mode 100644
index 00000000000..310eb18e34b
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif
new file mode 100644
index 00000000000..51e703b1b9c
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif
new file mode 100644
index 00000000000..d3dc5a9ad81
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif
new file mode 100644
index 00000000000..07e259867da
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif
new file mode 100644
index 00000000000..07e259867da
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif
new file mode 100644
index 00000000000..80c152ab6b4
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif
new file mode 100644
index 00000000000..cb415064e02
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif
new file mode 100644
index 00000000000..234486172ca
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif
new file mode 100644
index 00000000000..9dfa28cb9e3
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif
new file mode 100644
index 00000000000..51e703b1b9c
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif
new file mode 100644
index 00000000000..80c152ab6b4
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif
new file mode 100644
index 00000000000..234486172ca
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif
new file mode 100644
index 00000000000..9dfa28cb9e3
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif
Binary files differ
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties
new file mode 100644
index 00000000000..5aaa9d167b7
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties
@@ -0,0 +1,52 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = Papryus PaletteConfiguration Edit Support (Incubation)
+providerName =Eclipse Modeling Project
+
+_UI_CreateChild_text = {0}
+_UI_CreateChild_text2 = {1} {0}
+_UI_CreateChild_text3 = {1}
+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
+
+_UI_PropertyDescriptor_description = The {0} of the {1}
+
+_UI_PaletteConfiguration_type = Palette Configuration
+_UI_ToolConfiguration_type = Tool Configuration
+_UI_StackConfiguration_type = Stack Configuration
+_UI_ChildConfiguration_type = Child Configuration
+_UI_DrawerConfiguration_type = Drawer Configuration
+_UI_Configuration_type = Configuration
+_UI_IconDescriptor_type = Icon Descriptor
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+_UI_PaletteConfiguration_drawerConfigurations_feature = Drawer Configurations
+_UI_ToolConfiguration_preValidationQuery_feature = Pre Validation Query
+_UI_StackConfiguration_toolConfigurations_feature = Tool Configurations
+_UI_DrawerConfiguration_ownedConfigurations_feature = Owned Configurations
+_UI_Configuration_id_feature = Id
+_UI_Configuration_label_feature = Label
+_UI_Configuration_description_feature = Description
+_UI_Configuration_icon_feature = Icon
+_UI_IconDescriptor_pluginID_feature = Plugin ID
+_UI_IconDescriptor_iconPath_feature = Icon Path
+_UI_Unknown_feature = Unspecified
+
+_UI_ToolConfiguration_elementTypes_feature = Element Types
+_UI_ToolConfiguration_kind_feature = Kind
+_UI_ToolKind_CreationTool_literal = CreationTool
+_UI_ToolKind_ConnectionTool_literal = ConnectionTool
+_UI_ElementDescriptor_type = Element Descriptor
+_UI_ToolConfiguration_elementDescriptors_feature = Element Descriptors
+_UI_ElementDescriptor_elementTypeId_feature = Element Type Id
+_UI_ElementDescriptor_graphicalHints_feature = Graphical Hints
+_UI_SeparatorConfiguration_type = Separator Configuration
+_UI_LeafConfiguration_type = Leaf Configuration
+_UI_StackConfiguration_ownedConfigurations_feature = Owned Configurations
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml
new file mode 100644
index 00000000000..fd9e91ab307
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id$
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <factory
+ uri="http://www.eclipse.org/papyrus/diagram/paletteconfiguration/0.7"
+ class="org.eclipse.papyrus.paletteconfiguration.provider.PaletteconfigurationItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
+ </extension>
+
+</plugin>
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java
new file mode 100644
index 00000000000..b89b7792e9b
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java
@@ -0,0 +1,103 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+import org.eclipse.papyrus.paletteconfiguration.ChildConfiguration;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ChildConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ChildConfigurationItemProvider
+ extends ConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ChildConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ChildConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ChildConfiguration_type") :
+ getString("_UI_ChildConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java
new file mode 100644
index 00000000000..12fd3bf7b7a
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java
@@ -0,0 +1,239 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.Configuration;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationFactory;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.Configuration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ConfigurationItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addIdPropertyDescriptor(object);
+ addLabelPropertyDescriptor(object);
+ addDescriptionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Configuration_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Configuration_id_feature", "_UI_Configuration_type"),
+ PaletteconfigurationPackage.Literals.CONFIGURATION__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Label feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addLabelPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Configuration_label_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Configuration_label_feature", "_UI_Configuration_type"),
+ PaletteconfigurationPackage.Literals.CONFIGURATION__LABEL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Description feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDescriptionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Configuration_description_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Configuration_description_feature", "_UI_Configuration_type"),
+ PaletteconfigurationPackage.Literals.CONFIGURATION__DESCRIPTION,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PaletteconfigurationPackage.Literals.CONFIGURATION__ICON);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Configuration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Configuration_type") :
+ getString("_UI_Configuration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Configuration.class)) {
+ case PaletteconfigurationPackage.CONFIGURATION__ID:
+ case PaletteconfigurationPackage.CONFIGURATION__LABEL:
+ case PaletteconfigurationPackage.CONFIGURATION__DESCRIPTION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case PaletteconfigurationPackage.CONFIGURATION__ICON:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.CONFIGURATION__ICON,
+ PaletteconfigurationFactory.eINSTANCE.createIconDescriptor()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return PaletteConfigurationEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java
new file mode 100644
index 00000000000..d36130970b6
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java
@@ -0,0 +1,170 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.DrawerConfiguration;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationFactory;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.DrawerConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DrawerConfigurationItemProvider
+ extends ConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DrawerConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PaletteconfigurationPackage.Literals.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns DrawerConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DrawerConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((DrawerConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DrawerConfiguration_type") :
+ getString("_UI_DrawerConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DrawerConfiguration.class)) {
+ case PaletteconfigurationPackage.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createToolConfiguration()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createStackConfiguration()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createSeparatorConfiguration()));
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java
new file mode 100644
index 00000000000..0880723f46a
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java
@@ -0,0 +1,185 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.ElementDescriptor;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ElementDescriptor} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ElementDescriptorItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ElementDescriptorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addElementTypeIdPropertyDescriptor(object);
+ addGraphicalHintsPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Element Type Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addElementTypeIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ElementDescriptor_elementTypeId_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementDescriptor_elementTypeId_feature", "_UI_ElementDescriptor_type"),
+ PaletteconfigurationPackage.Literals.ELEMENT_DESCRIPTOR__ELEMENT_TYPE_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Graphical Hints feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addGraphicalHintsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ElementDescriptor_graphicalHints_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ElementDescriptor_graphicalHints_feature", "_UI_ElementDescriptor_type"),
+ PaletteconfigurationPackage.Literals.ELEMENT_DESCRIPTOR__GRAPHICAL_HINTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ElementDescriptor.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ElementDescriptor"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ElementDescriptor)object).getElementTypeId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ElementDescriptor_type") :
+ getString("_UI_ElementDescriptor_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ElementDescriptor.class)) {
+ case PaletteconfigurationPackage.ELEMENT_DESCRIPTOR__ELEMENT_TYPE_ID:
+ case PaletteconfigurationPackage.ELEMENT_DESCRIPTOR__GRAPHICAL_HINTS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return PaletteConfigurationEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java
new file mode 100644
index 00000000000..b6415d157fd
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java
@@ -0,0 +1,185 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.IconDescriptor;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.IconDescriptor} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class IconDescriptorItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IconDescriptorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addPluginIDPropertyDescriptor(object);
+ addIconPathPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Plugin ID feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPluginIDPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_IconDescriptor_pluginID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IconDescriptor_pluginID_feature", "_UI_IconDescriptor_type"),
+ PaletteconfigurationPackage.Literals.ICON_DESCRIPTOR__PLUGIN_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Icon Path feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIconPathPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_IconDescriptor_iconPath_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IconDescriptor_iconPath_feature", "_UI_IconDescriptor_type"),
+ PaletteconfigurationPackage.Literals.ICON_DESCRIPTOR__ICON_PATH,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns IconDescriptor.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IconDescriptor"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((IconDescriptor)object).getPluginID();
+ return label == null || label.length() == 0 ?
+ getString("_UI_IconDescriptor_type") :
+ getString("_UI_IconDescriptor_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IconDescriptor.class)) {
+ case PaletteconfigurationPackage.ICON_DESCRIPTOR__PLUGIN_ID:
+ case PaletteconfigurationPackage.ICON_DESCRIPTOR__ICON_PATH:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return PaletteConfigurationEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java
new file mode 100644
index 00000000000..5361234df5b
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java
@@ -0,0 +1,103 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+import org.eclipse.papyrus.paletteconfiguration.LeafConfiguration;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.LeafConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class LeafConfigurationItemProvider
+ extends ChildConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LeafConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((LeafConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_LeafConfiguration_type") :
+ getString("_UI_LeafConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java
new file mode 100644
index 00000000000..77aee4627ae
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java
@@ -0,0 +1,105 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+import org.eclipse.emf.common.EMFPlugin;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
+
+import org.eclipse.emf.facet.infra.query.edit.provider.QueryEditPlugin;
+
+import org.eclipse.papyrus.core.queries.configuration.provider.ConfigurationEditPlugin;
+
+import org.eclipse.uml2.uml.edit.UMLEditPlugin;
+
+/**
+ * This is the central singleton for the PaletteConfiguration edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class PaletteConfigurationEditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final PaletteConfigurationEditPlugin INSTANCE = new PaletteConfigurationEditPlugin();
+
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PaletteConfigurationEditPlugin() {
+ super
+ (new ResourceLocator [] {
+ ConfigurationEditPlugin.INSTANCE,
+ EcoreEditPlugin.INSTANCE,
+ QueryEditPlugin.INSTANCE,
+ UMLEditPlugin.INSTANCE,
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java
new file mode 100644
index 00000000000..8e2e5faaaab
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java
@@ -0,0 +1,160 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.PaletteConfiguration;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationFactory;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.PaletteConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class PaletteConfigurationItemProvider
+ extends ConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PaletteConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PaletteconfigurationPackage.Literals.PALETTE_CONFIGURATION__DRAWER_CONFIGURATIONS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns PaletteConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/PaletteConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((PaletteConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_PaletteConfiguration_type") :
+ getString("_UI_PaletteConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(PaletteConfiguration.class)) {
+ case PaletteconfigurationPackage.PALETTE_CONFIGURATION__DRAWER_CONFIGURATIONS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.PALETTE_CONFIGURATION__DRAWER_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createDrawerConfiguration()));
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java
new file mode 100644
index 00000000000..21931974af6
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java
@@ -0,0 +1,347 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.edit.provider.ChangeNotifier;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.IChangeNotifier;
+import org.eclipse.emf.edit.provider.IDisposable;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.INotifyChangedListener;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+import org.eclipse.papyrus.paletteconfiguration.util.PaletteconfigurationAdapterFactory;
+
+/**
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class PaletteconfigurationItemProviderAdapterFactory extends PaletteconfigurationAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Collection<Object> supportedTypes = new ArrayList<Object>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PaletteconfigurationItemProviderAdapterFactory() {
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.PaletteConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PaletteConfigurationItemProvider paletteConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.PaletteConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createPaletteConfigurationAdapter() {
+ if (paletteConfigurationItemProvider == null) {
+ paletteConfigurationItemProvider = new PaletteConfigurationItemProvider(this);
+ }
+
+ return paletteConfigurationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.ToolConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ToolConfigurationItemProvider toolConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ToolConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createToolConfigurationAdapter() {
+ if (toolConfigurationItemProvider == null) {
+ toolConfigurationItemProvider = new ToolConfigurationItemProvider(this);
+ }
+
+ return toolConfigurationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.StackConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StackConfigurationItemProvider stackConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.StackConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStackConfigurationAdapter() {
+ if (stackConfigurationItemProvider == null) {
+ stackConfigurationItemProvider = new StackConfigurationItemProvider(this);
+ }
+
+ return stackConfigurationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.DrawerConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DrawerConfigurationItemProvider drawerConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.DrawerConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDrawerConfigurationAdapter() {
+ if (drawerConfigurationItemProvider == null) {
+ drawerConfigurationItemProvider = new DrawerConfigurationItemProvider(this);
+ }
+
+ return drawerConfigurationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.IconDescriptor} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IconDescriptorItemProvider iconDescriptorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.IconDescriptor}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIconDescriptorAdapter() {
+ if (iconDescriptorItemProvider == null) {
+ iconDescriptorItemProvider = new IconDescriptorItemProvider(this);
+ }
+
+ return iconDescriptorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.ElementDescriptor} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ElementDescriptorItemProvider elementDescriptorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ElementDescriptor}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createElementDescriptorAdapter() {
+ if (elementDescriptorItemProvider == null) {
+ elementDescriptorItemProvider = new ElementDescriptorItemProvider(this);
+ }
+
+ return elementDescriptorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.paletteconfiguration.SeparatorConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SeparatorConfigurationItemProvider separatorConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.SeparatorConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createSeparatorConfigurationAdapter() {
+ if (separatorConfigurationItemProvider == null) {
+ separatorConfigurationItemProvider = new SeparatorConfigurationItemProvider(this);
+ }
+
+ return separatorConfigurationItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object type) {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object adapt(Object object, Object type) {
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * This adds a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fireNotifyChanged(Notification notification) {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
+
+ /**
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose() {
+ if (paletteConfigurationItemProvider != null) paletteConfigurationItemProvider.dispose();
+ if (toolConfigurationItemProvider != null) toolConfigurationItemProvider.dispose();
+ if (stackConfigurationItemProvider != null) stackConfigurationItemProvider.dispose();
+ if (drawerConfigurationItemProvider != null) drawerConfigurationItemProvider.dispose();
+ if (iconDescriptorItemProvider != null) iconDescriptorItemProvider.dispose();
+ if (elementDescriptorItemProvider != null) elementDescriptorItemProvider.dispose();
+ if (separatorConfigurationItemProvider != null) separatorConfigurationItemProvider.dispose();
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java
new file mode 100644
index 00000000000..c3d994b5cfd
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java
@@ -0,0 +1,114 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+import org.eclipse.papyrus.paletteconfiguration.SeparatorConfiguration;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.SeparatorConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SeparatorConfigurationItemProvider
+ extends LeafConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SeparatorConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns SeparatorConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/SeparatorConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((SeparatorConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_SeparatorConfiguration_type") :
+ getString("_UI_SeparatorConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java
new file mode 100644
index 00000000000..b0cea2213fb
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java
@@ -0,0 +1,165 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationFactory;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+import org.eclipse.papyrus.paletteconfiguration.StackConfiguration;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.StackConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class StackConfigurationItemProvider
+ extends ChildConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public StackConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PaletteconfigurationPackage.Literals.STACK_CONFIGURATION__OWNED_CONFIGURATIONS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns StackConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/StackConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((StackConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_StackConfiguration_type") :
+ getString("_UI_StackConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(StackConfiguration.class)) {
+ case PaletteconfigurationPackage.STACK_CONFIGURATION__OWNED_CONFIGURATIONS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.STACK_CONFIGURATION__OWNED_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createToolConfiguration()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.STACK_CONFIGURATION__OWNED_CONFIGURATIONS,
+ PaletteconfigurationFactory.eINSTANCE.createSeparatorConfiguration()));
+ }
+
+}
diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java
new file mode 100644
index 00000000000..edb34b173a8
--- /dev/null
+++ b/tests/debug/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java
@@ -0,0 +1,211 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.paletteconfiguration.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationFactory;
+import org.eclipse.papyrus.paletteconfiguration.PaletteconfigurationPackage;
+import org.eclipse.papyrus.paletteconfiguration.ToolConfiguration;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ToolConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ToolConfigurationItemProvider
+ extends LeafConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ToolConfigurationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addPreValidationQueryPropertyDescriptor(object);
+ addKindPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Pre Validation Query feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPreValidationQueryPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ToolConfiguration_preValidationQuery_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ToolConfiguration_preValidationQuery_feature", "_UI_ToolConfiguration_type"),
+ PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__PRE_VALIDATION_QUERY,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Kind feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addKindPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ToolConfiguration_kind_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ToolConfiguration_kind_feature", "_UI_ToolConfiguration_type"),
+ PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__KIND,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__ELEMENT_DESCRIPTORS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ToolConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ToolConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ToolConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ToolConfiguration_type") :
+ getString("_UI_ToolConfiguration_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ToolConfiguration.class)) {
+ case PaletteconfigurationPackage.TOOL_CONFIGURATION__KIND:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case PaletteconfigurationPackage.TOOL_CONFIGURATION__ELEMENT_DESCRIPTORS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__ELEMENT_DESCRIPTORS,
+ PaletteconfigurationFactory.eINSTANCE.createElementDescriptor()));
+ }
+
+}

Back to the top