public class TGONotificationAwareLabelProvider extends DecoratingStyledCellLabelProvider implements ILabelProvider
This is a copy of TGODefaultLabelProvider that supports
NotificationViewerElement
s. It should be migrated to
TGODefaultLabelProvider some time.
TextGridObject
sTextGridProject
sPendingUpdateAdapter
(used with deferred stuff)Modifier and Type | Class and Description |
---|---|
protected static class |
TGONotificationAwareLabelProvider.TGOTitleLabelProvider
A styled label provider that displays the icon and title of a
TextGridObject
|
DelegatingStyledCellLabelProvider.IStyledLabelProvider
COLORS_ON_SELECTION, NO_FOCUS
Constructor and Description |
---|
TGONotificationAwareLabelProvider() |
TGONotificationAwareLabelProvider(boolean usingIcons) |
Modifier and Type | Method and Description |
---|---|
String |
getText(Object element) |
String |
getToolTipText(Object element) |
addListener, dispose, getBackground, getDecorationContext, getDecorationStyle, getFont, getForeground, getImage, getLabelDecorator, getStyledText, isLabelProperty, removeListener, setDecorationContext, setLabelDecorator, update
getStyledStringProvider
erase, getColumn, getViewer, initialize, isOwnerDrawEnabled, measure, paint, prepareStyleRange, setOwnerDrawEnabled, styleDecoratedString
dispose, initialize, setOwnerDrawEnabled, setUpOwnerDraw
getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipTimeDisplayed, useNativeToolTip
fireLabelProviderChanged
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImage
addListener, dispose, isLabelProperty, removeListener
public TGONotificationAwareLabelProvider(boolean usingIcons)
public TGONotificationAwareLabelProvider()
public String getToolTipText(Object element)
getToolTipText
in class CellLabelProvider
public String getText(Object element)
getText
in interface ILabelProvider
Copyright © 2013 TextGrid. All Rights Reserved.