10 |
* the viewing and linking. |
* the viewing and linking. |
11 |
*/ |
*/ |
12 |
public class BuoyAdaptor implements BuoyViewNodeType { |
public class BuoyAdaptor implements BuoyViewNodeType { |
13 |
|
public static boolean dbg = false; |
14 |
|
private static void pa(String s) { System.out.println("BuoyAdaptor:"+s); } |
15 |
|
|
16 |
/** The cell node types used by the current instance. |
/** The cell node types used by the current instance. |
17 |
*/ |
*/ |
59 |
BuoyLinkListener l; |
BuoyLinkListener l; |
60 |
|
|
61 |
public void placed(Cell c, VobScene vs, int cs, ViewContext context) { |
public void placed(Cell c, VobScene vs, int cs, ViewContext context) { |
62 |
|
if(dbg) |
63 |
|
pa("Placed cell: "+c+" "+vs+" "+cs+" "+context); |
64 |
for(int i=0; i<cellLinkers.length; i++) |
for(int i=0; i<cellLinkers.length; i++) |
65 |
cellLinkers[i].doLinks(c, vs, cs, BuoyAdaptor.this, l); |
cellLinkers[i].doLinks(c, vs, cs, BuoyAdaptor.this, l); |
66 |
} |
} |