net.sourceforge.java.feednread.frontend.configuration
Class LanguageTableLabelProvider

java.lang.Object
  extended byorg.eclipse.core.commands.common.EventManager
      extended byorg.eclipse.jface.viewers.LabelProvider
          extended bynet.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

Field Summary
 
Fields inherited from class org.eclipse.core.commands.common.EventManager
 
Constructor Summary
LanguageTableLabelProvider()
           
 
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 org.eclipse.jface.viewers.LabelProvider
addListener, fireLabelProviderChanged, getImage, getText, isLabelProperty, removeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, isLabelProperty, removeListener
 

Constructor Detail

LanguageTableLabelProvider

public LanguageTableLabelProvider()
Method Detail

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 for
columnIndex - 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 for
columnIndex - 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