Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 356f9d6f authored by Guillaume Chomat's avatar Guillaume Chomat
Browse files

minor modification

parent c051f129
/**
*
*$Id: FlowComposer.java,v 1.36 2002-06-04 15:22:30 frederic Exp $
*$Id: FlowComposer.java,v 1.37 2002-06-05 13:39:28 gchomat Exp $
*
* Transmorpher
*
......@@ -850,7 +850,7 @@ public class FlowComposer extends JPanel implements GraphModelListener,
new HelpAction()
};
protected void createSpecialButtons() {
String[] pourcentage = {"1600%","800%","400%","200%","100%","50%","25%"};
......@@ -878,7 +878,7 @@ public class FlowComposer extends JPanel implements GraphModelListener,
}
//
// Listeners
//
......@@ -1128,6 +1128,7 @@ public class FlowComposer extends JPanel implements GraphModelListener,
}
update();
undoAction.update();
System.out.println();
}
......
/**
* $Id: ProcessGraph.java,v 1.16 2002-06-05 13:18:48 frederic Exp $
* $Id: ProcessGraph.java,v 1.17 2002-06-05 13:39:28 gchomat Exp $
*
* Transmorpher
*
......@@ -149,11 +149,10 @@ public class ProcessGraph extends JGraph implements Comparator, Observer{
return super.createVertexView(v, cm);
}
/*protected PortView createPortView(Port p, CellMapper cm) {
PortView view = new PortView(p, this, cm);
view.setBounds(new Rectangle(10,10));
return view;
} */
protected PortView createPortView(Port p, CellMapper cm) {
PortView view = new FCPortView(p, this, cm);
return view;
}
/** interface comparator*/
......
/**
* $Id: ProcessGraphModel.java,v 1.4 2002-05-23 15:38:54 frederic Exp $
* $Id: ProcessGraphModel.java,v 1.5 2002-06-05 13:39:28 gchomat Exp $
*
* Transmorpher
*
......@@ -61,13 +61,16 @@ public class ProcessGraphModel extends DefaultGraphModel{
super.insert(roots,cs,pm,attributeMap);
}
public boolean acceptsSource(Object edge,Object port) {
return (((Edge)edge).getTarget()!=port);
}
public boolean acceptsTarget(Object edge,Object port) {
return (((Edge)edge).getSource()!=port);
}
public boolean acceptsSource(Object edge,Object port) {
return (((Edge)edge).getTarget()!=port);
}
public boolean acceptsTarget(Object edge,Object port) {
return (((Edge)edge).getSource()!=port);
}
}
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