public class GraphicalDebuggerEditor extends ResourceEditorPart {
- public static final String EDITOR_ID = "org.simantics.debug.graphicalDebuggerEditor";
+ public static final String EDITOR_ID = "org.simantics.debug.graphicalDebuggerEditor"; //$NON-NLS-1$
private GraphicalDebugger debugger;
private IAction backAction;
class RefreshAction extends Action {
public RefreshAction() {
- super("Refresh", BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif"));
+ super(Messages.GraphicalDebuggerEditor_Refresh, BundleUtils.getImageDescriptorFromPlugin(SimanticsUI.PLUGIN_ID, "icons/refresh.gif")); //$NON-NLS-2$
}
@Override
public void run() {
class FindAction extends Action {
public FindAction() {
- super("Find", BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_blue.png"));
- setToolTipText("Find Resource");
+ super(Messages.GraphicalDebuggerEditor_Find, BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_blue.png")); //$NON-NLS-2$
+ setToolTipText(Messages.GraphicalDebuggerEditor_FindTT);
}
@Override
public void run() {
class AddStatementAction extends Action {
public AddStatementAction() {
- super("AddStatement", BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_add.png"));
- setToolTipText("Add Statement Between Existing Resources");
+ super(Messages.GraphicalDebuggerEditor_AddStatement, BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_add.png")); //$NON-NLS-2$
+ setToolTipText(Messages.GraphicalDebuggerEditor_AddStatementTT);
}
@Override
public void run() {
}
class AddResourceAction extends Action {
public AddResourceAction() {
- super("AddResource", BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_add.png"));
- setToolTipText("Add New Related Resource");
+ super(Messages.GraphicalDebuggerEditor_AddResource, BundleUtils.getImageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/cog_add.png")); //$NON-NLS-2$
+ setToolTipText(Messages.GraphicalDebuggerEditor_AddResourceTT);
}
@Override
public void run() {
}
class BackAction extends Action {
public BackAction() {
- super("Back", Action.AS_PUSH_BUTTON);
- setToolTipText("Back");
+ super(Messages.GraphicalDebuggerEditor_Back, Action.AS_PUSH_BUTTON);
+ setToolTipText(Messages.GraphicalDebuggerEditor_BackTT);
setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK));
setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK_DISABLED));
}
class ForwardAction extends Action {
public ForwardAction() {
- super("Forward", Action.AS_PUSH_BUTTON);
- setToolTipText("Forward");
+ super(Messages.GraphicalDebuggerEditor_Forward, Action.AS_PUSH_BUTTON);
+ setToolTipText(Messages.GraphicalDebuggerEditor_ForwardTT);
setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD));
setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD_DISABLED));
}
class DecreaseDepthAction extends Action {
public DecreaseDepthAction() {
- super("Decrease", Action.AS_PUSH_BUTTON);
+ super(Messages.GraphicalDebuggerEditor_Decrease, Action.AS_PUSH_BUTTON);
setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK));
setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_BACK_DISABLED));
}
class IncreaseDepthAction extends Action {
public IncreaseDepthAction() {
- super("Increase", Action.AS_PUSH_BUTTON);
+ super(Messages.GraphicalDebuggerEditor_Increase, Action.AS_PUSH_BUTTON);
setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD));
setDisabledImageDescriptor(PlatformUI.getWorkbench().getSharedImages().getImageDescriptor(ISharedImages.IMG_TOOL_FORWARD_DISABLED));
}