Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugAction.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugAction.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugAction.java
new file mode 100644
index 000000000..c8cabbed2
--- /dev/null
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugAction.java
@@ -0,0 +1,34 @@
+package org.eclipse.debug.internal.ui;
+
+/*
+ * Licensed Materials - Property of IBM,
+ * WebSphere Studio Workbench
+ * (c) Copyright IBM Corp 2000
+ */
+
+import org.eclipse.debug.core.ILaunchManager;
+import org.eclipse.debug.ui.IDebugUIConstants;
+
+/**
+ * An execution action that uses launchers in
+ * debug mode.
+ */
+public class DebugAction extends ExecutionAction {
+
+ protected final static String PREFIX= "debug_action.";
+
+ public DebugAction() {
+ setText(DebugUIUtils.getResourceString(PREFIX + TEXT));
+ setImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_ACT_DEBUG));
+ setToolTipText(DebugUIUtils.getResourceString(PREFIX + TOOL_TIP_TEXT));
+ }
+
+ /**
+ * @see ExecutionAction
+ */
+ protected String getMode() {
+ return ILaunchManager.DEBUG_MODE;
+ }
+
+}
+

Back to the top