public class EnvironmentTab.EnvironmentVariableLabelProvider extends LabelProvider implements ITableLabelProvider
Constructor and Description |
---|
EnvironmentVariableLabelProvider() |
Modifier and Type | Method and Description |
---|---|
Image |
getColumnImage(Object element,
int columnIndex)
Returns the label image for the given column of the given element.
|
String |
getColumnText(Object element,
int columnIndex)
Returns the label text for the given column of the given element.
|
getImage, getText
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, dispose, isLabelProperty, removeListener
public String getColumnText(Object element, int columnIndex)
ITableLabelProvider
getColumnText
in interface ITableLabelProvider
element
- the object representing the entire row, or
null
indicating that no input object is set
in the viewercolumnIndex
- the zero-based index of the column in which the label appearsnull
if there is no text for the
given object at columnIndexpublic Image getColumnImage(Object element, int columnIndex)
ITableLabelProvider
getColumnImage
in interface ITableLabelProvider
element
- the object representing the entire row, or
null
indicating that no input object is set
in the viewercolumnIndex
- the zero-based index of the column in which
the label appearsnull
if there is no image for the
given object at columnIndex
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.