Eclipse 4.2.1 introduces the capabilities to style individual parts, e.g. the Package Explorer. The ID of the part is used as the basis for the CSS ID selector but the dots in the ID are replaced by “-”.
For example the following styles the Package Explorer.
#org-eclipse-jdt-ui-PackageExplorer {
font-size:20;
background:black;
}
Thanks to Brian de Alwis for the implementation and also providing the tip how I can use that.
You find more details how to style Eclipse 4 RCP applications in the Eclipse 4 CSS Tutorial.
I’ve merely contributed tweaks and fixes to the code base — the credit goes to Angelo Zerr and the many other e4 contributors since.