From 07e16ffb2532603af86b60cdaeb8563eb65bfdc1 Mon Sep 17 00:00:00 2001 From: rschnekenbu Date: Fri, 29 Apr 2011 09:20:37 +0000 Subject: Move the plugin from incoming folder to its final destination folder --- .../.classpath | 7 - .../.project | 28 -- .../META-INF/MANIFEST.MF | 23 -- .../about.html | 28 -- .../build.properties | 15 - .../CreateConfiguration_icon_IconDescriptor.gif | Bin 597 -> 0 bytes ..._ownedConfigurations_SeparatorConfiguration.gif | Bin 223 -> 0 bytes ...tion_ownedConfigurations_StackConfiguration.gif | Bin 101 -> 0 bytes ...ation_ownedConfigurations_ToolConfiguration.gif | Bin 194 -> 0 bytes ...on_drawerConfigurations_DrawerConfiguration.gif | Bin 349 -> 0 bytes ..._ownedConfigurations_SeparatorConfiguration.gif | Bin 223 -> 0 bytes ...ation_ownedConfigurations_ToolConfiguration.gif | Bin 223 -> 0 bytes ...ration_toolConfigurations_ToolConfiguration.gif | Bin 194 -> 0 bytes ...ration_elementDescriptors_ElementDescriptor.gif | Bin 223 -> 0 bytes .../icons/full/ctool16/IconDescriptor.gif | Bin 597 -> 0 bytes .../icons/full/ctool16/StackConfiguration.gif | Bin 101 -> 0 bytes .../icons/full/ctool16/ToolConfiguration.gif | Bin 194 -> 0 bytes .../icons/full/ctool16/new_drawer.gif | Bin 349 -> 0 bytes .../icons/full/obj16/DrawerConfiguration.gif | Bin 216 -> 0 bytes .../icons/full/obj16/ElementDescriptor.gif | Bin 129 -> 0 bytes .../icons/full/obj16/IconDescriptor.gif | Bin 597 -> 0 bytes .../icons/full/obj16/Image.gif | Bin 597 -> 0 bytes .../icons/full/obj16/PaletteConfiguration.gif | Bin 633 -> 0 bytes .../icons/full/obj16/SeparatorConfiguration.gif | Bin 124 -> 0 bytes .../icons/full/obj16/StackConfiguration.gif | Bin 101 -> 0 bytes .../icons/full/obj16/ToolConfiguration.gif | Bin 194 -> 0 bytes .../icons/full/obj16/drawer.gif | Bin 216 -> 0 bytes .../icons/full/obj16/palette_view.gif | Bin 633 -> 0 bytes .../icons/full/obj16/stack.gif | Bin 101 -> 0 bytes .../icons/full/obj16/tool.gif | Bin 194 -> 0 bytes .../plugin.properties | 52 --- .../plugin.xml | 25 -- .../provider/ChildConfigurationItemProvider.java | 103 ------ .../provider/ConfigurationItemProvider.java | 239 -------------- .../provider/DrawerConfigurationItemProvider.java | 170 ---------- .../provider/ElementDescriptorItemProvider.java | 185 ----------- .../provider/IconDescriptorItemProvider.java | 185 ----------- .../provider/LeafConfigurationItemProvider.java | 103 ------ .../provider/PaletteConfigurationEditPlugin.java | 105 ------- .../provider/PaletteConfigurationItemProvider.java | 160 ---------- ...tteconfigurationItemProviderAdapterFactory.java | 347 --------------------- .../SeparatorConfigurationItemProvider.java | 114 ------- .../provider/StackConfigurationItemProvider.java | 165 ---------- .../provider/ToolConfigurationItemProvider.java | 211 ------------- 44 files changed, 2265 deletions(-) delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/.classpath delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/.project delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/about.html delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/build.properties delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java delete mode 100644 incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java (limited to 'incoming') diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.classpath b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.classpath deleted file mode 100644 index cedf0d0d0b5..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.project b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.project deleted file mode 100644 index d782348efac..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.eclipse.papyrus.paletteconfiguration.edit - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - - diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/META-INF/MANIFEST.MF deleted file mode 100644 index b38a2e1e612..00000000000 --- a/incoming/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.8.0.qualifier -Bundle-ClassPath: . -Bundle-Activator: org.eclipse.papyrus.paletteconfiguration.provider.PaletteConfigurationEditPlugin$Implementation -Bundle-Vendor: %providerName -Bundle-Localization: plugin -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Export-Package: org.eclipse.papyrus.paletteconfiguration.provider -Require-Bundle: org.eclipse.core.runtime, - org.eclipse.papyrus.paletteconfiguration;visibility:=reexport, - org.eclipse.emf.edit;visibility:=reexport, - org.eclipse.papyrus.core.queries.configuration;visibility:=reexport, - org.eclipse.papyrus.core.queries.configuration.edit;visibility:=reexport, - org.eclipse.emf.ecore;visibility:=reexport, - org.eclipse.emf.ecore.edit;visibility:=reexport, - org.eclipse.emf.facet.infra.query;visibility:=reexport, - org.eclipse.emf.facet.infra.query.edit;visibility:=reexport, - org.eclipse.uml2.uml;visibility:=reexport, - org.eclipse.uml2.uml.edit;visibility:=reexport -Bundle-ActivationPolicy: lazy diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/about.html b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/about.html deleted file mode 100644 index 82d49bf5f81..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2007

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") 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 http://www.eclipse.org.

- - - diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/build.properties b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/build.properties deleted file mode 100644 index 349c54c9d8e..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/build.properties +++ /dev/null @@ -1,15 +0,0 @@ - -# -# -# -# $Id$ - -bin.includes = .,\ - icons/,\ - META-INF/,\ - plugin.xml,\ - plugin.properties,\ - about.html -jars.compile.order = . -source.. = src-gen/ -output.. = bin/ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif deleted file mode 100644 index 07e259867da..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateConfiguration_icon_IconDescriptor.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif deleted file mode 100644 index 6844bf8a90f..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_SeparatorConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif deleted file mode 100644 index 234486172ca..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_StackConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif deleted file mode 100644 index 9dfa28cb9e3..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateDrawerConfiguration_ownedConfigurations_ToolConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif deleted file mode 100644 index 310eb18e34b..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreatePaletteConfiguration_drawerConfigurations_DrawerConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif deleted file mode 100644 index 9073955a8bc..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_SeparatorConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif deleted file mode 100644 index 564bdbd779d..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_ownedConfigurations_ToolConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif deleted file mode 100644 index 9dfa28cb9e3..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateStackConfiguration_toolConfigurations_ToolConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif deleted file mode 100644 index fc576a1c112..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/CreateToolConfiguration_elementDescriptors_ElementDescriptor.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif deleted file mode 100644 index 07e259867da..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/IconDescriptor.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif deleted file mode 100644 index 234486172ca..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/StackConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif deleted file mode 100644 index 9dfa28cb9e3..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/ToolConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif deleted file mode 100644 index 310eb18e34b..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/ctool16/new_drawer.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif deleted file mode 100644 index 51e703b1b9c..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/DrawerConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif deleted file mode 100644 index d3dc5a9ad81..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ElementDescriptor.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif deleted file mode 100644 index 07e259867da..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/IconDescriptor.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif deleted file mode 100644 index 07e259867da..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/Image.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif deleted file mode 100644 index 80c152ab6b4..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/PaletteConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif deleted file mode 100644 index cb415064e02..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/SeparatorConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif deleted file mode 100644 index 234486172ca..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/StackConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif deleted file mode 100644 index 9dfa28cb9e3..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/ToolConfiguration.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif deleted file mode 100644 index 51e703b1b9c..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/drawer.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif deleted file mode 100644 index 80c152ab6b4..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/palette_view.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif deleted file mode 100644 index 234486172ca..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/stack.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif deleted file mode 100644 index 9dfa28cb9e3..00000000000 Binary files a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/icons/full/obj16/tool.gif and /dev/null differ diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties deleted file mode 100644 index 5aaa9d167b7..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.properties +++ /dev/null @@ -1,52 +0,0 @@ - -# -# -# -# $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/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml deleted file mode 100644 index fd9e91ab307..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/plugin.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java deleted file mode 100644 index b89b7792e9b..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ChildConfigurationItemProvider.java +++ /dev/null @@ -1,103 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class ChildConfigurationItemProvider - extends ConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ChildConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java deleted file mode 100644 index 12fd3bf7b7a..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ConfigurationItemProvider.java +++ /dev/null @@ -1,239 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class ConfigurationItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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. - * - * - * @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. - * - * - * @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. - * - * - * @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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(PaletteconfigurationPackage.Literals.CONFIGURATION__ICON); - } - return childrenFeatures; - } - - /** - * - * - * @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. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection 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. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PaletteConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java deleted file mode 100644 index d36130970b6..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/DrawerConfigurationItemProvider.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class DrawerConfigurationItemProvider - extends ConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public DrawerConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(PaletteconfigurationPackage.Literals.DRAWER_CONFIGURATION__OWNED_CONFIGURATIONS); - } - return childrenFeatures; - } - - /** - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/DrawerConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection 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/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java deleted file mode 100644 index 0880723f46a..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ElementDescriptorItemProvider.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class ElementDescriptorItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ElementDescriptorItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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. - * - * - * @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. - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ElementDescriptor")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PaletteConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java deleted file mode 100644 index b6415d157fd..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/IconDescriptorItemProvider.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class IconDescriptorItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public IconDescriptorItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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. - * - * - * @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. - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/IconDescriptor")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return PaletteConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java deleted file mode 100644 index 5361234df5b..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/LeafConfigurationItemProvider.java +++ /dev/null @@ -1,103 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class LeafConfigurationItemProvider - extends ChildConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public LeafConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java deleted file mode 100644 index 77aee4627ae..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationEditPlugin.java +++ /dev/null @@ -1,105 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public final class PaletteConfigurationEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final PaletteConfigurationEditPlugin INSTANCE = new PaletteConfigurationEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public PaletteConfigurationEditPlugin() { - super - (new ResourceLocator [] { - ConfigurationEditPlugin.INSTANCE, - EcoreEditPlugin.INSTANCE, - QueryEditPlugin.INSTANCE, - UMLEditPlugin.INSTANCE, - }); - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - @Override - public ResourceLocator getPluginResourceLocator() { - return plugin; - } - - /** - * Returns the singleton instance of the Eclipse plugin. - * - * - * @return the singleton instance. - * @generated - */ - public static Implementation getPlugin() { - return plugin; - } - - /** - * The actual implementation of the Eclipse Plugin. - * - * - * @generated - */ - public static class Implementation extends EclipsePlugin { - /** - * Creates an instance. - * - * - * @generated - */ - public Implementation() { - super(); - - // Remember the static instance. - // - plugin = this; - } - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java deleted file mode 100644 index 8e2e5faaaab..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteConfigurationItemProvider.java +++ /dev/null @@ -1,160 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class PaletteConfigurationItemProvider - extends ConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public PaletteConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(PaletteconfigurationPackage.Literals.PALETTE_CONFIGURATION__DRAWER_CONFIGURATIONS); - } - return childrenFeatures; - } - - /** - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/PaletteConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (PaletteconfigurationPackage.Literals.PALETTE_CONFIGURATION__DRAWER_CONFIGURATIONS, - PaletteconfigurationFactory.eINSTANCE.createDrawerConfiguration())); - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java deleted file mode 100644 index 21931974af6..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/PaletteconfigurationItemProviderAdapterFactory.java +++ /dev/null @@ -1,347 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class PaletteconfigurationItemProviderAdapterFactory extends PaletteconfigurationAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { - /** - * This keeps track of the root adapter factory that delegates to this adapter factory. - * - * - * @generated - */ - protected ComposedAdapterFactory parentAdapterFactory; - - /** - * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}. - * - * - * @generated - */ - protected IChangeNotifier changeNotifier = new ChangeNotifier(); - - /** - * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}. - * - * - * @generated - */ - protected Collection supportedTypes = new ArrayList(); - - /** - * This constructs an instance. - * - * - * @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. - * - * - * @generated - */ - protected PaletteConfigurationItemProvider paletteConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.PaletteConfiguration}. - * - * - * @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. - * - * - * @generated - */ - protected ToolConfigurationItemProvider toolConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ToolConfiguration}. - * - * - * @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. - * - * - * @generated - */ - protected StackConfigurationItemProvider stackConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.StackConfiguration}. - * - * - * @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. - * - * - * @generated - */ - protected DrawerConfigurationItemProvider drawerConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.DrawerConfiguration}. - * - * - * @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. - * - * - * @generated - */ - protected IconDescriptorItemProvider iconDescriptorItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.IconDescriptor}. - * - * - * @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. - * - * - * @generated - */ - protected ElementDescriptorItemProvider elementDescriptorItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.ElementDescriptor}. - * - * - * @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. - * - * - * @generated - */ - protected SeparatorConfigurationItemProvider separatorConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.paletteconfiguration.SeparatorConfiguration}. - * - * - * @generated - */ - @Override - public Adapter createSeparatorConfigurationAdapter() { - if (separatorConfigurationItemProvider == null) { - separatorConfigurationItemProvider = new SeparatorConfigurationItemProvider(this); - } - - return separatorConfigurationItemProvider; - } - - /** - * This returns the root adapter factory that contains this factory. - * - * - * @generated - */ - public ComposeableAdapterFactory getRootAdapterFactory() { - return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); - } - - /** - * This sets the composed adapter factory that contains this factory. - * - * - * @generated - */ - public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { - this.parentAdapterFactory = parentAdapterFactory; - } - - /** - * - * - * @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. - * - * - * @generated - */ - @Override - public Adapter adapt(Notifier notifier, Object type) { - return super.adapt(notifier, this); - } - - /** - * - * - * @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. - * - * - * @generated - */ - public void addListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.addListener(notifyChangedListener); - } - - /** - * This removes a listener. - * - * - * @generated - */ - public void removeListener(INotifyChangedListener notifyChangedListener) { - changeNotifier.removeListener(notifyChangedListener); - } - - /** - * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. - * - * - * @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. - * - * - * @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/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java deleted file mode 100644 index c3d994b5cfd..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/SeparatorConfigurationItemProvider.java +++ /dev/null @@ -1,114 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class SeparatorConfigurationItemProvider - extends LeafConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public SeparatorConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List getPropertyDescriptors(Object object) { - if (itemPropertyDescriptors == null) { - super.getPropertyDescriptors(object); - - } - return itemPropertyDescriptors; - } - - /** - * This returns SeparatorConfiguration.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/SeparatorConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - } - -} diff --git a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java deleted file mode 100644 index b0cea2213fb..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/StackConfigurationItemProvider.java +++ /dev/null @@ -1,165 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class StackConfigurationItemProvider - extends ChildConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public StackConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(PaletteconfigurationPackage.Literals.STACK_CONFIGURATION__OWNED_CONFIGURATIONS); - } - return childrenFeatures; - } - - /** - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/StackConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection 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/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java b/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java deleted file mode 100644 index edb34b173a8..00000000000 --- a/incoming/org.eclipse.papyrus.paletteconfiguration.edit/src-gen/org/eclipse/papyrus/paletteconfiguration/provider/ToolConfigurationItemProvider.java +++ /dev/null @@ -1,211 +0,0 @@ -/** - * - * - * - * $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. - * - * - * @generated - */ -public class ToolConfigurationItemProvider - extends LeafConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ToolConfigurationItemProvider(AdapterFactory adapterFactory) { - super(adapterFactory); - } - - /** - * This returns the property descriptors for the adapted class. - * - * - * @generated - */ - @Override - public List 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. - * - * - * @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. - * - * - * @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}. - * - * - * @generated - */ - @Override - public Collection getChildrenFeatures(Object object) { - if (childrenFeatures == null) { - super.getChildrenFeatures(object); - childrenFeatures.add(PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__ELEMENT_DESCRIPTORS); - } - return childrenFeatures; - } - - /** - * - * - * @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. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ToolConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @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}. - * - * - * @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. - * - * - * @generated - */ - @Override - protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { - super.collectNewChildDescriptors(newChildDescriptors, object); - - newChildDescriptors.add - (createChildParameter - (PaletteconfigurationPackage.Literals.TOOL_CONFIGURATION__ELEMENT_DESCRIPTORS, - PaletteconfigurationFactory.eINSTANCE.createElementDescriptor())); - } - -} -- cgit v1.2.3