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. |
addListener, dispose, fireLabelProviderChanged, getImage, isLabelProperty, removeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic 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.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.