123 |
|
|
124 |
/** @return new or old mainnodes. null is good also. |
/** @return new or old mainnodes. null is good also. |
125 |
*/ |
*/ |
126 |
public AbstractMainNode2D[] doMouse(MouseEvent e, VobScene oldVS, |
public AbstractMainNode2D[] doMouse(VobMouseEvent e, VobScene oldVS, |
127 |
AbstractMainNode2D[] mainNodes, ContextNodeView cnv) |
AbstractMainNode2D[] mainNodes, ContextNodeView cnv) |
128 |
throws RemoteException, IOException, RDFException |
throws RemoteException, IOException, RDFException |
129 |
{ |
{ |
130 |
p("planes: " + mainNodes); |
p("planes: " + mainNodes); |
131 |
for (int i=0; i<mainNodes.length; i++) p("foo: "+ mainNodes[i]); |
for (int i=0; i<mainNodes.length; i++) p("foo: "+ mainNodes[i]); |
132 |
|
|
133 |
if (e.getID() != MouseEvent.MOUSE_CLICKED) return null; |
if (e.getType() != MouseEvent.MOUSE_CLICKED) return null; |
134 |
int cs = oldVS.coords.getCSAt(0, e.getX(), e.getY(), null); |
int cs = oldVS.coords.getCSAt(0, e.getX(), e.getY(), null); |
135 |
if(cs < 0) return null; |
if(cs < 0) return null; |
136 |
Object obKey = oldVS.matcher.getKey(cs); |
Object obKey = oldVS.matcher.getKey(cs); |