![JAR search and dependency download from the Maven repository](/logo.png)
schema.rap.themes.exsd Maven / Gradle / Ivy
The newest version!
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 Remote Application 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".
It is also possible to register contributions to existing RWT themes.
A theme contribution contains CSS rules that are appended to an existing theme. If more than one contributions are registered for the same theme, the order in which these contributions are appended is undefined. The user of this extension point must ensure that the rules specified in a theme contribution can not interfere with the rules in other theme contributions. Ideally, theme contributions contain only rules for custom variants.
a fully qualified identifier of the target extension point
an optional identifier of the extension instance
an optional name of the extension instance
An RWT theme.
a unique name that will be used to identify this theme
an optional name for the theme (currently not used)
a relative path of a <code>.css</code> file that contains the theme definitions
A contribution to an existing theme. The contributed CSS rules are appended to the CSS rules of the extended theme.
the id of the theme this extension contributes to. Use org.eclipse.rap.rwt.theme.Default to contribute to the default theme.
a relative path of a <code>.css</code> file that contains the additional rules to append to the theme
RAP 1.0
The following is an example of a theme extension with a new theme:
<pre>
<extension point="org.eclipse.rap.ui.themes">
<theme
id="my.application.aquablue"
name="Aqua Blue Theme"
file="aqua-blue.css" />
</extension>
</pre>
The following is an example of a theme extension that defines a contribution to an existing theme:
<pre>
<extension point="org.eclipse.rap.ui.themes">
<themeContribution
themeId="my.application.aquablue"
file="aqua-blue-additions.css" />
</extension>
</pre>
The RAP demo plugin <code>org.eclipse.rap.design.example</code> contains an example of a theme extension.
Copyright (c) 2007, 2015 EclipseSource and others.<br>
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 <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy