Chapter 13Properties

Whereas preferences apply to plug-ins or chunks of functionality, properties apply to resources or other objects that appear in the Eclipse environment. One typical way to access an object's properties is to select the Properties command from its context menu, opening the Properties dialog. Another way is to open the Properties view, which displays properties for the object that has been selected.

This chapter covers the creation of a property on a particular object and the display of that property in both the object's Properties dialog and the Properties view.

13.1 Creating Properties

You want to add properties for color and comments to the Favorites product. The Color property will determine the color ...

Get Eclipse Plug-ins, Third Edition 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.