Interface WorkItemPropertyDisplayer


  • @Role
    public interface WorkItemPropertyDisplayer
    Defines the rendering blocks that should be used in order to display a Work Item property.
    Version:
    $Id$
    • Method Detail

      • display

        List<org.xwiki.rendering.block.Block> display​(Object property,
                                                      Map<String,​Object> params)
        Generates a list of blocks that can be used to render the property in different contexts.
        Parameters:
        property - the property value that will be displayed.
        params - any additional params that the displayer might need (i.e. translation prefix).
        Returns:
        a list of blocks that define how the property should be displayed.