Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1300/src/net/sourceforge/bprocessor/model
Modified Files:
Line.java CoordinateSystem.java
Log Message:
Improved drawing of highlighted objects
Index: CoordinateSystem.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/CoordinateSystem.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** CoordinateSystem.java 3 Aug 2006 14:33:00 -0000 1.21
--- CoordinateSystem.java 8 Aug 2006 12:05:10 -0000 1.22
***************
*** 453,457 ****
from = o.minus(n);
to = o.add(n);
! list.add(new Guide(from, to));
}
return list;
--- 453,458 ----
from = o.minus(n);
to = o.add(n);
! Edge current = new Guide(from, to);
! list.add(current);
}
return list;
***************
*** 461,464 ****
--- 462,468 ----
*/
private class Guide extends Edge {
+ /** */
+ private static final long serialVersionUID = 1L;
+
/**
* Constructor
***************
*** 468,471 ****
--- 472,476 ----
public Guide(Vertex from, Vertex to) {
super(from, to);
+ setStrippled(true);
}
Index: Line.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Line.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** Line.java 31 Jul 2006 11:25:51 -0000 1.17
--- Line.java 8 Aug 2006 12:05:10 -0000 1.18
***************
*** 222,225 ****
--- 222,226 ----
Vertex to = origin.add(direction);
Edge constructor = new Guide(from, to);
+ constructor.setStrippled(true);
return constructor;
}
|