diff options
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/ICodeGenConfigInfoItemProvider.java')
1 files changed, 1453 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/ICodeGenConfigInfoItemProvider.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/ICodeGenConfigInfoItemProvider.java new file mode 100644 index 00000000000..9606c75b8d0 --- /dev/null +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel.edit/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/provider/ICodeGenConfigInfoItemProvider.java @@ -0,0 +1,1453 @@ +/** + * 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.ICodeGenConfigInfo; +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.ICodeGenConfigInfo} object. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ +public class ICodeGenConfigInfoItemProvider extends DependsOnTypeItemProvider { + /** + * This constructs an instance from a factory and a notifier. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ICodeGenConfigInfoItemProvider(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); + + addIdPropertyDescriptor(object); + addMyStatePropertyDescriptor(object); + addNamePropertyDescriptor(object); + addModifiedTimeWeakPropertyDescriptor(object); + addScopeTypePropertyDescriptor(object); + addLibrariesPropertyDescriptor(object); + addAdditionalSourcesPropertyDescriptor(object); + addStandardHeadersPropertyDescriptor(object); + addIncludePathPropertyDescriptor(object); + addTargetMainPropertyDescriptor(object); + addInstrumentationPropertyDescriptor(object); + addTimeModelPropertyDescriptor(object); + addM_generateActorsPropertyDescriptor(object); + addStatechartImplementationPropertyDescriptor(object); + addInitializationCodePropertyDescriptor(object); + addChecksListPropertyDescriptor(object); + addScopeElementsPropertyDescriptor(object); + addWeakCGTimePropertyDescriptor(object); + addStrongCGTimePropertyDescriptor(object); + addM_allInAnimScopePropertyDescriptor(object); + addM_generateUsecasesPropertyDescriptor(object); + addLastIDPropertyDescriptor(object); + addCmheaderPropertyDescriptor(object); + addRequiremenTracabilityHandlePropertyDescriptor(object); + addCodeUpdateCGTimePropertyDescriptor(object); + addObjectCreationPropertyDescriptor(object); + addUmlDependencyIDPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * 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_ICodeGenConfigInfo_id_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_id_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_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_ICodeGenConfigInfo_myState_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_myState_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_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_ICodeGenConfigInfo_name_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_name_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Name(), + 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_ICodeGenConfigInfo_modifiedTimeWeak_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_modifiedTimeWeak_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_ModifiedTimeWeak(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Scope Type feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addScopeTypePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_scopeType_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_scopeType_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_ScopeType(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Libraries feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addLibrariesPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_libraries_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_libraries_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Libraries(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Additional Sources feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addAdditionalSourcesPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_additionalSources_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_additionalSources_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AdditionalSources(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Standard Headers feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStandardHeadersPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_standardHeaders_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_standardHeaders_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_StandardHeaders(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Include Path feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addIncludePathPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_includePath_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_includePath_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_IncludePath(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Target Main feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTargetMainPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_targetMain_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_targetMain_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_TargetMain(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Instrumentation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addInstrumentationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_instrumentation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_instrumentation_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Instrumentation(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Time Model feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addTimeModelPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_timeModel_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_timeModel_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_TimeModel(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Mgenerate Actors feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addM_generateActorsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_m_generateActors_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_m_generateActors_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_M_generateActors(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Statechart Implementation feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addStatechartImplementationPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_statechartImplementation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_statechartImplementation_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_StatechartImplementation(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Initialization Code feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addInitializationCodePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_initializationCode_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_initializationCode_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitializationCode(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Checks List feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addChecksListPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_checksList_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_checksList_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_ChecksList(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Scope Elements feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addScopeElementsPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_ScopeElements_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_ScopeElements_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_ScopeElements(), + true, + false, + true, + null, + 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_ICodeGenConfigInfo_weakCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_weakCGTime_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_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_ICodeGenConfigInfo_strongCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_strongCGTime_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_StrongCGTime(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Mall In Anim Scope feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addM_allInAnimScopePropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_m_allInAnimScope_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_m_allInAnimScope_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_M_allInAnimScope(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * This adds a property descriptor for the Mgenerate Usecases feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void addM_generateUsecasesPropertyDescriptor(Object object) { + itemPropertyDescriptors.add + (createItemPropertyDescriptor + (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), + getResourceLocator(), + getString("_UI_ICodeGenConfigInfo_m_generateUsecases_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_m_generateUsecases_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_M_generateUsecases(), + 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_ICodeGenConfigInfo_lastID_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_lastID_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_LastID(), + 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_ICodeGenConfigInfo_cmheader_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_cmheader_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Cmheader(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + 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_ICodeGenConfigInfo_requiremenTracabilityHandle_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_requiremenTracabilityHandle_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_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_ICodeGenConfigInfo_codeUpdateCGTime_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_codeUpdateCGTime_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_CodeUpdateCGTime(), + 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_ICodeGenConfigInfo_objectCreation_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_objectCreation_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_ObjectCreation(), + true, + false, + false, + ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, + null, + null)); + } + + /** + * 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_ICodeGenConfigInfo_umlDependencyID_feature"), //$NON-NLS-1$ + getString("_UI_PropertyDescriptor_description", "_UI_ICodeGenConfigInfo_umlDependencyID_feature", "_UI_ICodeGenConfigInfo_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_UmlDependencyID(), + 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.getICodeGenConfigInfo_HyperLinks()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Root()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Dependencies()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Properties()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Annotations()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Description()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Tags()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements()); + childrenFeatures.add(UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_EmbededFiles()); + } + 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 ICodeGenConfigInfo.gif. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/ICodeGenConfigInfo")); //$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 = ((ICodeGenConfigInfo)object).getName(); + return label == null || label.length() == 0 ? + getString("_UI_ICodeGenConfigInfo_type") : //$NON-NLS-1$ + getString("_UI_ICodeGenConfigInfo_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(ICodeGenConfigInfo.class)) { + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__ID: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__MY_STATE: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__NAME: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__MODIFIED_TIME_WEAK: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__SCOPE_TYPE: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__LIBRARIES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__ADDITIONAL_SOURCES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__STANDARD_HEADERS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__INCLUDE_PATH: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__TARGET_MAIN: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__INSTRUMENTATION: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__TIME_MODEL: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__MGENERATE_ACTORS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__STATECHART_IMPLEMENTATION: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__INITIALIZATION_CODE: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__CHECKS_LIST: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__WEAK_CG_TIME: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__STRONG_CG_TIME: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__MALL_IN_ANIM_SCOPE: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__MGENERATE_USECASES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__LAST_ID: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__CMHEADER: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__REQUIREMEN_TRACABILITY_HANDLE: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__CODE_UPDATE_CG_TIME: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__OBJECT_CREATION: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__UML_DEPENDENCY_ID: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__HYPER_LINKS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__ROOT: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__DEPENDENCIES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__INITIAL_INSTANCES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__PROPERTIES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__ANNOTATIONS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__DESCRIPTION: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__TAGS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__STEREOTYPES: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__ANIM_SCOPE_ELEMENTS: + case UMLRhapsodyPackage.ICODE_GEN_CONFIG_INFO__EMBEDED_FILES: + 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.getICodeGenConfigInfo_HyperLinks(), + UMLRhapsodyFactory.eINSTANCE.createIMHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Root(), + UMLRhapsodyFactory.eINSTANCE.createIFolder())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Dependencies(), + UMLRhapsodyFactory.eINSTANCE.createIDependency())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Dependencies(), + UMLRhapsodyFactory.eINSTANCE.createIHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIUnit())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIAnnotation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIVariable())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIArgument())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIConstraint())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIControlledFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIFile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIRelation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createILink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIPackage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIProject())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createITableLayout())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createITableView())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createITemplateParameter())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Properties(), + UMLRhapsodyFactory.eINSTANCE.createIPropertyContainer())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Annotations(), + UMLRhapsodyFactory.eINSTANCE.createIComment())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Description(), + UMLRhapsodyFactory.eINSTANCE.createIDescription())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Tags(), + UMLRhapsodyFactory.eINSTANCE.createITag())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIClassifier())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIInterfaceItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIEventReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIFlowItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createINode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIState())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIAcceptEventAction())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIAcceptTimeEvent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIActivityDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIActivityGraph())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIActor())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIAssociationClass())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIAttribute())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createICallOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createICodeGenConfigInfo())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createICollaborationDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIComponent())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIComponentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIDefaultDrvdTrans())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIDependency())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIDeploymentDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIHyperLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIInformationFlow())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIInformationItem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIMSC())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIMatrixInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIMessage())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIModule())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIObjectLink())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIObjectModelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIObjectNode())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIPanelDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIPart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIPrimitiveOperation())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIProfile())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIReception())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIReferenceActivity())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIRequirement())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createISequenceDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIStateChart())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIStateChartDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIStereotype())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIStructureDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createISubsystem())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createISysMLPort())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createITableInstance())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createITransition())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIType())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIUCDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIUseCase())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements(), + UMLRhapsodyFactory.eINSTANCE.createIUseCaseDiagram())); + + newChildDescriptors.add + (createChildParameter + (UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_EmbededFiles(), + UMLRhapsodyFactory.eINSTANCE.createIEmbededFile())); + } + + /** + * 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.getICodeGenConfigInfo_Dependencies() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_AnimScopeElements() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_InitialInstances() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Stereotypes() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Annotations() || + childFeature == UMLRhapsodyPackage.eINSTANCE.getICodeGenConfigInfo_Tags(); + + 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); + } + +} |