Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320563 - Reexamine themes extension point API
Summary: Reexamine themes extension point API
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 17:44 EDT by Susan McCourt CLA
Modified: 2019-06-05 07:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2010-07-21 17:44:53 EDT
Discussion that started in bug 320553.
I think we need to revisit the structure of the themes extension point.
Or else I'm not understanding it clearly.

As it is now:
- you can define a stylesheet, which has an optional os and ws that can be used to apply it.  The stylesheet defines the uri for the css.
- you can define a theme, which as an optional os, ws, and (as of bug 320553) os-version that apply to it.  The theme has an id (which does not have to be unique).  The idea here is you could define multiple themes of the same id with different os, ws, version characteristics.

Issues I see:
- having multiple themes with the same id seems odd/different than many Eclipse extension points
- not sure when I would want to create a stylesheet element (vs. always referring to it from the theme)

Maybe we want something more like commands and handlers, where the theme is like a command.  For example, a theme called "The New look for e4".  It has a unique id.

Then we can have stylesheets (like a handler) that say, I am the stylesheet for this theme id, when these conditions are met. 

This means an end user would never see themes like "win 7, winxp blue, win xp olive, etc." alongside themes like "classic"

They would just see themes like "new look" and "classic" and the platform-specific style sheets would be resolved using the stylesheet filters.

We would still have to figure out how something like win xp olive fits in to all this.  How would we know to select it?
Comment 1 Eclipse Genie CLA 2019-01-02 13:50:02 EST
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.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-06-05 07:39:52 EDT
This is a mass change to close all e4 bugs marked with "stalebug" whiteboard.

If this bug is still valid, please reopen and remove the "stalebug" keyword.