Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] CSS and e4.0 and e3.6

Hi,

My model editor is written in a way that it runs inside:
* Eclipse 3.6
* Eclipse 4.0 - on compat layer
* Eclipse 4.0 - without compat layer

The main problem I have with this currently (with the sources in CVS) is
not DI nor the Model stuff but CSS because my whole editor is themed
using CSS.

CSS is something people can (and should) even use in 3.x applications
and making it available in a common way in 3.x and all flavors of e4 is
of importance when we talk about bundles who want to run in e4 and 3.6
(like my Editor does - we also advertised such an upgrade path at
EclipseCon2010).

So I looked into this problem today and started working on a CSS-Theme
Bundle which also to collect (from contributors) CSS-Stylesheets and
making up a so called theme which is a thin abstraction above the
CSS-Styling-Engine [1] whose only dependency is the CSS-Stuff and
integrated it into the E4Application (see the patch in the bug)

A thing I'm not sure about yet is how I can integrate myself into the
3.x bootstrap process without getting a dependency on e4 in 3.x (it's
anyways too late for changes like this in 3.x). Anyone an idea? Ideally
the theme-manager is started directly after the Display for the
workbench is created (I guess using internals for the 3.x integration
bundle would be acceptable :-).

To finish up - I'd naturally also like to gather feedback if other devs
think the theme stuff makes sense and I should check in my changes to CVS.

Tom

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=309593

-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834


Back to the top