net.sourceforge.java.feednread.frontend.configuration
Class LanguageTableLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.LabelProvider
net.sourceforge.java.feednread.frontend.configuration.LanguageTableLabelProvider
- All Implemented Interfaces:
- IBaseLabelProvider, ILabelProvider, ITableLabelProvider
- public class LanguageTableLabelProvider
- extends LabelProvider
- implements ITableLabelProvider
Converts the data for the TableFieldEditor used in the
LanguageConfigurationPage to ui representations.
- Author:
- Sebastian Machhausen
| Fields inherited from class org.eclipse.core.commands.common.EventManager |
|
|
Method Summary |
void |
dispose()
Disposes all resources claimed by this
LanguageTableLabelProvider.
|
Image |
getColumnImage(Object element,
int columnIndex)
Gets the image for the specified element at the specified column index.
|
String |
getColumnText(Object element,
int columnIndex)
Gets the textual representation of the element at the specified column
index.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LanguageTableLabelProvider
public LanguageTableLabelProvider()
getColumnImage
public Image getColumnImage(Object element,
int columnIndex)
Gets the image for the specified element at the specified column index.
- Specified by:
getColumnImage in interface ITableLabelProvider
- Parameters:
element - the element to obtain the image forcolumnIndex - the index of the column to obtain the image for
- Returns:
- the image for the specified element/columnIndex combination
getColumnText
public String getColumnText(Object element,
int columnIndex)
Gets the textual representation of the element at the specified column
index.
- Specified by:
getColumnText in interface ITableLabelProvider
- Parameters:
element - the element to get the text forcolumnIndex - the index of the column to get the text for
- Returns:
- the textual representation of the specified element/columnIndex
combination
dispose
public void dispose()
Disposes all resources claimed by this
LanguageTableLabelProvider.
- Specified by:
dispose in interface IBaseLabelProvider