Chapter 5 – Storing Preferences and Settings

Understanding preferences

1. The default style is FLAT but this can be overridden to provide GRID, which provides a better layout for preference pages.

2. There are many subclasses of FieldEditor, which include editors for Boolean, Color, Combo, Font, List, RadioGroup, Scale, String, Integer, Directory, and File.

3. To provide searching in a preference page, keywords must be registered via the keyword extension point.

4. The @Preference annotation, in conjunction with an @Inject annotation, allows a preference store to be injected or a single preference value.

5. If a method is annotated/marked with @Inject and the method parameter is marked with @Parameter, then the method will be called whenever the value changes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.123.193