Time for action – going to the dark side
Eclipse 4 added several new themes for Eclipse, one of which was an updated dark theme. This can be added to an Eclipse 4 application through the use of the org.eclipse.ui.themes
plug-in.
- Edit the
.product
file and ensure that theorg.eclipse.ui.themes
is added as a required bundle of the product on the Contents tab. This will ensure that if the product is exported then it contains the required plug-in. - Update the launch configuration, by going to the Run | Run... menu and selecting the Eclipse 4 application. On the plug-ins tab, type
org.eclipse.ui.themes
into the search box, where type filter text is shown. Ensure that the checkbox next to the plug-in is checked. - Edit the
css/default.css
file and add the ...
Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.