Description: This extension point is used to add decorators to views that subscribe to a decorator manager.
Since: Release 2.0
Configuration Markup:
<!ELEMENT decorator >
<!ATTLIST actionSet
id
CDATA #REQUIRED
label
CDATA #REQUIRED
class
CDATA #REQUIRED
objectClass CDATA #REQUIRED
adaptable (true
| false) #IMPLIED
state (true
| false) #IMPLIED
>
<!ELEMENT description (#PCDATA)>
The following is an example of decorators:
<extension point="org.eclipse.ui.decorators">
<decorator
id="com.xyz.decorator"
label="XYZ Decorator"
state="true"
class="com.xyz.DecoratorContributor"
objectClass="org.eclipse.core.resources.IResource">
</decorator
>
</extension>
API Information: The value of the class attribute must be the fully qualified name of a class that implements org.eclipse.jface.viewers.ILabelDecorator. This class is loaded as late as possible to avoid loading the entire plug-in before it is really needed.
Supplied Implementation: Plug-ins may use this extension point to add new decorators to be applied to views that use the decorator manager as thier label decorator. To use the decorator manager use the result of IViewPart.getDecoratorManager() as the decorator for an instance of DecoratingLabelProvider. This is currently in use by the ResourceNavigator.