diff options
Diffstat (limited to 'plugins/org.eclipse.dltk.sh.ui/src/org/eclipse/dltk/sh/internal/ui/interpreter/ShellMainLaunchConfigurationTab.java')
-rw-r--r-- | plugins/org.eclipse.dltk.sh.ui/src/org/eclipse/dltk/sh/internal/ui/interpreter/ShellMainLaunchConfigurationTab.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/org.eclipse.dltk.sh.ui/src/org/eclipse/dltk/sh/internal/ui/interpreter/ShellMainLaunchConfigurationTab.java b/plugins/org.eclipse.dltk.sh.ui/src/org/eclipse/dltk/sh/internal/ui/interpreter/ShellMainLaunchConfigurationTab.java new file mode 100644 index 0000000..05d7e29 --- /dev/null +++ b/plugins/org.eclipse.dltk.sh.ui/src/org/eclipse/dltk/sh/internal/ui/interpreter/ShellMainLaunchConfigurationTab.java @@ -0,0 +1,38 @@ +/******************************************************************************* + * Copyright (c) 2009 Red Hat Inc. 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: + * Alexander Kurtakov - initial API and implementation + *******************************************************************************/ +package org.eclipse.dltk.sh.internal.ui.interpreter; + +import org.eclipse.dltk.core.PreferencesLookupDelegate; +import org.eclipse.dltk.debug.ui.launchConfigurations.MainLaunchConfigurationTab; +import org.eclipse.dltk.sh.core.ShelledNature; + +public class ShellMainLaunchConfigurationTab extends MainLaunchConfigurationTab { + + public ShellMainLaunchConfigurationTab(String mode) { + super(mode); + } + + @Override + protected boolean breakOnFirstLinePrefEnabled(PreferencesLookupDelegate delegate) { + return false; + } + + @Override + protected boolean dbpgLoggingPrefEnabled(PreferencesLookupDelegate delegate) { + return false; + } + + @Override + public String getNatureID() { + return ShelledNature.SHELLED_NATURE; + } + +} |