public Object execute(ExecutionEvent event) throws ExecutionException {
String id = event.getCommand().getId();
SCLEditorBase editor = (SCLEditorBase)PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
- if(id.equals("org.eclipse.ui.edit.undo")) {
+ if(id.equals("org.eclipse.ui.edit.undo")) { //$NON-NLS-1$
editor.editor.getUndoManager().undo();
}
else {