blob: 8696b573e6d6575cb3776a15fdd3ce5d079c2f32 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2007 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0s
******************************************************************************/
package org.eclipse.dltk.javascript.internal.debug.ui.launcher;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.dltk.internal.debug.ui.launcher.AbstractScriptLaunchShortcut;
import org.eclipse.dltk.javascript.core.JavaScriptNature;
import org.eclipse.dltk.javascript.launching.JavaScriptLaunchConfigurationConstants;
public class JavaScriptLaunchShortcut extends AbstractScriptLaunchShortcut {
protected ILaunchConfigurationType getConfigurationType() {
return getLaunchManager().getLaunchConfigurationType(
JavaScriptLaunchConfigurationConstants.ID_JAVASCRIPT_SCRIPT);
}
protected String getNatureId() {
return JavaScriptNature.NATURE_ID;
}
}