diff options
author | Vincent Lorenzo | 2016-12-12 14:47:01 +0000 |
---|---|---|
committer | vincent lorenzo | 2016-12-13 09:14:45 +0000 |
commit | 1db6463733535d760b4282468648f6ef3e3d721a (patch) | |
tree | 5dbf33330d7f82d50324f44c048685f890bfb648 /extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java | |
parent | 15ff1578395d0d476453e80ca0082ccda46bb8da (diff) | |
download | org.eclipse.papyrus-1db6463733535d760b4282468648f6ef3e3d721a.tar.gz org.eclipse.papyrus-1db6463733535d760b4282468648f6ef3e3d721a.tar.xz org.eclipse.papyrus-1db6463733535d760b4282468648f6ef3e3d721a.zip |
Bug 509084: [Importer][Rhapsody] refactore umlrhapsody metamodel to get a common ancestor for the feature displayName
1/ we remove the feature displayName of all these elements :
- ITriggered
- ITransition
- ITag
- ISwimlane
- IStereotype
- IActivityGraph
- IActor
- ISubsystem
- IState
- IRequirement
- IProfile
- IPrimitiveOperation
- IPar
- IMessage
- IMHyperLink
- IEvent
- IDiagram
- IDependency
- IClassifierRole
- IClass
- IActivityGraph
2/ We add the feature display name to IModelElement object
3/ We add the inheritance to IModelElement for these objects:
- ITriggered
- IActivityGraph
- ISubsystem
- IPrimitiveOperation
- IMHyperLink (done in its superclass HyperLinksType)
Change-Id: Id8d70680436c6f227f618ad34e6d87fe697edb67
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java')
1 files changed, 0 insertions, 24 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java index 919edce6f06..3a65cd66bd9 100644 --- a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassifierRoleItemProvider.java @@ -69,7 +69,6 @@ public class IClassifierRoleItemProvider extends IModelElementItemProvider { addCodeUpdateCGTimePropertyDescriptor(object); addObjectCreationPropertyDescriptor(object); addUmlDependencyIDPropertyDescriptor(object); - addDisplayNamePropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -317,28 +316,6 @@ public class IClassifierRoleItemProvider extends IModelElementItemProvider { } /** - * This adds a property descriptor for the Display Name feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void addDisplayNamePropertyDescriptor(Object object) { - itemPropertyDescriptors.add - (createItemPropertyDescriptor - (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), - getResourceLocator(), - getString("_UI_IClassifierRole_displayName_feature"), //$NON-NLS-1$ - getString("_UI_PropertyDescriptor_description", "_UI_IClassifierRole_displayName_feature", "_UI_IClassifierRole_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - UMLRhapsodyPackage.eINSTANCE.getIClassifierRole_DisplayName(), - 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}. @@ -415,7 +392,6 @@ public class IClassifierRoleItemProvider extends IModelElementItemProvider { case UMLRhapsodyPackage.ICLASSIFIER_ROLE__CODE_UPDATE_CG_TIME: case UMLRhapsodyPackage.ICLASSIFIER_ROLE__OBJECT_CREATION: case UMLRhapsodyPackage.ICLASSIFIER_ROLE__UML_DEPENDENCY_ID: - case UMLRhapsodyPackage.ICLASSIFIER_ROLE__DISPLAY_NAME: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case UMLRhapsodyPackage.ICLASSIFIER_ROLE__PROPERTIES: |