public final class NamedHandleObjectLabelProvider extends LabelProvider
NamedHandlerObject, which
exposes the name as the label.| Constructor and Description |
|---|
NamedHandleObjectLabelProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getText(Object element)
The text of the element is simply the name of the element if its a
defined instance of
NamedHandleObject. |
getImageaddListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, dispose, isLabelProperty, removeListenerpublic final String getText(Object element)
NamedHandleObject. Otherwise, this
method just returns null.getText in interface ILabelProvidergetText in class LabelProviderelement - The element for which the text should be retrieved; may be
null.null if there is no
name or if the element is not a named handle object.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.