X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.debug.ui%2Fsrc%2Forg%2Fsimantics%2Fdebug%2Fui%2FVariableDebuggerView.java;h=48234434e213ae04b37e4754e71037bc7aa721f2;hb=59724aa55a75a4efc3ec17e3b4a4ef62f463526e;hp=6edd79ad299d87a10bfaf9719f06f77ba87e72ee;hpb=1fe7ef332a6f996a13b4dda38bc85a743a154baa;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/VariableDebuggerView.java b/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/VariableDebuggerView.java index 6edd79ad2..48234434e 100644 --- a/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/VariableDebuggerView.java +++ b/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/VariableDebuggerView.java @@ -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)); }