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

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

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

revision 1.16 by mudyc, Thu Jul 17 16:28:19 2003 UTC revision 1.17 by tjl, Mon Jul 28 08:22:33 2003 UTC
# Line 34  import org.fenfire.vocab.*; Line 34  import org.fenfire.vocab.*;
34  import org.nongnu.libvob.*;  import org.nongnu.libvob.*;
35  import org.nongnu.libvob.buoy.*;  import org.nongnu.libvob.buoy.*;
36  import org.nongnu.libvob.impl.DefaultVobMatcher;  import org.nongnu.libvob.impl.DefaultVobMatcher;
 import org.nongnu.libvob.lava.placeable.Placeable;  
37    
38  import java.util.Iterator;  import java.util.Iterator;
39    
# Line 121  public static final String rcsid = "$Id$ Line 120  public static final String rcsid = "$Id$
120          if (node == null) throw new Error("Impossible!");          if (node == null) throw new Error("Impossible!");
121          float x = RDFUtil.getFloat(fen.graph, node, CANVAS2D.x);          float x = RDFUtil.getFloat(fen.graph, node, CANVAS2D.x);
122          float y = RDFUtil.getFloat(fen.graph, node, CANVAS2D.y);          float y = RDFUtil.getFloat(fen.graph, node, CANVAS2D.y);
123          Placeable p = (Placeable)nodeView.f(fen.constgraph, node);          org.nongnu.libvob.lava.placeable.Placeable p =
124                    (org.nongnu.libvob.lava.placeable.Placeable)nodeView.f(fen.constgraph, node);
125          return new java.awt.Rectangle((int)(x-dx), (int)(y-dy),          return new java.awt.Rectangle((int)(x-dx), (int)(y-dy),
126                                        (int)p.getWidth()+dx+dx,                                        (int)p.getWidth()+dx+dx,
127                                        (int)p.getHeight()+dy+dy);                                        (int)p.getHeight()+dy+dy);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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