public void insertAdapterFactory(AdapterFactory adapterFactory) { if (!adapterFactories.contains(adapterFactory)) { adapterFactories.add(0, adapterFactory); if (adapterFactory instanceof ComposeableAdapterFactory) { ((ComposeableAdapterFactory)adapterFactory).setParentAdapterFactory(this); } } }
/** * This adds a property descriptor for the Remote feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addRemotePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_remote_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_remote_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getEjbRef_Remote(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Listener Class feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addListenerClassPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Listener_listenerClass_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_Listener_listenerClass_feature", "_UI_Listener_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getListener_ListenerClass(), true)); }
/** * This adds a property descriptor for the Project Name feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addProjectNamePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_UtilityJARMapping_projectName_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_UtilityJARMapping_projectName_feature", "_UI_UtilityJARMapping_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ModulemapPackage.eINSTANCE.getUtilityJARMapping_ProjectName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
public void removeAdapterFactory(AdapterFactory adapterFactory) { if (adapterFactories.contains(adapterFactory)) { adapterFactories.remove(adapterFactory); if (adapterFactory instanceof ComposeableAdapterFactory) { ((ComposeableAdapterFactory)adapterFactory).setParentAdapterFactory(null); } } }
/** * This adds a property descriptor for the Local Part feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * */ protected void addLocalPartPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_QName_localPart_feature"), //$NON-NLS-1$ CommonEditResourceHandler.getString("_UI_QName_localPart_feature_desc"), //$NON-NLS-1$ CommonPackage.eINSTANCE.getQName_LocalPart(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Small Icon feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * */ protected void addSmallIconPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_smallIcon_feature"), //$NON-NLS-1$ CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_smallIcon_feature_desc"), //$NON-NLS-1$ CommonPackage.eINSTANCE.getCompatibilityDescriptionGroup_SmallIcon(), false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Description feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * */ protected void addDescriptionPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_description_feature"), //$NON-NLS-1$ CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_description_feature_desc"), //$NON-NLS-1$ CommonPackage.eINSTANCE.getCompatibilityDescriptionGroup_Description(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Role Name feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addRoleNamePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Identity_roleName_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_Identity_roleName_feature", "_UI_Identity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getIdentity_RoleName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Lang feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addLangPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_IconType_lang_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_IconType_lang_feature", "_UI_IconType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getIconType_Lang(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addNamePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EnvEntry_name_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_EnvEntry_name_feature", "_UI_EnvEntry_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getEnvEntry_Name(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Project Name feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addProjectNamePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_ModuleMapping_projectName_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_ModuleMapping_projectName_feature", "_UI_ModuleMapping_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ModulemapPackage.eINSTANCE.getModuleMapping_ProjectName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Value feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addValuePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_ParamValue_value_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_ParamValue_value_feature", "_UI_ParamValue_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getParamValue_Value(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Link feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addLinkPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_link_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_link_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getEjbRef_Link(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Description feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addDescriptionPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_description_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_description_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getEjbRef_Description(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Value feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addValuePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Description_value_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_Description_value_feature", "_UI_Description_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getDescription_Value(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Name feature. */ protected void addNamePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("Name_UI_"), //$NON-NLS-1$ CommonEditResourceHandler.getString("The_name_property_UI_"), //$NON-NLS-1$ CommonPackage.eINSTANCE.getMessageDestinationRef_Name(), true)); }
/** * This adds a property descriptor for the Link feature. */ protected void addLinkPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("Link_UI_"), //$NON-NLS-1$ CommonEditResourceHandler.getString("The_link_property_UI_"), //$NON-NLS-1$ CommonPackage.eINSTANCE.getMessageDestinationRef_Link(), true)); }
/** * This adds a property descriptor for the Version feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addVersionPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_ApplicationClient_version_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClient_version_feature", "_UI_ApplicationClient_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ClientPackage.eINSTANCE.getApplicationClient_Version(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This adds a property descriptor for the Value feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addValuePropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_DisplayName_value_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_DisplayName_value_feature", "_UI_DisplayName_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ CommonPackage.eINSTANCE.getDisplayName_Value(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }