Commit 06a6b0db authored by SAINT-MARCEL Frederic's avatar SAINT-MARCEL Frederic
Browse files

probleme

parent 5424787c
/**
* $Id: FCMarqueeHandler.java,v 1.9 2002-05-23 15:38:54 frederic Exp $
* $Id: FCMarqueeHandler.java,v 1.10 2002-05-27 16:22:45 frederic Exp $
*
* Transmorpher
*
......@@ -320,7 +320,6 @@ public class FCMarqueeHandler extends BasicMarqueeHandler {
cs.connect(edge,currentProcess.getPortForLocation(p.x,p.y), true);
cs.connect(edge,currentProcess.getPortForLocation(p2.x,p2.y), false);
currentProcess.getModel().insert(insert, cs, null, viewMap);
((ProcessGraph)currentProcess).updatePorts("output",(DefaultGraphCell)cell);
((ProcessGraph)currentProcess).updatePorts("input",(DefaultGraphCell)cell2);
//((ProcessGraph)currentProcess).layoutPorts(cell,"output");
......
/**
*
* $Id: FlowComposer.java,v 1.21 2002-05-27 14:53:55 frederic Exp $
* $Id: FlowComposer.java,v 1.22 2002-05-27 16:22:45 frederic Exp $
*
* Transmorpher
*
......@@ -72,6 +72,8 @@ public class FlowComposer extends JPanel implements GraphModelListener,
PropertyChangeListener,
Observer {
// a boolean which indicates if the drawing area is editing
public static boolean editing = false;
//Used only if FlowComposer is an applet
//private boolean inAnApplet = true;
......@@ -1000,7 +1002,8 @@ public class FlowComposer extends JPanel implements GraphModelListener,
}
public void actionPerformed(ActionEvent e) {
if (editing) newEditor();
else
}
}
......
/**
* $Id: ProcessGraph.java,v 1.9 2002-05-27 14:53:55 frederic Exp $
* $Id: ProcessGraph.java,v 1.10 2002-05-27 16:22:45 frederic Exp $
*
* Transmorpher
*
......@@ -523,6 +523,7 @@ public class ProcessGraph extends JGraph implements Comparator{
}
getModel().insert(new Object[]{cell}, null, null, viewMap);
FlowComposer.editing=true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment