Theme (backend)


In order to create a theme for the Xima® Formcycle backend, you just have to create a class that implements the interface IPluginBackendTheme.

String getCSSResource()

Method for providing the CSS resource of the theme.
Return value:
Path to the CSS resource. The path has to be relative to the resource path of the Java Archive (src/main/resources).

Example:
If the file resides in "src/main/resources/css/theme.css" of the Java Package, the method has to return "css/theme.css".

String getJSResource()

Method for providing the JavaScript resource of the theme.
Return value:
Path to the JavaScript resource. The path has to be relative to the resource path of the Java Archive (src/main/resources).

Example:
If the file resides in "src/main/resources/js/theme.js" of the Java Package, the method has to return "js/theme.js".

After installing a theme plugin in Xima® Formcycle the theme may be selected in the system settings under Look & Feel.