From 11eb9557a35e17450c0aefb758471f1ff3148336 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Fri, 29 Jun 2012 16:20:11 +0200 Subject: Pull remaining graph GUI components into cristal-gui --- src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java') diff --git a/src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java b/src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java index 02a0c6d..1e52e6b 100644 --- a/src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java +++ b/src/main/java/com/c2kernel/lifecycle/instance/ParserWF.java @@ -1,9 +1,9 @@ package com.c2kernel.lifecycle.instance; -import java.awt.Point; import java.io.IOException; import java.util.Vector; +import com.c2kernel.graph.model.GraphPoint; import com.c2kernel.lookup.AgentPath; import com.c2kernel.utils.CastorHashMap; import com.c2kernel.utils.Logger; @@ -53,7 +53,7 @@ public class ParserWF { if (nexts.elementAt(j)[0].equals(nexts.elementAt(k)[0])) { - int tmp = act.newSplitChild("And", new Point(0, 0)).getID(); + int tmp = act.newSplitChild("And", new GraphPoint(0, 0)).getID(); ((WfVertex) act.search(nexts.elementAt(k)[0])).addNext(act.search(tmp)); ((Split) act.search(tmp)).addNext((WfVertex) act.search(nexts.elementAt(k)[1])); ((Split) act.search(tmp)).addNext((WfVertex) act.search(nexts.elementAt(j)[1])); @@ -73,7 +73,7 @@ public class ParserWF { if (nexts.elementAt(j)[1].equals(nexts.elementAt(k)[1])) { - int tmp = act.newJoinChild(new Point(0, 0)).getID(); + int tmp = act.newJoinChild(new GraphPoint(0, 0)).getID(); ((WfVertex) act.search(nexts.elementAt(j)[0])).addNext(act.search(tmp)); ((WfVertex) act.search(nexts.elementAt(k)[0])).addNext(act.search(tmp)); ((Join) act.search(tmp)).addNext(nexts.elementAt(j)[1]); @@ -122,7 +122,7 @@ public class ParserWF Logger.msg(7, "