70 |
while (iter.hasNext()) { |
while (iter.hasNext()) { |
71 |
Object obj = iter.next(); |
Object obj = iter.next(); |
72 |
Object plane = fen.constgraph.find1_X11(CANVAS2D.contains, obj); |
Object plane = fen.constgraph.find1_X11(CANVAS2D.contains, obj); |
73 |
|
if (container == plane) continue; |
74 |
Pair anchor = new Pair(plane, getRect(obj)); |
Pair anchor = new Pair(plane, getRect(obj)); |
75 |
if (dbg) pa("rect:"+getRect(obj)); |
if (dbg) pa("rect:"+getRect(obj)); |
76 |
l.link(1, cs, nodeType, new Pair(node, obj), anchor, shift); |
l.link(1, cs, nodeType, new Pair(node, obj), anchor, shift); |
83 |
while (iter.hasNext()) { |
while (iter.hasNext()) { |
84 |
Object obj = iter.next(); |
Object obj = iter.next(); |
85 |
Object plane = fen.constgraph.find1_X11(CANVAS2D.contains, obj); |
Object plane = fen.constgraph.find1_X11(CANVAS2D.contains, obj); |
86 |
|
if (container == plane) continue; |
87 |
Pair anchor = new Pair(plane, getRect(obj)); |
Pair anchor = new Pair(plane, getRect(obj)); |
88 |
if (dbg) pa("rect:"+getRect(obj)); |
if (dbg) pa("rect:"+getRect(obj)); |
89 |
l.link(-1, cs, nodeType, new Pair(obj, node), anchor, shift); |
l.link(-1, cs, nodeType, new Pair(obj, node), anchor, shift); |