/** * 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)); }
public Translator create11DisplayNameTranslator(EStructuralFeature afeature) { GenericTranslator result = new GenericTranslator(DISPLAY_NAME, afeature); result.setChildren(new Translator[] { IDTranslator.INSTANCE, new Translator(LANG, COMMON_PKG.getDisplayName_Lang(), Translator.DOM_ATTRIBUTE), new Translator(Translator.TEXT_ATTRIBUTE_VALUE, COMMON_PKG.getDisplayName_Value()) }); return result; }
/** * @return */ public static Translator createDisplayNameTranslator(EStructuralFeature feature) { GenericTranslator result = new GenericTranslator(DISPLAY_NAME, feature); result.setChildren(new Translator[] { IDTranslator.INSTANCE, new Translator(LANG, COMMON_PKG.getDisplayName_Lang(), Translator.DOM_ATTRIBUTE), new Translator(Translator.TEXT_ATTRIBUTE_VALUE, COMMON_PKG.getDisplayName_Value()) }); return result; }
public void notifyChanged(Notification msg) { if (msg.getFeature() == WebapplicationPackage.eINSTANCE.getSecurityConstraint_DisplayNames()) { synchDisplayName(); return; } else if (msg.getFeature() == CommonPackage.eINSTANCE.getDescriptionGroup_DisplayNames() || msg.getFeature() == CommonPackage.eINSTANCE.getDisplayName_Value()) { synchDisplayName(); return; } }
public void notifyChanged(Notification msg) { if (msg.getFeature() == CommonPackage.eINSTANCE.getDescriptionGroup_Icons() || msg.getFeature() == CommonPackage.eINSTANCE.getIconType_LargeIcon() || msg.getFeature() == CommonPackage.eINSTANCE.getIconType_SmallIcon()) { synchIcons(); return; } else if (msg.getFeature() == CommonPackage.eINSTANCE.getDescriptionGroup_Descriptions() || msg.getFeature() == CommonPackage.eINSTANCE.getDescription_Value()) { synchDescription(); return; } else if (msg.getFeature() == CommonPackage.eINSTANCE.getDescriptionGroup_DisplayNames() || msg.getFeature() == CommonPackage.eINSTANCE.getDisplayName_Value()) { synchDisplayName(); return; } }