Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrschnekenbu2011-04-29 09:19:14 +0000
committerrschnekenbu2011-04-29 09:19:14 +0000
commit895e902f98271e644bb2fda7c1fa78d604f78a8e (patch)
tree22d6ab2a05bd98fb3abd0f5f1ea0fa76f6376c9d /tests
parent7d0406e22f6ee8e59d91e2cc474434d7175cc9cc (diff)
downloadorg.eclipse.papyrus-895e902f98271e644bb2fda7c1fa78d604f78a8e.tar.gz
org.eclipse.papyrus-895e902f98271e644bb2fda7c1fa78d604f78a8e.tar.xz
org.eclipse.papyrus-895e902f98271e644bb2fda7c1fa78d604f78a8e.zip
Move the plugin from incoming folder to its final destination folder
Diffstat (limited to 'tests')
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.classpath7
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.project28
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/META-INF/MANIFEST.MF25
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/about.html28
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/build.properties15
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/ctool16/CreateApplyStereotypeActionConfiguration_stereotypesToApply_StereotypeToApply.gifbin0 -> 223 bytes
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/ApplyStereotypeActionConfiguration.gifbin0 -> 129 bytes
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/StereotypeToApply.gifbin0 -> 129 bytes
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.properties30
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.xml25
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationEditPlugin.java108
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProvider.java175
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProviderAdapterFactory.java227
-rw-r--r--tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/StereotypeToApplyItemProvider.java209
14 files changed, 877 insertions, 0 deletions
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.classpath b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.classpath
new file mode 100644
index 00000000000..cedf0d0d0b5
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.project b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.project
new file mode 100644
index 00000000000..ea4a3a98bfd
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.extendedtypes.uml.edit</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/META-INF/MANIFEST.MF b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..276fbfc22c5
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/META-INF/MANIFEST.MF
@@ -0,0 +1,25 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.papyrus.extendedtypes.uml.edit;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Activator: org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.provider.ApplyStereotypeActionConfigurationEditPlugin$Implementation
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.provider
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.papyrus.extendedtypes.uml;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.papyrus.extendedtypes;visibility:=reexport,
+ org.eclipse.papyrus.extendedtypes.edit;visibility:=reexport,
+ org.eclipse.emf.facet.infra.query;visibility:=reexport,
+ org.eclipse.emf.facet.infra.query.edit;visibility:=reexport,
+ org.eclipse.uml2.uml;visibility:=reexport,
+ org.eclipse.uml2.uml.edit;visibility:=reexport
+Bundle-ActivationPolicy: lazy
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/about.html b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/build.properties b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/build.properties
new file mode 100644
index 00000000000..349c54c9d8e
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/build.properties
@@ -0,0 +1,15 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+bin.includes = .,\
+ icons/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html
+jars.compile.order = .
+source.. = src-gen/
+output.. = bin/
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/ctool16/CreateApplyStereotypeActionConfiguration_stereotypesToApply_StereotypeToApply.gif b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/ctool16/CreateApplyStereotypeActionConfiguration_stereotypesToApply_StereotypeToApply.gif
new file mode 100644
index 00000000000..fe10b8e7be4
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/ctool16/CreateApplyStereotypeActionConfiguration_stereotypesToApply_StereotypeToApply.gif
Binary files differ
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/ApplyStereotypeActionConfiguration.gif b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/ApplyStereotypeActionConfiguration.gif
new file mode 100644
index 00000000000..35ef84e20e2
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/ApplyStereotypeActionConfiguration.gif
Binary files differ
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/StereotypeToApply.gif b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/StereotypeToApply.gif
new file mode 100644
index 00000000000..caf2804510d
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/icons/full/obj16/StereotypeToApply.gif
Binary files differ
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.properties b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.properties
new file mode 100644
index 00000000000..875b0bac090
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.properties
@@ -0,0 +1,30 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = ApplyStereotypeActionConfiguration Edit Support
+providerName = www.example.org
+
+_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_ApplyStereotypeActionConfiguration_type = Apply Stereotype Action Configuration
+_UI_StereotypeToApply_type = Stereotype To Apply
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+_UI_ApplyStereotypeActionConfiguration_stereotypesToApply_feature = Stereotypes To Apply
+_UI_StereotypeToApply_stereotypeQualifiedName_feature = Stereotype Qualified Name
+_UI_StereotypeToApply_updateName_feature = Update Name
+_UI_Unknown_feature = Unspecified
+
+_UI_StereotypeToApply_requiredProfiles_feature = Required Profiles
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.xml b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.xml
new file mode 100644
index 00000000000..ee1f28fc74a
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/plugin.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id$
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <factory
+ uri="http://www.eclipse.org/papyrus/diagram/types/applystereotypeactionconfiguration/0.7"
+ class="org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.provider.ApplyStereotypeActionConfigurationItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
+ </extension>
+
+</plugin>
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationEditPlugin.java b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationEditPlugin.java
new file mode 100644
index 00000000000..beb55eab91d
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationEditPlugin.java
@@ -0,0 +1,108 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.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.papyrus.extendedtypes.provider.ExtendedTypesEditPlugin;
+
+import org.eclipse.uml2.uml.edit.UMLEditPlugin;
+
+/**
+ * This is the central singleton for the ApplyStereotypeActionConfiguration edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class ApplyStereotypeActionConfigurationEditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final ApplyStereotypeActionConfigurationEditPlugin INSTANCE = new ApplyStereotypeActionConfigurationEditPlugin();
+
+ /**
+ * 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 ApplyStereotypeActionConfigurationEditPlugin() {
+ super
+ (new ResourceLocator [] {
+ ConfigurationEditPlugin.INSTANCE,
+ EcoreEditPlugin.INSTANCE,
+ ExtendedTypesEditPlugin.INSTANCE,
+ QueryEditPlugin.INSTANCE,
+ UMLEditPlugin.INSTANCE,
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProvider.java b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProvider.java
new file mode 100644
index 00000000000..d75ab1e08cb
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProvider.java
@@ -0,0 +1,175 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.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.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.extendedtypes.provider.PostActionConfigurationItemProvider;
+
+import org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfiguration;
+import org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfigurationFactory;
+import org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfigurationPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfiguration} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ApplyStereotypeActionConfigurationItemProvider
+ extends PostActionConfigurationItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ApplyStereotypeActionConfigurationItemProvider(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(ApplyStereotypeActionConfigurationPackage.Literals.APPLY_STEREOTYPE_ACTION_CONFIGURATION__STEREOTYPES_TO_APPLY);
+ }
+ 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 ApplyStereotypeActionConfiguration.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplyStereotypeActionConfiguration"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ApplyStereotypeActionConfiguration)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ApplyStereotypeActionConfiguration_type") :
+ getString("_UI_ApplyStereotypeActionConfiguration_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(ApplyStereotypeActionConfiguration.class)) {
+ case ApplyStereotypeActionConfigurationPackage.APPLY_STEREOTYPE_ACTION_CONFIGURATION__STEREOTYPES_TO_APPLY:
+ 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
+ (ApplyStereotypeActionConfigurationPackage.Literals.APPLY_STEREOTYPE_ACTION_CONFIGURATION__STEREOTYPES_TO_APPLY,
+ ApplyStereotypeActionConfigurationFactory.eINSTANCE.createStereotypeToApply()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ApplyStereotypeActionConfigurationEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProviderAdapterFactory.java b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProviderAdapterFactory.java
new file mode 100644
index 00000000000..e169d2e533f
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/ApplyStereotypeActionConfigurationItemProviderAdapterFactory.java
@@ -0,0 +1,227 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.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.extendedtypes.uml.applystereotypeactionconfiguration.util.ApplyStereotypeActionConfigurationAdapterFactory;
+
+/**
+ * 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 ApplyStereotypeActionConfigurationItemProviderAdapterFactory extends ApplyStereotypeActionConfigurationAdapterFactory 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 ApplyStereotypeActionConfigurationItemProviderAdapterFactory() {
+ 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.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfiguration} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ApplyStereotypeActionConfigurationItemProvider applyStereotypeActionConfigurationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfiguration}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createApplyStereotypeActionConfigurationAdapter() {
+ if (applyStereotypeActionConfigurationItemProvider == null) {
+ applyStereotypeActionConfigurationItemProvider = new ApplyStereotypeActionConfigurationItemProvider(this);
+ }
+
+ return applyStereotypeActionConfigurationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.StereotypeToApply} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StereotypeToApplyItemProvider stereotypeToApplyItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.StereotypeToApply}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStereotypeToApplyAdapter() {
+ if (stereotypeToApplyItemProvider == null) {
+ stereotypeToApplyItemProvider = new StereotypeToApplyItemProvider(this);
+ }
+
+ return stereotypeToApplyItemProvider;
+ }
+
+ /**
+ * 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 (applyStereotypeActionConfigurationItemProvider != null) applyStereotypeActionConfigurationItemProvider.dispose();
+ if (stereotypeToApplyItemProvider != null) stereotypeToApplyItemProvider.dispose();
+ }
+
+}
diff --git a/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/StereotypeToApplyItemProvider.java b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/StereotypeToApplyItemProvider.java
new file mode 100644
index 00000000000..82fa1b3bdb5
--- /dev/null
+++ b/tests/debug/plugins/uml/org.eclipse.papyrus.extendedtypes.uml.edit/src-gen/org/eclipse/papyrus/extendedtypes/uml/applystereotypeactionconfiguration/provider/StereotypeToApplyItemProvider.java
@@ -0,0 +1,209 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.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.extendedtypes.uml.applystereotypeactionconfiguration.ApplyStereotypeActionConfigurationPackage;
+import org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.StereotypeToApply;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.uml.applystereotypeactionconfiguration.StereotypeToApply} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class StereotypeToApplyItemProvider
+ 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 StereotypeToApplyItemProvider(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);
+
+ addStereotypeQualifiedNamePropertyDescriptor(object);
+ addUpdateNamePropertyDescriptor(object);
+ addRequiredProfilesPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Stereotype Qualified Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addStereotypeQualifiedNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_StereotypeToApply_stereotypeQualifiedName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypeToApply_stereotypeQualifiedName_feature", "_UI_StereotypeToApply_type"),
+ ApplyStereotypeActionConfigurationPackage.Literals.STEREOTYPE_TO_APPLY__STEREOTYPE_QUALIFIED_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Update Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUpdateNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_StereotypeToApply_updateName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypeToApply_updateName_feature", "_UI_StereotypeToApply_type"),
+ ApplyStereotypeActionConfigurationPackage.Literals.STEREOTYPE_TO_APPLY__UPDATE_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Required Profiles feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addRequiredProfilesPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_StereotypeToApply_requiredProfiles_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_StereotypeToApply_requiredProfiles_feature", "_UI_StereotypeToApply_type"),
+ ApplyStereotypeActionConfigurationPackage.Literals.STEREOTYPE_TO_APPLY__REQUIRED_PROFILES,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns StereotypeToApply.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/StereotypeToApply"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((StereotypeToApply)object).getStereotypeQualifiedName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_StereotypeToApply_type") :
+ getString("_UI_StereotypeToApply_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(StereotypeToApply.class)) {
+ case ApplyStereotypeActionConfigurationPackage.STEREOTYPE_TO_APPLY__STEREOTYPE_QUALIFIED_NAME:
+ case ApplyStereotypeActionConfigurationPackage.STEREOTYPE_TO_APPLY__UPDATE_NAME:
+ case ApplyStereotypeActionConfigurationPackage.STEREOTYPE_TO_APPLY__REQUIRED_PROFILES:
+ 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 ApplyStereotypeActionConfigurationEditPlugin.INSTANCE;
+ }
+
+}

Back to the top