3132333435363738394041
public void perform() { DesignerCommand command = null; IHTMLGraphicalViewer viewer = getViewer(); if (viewer.isInRangeMode()) { command = new CutCommand(viewer); command.execute(); } else { command = new CutNodeCommand(viewer); command.execute(); }
107108109110111112113114115116117
command = new DeleteCommand(true, (IHTMLGraphicalViewer) this.getCurrentViewer()); } } else { // "cut" command = new CutCommand((IHTMLGraphicalViewer) this .getCurrentViewer()); e.doit = false; } break; case SWT.BS: