blob: 9ef2847ecffc7d45fa6a60a6e9cbcebe1030037a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.ui.actions;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.debug.internal.ui.actions.ExecutionAction;
import org.eclipse.debug.ui.IDebugUIConstants;
/**
* Action to launch the last launch configuration that was successfully
* launched, in run mode. If no configurations have been launched, the launch
* configuration dialog is opened.
* </p>
* <p>
* This class is not intended to be subclassed. This class may
* be instantiated.
* </p>
* @since 2.0
*/
public final class RunAction extends ExecutionAction {
public RunAction() {
super(IDebugUIConstants.ID_RUN_LAUNCH_GROUP);
}
/**
* @see ExecutionAction#getMode()
*/
protected String getMode() {
return ILaunchManager.RUN_MODE;
}
}