Class NESTWorkflowToWFBlock
- java.lang.Object
-
- de.uni_trier.wi2.procake.data.object.transformation.NESTWorkflowToWFBlock
-
- All Implemented Interfaces:
NESTGraphListener
public class NESTWorkflowToWFBlock extends Object implements NESTGraphListener
Concrete implementation of transforming a workflow from NESTGraph to block-orientation.- Author:
- Alexander Stromer
-
-
Constructor Summary
Constructors Constructor Description NESTWorkflowToWFBlock()Standard constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNode(NESTNodeObject newNode)The NESTGraph just added the given node to the graph.WorkflowObjectgetWorkflow()voidremoveNode(NESTNodeObject removedNode)The NESTGraph will remove the given node from the graph.voidsetEdgePost(NESTEdgeObject newEdge, NESTNodeObject oldPostNode)The NESTGraph changed the post-item of the edge.voidsetEdgePre(NESTEdgeObject newEdge, NESTNodeObject oldPreNode)The NESTGraph changed the pre-item of the edge.voidupdateAll(NESTWorkflowObject graph)Notifies the listener, that many changes have been done and a complete reconstruction is necessary in order to cover them.
-
-
-
Method Detail
-
addNode
public void addNode(NESTNodeObject newNode)
Description copied from interface:NESTGraphListenerThe NESTGraph just added the given node to the graph.- Specified by:
addNodein interfaceNESTGraphListener
-
removeNode
public void removeNode(NESTNodeObject removedNode)
Description copied from interface:NESTGraphListenerThe NESTGraph will remove the given node from the graph.- Specified by:
removeNodein interfaceNESTGraphListener
-
setEdgePre
public void setEdgePre(NESTEdgeObject newEdge, NESTNodeObject oldPreNode)
Description copied from interface:NESTGraphListenerThe NESTGraph changed the pre-item of the edge.- Specified by:
setEdgePrein 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
public void setEdgePost(NESTEdgeObject newEdge, NESTNodeObject oldPostNode)
Description copied from interface:NESTGraphListenerThe NESTGraph changed the post-item of the edge.- Specified by:
setEdgePostin 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
public WorkflowObject getWorkflow()
-
updateAll
public void updateAll(NESTWorkflowObject graph) throws Exception
Description copied from interface:NESTGraphListenerNotifies the listener, that many changes have been done and a complete reconstruction is necessary in order to cover them.- Specified by:
updateAllin interfaceNESTGraphListener- Parameters:
graph- The NESTGraph at its current state.- Throws:
Exception
-
-