diff options
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassItemProvider.java')
-rw-r--r-- | extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassItemProvider.java | 2219 |
1 files changed, 2219 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassItemProvider.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassItemProvider.java new file mode 100644 index 00000000000..8bc153ec065 --- /dev/null +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/IClassItemProvider.java @@ -0,0 +1,2219 @@ +/** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.provider; + + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; + +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IClass; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyFactory; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage; + +/** + * This is the item provider adapter for a {@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IClass} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class IClassItemProvider extends IClassifierItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IClassItemProvider(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); + + addUmlDependencyIDPropertyDescriptor(object); + addObjectCreationPropertyDescriptor(object); + addModifiedTimeWeakPropertyDescriptor(object); + addIdPropertyDescriptor(object); + addMyStatePropertyDescriptor(object); + addNamePropertyDescriptor(object); + addLastIDPropertyDescriptor(object); + addWeakCGTimePropertyDescriptor(object); + addStrongCGTimePropertyDescriptor(object); + addMultiplicityPropertyDescriptor(object); + addClassModifierPropertyDescriptor(object); + addTheMainDiagramPropertyDescriptor(object); + addItsStateChartPropertyDescriptor(object); + addTriggeredOperationsPropertyDescriptor(object); + addReceptionsPropertyDescriptor(object); + addAssociationElementsPropertyDescriptor(object); + addOwnerHandlePropertyDescriptor(object); + addRequiremenTracabilityHandlePropertyDescriptor(object); + addCodeUpdateCGTimePropertyDescriptor(object); + addCmheaderPropertyDescriptor(object); + addDisplayNamePropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Uml Dependency ID feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addUmlDependencyIDPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_M_subjectType_umlDependencyID_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_M_subjectType_umlDependencyID_feature", "_UI_M_subjectType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getM_subjectType_UmlDependencyID(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Object Creation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addObjectCreationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_M_subjectType_objectCreation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_M_subjectType_objectCreation_feature", "_UI_M_subjectType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getM_subjectType_ObjectCreation(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Modified Time Weak feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addModifiedTimeWeakPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_modifiedTimeWeak_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_modifiedTimeWeak_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getValueType_ModifiedTimeWeak(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Id feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addIdPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_id_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_id_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getValueType_Id(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the My State feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addMyStatePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_myState_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_myState_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getValueType_MyState(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Name feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addNamePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ValueType_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ValueType_name_feature", "_UI_ValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getValueType_Name(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Last ID feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addLastIDPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ConveyedType_lastID_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ConveyedType_lastID_feature", "_UI_ConveyedType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getConveyedType_LastID(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Weak CG Time feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addWeakCGTimePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_weakCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_weakCGTime_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_WeakCGTime(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Strong CG Time feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStrongCGTimePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_strongCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_strongCGTime_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_StrongCGTime(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Multiplicity feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addMultiplicityPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_multiplicity_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_multiplicity_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_Multiplicity(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Class Modifier feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addClassModifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_classModifier_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_classModifier_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_ClassModifier(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the The Main Diagram feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTheMainDiagramPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_theMainDiagram_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_theMainDiagram_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_TheMainDiagram(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Its State Chart feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addItsStateChartPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_itsStateChart_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_itsStateChart_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_ItsStateChart(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Triggered Operations feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTriggeredOperationsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_TriggeredOperations_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_TriggeredOperations_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_TriggeredOperations(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Receptions feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addReceptionsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_Receptions_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_Receptions_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_Receptions(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Association Elements feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addAssociationElementsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_AssociationElements_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_AssociationElements_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_AssociationElements(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Owner Handle feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addOwnerHandlePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_ownerHandle_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_ownerHandle_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_OwnerHandle(), + true, + false, + true, + null, + null, + null)); + } + + /** + * This adds a property descriptor for the Requiremen Tracability Handle feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addRequiremenTracabilityHandlePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_requiremenTracabilityHandle_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_requiremenTracabilityHandle_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_RequiremenTracabilityHandle(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Code Update CG Time feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addCodeUpdateCGTimePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_codeUpdateCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_codeUpdateCGTime_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_CodeUpdateCGTime(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Cmheader feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addCmheaderPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_IClass_cmheader_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_cmheader_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_Cmheader(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * 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_IClass_displayName_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_IClass_displayName_feature", "_UI_IClass_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getIClass_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}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Properties()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Operations()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Tags()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Associations()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Dependencies()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Ports()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_ObjectLinks()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_StateCharts()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Description()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_HyperLinks()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_ComponentFiles()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Links()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_Components()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getIClass_TemplateParameters()); + } + 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 IClass.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/IClass")); //$NON-NLS-1$ + } + + /** + * This returns the label text for the adapted class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getText(Object object) { + String label = ((IClass)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_IClass_type") : //$NON-NLS-1$ + getString("_UI_IClass_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$ + } + + + /** + * 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(IClass.class)) { + case UMLRhapsodyPackage.ICLASS__UML_DEPENDENCY_ID: + case UMLRhapsodyPackage.ICLASS__OBJECT_CREATION: + case UMLRhapsodyPackage.ICLASS__MODIFIED_TIME_WEAK: + case UMLRhapsodyPackage.ICLASS__ID: + case UMLRhapsodyPackage.ICLASS__MY_STATE: + case UMLRhapsodyPackage.ICLASS__NAME: + case UMLRhapsodyPackage.ICLASS__LAST_ID: + case UMLRhapsodyPackage.ICLASS__WEAK_CG_TIME: + case UMLRhapsodyPackage.ICLASS__STRONG_CG_TIME: + case UMLRhapsodyPackage.ICLASS__MULTIPLICITY: + case UMLRhapsodyPackage.ICLASS__CLASS_MODIFIER: + case UMLRhapsodyPackage.ICLASS__REQUIREMEN_TRACABILITY_HANDLE: + case UMLRhapsodyPackage.ICLASS__CODE_UPDATE_CG_TIME: + case UMLRhapsodyPackage.ICLASS__CMHEADER: + case UMLRhapsodyPackage.ICLASS__DISPLAY_NAME: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case UMLRhapsodyPackage.ICLASS__PROPERTIES: + case UMLRhapsodyPackage.ICLASS__STEREOTYPES: + case UMLRhapsodyPackage.ICLASS__OPERATIONS: + case UMLRhapsodyPackage.ICLASS__INHERITANCES: + case UMLRhapsodyPackage.ICLASS__ATTRS: + case UMLRhapsodyPackage.ICLASS__TAGS: + case UMLRhapsodyPackage.ICLASS__ASSOCIATIONS: + case UMLRhapsodyPackage.ICLASS__DEPENDENCIES: + case UMLRhapsodyPackage.ICLASS__PORTS: + case UMLRhapsodyPackage.ICLASS__OBJECT_LINKS: + case UMLRhapsodyPackage.ICLASS__STATE_CHARTS: + case UMLRhapsodyPackage.ICLASS__PRIMITIVE_OPERATIONS: + case UMLRhapsodyPackage.ICLASS__ANNOTATIONS: + case UMLRhapsodyPackage.ICLASS__DESCRIPTION: + case UMLRhapsodyPackage.ICLASS__DECLARATIVES: + case UMLRhapsodyPackage.ICLASS__HYPER_LINKS: + case UMLRhapsodyPackage.ICLASS__COMPONENT_FILES: + case UMLRhapsodyPackage.ICLASS__LINKS: + case UMLRhapsodyPackage.ICLASS__COMPONENTS: + case UMLRhapsodyPackage.ICLASS__EVENT_HANDLES: + case UMLRhapsodyPackage.ICLASS__TEMPLATE_PARAMETERS: + 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 + (UMLRhapsodyPackage.eINSTANCE.getIClass_Properties(), + UMLRhapsodyFactory.eINSTANCE.createIPropertyContainer())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIUnit())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIAnnotation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIVariable())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIArgument())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIConstraint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIControlledFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIPackage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIProject())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createITableLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createITableView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Operations(), + UMLRhapsodyFactory.eINSTANCE.createIConstructor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Operations(), + UMLRhapsodyFactory.eINSTANCE.createIDestructor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Operations(), + UMLRhapsodyFactory.eINSTANCE.createIPrimitiveOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Operations(), + UMLRhapsodyFactory.eINSTANCE.createIReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Operations(), + UMLRhapsodyFactory.eINSTANCE.createITriggered())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIModelElement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIStateVertex())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIState())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAcceptEventAction())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAcceptTimeEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAction())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIUnit())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAnnotation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIVariable())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIArgument())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationRole())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createICallOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIClassifierRole())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createICollaboration())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIComponentInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIConfiguration())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIConnector())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIConstraint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIValueSpecification())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIContextSpecification())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIControlledFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIDependency())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIEnumerationLiteral())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIExecutionOccurrence())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIFileFragment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIFlow())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIGeneralization())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIGuard())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInstanceSlot())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInstanceSpecification())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInstanceValue())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInteractionOccurrence())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInteractionOperand())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIInteractionOperator())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createILiteralSpecification())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIMessage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIMessagePoint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIObjectNode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIPackage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIPin())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIProject())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createISendAction())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createISwimlane())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITableLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITableView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITemplateInstantiation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITemplateInstantiationParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITransition())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createITrigger())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIUnit())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIAnnotation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIVariable())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIArgument())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIConstraint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIControlledFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIPackage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIProject())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createITableLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createITableView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Tags(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Associations(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationEnd())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Associations(), + UMLRhapsodyFactory.eINSTANCE.createIBlock())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Associations(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Associations(), + UMLRhapsodyFactory.eINSTANCE.createIPart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Dependencies(), + UMLRhapsodyFactory.eINSTANCE.createIDependency())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Dependencies(), + UMLRhapsodyFactory.eINSTANCE.createIHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Ports(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Ports(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Ports(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Ports(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Ports(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_ObjectLinks(), + UMLRhapsodyFactory.eINSTANCE.createIObjectLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_StateCharts(), + UMLRhapsodyFactory.eINSTANCE.createIActivityGraph())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_StateCharts(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations(), + UMLRhapsodyFactory.eINSTANCE.createIConstructor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations(), + UMLRhapsodyFactory.eINSTANCE.createIDestructor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations(), + UMLRhapsodyFactory.eINSTANCE.createIPrimitiveOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations(), + UMLRhapsodyFactory.eINSTANCE.createIReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations(), + UMLRhapsodyFactory.eINSTANCE.createITriggered())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIUnit())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIAnnotation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIVariable())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIArgument())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIConstraint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIControlledFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIPackage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIProject())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createITableLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createITableView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Description(), + UMLRhapsodyFactory.eINSTANCE.createIDescription())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIInformationFlow())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIInformationItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIMSC())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createISubsystem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIUCDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_HyperLinks(), + UMLRhapsodyFactory.eINSTANCE.createIMHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_ComponentFiles(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Links(), + UMLRhapsodyFactory.eINSTANCE.createIClassInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Links(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_Components(), + UMLRhapsodyFactory.eINSTANCE.createILinkInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getIClass_TemplateParameters(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + } + + /** + * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) { + Object childFeature = feature; + Object childObject = child; + + boolean qualify = + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Stereotypes() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Inheritances() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Attrs() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Annotations() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Declaratives() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_EventHandles() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_ComponentFiles() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Ports() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Links() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Associations() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_StateCharts() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Tags() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_TemplateParameters() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Operations() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_PrimitiveOperations() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getIClass_Dependencies(); + + if (qualify) { + return getString + ("_UI_CreateChild_text2", //$NON-NLS-1$ + new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) }); + } + return super.getCreateChildText(owner, feature, child, selection); + } + +} |