X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.debug.ui%2Fsrc%2Forg%2Fsimantics%2Fdebug%2Fui%2Fgraph%2FGraphicalDebuggerView.java;h=a47f48e23eaad757a509ad3295ebe1e326f04878;hp=1c17001f012e6ff26f6b6901b0fce70cd492f43c;hb=59724aa55a75a4efc3ec17e3b4a4ef62f463526e;hpb=1fe7ef332a6f996a13b4dda38bc85a743a154baa diff --git a/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/graph/GraphicalDebuggerView.java b/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/graph/GraphicalDebuggerView.java index 1c17001f0..a47f48e23 100644 --- a/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/graph/GraphicalDebuggerView.java +++ b/bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/graph/GraphicalDebuggerView.java @@ -32,7 +32,7 @@ import org.simantics.utils.ui.LayoutUtils; public class GraphicalDebuggerView extends ViewPart { - public static final String VIEW_ID = "org.simantics.debug.graphicalDebugger"; + public static final String VIEW_ID = "org.simantics.debug.graphicalDebugger"; //$NON-NLS-1$ // private final boolean DEFAULT_RECYCLE_VIEW = true; @@ -128,7 +128,7 @@ public class GraphicalDebuggerView extends ViewPart { // class RefreshAction extends Action { public RefreshAction() { - super("Refresh", BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif")); + super(Messages.GraphicalDebuggerView_Refresh, BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif")); //$NON-NLS-2$ } @Override public void run() { @@ -138,7 +138,7 @@ public class GraphicalDebuggerView extends ViewPart { class BackAction extends Action { public BackAction() { - super("Back", Action.AS_PUSH_BUTTON); + super(Messages.GraphicalDebuggerView_Back, Action.AS_PUSH_BUTTON); setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK)); setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK_DISABLED)); } @@ -150,7 +150,7 @@ public class GraphicalDebuggerView extends ViewPart { class ForwardAction extends Action { public ForwardAction() { - super("Forward", Action.AS_PUSH_BUTTON); + super(Messages.GraphicalDebuggerView_Forward, Action.AS_PUSH_BUTTON); setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD)); setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD_DISABLED)); } @@ -162,8 +162,8 @@ public class GraphicalDebuggerView extends ViewPart { class HomeAction extends Action { public HomeAction() { - super("Home", Action.AS_PUSH_BUTTON); - setToolTipText("Navigate to root library"); + super(Messages.GraphicalDebuggerView_Home, Action.AS_PUSH_BUTTON); + setToolTipText(Messages.GraphicalDebuggerView_HomeTT); setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_ETOOL_HOME_NAV)); setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_ETOOL_HOME_NAV_DISABLED)); } @@ -175,8 +175,8 @@ public class GraphicalDebuggerView extends ViewPart { class DecreaseDepthAction extends Action { public DecreaseDepthAction() { - super("Decrease", Action.AS_PUSH_BUTTON); - setToolTipText("Decrease Depth"); + super(Messages.GraphicalDebuggerView_Decrease, Action.AS_PUSH_BUTTON); + setToolTipText(Messages.GraphicalDebuggerView_DecreaseTT); setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK)); setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK_DISABLED)); } @@ -188,8 +188,8 @@ public class GraphicalDebuggerView extends ViewPart { class IncreaseDepthAction extends Action { public IncreaseDepthAction() { - super("Increase", Action.AS_PUSH_BUTTON); - setToolTipText("Increase Depth"); + super(Messages.GraphicalDebuggerView_Increase, Action.AS_PUSH_BUTTON); + setToolTipText(Messages.GraphicalDebuggerView_IncreaseTT); setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD)); setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD_DISABLED)); }