Package org.eclipse.net4j.util.ui
Class TableLabelProvider<T>
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.LabelProvider
org.eclipse.net4j.util.ui.ManagedLabelProvider
org.eclipse.net4j.util.ui.TableLabelProvider<T>
- All Implemented Interfaces:
IBaseLabelProvider
,ILabelProvider
,ITableColorProvider
,ITableFontProvider
,ITableLabelProvider
public class TableLabelProvider<T>
extends ManagedLabelProvider
implements ITableLabelProvider, ITableColorProvider, ITableFontProvider
- Since:
- 3.3
- Author:
- Eike Stepper
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddColumn
(TableLabelProvider.Column<T> column) getBackground
(Object element, int columnIndex) getColumn
(int columnIndex) getColumnImage
(Object element, int columnIndex) getColumnText
(Object element, int columnIndex) getForeground
(Object element, int columnIndex) boolean
boolean
removeColumn
(int columnIndex) setHeaderVisible
(boolean headerVisible) setLinesVisible
(boolean linesVisible) support
(TableViewer tableViewer) Methods inherited from class org.eclipse.net4j.util.ui.ManagedLabelProvider
createResourceManager, dispose, getResource, getResourceManager
Methods inherited from class org.eclipse.jface.viewers.LabelProvider
createImageProvider, createTextImageProvider, createTextProvider, getImage, getText
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, fireLabelProviderChanged, 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, dispose, isLabelProperty, removeListener
-
Constructor Details
-
TableLabelProvider
public TableLabelProvider()
-
-
Method Details
-
addColumn
-
isHeaderVisible
public boolean isHeaderVisible() -
setHeaderVisible
-
isLinesVisible
public boolean isLinesVisible() -
setLinesVisible
-
removeColumn
-
getColumn
-
getColumnText
- Specified by:
getColumnText
in interfaceITableLabelProvider
-
getColumnImage
- Specified by:
getColumnImage
in interfaceITableLabelProvider
-
getForeground
- Specified by:
getForeground
in interfaceITableColorProvider
-
getBackground
- Specified by:
getBackground
in interfaceITableColorProvider
-
getFont
- Specified by:
getFont
in interfaceITableFontProvider
-
support
-