Class ApplicationLabelProvider
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.jface.viewers.BaseLabelProvider
-
- org.eclipse.jface.viewers.CellLabelProvider
-
- org.eclipse.jface.viewers.ColumnLabelProvider
-
- com.e1c.g5.dt.applications.ui.view.ApplicationLabelProvider
-
- All Implemented Interfaces:
IBaseLabelProvider
,IColorProvider
,IFontProvider
,ILabelProvider
,IToolTipProvider
public class ApplicationLabelProvider extends ColumnLabelProvider
Label provider for applications.
-
-
Constructor Summary
Constructors Constructor Description ApplicationLabelProvider(IApplicationManager applicationManager)
Constructs label provider
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
org.eclipse.swt.graphics.Font
getFont(Object element)
org.eclipse.swt.graphics.Image
getImage(Object element)
String
getText(Object element)
String
getToolTipText(Object element)
-
Methods inherited from class org.eclipse.jface.viewers.ColumnLabelProvider
createImageProvider, createTextImageProvider, createTextProvider, getBackground, getForeground, update
-
Methods inherited from class org.eclipse.jface.viewers.CellLabelProvider
dispose, getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipTimeDisplayed, initialize, useNativeToolTip
-
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, isLabelProperty, removeListener
-
-
-
-
Constructor Detail
-
ApplicationLabelProvider
public ApplicationLabelProvider(IApplicationManager applicationManager)
Constructs label provider- Parameters:
applicationManager
- the application manager, cannot benull
-
-
Method Detail
-
getText
public String getText(Object element)
- Specified by:
getText
in interfaceILabelProvider
- Overrides:
getText
in classColumnLabelProvider
-
getImage
public org.eclipse.swt.graphics.Image getImage(Object element)
- Specified by:
getImage
in interfaceILabelProvider
- Overrides:
getImage
in classColumnLabelProvider
-
getFont
public org.eclipse.swt.graphics.Font getFont(Object element)
- Specified by:
getFont
in interfaceIFontProvider
- Overrides:
getFont
in classColumnLabelProvider
-
getToolTipText
public String getToolTipText(Object element)
- Specified by:
getToolTipText
in interfaceIToolTipProvider
- Overrides:
getToolTipText
in classCellLabelProvider
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIBaseLabelProvider
- Overrides:
dispose
in classBaseLabelProvider
-
-