de.nierbeck.timeTrack.views
Class EntriesLabelProvider
java.lang.Object
org.eclipse.jface.viewers.LabelProvider
de.nierbeck.timeTrack.views.EntriesLabelProvider
- All Implemented Interfaces:
- org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ILabelProvider, org.eclipse.jface.viewers.ITableLabelProvider
public class EntriesLabelProvider
- extends org.eclipse.jface.viewers.LabelProvider
- implements org.eclipse.jface.viewers.ITableLabelProvider
- Author:
- Achim
Method Summary |
org.eclipse.swt.graphics.Image |
getColumnImage(java.lang.Object element,
int columnIndex)
returns the Image to the according column |
java.lang.String |
getColumnText(java.lang.Object element,
int columnIndex)
|
org.eclipse.swt.graphics.Image |
getImage(java.lang.Object obj)
|
Methods inherited from class org.eclipse.jface.viewers.LabelProvider |
addListener, dispose, fireLabelProviderChanged, getText, isLabelProperty, removeListener |
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, dispose, isLabelProperty, removeListener |
EntriesLabelProvider
public EntriesLabelProvider()
getColumnImage
public final org.eclipse.swt.graphics.Image getColumnImage(java.lang.Object element,
int columnIndex)
- returns the Image to the according column
- Specified by:
getColumnImage
in interface org.eclipse.jface.viewers.ITableLabelProvider
- Parameters:
columnIndex
- - the index number of the selected columnelement
- - the element of the column
- Returns:
- an Image to the column
getColumnText
public final java.lang.String getColumnText(java.lang.Object element,
int columnIndex)
- Specified by:
getColumnText
in interface org.eclipse.jface.viewers.ITableLabelProvider
- Parameters:
element
- - the element of the columncolumnIndex
- - the index of the column
- Returns:
- a string describing the column text
getImage
public final org.eclipse.swt.graphics.Image getImage(java.lang.Object obj)
- Specified by:
getImage
in interface org.eclipse.jface.viewers.ILabelProvider
- Overrides:
getImage
in class org.eclipse.jface.viewers.LabelProvider
- Parameters:
obj
- - does nothing
- Returns:
- a image
Copyright © 2003-2006 Nierbeck. All Rights Reserved.