Summary: | [Themes] Themes should handle images | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Kim Horne <eclipse> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | michaelvanmeekeren, n.a.edgar, sxenos |
Version: | 3.0 | Keywords: | helpwanted |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Kim Horne
2004-07-26 09:47:48 EDT
I'm very much in favour of this. Just the other day I had a request from an RCP app developer who wanted to know whether it's possible to override the icon used for Open Perspective (in the perspective switcher). The best I could offer was to replace the corresponding file under org.eclipse.ui/icons. I'd suggest making sure that the theme only returns ImageDescriptors and never Images. - Clients can easily convert ImageDescriptors into shared Image instances using JFaceResources.getResources().createImage(...) - Any Image instance that is ever directly exposed through API is hard to dispose safely. - ImageDescriptors are device-independent (ie: could be used with a printer). I'd like to go one step further and deprecate the jface font and color registries on Themes for just that same reason and look into using your new style of registry. Perhaps we could talk about that at some point. Susan is now responsible for watching the [Themes] category. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |