Platform Explorer / Nuxeo Platform 5.6

Extension point presets

Extension Point for registering Presets.

Presets are stored in Palettes.

The XML syntax is:

    <palette category="category" name="palette name" src="palette source"/>

where: - 'name' is the name of the Palette. - 'src' is the source of the Palette (String) - 'category' is the palette category (optional)

Supported palette types are:

- *.properties (Properties file) - *.aco (Photoshop color palettes) - *.gpl (Gimp palettes)

Contribution Descriptor

Existing Contributions

  • nuxeo-webengine-sites-5.6.jar
    <extension point="presets" target="org.nuxeo.theme.services.ThemeService">
        <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/>
        <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/>
        <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/>
      </extension>
  • nuxeo-webengine-blogs-5.6.jar
    <extension point="presets" target="org.nuxeo.theme.services.ThemeService">
        <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/>
        <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/>
        <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/>
      </extension>