[ 
http://jira.nuxeo.org/browse/NXP-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57526#action_57526
 ] 

Jean-Marc Orliaguet commented on NXP-3933:
------------------------------------------

Example:

  <extension target="org.nuxeo.theme.editor.ThemeEditorService" 
point="preset-previews">

    <preview preset="color">
      <class>org.nuxeo.theme.editor.previews.Color</class>
      <css-properties>color,border-color,background-color</css-properties>
    </preview>

    <preview preset="font">
      <class>org.nuxeo.theme.editor.previews.Font</class>
      <css-properties>font</css-properties>
    </preview>

    <preview preset="image">
      <class>org.nuxeo.theme.editor.previews.Image</class>
      <css-properties>background-image,list-style-image</css-properties>
    </preview>

    <preview preset="border">
      <class>org.nuxeo.theme.editor.previews.Border</class>
      
<css-properties>border,border-top,border-bottom,border-right,border-left</css-properties>
    </preview>
    
    <preview preset="background">
      <class>org.nuxeo.theme.editor.previews.Background</class>
      <css-properties>background</css-properties>
    </preview>            
    
  </extension>
  

> Theme editor: make it possible to register preset previews as contributions
> ---------------------------------------------------------------------------
>
>                 Key: NXP-3933
>                 URL: http://jira.nuxeo.org/browse/NXP-3933
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>            Reporter: Jean-Marc Orliaguet
>            Assignee: Jean-Marc Orliaguet
>
> The list of preset categories in the style editor is hardcoded (Font, color, 
> background, ...). To make it possible to register new types of presets 
> categories (line-height, word-spacing) the elements of the list should be 
> contributed in an extension.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to