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 Details

    • NESTWorkflowToWFBlock

      public NESTWorkflowToWFBlock()
      Standard constructor
  • Method Details

    • addNode

      public void addNode(NESTNodeObject newNode)
      Description copied from interface: NESTGraphListener
      The NESTGraph just added the given node to the graph.
      Specified by:
      addNode in interface NESTGraphListener
    • removeNode

      public void removeNode(NESTNodeObject removedNode)
      Description copied from interface: NESTGraphListener
      The NESTGraph will remove the given node from the graph.
      Specified by:
      removeNode in interface NESTGraphListener
    • setEdgePre

      public void setEdgePre(NESTEdgeObject newEdge, NESTNodeObject oldPreNode)
      Description copied from interface: NESTGraphListener
      The NESTGraph changed the pre-item of the edge.
      Specified by:
      setEdgePre in interface NESTGraphListener
      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: NESTGraphListener
      The NESTGraph changed the post-item of the edge.
      Specified by:
      setEdgePost in interface NESTGraphListener
      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: 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 interface NESTGraphListener
      Parameters:
      graph - The NESTGraph at its current state.
      Throws:
      Exception