{
invokeDoubleTapAction(imagePart);
}
else
{
Command cmd = new DoubleClickNodeCommand(getCastedModel().getNodePresentation());
// If executing the command from edit domain's command stack, we'd get an
// invalid cursor before the double click cmd is executed.
// Bypassing the command stack
//this.getViewer().getEditDomain().getCommandStack().execute(cmd);
if (cmd.canExecute())
{
cmd.execute();
}
}
}
}
else