blob: 40ac687da5e2a3d260cdb14bc170d7fb4a3045fd [file] [log] [blame]
<article link="overlay-pages.html">
Mutatis mutandis - Using Preference Pages as Property Pages
<date>October 24, 2003</date>
<name>Berthold Daum</name>
<company>bdaum industrial communications</company>
A common problem in the implementation of applications is the
implementation of project-specific properties that override
workbench-wide preferences on project or file level. The naive
approach is to implement these pages from scratch. However,
writing the same code twice is a boring task and leads to
increased maintenance efforts. In this article we show how
existing preferences pages (with or without field editors) can
be easily converted into pages that can act as both preference
and property pages. We demonstrate this by implementing the
abstract class FieldEditorOverlayPage providing the necessary