Class NESTWorkflowVisualizerImpl<T extends NESTAbstractWorkflowObject>
- java.lang.Object
-
- de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
-
- de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTWorkflowVisualizerImpl<T>
-
- All Implemented Interfaces:
NESTGraphVisualizer,NESTWorkflowVisualizer
- Direct Known Subclasses:
NESTWorkflowDOTVisualizerImpl,NESTWorkflowStringVisualizerImpl
public abstract class NESTWorkflowVisualizerImpl<T extends NESTAbstractWorkflowObject> extends FactoryObjectImplementation implements NESTWorkflowVisualizer
-
-
Field Summary
Fields Modifier and Type Field Description protected Tgraphprotected Map<Parameter,Predicate<? super NESTGraphItemObject>>parameterToGraphItemTypeMapping
-
Constructor Summary
Constructors Constructor Description NESTWorkflowVisualizerImpl()NESTWorkflowVisualizerImpl(T graph)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract NESTWorkflowVisualizerImplcopy(T graph)StringgetLabel(NESTGraphItemObject graphItem)List<Parameter>getParameters()voidpostInit()Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])and bind to the factory.voidpreInit(AbstractParameter[] parameter)Called directly after creating the implementation.-
Methods inherited from class de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
getParameter, initParametersBasedOn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.nest.utils.NESTGraphVisualizer
getVisualization, visualize
-
-
-
-
Field Detail
-
parameterToGraphItemTypeMapping
protected Map<Parameter,Predicate<? super NESTGraphItemObject>> parameterToGraphItemTypeMapping
-
graph
protected T extends NESTAbstractWorkflowObject graph
-
-
Constructor Detail
-
NESTWorkflowVisualizerImpl
public NESTWorkflowVisualizerImpl()
-
NESTWorkflowVisualizerImpl
public NESTWorkflowVisualizerImpl(T graph)
-
-
Method Detail
-
copy
public abstract NESTWorkflowVisualizerImpl copy(T graph)
-
preInit
public void preInit(AbstractParameter[] parameter)
Description copied from class:FactoryObjectImplementationCalled directly after creating the implementation.- Specified by:
preInitin classFactoryObjectImplementation- Parameters:
parameter- The parameters to initialize the implementation.
-
postInit
public void postInit()
Description copied from class:FactoryObjectImplementationCalled after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])and bind to the factory.- Specified by:
postInitin classFactoryObjectImplementation
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParametersin classFactoryObjectImplementation- Returns:
- Returns a list of available parameters in the implementation. This method can be called
without initialization and is never
null.
-
getLabel
public String getLabel(NESTGraphItemObject graphItem)
-
-