Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2011-10-25 12:25:02 +0000
committercletavernie2011-10-25 12:25:02 +0000
commit66c969c673b25dace298f8f3970c20d7609bfe0e (patch)
treec127f93aa7aafbe8477932d8c1381be9631daef1 /plugins/core
parent53161bf2a670e465758ef192087db605fcfbdbc0 (diff)
downloadorg.eclipse.papyrus-66c969c673b25dace298f8f3970c20d7609bfe0e.tar.gz
org.eclipse.papyrus-66c969c673b25dace298f8f3970c20d7609bfe0e.tar.xz
org.eclipse.papyrus-66c969c673b25dace298f8f3970c20d7609bfe0e.zip
359057: [Architecture - SVN - Build] The Papyrus architecture should be refactored
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359057
Diffstat (limited to 'plugins/core')
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath7
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project28
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF23
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html28
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties8
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gifbin597 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gifbin223 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gifbin101 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gifbin194 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gifbin349 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gifbin223 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gifbin223 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gifbin194 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gifbin223 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gifbin597 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gifbin101 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gifbin194 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gifbin349 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gifbin216 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gifbin129 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gifbin597 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gifbin597 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gifbin633 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gifbin124 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gifbin101 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gifbin194 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gifbin216 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gifbin633 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gifbin101 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gifbin194 -> 0 bytes
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties52
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml25
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java103
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java239
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java170
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java185
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java185
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java103
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java105
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java160
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java347
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java114
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java165
-rw-r--r--plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java211
44 files changed, 0 insertions, 2258 deletions
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath
deleted file mode 100644
index cedf0d0d0b5..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project
deleted file mode 100644
index d782348efac..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF
deleted file mode 100644
index 7155cdaf84b..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,23 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.papyrus.paletteconfiguration.edit;singleton:=true
-Bundle-Version: 0.9.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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties
deleted file mode 100644
index d41906682ef..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/build.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-#Mon Sep 12 09:30:01 CEST 2011
-output..=bin/
-bin.includes=.,icons/,META-INF/,plugin.xml,plugin.properties,about.html
-jars.compile.order=.
-src.includes=.,icons/,META-INF/,plugin.xml,plugin.properties,about.html
-source..=src-gen/
-bin..=bin/
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif
deleted file mode 100644
index 07e259867da..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif
deleted file mode 100644
index 6844bf8a90f..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif
deleted file mode 100644
index 234486172ca..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif
deleted file mode 100644
index 9dfa28cb9e3..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif
deleted file mode 100644
index 310eb18e34b..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif
deleted file mode 100644
index 9073955a8bc..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif
deleted file mode 100644
index 564bdbd779d..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif
deleted file mode 100644
index 9dfa28cb9e3..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif
deleted file mode 100644
index fc576a1c112..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif
deleted file mode 100644
index 07e259867da..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif
deleted file mode 100644
index 234486172ca..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif
deleted file mode 100644
index 9dfa28cb9e3..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif
deleted file mode 100644
index 310eb18e34b..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif
deleted file mode 100644
index 51e703b1b9c..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif
deleted file mode 100644
index d3dc5a9ad81..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif
deleted file mode 100644
index 07e259867da..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif
deleted file mode 100644
index 07e259867da..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif
deleted file mode 100644
index 80c152ab6b4..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif
deleted file mode 100644
index cb415064e02..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif
deleted file mode 100644
index 234486172ca..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif
deleted file mode 100644
index 9dfa28cb9e3..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif
deleted file mode 100644
index 51e703b1b9c..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif
deleted file mode 100644
index 80c152ab6b4..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif
deleted file mode 100644
index 234486172ca..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif
deleted file mode 100644
index 9dfa28cb9e3..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties
deleted file mode 100644
index 5aaa9d167b7..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml
deleted file mode 100644
index fd9e91ab307..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java
deleted file mode 100644
index b89b7792e9b..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java
deleted file mode 100644
index 12fd3bf7b7a..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java
deleted file mode 100644
index d36130970b6..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java
+++ /dev/null
@@ -1,170 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java
deleted file mode 100644
index 0880723f46a..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java
deleted file mode 100644
index b6415d157fd..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java
deleted file mode 100644
index 5361234df5b..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java
deleted file mode 100644
index 77aee4627ae..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java
deleted file mode 100644
index 8e2e5faaaab..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java
deleted file mode 100644
index 21931974af6..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java
+++ /dev/null
@@ -1,347 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java
deleted file mode 100644
index c3d994b5cfd..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java
deleted file mode 100644
index b0cea2213fb..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <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/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java b/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java
deleted file mode 100644
index edb34b173a8..00000000000
--- a/plugins/core/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java
+++ /dev/null
@@ -1,211 +0,0 @@
-/**
- * <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