Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c8cabbed228c89aff73e91f641f8abd24e111927 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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