Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362980

Summary: [Theming] Make default theme id publicly accessible
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: gunnar
Version: unspecified   
Target Milestone: 1.5 M6   
Hardware: All   
OS: All   
Whiteboard:

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.