Class AbstractPlantUMLMindmapSVGReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.ametys.plugins.workflow.readers.AbstractPlantUMLSVGReader
org.ametys.plugins.workflow.readers.AbstractPlantUMLMindmapSVGReader
- All Implemented Interfaces:
Poolable,Recyclable,Component,LogEnabled,Serviceable,Reader,SitemapModelComponent,SitemapOutputComponent
- Direct Known Subclasses:
PlantUmlMindMapStepSVGReader,PlantUmlMindMapSVGReader
Abstract class for reading plantUML mindmaps
-
Field Summary
Fields inherited from class org.ametys.plugins.workflow.readers.AbstractPlantUMLSVGReader
__MAIN_STEP_NODE_COLOR, _i18nHelper, _i18nUtils, _jsonUtils, _workflowRightHelper, _workflowSessionHelper, _workflowStepDAO, _workflowTransitionDAOFields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.plugins.workflow.readers.AbstractPlantUMLSVGReader
_getActionLabel, _getActionTooltip, _getJsFunction, _getPlantUMLContent, _getPlantUMLGraphContent, _getPlantUMLStyle, _getStepNodeLabel, _getStepTooltip, _getStringWithEscapedSpace, _setContextInRequestAttributes, _setPlantUMLProperties, generate, serviceMethods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, getMimeType, recycle, setOutputStream, setup, shouldSetContentLengthMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
AbstractPlantUMLMindmapSVGReader
public AbstractPlantUMLMindmapSVGReader()
-
-
Method Details
-
_getPlantUMLType
Description copied from class:AbstractPlantUMLSVGReaderGet the diagram type- Specified by:
_getPlantUMLTypein classAbstractPlantUMLSVGReader- Returns:
- the diagram type
-
_getMindMapNodeContent
protected String _getMindMapNodeContent(String positionPrefix, String label, String iconPath, String color, String jsFunction, String linkTooltip, boolean isBoxless) Create a node in a plantUML mindmap- Parameters:
positionPrefix- can be '+', '++' or '--' depending on the relative position of this node toward the central nodelabel- the label of the nodeiconPath- the encoded icon path of the step/actioncolor- the background color for the nodejsFunction- the function to insert in a linklinkTooltip- the link tooltipisBoxless- true if the node doesn't have a border- Returns:
- the node graph as string
-