Interface WorkflowEntityImageCreator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.hybris.cockpitng.components.visjs.network.data.Image createSvgImage​(ItemModel model, java.lang.String velocityTemplateLocation, java.lang.String velocityTemplateLocationIE, java.lang.String cssClass)
      Creates svg image
    • Method Detail

      • createSvgImage

        com.hybris.cockpitng.components.visjs.network.data.Image createSvgImage​(ItemModel model,
                                                                                java.lang.String velocityTemplateLocation,
                                                                                java.lang.String velocityTemplateLocationIE,
                                                                                java.lang.String cssClass)
        Creates svg image
        Parameters:
        model - which contains necessary data for velocity template to render it correctly
        velocityTemplateLocation - the path to velocity template resource
        velocityTemplateLocationIE - the path to velocity template resource which is valid for Internet Explorer browser
        cssClass - which will be passed to velocity template
        Returns:
        svg image