Class NESTWorkflowToWFBlock
java.lang.Object
de.uni_trier.wi2.procake.data.object.transformation.NESTWorkflowToWFBlock
- All Implemented Interfaces:
NESTGraphListener
Concrete implementation of transforming a workflow from NESTGraph to block-orientation.
- Author:
- Alexander Stromer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNode
(NESTNodeObject newNode) The NESTGraph just added the given node to the graph.void
removeNode
(NESTNodeObject removedNode) The NESTGraph will remove the given node from the graph.void
setEdgePost
(NESTEdgeObject newEdge, NESTNodeObject oldPostNode) The NESTGraph changed the post-item of the edge.void
setEdgePre
(NESTEdgeObject newEdge, NESTNodeObject oldPreNode) The NESTGraph changed the pre-item of the edge.void
updateAll
(NESTWorkflowObject graph) Notifies the listener, that many changes have been done and a complete reconstruction is necessary in order to cover them.
-
Constructor Details
-
NESTWorkflowToWFBlock
public NESTWorkflowToWFBlock()Standard constructor
-
-
Method Details
-
addNode
Description copied from interface:NESTGraphListener
The NESTGraph just added the given node to the graph.- Specified by:
addNode
in interfaceNESTGraphListener
-
removeNode
Description copied from interface:NESTGraphListener
The NESTGraph will remove the given node from the graph.- Specified by:
removeNode
in interfaceNESTGraphListener
-
setEdgePre
Description copied from interface:NESTGraphListener
The NESTGraph changed the pre-item of the edge.- Specified by:
setEdgePre
in interfaceNESTGraphListener
- Parameters:
newEdge
- Represents the situation after the change. The Node was already changed.oldPreNode
- The node, which was previously at this position (now disconnected from that edge)
-
setEdgePost
Description copied from interface:NESTGraphListener
The NESTGraph changed the post-item of the edge.- Specified by:
setEdgePost
in interfaceNESTGraphListener
- Parameters:
newEdge
- Represents the situation after the change. The Node was already changed.oldPostNode
- The node, which was previously at this position (now disconnected from that edge)
-
getWorkflow
-
updateAll
Description copied from interface:NESTGraphListener
Notifies the listener, that many changes have been done and a complete reconstruction is necessary in order to cover them.- Specified by:
updateAll
in interfaceNESTGraphListener
- Parameters:
graph
- The NESTGraph at its current state.- Throws:
Exception
-