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.
- FAQ What is a label decorator?
- FAQ How do I add label decorations to my viewer?
- Eclipse online article “Understanding Decorators in Eclipse”
- org.eclipse.ui.decorators (See Platform Plug-in Developer's Guide)
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.