Skip to main content

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

Tod,

this won't work for
org.eclipse.search.internal.ui.SearchPreferencePage.ColorEditor.
since the reason for this class is a workaround for bug 18183:
[Preferences] setEnabled(...) for FieldEditors.

Dani


|---------+----------------------------->
|         |           "Tod Creasey"     |
|         |           <Tod_Creasey@oti.c|
|         |           om>               |
|         |           Sent by:          |
|         |           eclipse-dev-admin@|
|         |           eclipse.org       |
|         |                             |
|         |                             |
|         |           08/15/2002 08:42  |
|         |           PM                |
|         |           Please respond to |
|         |           eclipse-dev       |
|         |                             |
|---------+----------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |        To:      eclipse-dev@xxxxxxxxxxx                                                                                       |
  |        cc:                                                                                                                    |
  |        Subject: [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

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev






Back to the top