blob: 9791348a2958c2da71f0c5f6281e3c4ca5d1a63f [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 Red Hat Inc. 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.0
*
* Contributors:
* Alexander Kurtakov - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.sh.internal.ui.interpreter;
import org.eclipse.dltk.internal.launching.StandardInterpreterRunner;
import org.eclipse.dltk.launching.AbstractInterpreterInstall;
import org.eclipse.dltk.launching.IInterpreterInstallType;
import org.eclipse.dltk.launching.IInterpreterRunner;
import org.eclipse.dltk.sh.core.ShelledNature;
public class ShellScriptInstall extends AbstractInterpreterInstall {
public ShellScriptInstall(IInterpreterInstallType type, String id) {
super(type, id);
}
@Override
public String getNatureId() {
return ShelledNature.SHELLED_NATURE;
}
@Override
public IInterpreterRunner getInterpreterRunner(String mode) {
return new StandardInterpreterRunner(this);
}
}