RWT Themes

Identifier:
org.eclipse.rap.ui.themes

Since:
RAP 1.0

Description:
This extension point is used to register custom RWT themes. An RWT theme is used to customize the look and feel of applications built with the Rich Ajax Platform. To create a custom theme, a CSS file must be provided. With this file the styling of one ore more widgets can be customized. A list of themeable widgets and properties can be found in the "RAP Theming Reference".

Configuration Markup:

<!ELEMENT extension (theme+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT theme EMPTY>

<!ATTLIST theme

id   CDATA #REQUIRED

name CDATA #IMPLIED

file CDATA #REQUIRED>


Examples:
The following is an example of a theme extension definition:


   <extension point="org.eclipse.rap.ui.themes">
      <theme
            id="my.application.aquablue"
            name="Aqua Blue Theme"
            file="aqua-blue.properties" />
   </extension>

Supplied Implementation:
A template for valid theme files can be found in the src/ directory of the RWT plug-in (org.eclipse.rap.rwt). The file is called theme-template.properties. The RAP demo plugin org.eclipse.rap.demo contains an example of a theme extension.


Copyright (c) 2007 Innoopract Informationssysteme GmbH.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html