/** * This returns the label text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String getText(Object object) { String label = ((BaseNameType)object).getId(); return label == null || label.length() == 0 ? getString("_UI_BaseNameType_type") : getString("_UI_BaseNameType_type") + " " + label; }
private String getBaseName(ResourceBundleType resBundle) { final BaseNameType baseNameType = resBundle.getBaseName(); if (baseNameType != null) { return baseNameType.getTextContent(); } return null; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BaseNameType getBaseName() { if (baseName != null && baseName.eIsProxy()) { InternalEObject oldBaseName = (InternalEObject)baseName; baseName = (BaseNameType)eResolveProxy(oldBaseName); if (baseName != oldBaseName) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME, oldBaseName, baseName)); } } return baseName; }