/[fenfire]/fenfire/org/fenfire/view/buoy/TransclusionConnector.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/buoy/TransclusionConnector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by benja, Sat May 3 13:35:14 2003 UTC revision 1.9 by tjl, Tue May 13 03:14:24 2003 UTC
# Line 119  public static final String rcsid = "$Id$ Line 119  public static final String rcsid = "$Id$
119                  for(Iterator nodes = fen.enfiladeOverlap.getMatches(tmpEnf).iterator(); nodes.hasNext(); ) {                  for(Iterator nodes = fen.enfiladeOverlap.getMatches(tmpEnf).iterator(); nodes.hasNext(); ) {
120                      Object node = nodes.next();                      Object node = nodes.next();
121                      if(dbg) pa("TRC: overlap "+node);                      if(dbg) pa("TRC: overlap "+node);
122                      Object plane = fen.constgraph.find1_X11(PAPER.contains, node);                      Object plane = fen.constgraph.find1_X11(
123                                CANVAS2D.contains, node);
124                      if(plane == null) {                      if(plane == null) {
125                          if(dbg) pa("No plane!");                          if(dbg) pa("No plane!");
126                          continue;                          continue;
# Line 139  public static final String rcsid = "$Id$ Line 140  public static final String rcsid = "$Id$
140      public int dx = 30, dy = 30;      public int dx = 30, dy = 30;
141      protected java.awt.Rectangle getRect(Object node) {      protected java.awt.Rectangle getRect(Object node) {
142          if (node == null) throw new Error("Impossible!");          if (node == null) throw new Error("Impossible!");
143          int x = RDFUtil.getInt(fen, node, SPATIAL.coordX);          int x = RDFUtil.getInt(fen, node, CANVAS2D.x);
144          int y = RDFUtil.getInt(fen, node, SPATIAL.coordY);          int y = RDFUtil.getInt(fen, node, CANVAS2D.y);
145          Placeable p = (Placeable)nodeView.f(fen.constgraph, node);          Placeable p = (Placeable)nodeView.f(fen.constgraph, node);
146          return new java.awt.Rectangle(x-dx, y-dy,          return new java.awt.Rectangle(x-dx, y-dy,
147                                        (int)p.getWidth()+dx+dx,                                        (int)p.getWidth()+dx+dx,

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26