FAQ How do I create a label decorator declaratively?
The workbench provides the org.eclipse.ui.decorators extension point, for contributing label decorators. These decorators can either be entirely declarative, or they can contribute an implementation of the interface called ILightweightLabelDecorator to perform the decoration. The mechanics of implementing decorators are well described in the online Eclipse articles and in the platform documentation.
org.eclipse.ui.decorators (See Platform Plug-in Developer's Guide)
Eclipse online article “Understanding Decorators in Eclipse”
This FAQ was originally published in Official Eclipse 3.0 FAQs. Copyright 2004, Pearson Education, Inc. All rights reserved. This text is made available here under the terms of the Eclipse Public License v1.0.