/** * @return */ private static Translator[] createJavaModuleTranslators() { return new Translator[] { IDTranslator.INSTANCE, new Translator(JAVA, APPLICATION_PKG.getModule_Uri()), ALT_DD_TRANSLATOR, // CommonTranslators.createDeploymentExtensionTranslator(APPLICATION_PKG.getModule_Extensions()) }; }
/** * @return */ private static Translator[] createEJBModuleTranslators() { return new Translator[] { IDTranslator.INSTANCE, new Translator(EJB, APPLICATION_PKG.getModule_Uri()), ALT_DD_TRANSLATOR, // CommonTranslators.createDeploymentExtensionTranslator(APPLICATION_PKG.getModule_Extensions()) }; }
/** * @return */ private static Translator[] createConnectorModuleTranslators() { return new Translator[] { IDTranslator.INSTANCE, new Translator(CONNECTOR, APPLICATION_PKG.getModule_Uri()), ALT_DD_TRANSLATOR, // CommonTranslators.createDeploymentExtensionTranslator(APPLICATION_PKG.getModule_Extensions()) }; }
/** * @return */ private static Translator[] createWebModuleTranslators() { return new Translator[] { IDTranslator.INSTANCE, new Translator(WEB + "/" + WEB_URI, APPLICATION_PKG.getModule_Uri()), //$NON-NLS-1$ new Translator(WEB + "/" + CONTEXT_ROOT, APPLICATION_PKG.getWebModule_ContextRoot()), //$NON-NLS-1$ ALT_DD_TRANSLATOR, // CommonTranslators.createDeploymentExtensionTranslator(APPLICATION_PKG.getModule_Extensions()) }; }
/** * This adds a property descriptor for the Uri feature. <!-- begin-user-doc --> <!-- * end-user-doc --> * * @generated */ protected void addUriPropertyDescriptor(Object object) { itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Module_uri_feature"), //$NON-NLS-1$ getString("_UI_PropertyDescriptor_description", "_UI_Module_uri_feature", "_UI_Module_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ApplicationPackage.eINSTANCE.getModule_Uri(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE)); }
/** * This returns the property descriptors for the adapted class. */ public List getPropertyDescriptors(Object object) { if (itemPropertyDescriptors == null) { super.getPropertyDescriptors(object); ApplicationPackage pkg = ApplicationPackage.eINSTANCE; // This is for the uri feature. // itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), ApplicationProvidersResourceHandler.getString("Uri_UI_"), //$NON-NLS-1$ ApplicationProvidersResourceHandler.getString("The_uri_property_UI_"), //$NON-NLS-1$ pkg.getModule_Uri())); // This is for the altDD feature. // itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), ApplicationProvidersResourceHandler.getString("AltDD_UI_"), //$NON-NLS-1$ ApplicationProvidersResourceHandler.getString("The_altDD_property_UI_"), //$NON-NLS-1$ pkg.getModule_AltDD(), false)); // This is for the application feature. // itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), ApplicationProvidersResourceHandler.getString("Application_UI_"), //$NON-NLS-1$ ApplicationProvidersResourceHandler.getString("The_application_property_UI_"), //$NON-NLS-1$ pkg.getModule_Application(), false)); } return itemPropertyDescriptors; }