David Luebbren 26.Jun.08 09:04 AM a Web browser Application development6.1.2Windows XP
Hello,
I would like to know if themes (ie. the skinning of widgets,and changing of font, colour,...) also works with standard "Eclipse Application" or only with the Client Service.
I did a test setting the presentation factory id via code in
method ApplicationWorkbenchAdvisor.preWindowOpen
...
store.putValue(IWorkbenchPreferenceConstants.PRESENTATION_FACTORY_ID,"com.ibm.rcp.ui.presentations.StyledPresentationFactory");
Set an extension point for org.eclipse.ui.presentationFactories
giving it a CSS stylesheet.
In the view I set the style on an SWT Button
ie. styleService.style(button, true);
and also used an SButton.
The program exists with a null pointer exception on both
these lines.
I also tried this with the Client Service. There I was only able
to change the looks of the "Open"/Launcher Button, but not that of own Button or SButton.
Am I missing something ?
I'm thankfull for any clues.
Regards David Luebbren