2.12. Displaying More Resource Information with Icons
Problem
You want to turn on label decorators to get additional information about icons and buttons.
Solution
Select Window→ Preferences→ Workbench→ Label Decorations.
Discussion
Label decorations
augment the
standard Eclipse icons displayed
in various views. For example, if you archive a code file in a CVS
repository and have label decorations turned on, the
file’s icon displays a small gold cylinder that
isn’t there otherwise.
To turn on label decorations, select Window→ Preferences→ Workbench→ Label Decorations, and select which decoration you want to use, as shown in Figure 2-10.
Figure 2-10. Selecting label decorations
We’re going to use label decorations with Eclipse and CVS in Chapter 6. Once you’ve turned on label decorations, you can see at a glance which files have been stored in the CVS repository.
See Also
Recipe 6.6 on labeling files using version control.
Get Eclipse Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.