Summary: | [Palette] setting change should be applied dynamically to the palette figures | ||
---|---|---|---|
Product: | [Tools] GEF | Reporter: | Masaki Saitoh <saitoh> |
Component: | GEF-Legacy Draw2d | Assignee: | gef-inbox <gef-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | ahunter.eclipse, nyssen |
Version: | 2.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows All | ||
Whiteboard: | |||
Bug Depends on: | 13813, 113160 | ||
Bug Blocks: |
Description
Masaki Saitoh
2003-05-09 21:17:04 EDT
The Editor tabs in Eclipse show the same problem. Look at the gradients used to show active editor, then change your system colors for foreground title. Of course, draw2d is more obvious because we cache every system color, but it is the same problem. See bug 13813 we can fix it now! yea! Pratik, ColorConstants will no longer be constant (final) as a result of this. When the class is initialized, it should get the current display and hook the necessary listeners. Hopefully, the OS already tells controls to repaint when colors change. If not, we'll need additional listeners on every LWS. Fixing this will cause a breaking API change. ColorConstants is an interface and will need to be changed to a class. Another problem will be that updating the ColorConstants in Draw2d will not affect any existing LWS. Any colors set on figures would have to be reset to see the change. Pratik, see bug 113160 Bug 113160 has been marked as WONTFIX. We can fix this on our end if SWT can make the Color class mutable (not final). Otherwise, there's not much we can do. |