@Override public String getText() { return isSafeViewpoint() ? MessageTranslator.INSTANCE.getMessage( viewpoint, new IdentifiedElementQuery(viewpoint).getLabel()) : Messages.ViewpointItemImpl_notFoundLabel; }
/** * {@inheritDoc} * * <p>This method has been overridden in order to return a localized text if available. */ public String getText(Object object) { return MessageTranslator.INSTANCE.getMessage((IdentifiedElement) object, super.getText(object)); }