Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] ColorSelector added to org.eclipse.jface.preference

Due to strong demand from the community as of the next 2.1 build we have
added a ColorSelector which is a wrapper for a button that displays a
selected color and opens a ColorDialog when selected. This is now in use by
the ColorFieldEditor.

This class is pretty much the same as the following ones which appear to
have been copied from the ColorFieldEditor:

org.eclipse.compare.internal.ColorEditor
org.eclipse.jdt.internal.ui.preferences.ColorEditor
org.eclipse.search.internal.ui.SearchPreferencePage.ColorEditor.

The classes using these editors should be able switch to the new JFace one
without any serious changes.

Tod



Back to the top