blob: 69029f5d7350154ff6692e60eddf5acaa28b7f9e [file] [log] [blame]
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
* run mode.
*/
public class RunAction extends ExecutionAction {
protected final static String PREFIX= "run_action.";
public RunAction() {
setText(DebugUIUtils.getResourceString(PREFIX + TEXT));
setToolTipText(DebugUIUtils.getResourceString(PREFIX + TOOL_TIP_TEXT));
setImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_ACT_RUN));
}
/**
* @see ExecutionAction
*/
protected String getMode() {
return ILaunchManager.RUN_MODE;
}
}