Package org.eclipse.emf.cdo.ui
Class CDOLabelDecorator
java.lang.Object
org.eclipse.emf.cdo.ui.CDOLabelDecorator
- All Implemented Interfaces:
IBaseLabelProvider
,ILabelDecorator
Decorates labels of
CDO objects
according to a pattern.- Since:
- 2.0
- Author:
- Victor Roldan Betancort
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(ILabelProviderListener listener) static Image
decorateImage
(Image image, Object element) decorateText
(String text, Object element) void
dispose()
protected String
getObjectState
(InternalCDOObject object) boolean
isLabelProperty
(Object element, String property) parsePattern
(String unparsedPattern) void
removeListener
(ILabelProviderListener listener)
-
Field Details
-
DECORATION_PROPOSALS
-
DEFAULT_DECORATION
-
NO_DECORATION
-
DECORATOR_ID
- See Also:
-
-
Constructor Details
-
CDOLabelDecorator
public CDOLabelDecorator() -
CDOLabelDecorator
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIBaseLabelProvider
-
parsePattern
-
decorateImage
- Specified by:
decorateImage
in interfaceILabelDecorator
-
decorateText
- Specified by:
decorateText
in interfaceILabelDecorator
-
isLabelProperty
- Specified by:
isLabelProperty
in interfaceIBaseLabelProvider
-
addListener
- Specified by:
addListener
in interfaceIBaseLabelProvider
-
removeListener
- Specified by:
removeListener
in interfaceIBaseLabelProvider
-
getObjectState
- Since:
- 4.4
-
decorate
- Since:
- 4.4
-