From 6534cb833f6a5e96a32e9127d0b94a4adea13cae Mon Sep 17 00:00:00 2001 From: Quentin Le Menez Date: Mon, 9 Jan 2017 15:22:29 +0100 Subject: [Releng] [Tests] Delete obsolete tests Signed-off-by: Quentin Le Menez --- .../provider/ConstantValueItemProvider.java | 219 -------------- .../provider/DynamicValueItemProvider.java | 108 ------- .../provider/FeatureToSetItemProvider.java | 213 -------------- .../provider/FeatureValueItemProvider.java | 110 ------- .../provider/ListValueItemProvider.java | 133 --------- ...emanticValuesActionConfigurationEditPlugin.java | 102 ------- ...anticValuesActionConfigurationItemProvider.java | 170 ----------- ...ionConfigurationItemProviderAdapterFactory.java | 321 --------------------- .../provider/QueryExecutionValueItemProvider.java | 133 --------- 9 files changed, 1509 deletions(-) delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ConstantValueItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/DynamicValueItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureToSetItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureValueItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ListValueItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationEditPlugin.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProvider.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProviderAdapterFactory.java delete mode 100644 tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/QueryExecutionValueItemProvider.java (limited to 'tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration') diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ConstantValueItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ConstantValueItemProvider.java deleted file mode 100644 index 27cb3c06e8b..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ConstantValueItemProvider.java +++ /dev/null @@ -1,219 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ConstantValue; -import org.eclipse.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationPackage; -import org.eclipse.uml2.uml.UMLFactory; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ConstantValue} object. - * - * - * @generated - */ -public class ConstantValueItemProvider - extends FeatureValueItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ConstantValueItemProvider(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(ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE); - } - 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 ConstantValue.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ConstantValue")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ConstantValue_type"); - } - - /** - * 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(ConstantValue.class)) { - case ModifySemanticValuesActionConfigurationPackage.CONSTANT_VALUE__VALUE_INSTANCE: - 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 - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createOpaqueExpression())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createExpression())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createStringExpression())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createLiteralInteger())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createLiteralString())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createLiteralBoolean())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createLiteralNull())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createInstanceValue())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createLiteralUnlimitedNatural())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createTimeExpression())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createDuration())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createInterval())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createDurationInterval())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.CONSTANT_VALUE__VALUE_INSTANCE, - UMLFactory.eINSTANCE.createTimeInterval())); - } - -} diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/DynamicValueItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/DynamicValueItemProvider.java deleted file mode 100644 index 0605257dc21..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/DynamicValueItemProvider.java +++ /dev/null @@ -1,108 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.DynamicValue} object. - * - * - * @generated - */ -public class DynamicValueItemProvider - extends FeatureValueItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public DynamicValueItemProvider(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 DynamicValue.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/DynamicValue")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_DynamicValue_type"); - } - - /** - * 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/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureToSetItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureToSetItemProvider.java deleted file mode 100644 index f95d44481df..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureToSetItemProvider.java +++ /dev/null @@ -1,213 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.FeatureToSet; -import org.eclipse.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationFactory; -import org.eclipse.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.FeatureToSet} object. - * - * - * @generated - */ -public class FeatureToSetItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public FeatureToSetItemProvider(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); - - addFeatureNamePropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Feature Name feature. - * - * - * @generated - */ - protected void addFeatureNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_FeatureToSet_featureName_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_FeatureToSet_featureName_feature", "_UI_FeatureToSet_type"), - ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__FEATURE_NAME, - 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(ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__VALUE); - } - 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 FeatureToSet.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/FeatureToSet")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((FeatureToSet)object).getFeatureName(); - return label == null || label.length() == 0 ? - getString("_UI_FeatureToSet_type") : - getString("_UI_FeatureToSet_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(FeatureToSet.class)) { - case ModifySemanticValuesActionConfigurationPackage.FEATURE_TO_SET__FEATURE_NAME: - fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); - return; - case ModifySemanticValuesActionConfigurationPackage.FEATURE_TO_SET__VALUE: - 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 - (ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__VALUE, - ModifySemanticValuesActionConfigurationFactory.eINSTANCE.createDynamicValue())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__VALUE, - ModifySemanticValuesActionConfigurationFactory.eINSTANCE.createConstantValue())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__VALUE, - ModifySemanticValuesActionConfigurationFactory.eINSTANCE.createListValue())); - - newChildDescriptors.add - (createChildParameter - (ModifySemanticValuesActionConfigurationPackage.Literals.FEATURE_TO_SET__VALUE, - ModifySemanticValuesActionConfigurationFactory.eINSTANCE.createQueryExecutionValue())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ModifySemanticValuesActionConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureValueItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureValueItemProvider.java deleted file mode 100644 index 0520fad7e30..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/FeatureValueItemProvider.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.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.ItemProviderAdapter; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.FeatureValue} object. - * - * - * @generated - */ -public class FeatureValueItemProvider - extends ItemProviderAdapter - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public FeatureValueItemProvider(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) { - return getString("_UI_FeatureValue_type"); - } - - /** - * 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); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ModifySemanticValuesActionConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ListValueItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ListValueItemProvider.java deleted file mode 100644 index 7c84e606a65..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ListValueItemProvider.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.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.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ListValue} object. - * - * - * @generated - */ -public class ListValueItemProvider - extends FeatureValueItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ListValueItemProvider(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); - - addValuesPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Values feature. - * - * - * @generated - */ - protected void addValuesPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_ListValue_values_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_ListValue_values_feature", "_UI_ListValue_type"), - ModifySemanticValuesActionConfigurationPackage.Literals.LIST_VALUE__VALUES, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns ListValue.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ListValue")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_ListValue_type"); - } - - /** - * 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/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationEditPlugin.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationEditPlugin.java deleted file mode 100644 index b69c9fa7457..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationEditPlugin.java +++ /dev/null @@ -1,102 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.infra.extendedtypes.provider.ExtendedTypesEditPlugin; -import org.eclipse.papyrus.infra.queries.core.configuration.provider.ConfigurationEditPlugin; -import org.eclipse.uml2.uml.edit.UMLEditPlugin; - -/** - * This is the central singleton for the ModifySemanticValuesActionConfiguration edit plugin. - * - * - * @generated - */ -public final class ModifySemanticValuesActionConfigurationEditPlugin extends EMFPlugin { - /** - * Keep track of the singleton. - * - * - * @generated - */ - public static final ModifySemanticValuesActionConfigurationEditPlugin INSTANCE = new ModifySemanticValuesActionConfigurationEditPlugin(); - - /** - * Keep track of the singleton. - * - * - * @generated - */ - private static Implementation plugin; - - /** - * Create the instance. - * - * - * @generated - */ - public ModifySemanticValuesActionConfigurationEditPlugin() { - super - (new ResourceLocator [] { - ConfigurationEditPlugin.INSTANCE, - EcoreEditPlugin.INSTANCE, - ExtendedTypesEditPlugin.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/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProvider.java deleted file mode 100644 index 5fa82682352..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProvider.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfiguration; -import org.eclipse.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationFactory; -import org.eclipse.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationPackage; -import org.eclipse.papyrus.infra.extendedtypes.provider.PostActionConfigurationItemProvider; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfiguration} object. - * - * - * @generated - */ -public class ModifySemanticValuesActionConfigurationItemProvider - extends PostActionConfigurationItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public ModifySemanticValuesActionConfigurationItemProvider(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(ModifySemanticValuesActionConfigurationPackage.Literals.MODIFY_SEMANTIC_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET); - } - 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 ModifySemanticValuesActionConfiguration.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/ModifySemanticValuesActionConfiguration")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - String label = ((ModifySemanticValuesActionConfiguration)object).getId(); - return label == null || label.length() == 0 ? - getString("_UI_ModifySemanticValuesActionConfiguration_type") : - getString("_UI_ModifySemanticValuesActionConfiguration_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(ModifySemanticValuesActionConfiguration.class)) { - case ModifySemanticValuesActionConfigurationPackage.MODIFY_SEMANTIC_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET: - 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 - (ModifySemanticValuesActionConfigurationPackage.Literals.MODIFY_SEMANTIC_VALUES_ACTION_CONFIGURATION__FEATURES_TO_SET, - ModifySemanticValuesActionConfigurationFactory.eINSTANCE.createFeatureToSet())); - } - - /** - * Return the resource locator for this item provider's resources. - * - * - * @generated - */ - @Override - public ResourceLocator getResourceLocator() { - return ModifySemanticValuesActionConfigurationEditPlugin.INSTANCE; - } - -} diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProviderAdapterFactory.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProviderAdapterFactory.java deleted file mode 100644 index 2ced8708b6d..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/ModifySemanticValuesActionConfigurationItemProviderAdapterFactory.java +++ /dev/null @@ -1,321 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.util.ModifySemanticValuesActionConfigurationAdapterFactory; - -/** - * 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 ModifySemanticValuesActionConfigurationItemProviderAdapterFactory extends ModifySemanticValuesActionConfigurationAdapterFactory 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 ModifySemanticValuesActionConfigurationItemProviderAdapterFactory() { - 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.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfiguration} instances. - * - * - * @generated - */ - protected ModifySemanticValuesActionConfigurationItemProvider modifySemanticValuesActionConfigurationItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfiguration}. - * - * - * @generated - */ - @Override - public Adapter createModifySemanticValuesActionConfigurationAdapter() { - if (modifySemanticValuesActionConfigurationItemProvider == null) { - modifySemanticValuesActionConfigurationItemProvider = new ModifySemanticValuesActionConfigurationItemProvider(this); - } - - return modifySemanticValuesActionConfigurationItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.FeatureToSet} instances. - * - * - * @generated - */ - protected FeatureToSetItemProvider featureToSetItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.FeatureToSet}. - * - * - * @generated - */ - @Override - public Adapter createFeatureToSetAdapter() { - if (featureToSetItemProvider == null) { - featureToSetItemProvider = new FeatureToSetItemProvider(this); - } - - return featureToSetItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.DynamicValue} instances. - * - * - * @generated - */ - protected DynamicValueItemProvider dynamicValueItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.DynamicValue}. - * - * - * @generated - */ - @Override - public Adapter createDynamicValueAdapter() { - if (dynamicValueItemProvider == null) { - dynamicValueItemProvider = new DynamicValueItemProvider(this); - } - - return dynamicValueItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ConstantValue} instances. - * - * - * @generated - */ - protected ConstantValueItemProvider constantValueItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ConstantValue}. - * - * - * @generated - */ - @Override - public Adapter createConstantValueAdapter() { - if (constantValueItemProvider == null) { - constantValueItemProvider = new ConstantValueItemProvider(this); - } - - return constantValueItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ListValue} instances. - * - * - * @generated - */ - protected ListValueItemProvider listValueItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ListValue}. - * - * - * @generated - */ - @Override - public Adapter createListValueAdapter() { - if (listValueItemProvider == null) { - listValueItemProvider = new ListValueItemProvider(this); - } - - return listValueItemProvider; - } - - /** - * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.QueryExecutionValue} instances. - * - * - * @generated - */ - protected QueryExecutionValueItemProvider queryExecutionValueItemProvider; - - /** - * This creates an adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.QueryExecutionValue}. - * - * - * @generated - */ - @Override - public Adapter createQueryExecutionValueAdapter() { - if (queryExecutionValueItemProvider == null) { - queryExecutionValueItemProvider = new QueryExecutionValueItemProvider(this); - } - - return queryExecutionValueItemProvider; - } - - /** - * 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 (modifySemanticValuesActionConfigurationItemProvider != null) modifySemanticValuesActionConfigurationItemProvider.dispose(); - if (featureToSetItemProvider != null) featureToSetItemProvider.dispose(); - if (dynamicValueItemProvider != null) dynamicValueItemProvider.dispose(); - if (constantValueItemProvider != null) constantValueItemProvider.dispose(); - if (listValueItemProvider != null) listValueItemProvider.dispose(); - if (queryExecutionValueItemProvider != null) queryExecutionValueItemProvider.dispose(); - } - -} diff --git a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/QueryExecutionValueItemProvider.java b/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/QueryExecutionValueItemProvider.java deleted file mode 100644 index 35160e095c5..00000000000 --- a/tests/debug/plugins/core/org.eclipse.papyrus.extendedtypes.emf.edit/src-gen/org/eclipse/papyrus/extendedtypes/emf/modifysemanticvaluesactionconfiguration/provider/QueryExecutionValueItemProvider.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - * - * - * - * $Id$ - */ -package org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.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.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.papyrus.infra.extendedtypes.emf.modifysemanticvaluesactionconfiguration.ModifySemanticValuesActionConfigurationPackage; - -/** - * This is the item provider adapter for a {@link org.eclipse.papyrus.extendedtypes.emf.modifysemanticvaluesactionconfiguration.QueryExecutionValue} object. - * - * - * @generated - */ -public class QueryExecutionValueItemProvider - extends FeatureValueItemProvider - implements - IEditingDomainItemProvider, - IStructuredItemContentProvider, - ITreeItemContentProvider, - IItemLabelProvider, - IItemPropertySource { - /** - * This constructs an instance from a factory and a notifier. - * - * - * @generated - */ - public QueryExecutionValueItemProvider(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); - - addConfigurationPropertyDescriptor(object); - } - return itemPropertyDescriptors; - } - - /** - * This adds a property descriptor for the Configuration feature. - * - * - * @generated - */ - protected void addConfigurationPropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_QueryExecutionValue_configuration_feature"), - getString("_UI_PropertyDescriptor_description", "_UI_QueryExecutionValue_configuration_feature", "_UI_QueryExecutionValue_type"), - ModifySemanticValuesActionConfigurationPackage.Literals.QUERY_EXECUTION_VALUE__CONFIGURATION, - true, - false, - true, - null, - null, - null)); - } - - /** - * This returns QueryExecutionValue.gif. - * - * - * @generated - */ - @Override - public Object getImage(Object object) { - return overlayImage(object, getResourceLocator().getImage("full/obj16/QueryExecutionValue")); - } - - /** - * This returns the label text for the adapted class. - * - * - * @generated - */ - @Override - public String getText(Object object) { - return getString("_UI_QueryExecutionValue_type"); - } - - /** - * 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); - } - -} -- cgit v1.2.3