]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/componentTypeEditor/SCLEditorBaseUndoHandler.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / componentTypeEditor / SCLEditorBaseUndoHandler.java
index 62c54d04e6ac6682bb263f375724916cfcea3227..6ac47e9fa69096b89f56d45fdc40618909cbd01e 100644 (file)
@@ -11,7 +11,7 @@ public class SCLEditorBaseUndoHandler extends AbstractHandler {
     public Object execute(ExecutionEvent event) throws ExecutionException {
         String id = event.getCommand().getId();
         SCLEditorBase editor = (SCLEditorBase)PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
     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 {
             editor.editor.getUndoManager().undo();
         }
         else {