JustDanyul
JustDanyul

Reputation: 14054

Creating Eclipse CSS themes

I never done any eclipse plugin development, so, the concept is a bit foreign to me. Anyways, I wish to create a simple eclipse theme, and reading this blog post , which is about creating eclipse themes, pretty much summarized the following

But if you want to play with it, you only need to write a plug-in, create a CSS file and use the org.eclipse.e4.ui.css.swt.theme extension point to point to your file. If you export your plug-in, place it in the “dropins” folder of your Eclipse installation and your styling is available.

I proceeded to the actual article , but here the fact that I never done any plugin development for eclipse got me a bit confused about certain aspects of this article.

I created a new plugin, with a activator. Now the first bit that gets me stuck is in the parts about extension points. He skips the bit about setting up the product and the appname property, I guesses it needed to be something like the following for me

<plugin>    
  <extension
     point="org.eclipse.core.runtime.products">
  <product
        application="mythemetest.Activator"
        name="mythemetest">
     <property
           name="appName"
           value="mythemetest">
     </property>
     <property
           name="applicationCSS"
           value="platform:/plugin/mythemetest/css/default.css ">
     </property>
  </product>    

Running this application will not start up a new eclipse themed using the default.css, so im doing something wrong. I'm guessing its in regards to the product element above.

Can anybody help me out here? :)

Upvotes: 1

Views: 1912

Answers (1)

Bananeweizen
Bananeweizen

Reputation: 22080

Install the Eclipse 4 Chrome Theme, there you can edit the CSS directly and don't need to do the plugin programming part around the styling.

Upvotes: 3

Related Questions