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 T
graph
protected 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 NESTWorkflowVisualizerImpl
copy(T graph)
String
getLabel(NESTGraphItemObject graphItem)
List<Parameter>
getParameters()
void
postInit()
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.void
preInit(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:FactoryObjectImplementation
Called directly after creating the implementation.- Specified by:
preInit
in classFactoryObjectImplementation
- Parameters:
parameter
- The parameters to initialize the implementation.
-
postInit
public void postInit()
Description copied from class:FactoryObjectImplementation
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.- Specified by:
postInit
in classFactoryObjectImplementation
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParameters
in 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)
-
-