]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/VariableDebuggerView.java
Externalize strings in org.simantics.debug.ui
[simantics/platform.git] / bundles / org.simantics.debug.ui / src / org / simantics / debug / ui / VariableDebuggerView.java
index 6edd79ad299d87a10bfaf9719f06f77ba87e72ee..48234434e213ae04b37e4754e71037bc7aa721f2 100644 (file)
@@ -35,7 +35,7 @@ import org.simantics.utils.ui.LayoutUtils;
 
 public class VariableDebuggerView extends ViewPart {
 
-    public static final String VIEW_ID              = "org.simantics.debug.variableDebugger";
+    public static final String VIEW_ID              = "org.simantics.debug.variableDebugger"; //$NON-NLS-1$
 
     private ResourceInput      input;
 
@@ -115,7 +115,7 @@ public class VariableDebuggerView extends ViewPart {
 //
     class RefreshAction extends Action {
         public RefreshAction() {
-            super("Refresh", BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif"));
+            super(Messages.VariableDebuggerView_Refresh, BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif")); //$NON-NLS-2$
         }
         @Override
         public void run() {
@@ -125,7 +125,7 @@ public class VariableDebuggerView extends ViewPart {
 
     class BackAction extends Action {
         public BackAction() {
-            super("Back", Action.AS_PUSH_BUTTON);
+            super(Messages.VariableDebuggerView_Back, Action.AS_PUSH_BUTTON);
             setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK));
             setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK_DISABLED));
         }
@@ -137,7 +137,7 @@ public class VariableDebuggerView extends ViewPart {
 
     class ForwardAction extends Action {
         public ForwardAction() {
-            super("Forward", Action.AS_PUSH_BUTTON);
+            super(Messages.VariableDebuggerView_Forward, Action.AS_PUSH_BUTTON);
             setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD));
             setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD_DISABLED));
         }
@@ -149,8 +149,8 @@ public class VariableDebuggerView extends ViewPart {
 
     class HomeAction extends Action {
         public HomeAction() {
-            super("Home", Action.AS_PUSH_BUTTON);
-            setToolTipText("Navigate to root library");
+            super(Messages.VariableDebuggerView_Home, Action.AS_PUSH_BUTTON);
+            setToolTipText(Messages.VariableDebuggerView_HomeTT);
             setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_ETOOL_HOME_NAV));
             setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_ETOOL_HOME_NAV_DISABLED));
         }