57 |
public void addBuoys(VobScene vs, int parentCs, |
public void addBuoys(VobScene vs, int parentCs, |
58 |
BuoyViewMainNode mainNode, |
BuoyViewMainNode mainNode, |
59 |
BuoyLinkListener l) { |
BuoyLinkListener l) { |
60 |
if(!(mainNode instanceof MainNode2D)) return; |
if(!(mainNode instanceof AbstractMainNode2D)) return; |
61 |
MainNode2D mn2d = (MainNode2D)mainNode; |
AbstractMainNode2D mn2d = (AbstractMainNode2D)mainNode; |
62 |
DefaultVobMatcher m = (DefaultVobMatcher)vs.matcher; |
DefaultVobMatcher m = (DefaultVobMatcher)vs.matcher; |
63 |
|
if(dbg) pa("Trying transclusion addbuoys"); |
64 |
if(mn2d.getView2D() == normalNodeNodeType.getView2D()) { |
if(mn2d.getView2D() == normalNodeNodeType.getView2D()) { |
65 |
|
pa("TransclusionConnector: canvas -> scrolls"); |
66 |
// Loop over the placed nodes' keys |
// Loop over the placed nodes' keys |
67 |
for(Iterator i=m.getKeys(parentCs).iterator(); i.hasNext();) { |
for(Iterator i=m.getKeys(parentCs).iterator(); i.hasNext();) { |
68 |
Object key = i.next(); |
Object key = i.next(); |