Eclipse provides an SPI that allows clients to customize the look and feel of the Eclipse workbench. Lotus
® Expeditor provides an implementation of this SPI called the Styled Presentation Factory, which is an implementation of the Eclipse Presentation Factory SPI.
The styled presentation factory is theme-aware, which means that it leverages the style manager to drive the look and feel. You can use the SPI to format the user interface framework by providing the style to use for the trim for view parts, editor parts, the sidebar, toolbars, menu bars, and status bars. The styled presentation factory uses many of the custom widgets in the SWTEX custom widget collection, including the SViewForm, SViewStack, SToolBar and STabFolder widgets.
You cannot implement the Styled Presentation Factory using an API. Instead you contribute it to the Eclipse platform using the org.eclipse.ui.presentationFactories extension point. This extension is provided in the com.ibm.rcp.ui plug-in.
To customize the workbench, perform the following steps:
Parent topic: Using themes
- Initialize the Styled Presentation Factory by declaring the StyledPresentationFactory class in a factory tag within the org.eclipse.ui.presentationFactories extension tag.
- Enable the Styled Presentation factory using the Eclipse preference presentationFactoryId. Specify the presentation factory class that you want to use with the following key: