Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362980 - [Theming] Make default theme id publicly accessible
Summary: [Theming] Make default theme id publicly accessible
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 1.5 M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-06 03:28 EST by Rüdiger Herrmann CLA
Modified: 2012-02-20 04:57 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-11-06 03:28:12 EST
In order to contribute to the default theme (i.e. calling ApplicationConfiguration#addStyleSheet()), it would be necessary to have the id of the default theme 'somehow' publicly available.
Currently, the only way seems to be to either refer to the internal ThemeManager#DEFAULT_THEME_ID or copy the id literal.
Comment 1 Ralf Sternberg CLA 2011-11-09 06:16:43 EST
Yes, I thought about that too. I'd like to publish this constant as part of a theming-related class, which we currently don't have. We could make a subset of the existing ThemeUtil public...
Comment 2 Ivan Furnadjiev CLA 2012-02-20 04:57:37 EST
Moved DEFAULT_THEME_ID constant in RWT class.