287288289290291292293294295296297
} directEditManager.show(); } else if (request.getType() == REQ_OPEN) { Command command = getCommand(request); if (command != null && command.canExecute()) { command.execute(); } } } public void propertyChange(PropertyChangeEvent evt) {
226227228229230231232233234235236
// 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