public boolean doAction(double x, double y, Object o, String action) {
if (super.doAction(x,y,o,action)) return true;
if (action.equals("Link to Scene")) {
SceneGraphTree tree = new SceneGraphTree((SceneGraphModel)((Xith3DPlugin3D)plugin).getSceneTree().getModel());
tree.setVisibleRowCount(7);
int result = JOptionPane.showConfirmDialog(JSynoptic.gui.getOwner(), new JScrollPane(tree),
"Select a scene", JOptionPane.OK_CANCEL_OPTION,
JOptionPane.PLAIN_MESSAGE);
if (result == JOptionPane.OK_OPTION) {
ActiveNode sel = tree.getSelectedNode();
if (sel instanceof SceneNode) {
node = new SynopticViewNodeXith3d(sel);
if (node==null) return false;
node.attach(this);
}