Posts Tagged ‘CSS’

Eclipse 3.6 styling with CSS and the ThemeManager

Tuesday, June 15th, 2010

Tom Schindl and Kai Tödter already blogged about the new Eclipse e4 ThemeManager. If you want to use the Eclipse ThemeManager and CSS Styling in Eclipse 3.6 you find an adjusted example “org.eclipse.e4.ui.examples.css.rcp” in the e4 repository. This example demonstrates the usage of the ThemeManager and Theme switching during runtime in Eclipse 3.6.

This is the colorful example. In case you are impressed with the design I would like to mention that I designed it myself. ;-)

For the German Eclipse fans their will be an article in an upcoming Eclipse Magazin describing in detail how to set this up.

Eclipse e4 New look and feel – A round the tab world

Wednesday, March 10th, 2010

Eclipse e4 M4 has introduce a new look and feel for the tabs in the workbench. See Eclipse e4 M4 New and Noteworthy. Unfortunately the news and noteworthy document did not give information how to enable this feature.

The e4 mailing list has recently discussed this topic and Remy Suen was kind enough to provide this information. To turn this feature on you have to add the tag “newtablook” to your PartStack.

For example if you create an new e4 application with the e4 wizard you can add this tag via:


<children xsi:type="application:PartSashContainer" xmi:id="_vTa8kiuFEd-PeMLywHTM-g" id="_vTa8kiuFEd-PeMLywHTM-g">
  <children xsi:type="application:PartStack" xmi:id="_vTa8kyuFEd-PeMLywHTM-g" id="_vTa8kyuFEd-PeMLywHTM-g">
     <tags>newtablook</tags>
   <children xsi:type="application:Part" xmi:id="_vTa8lCuFEd-PeMLywHTM-g" id="_vTa8lCuFEd-PeMLywHTM-g" label="Main"/>
</children>

This lead to the following result:

Compared to the “old” look and feel.

For this topic see also Bug 305147 which discusses to move this feature to the CSS styling capabilities.


Switch to our mobile site