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; |
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, |