blob: 497a6caabc69096e83002be6478d1cd32453b8cf [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2016 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
*
*******************************************************************************/
package org.eclipse.dltk.python.internal.debug.ui.launcher;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.dltk.internal.debug.ui.launcher.AbstractScriptLaunchShortcut;
import org.eclipse.dltk.python.core.PythonNature;
import org.eclipse.dltk.python.launching.PythonLaunchConfigurationConstants;
public class PythonLaunchShortcut extends AbstractScriptLaunchShortcut {
@Override
protected ILaunchConfigurationType getConfigurationType() {
return getLaunchManager().getLaunchConfigurationType(
PythonLaunchConfigurationConstants.ID_PYTHON_SCRIPT);
}
@Override
protected String getNatureId() {
return PythonNature.NATURE_ID;
}
}