Interface WorkflowEntityImageCreator
- All Known Implementing Classes:
DefaultWorkflowEntityImageCreator
public interface WorkflowEntityImageCreator
Allows to create svg image for
WorkflowEntity-
Method Summary
Modifier and TypeMethodDescriptioncom.hybris.cockpitng.components.visjs.network.data.ImagecreateSvgImage(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 correctlyvelocityTemplateLocation- the path to velocity template resourcevelocityTemplateLocationIE- the path to velocity template resource which is valid for Internet Explorer browsercssClass- which will be passed to velocity template- Returns:
- svg image
-