Chapter 5. Working with Preferences

Preferences – customizing the runtime

An IDE is powerful if it provides a number of different utility windows to help the developer as they do their job. It becomes more powerful when they can customize it to their tastes, whether it is something as simple as colors or more targeted as filters. The preference store in Eclipse allows users to customize it in the way they want.

In this chapter, we will:

  • Read and write preferences from a PreferenceStore
  • Create a PreferencePage using FieldEditors

Eclipse Preferences

A user preference is a stored configuration option that persists between different Eclipse runtimes. Preferences are simple values (such as int, String, and boolean) and are identified with a String key, ...

Get Eclipse Plug-in Development Beginner's Guide - Second 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.