The custom widget must provide the theme-relevant files in a package with is named after the schema <package>.internal.<widget>kit
where <package>
is the package name and <widget>
is the lower case class name of the custom control. This is the same package that also contains the lifecycle adapter (LCA).
Theming relevant files include:
<Widget>.theme.xml
. This file defines new theming keys.ControlThemeAdapter
and is named <Widget>ThemeAdapter
. The theme adapter provides the control with the current values of theming-dependent properties.<Widget>.appearances.js
. This file defines new qooxdoo appearances.<!ELEMENT extension (widget+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT widget EMPTY>
<!ATTLIST widget
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
<extension point="org.eclipse.rap.ui.themeableWidgets"> <widget id="my.custom.datepicker" class="my.custom.controls.DatePicker"> </widget> </extension>
Copyright (c) 2007, 2015 EclipseSource and others.
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