1
2
3
4
5
6 package net.kwfgrid.gwui.graphview;
7
8 /***
9 A <code>WorkflowGraphAnalyzer</code> is used to update the nodes and edges representing the workflow as
10 a graph whenever changes are made to the underlying model.
11 */
12 public interface WorkflowGraphAnalyzer {
13 /***
14 Update the specified place node from the underlying place.
15 */
16 void updatePlaceNode(PlaceNode node);
17 /***
18 Update the specified transition node from the underlying transition.
19 */
20 void updateTransitionNode(TransitionNode node);
21 /***
22 Update the specified workflow graph from the underlying workflow.
23 This method should not operate on nodes and edges, just set properties of the graph instance
24 correctly.
25 */
26 void updateWorkflowGraph(WorkflowGraph graph);
27 /***
28 Update the specified read edge from the underlying arc.
29 */
30 void updateReadEdge(ReadEdge edge);
31 /***
32 Update the specified in edge from the underlying arc.
33 */
34 void updateInEdge(InEdge edge);
35 /***
36 Update the specified out edge from the underlying arc.
37 */
38 void updateOutEdge(OutEdge edge);
39 }