Class NESTGraphVisualizerImpl<T extends NESTGraphObject>
java.lang.Object
de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
de.uni_trier.wi2.procake.data.object.nest.utils.impl.NESTGraphVisualizerImpl<T>
- All Implemented Interfaces:
NESTGraphVisualizer
public class NESTGraphVisualizerImpl<T extends NESTGraphObject>
extends FactoryObjectImplementation
implements NESTGraphVisualizer
-
Field Summary
Modifier and TypeFieldDescriptionprotected T
protected Map<Parameter,
Predicate<? super NESTGraphItemObject>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
The main method to return a visualization, e.g.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.void
The main method to show a visualization of any kind.Methods inherited from class de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
getParameter, initParametersBasedOn
-
Field Details
-
parameterToGraphItemTypeMapping
-
graph
-
-
Constructor Details
-
NESTGraphVisualizerImpl
public NESTGraphVisualizerImpl() -
NESTGraphVisualizerImpl
-
-
Method Details
-
preInit
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
- 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
.
-
visualize
public void visualize()Description copied from interface:NESTGraphVisualizer
The main method to show a visualization of any kind.- Specified by:
visualize
in interfaceNESTGraphVisualizer
-
getVisualization
Description copied from interface:NESTGraphVisualizer
The main method to return a visualization, e.g. a string or an xml.- Specified by:
getVisualization
in interfaceNESTGraphVisualizer
- Returns:
- the visualization in the export format
-
generateString
-