Interface WorkflowEntityImageCreator

All Known Implementing Classes:
DefaultWorkflowEntityImageCreator

public interface WorkflowEntityImageCreator
Allows to create svg image for WorkflowEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hybris.cockpitng.components.visjs.network.data.Image
    createSvgImage(ItemModel model, String velocityTemplateLocation, String velocityTemplateLocationIE, String cssClass)
    Creates svg image
  • Method Details

    • createSvgImage

      com.hybris.cockpitng.components.visjs.network.data.Image createSvgImage(ItemModel model, String velocityTemplateLocation, String velocityTemplateLocationIE, 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