/******************************************************************************* * Copyright (c) 2016 xored software, 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: * xored software, Inc. - initial API and implementation *******************************************************************************/ package org.eclipse.dltk.tcl.internal.debug.ui.launchConfigurations; import org.eclipse.dltk.core.PreferencesLookupDelegate; import org.eclipse.dltk.debug.core.DLTKDebugPreferenceConstants; import org.eclipse.dltk.debug.ui.launchConfigurations.RemoteLaunchConfigurationTab; import org.eclipse.dltk.tcl.core.TclNature; import org.eclipse.dltk.tcl.internal.debug.TclDebugPlugin; /** * 'Connect' launch configuration tab for remote tcl scripts */ public class TclRemoteLaunchConfigurationTab extends RemoteLaunchConfigurationTab { public TclRemoteLaunchConfigurationTab(String mode) { super(mode); } @Override protected boolean breakOnFirstLinePrefEnabled( PreferencesLookupDelegate delegate) { return delegate.getBoolean(TclDebugPlugin.PLUGIN_ID, DLTKDebugPreferenceConstants.PREF_DBGP_BREAK_ON_FIRST_LINE); } @Override protected boolean dbpgLoggingPrefEnabled(PreferencesLookupDelegate delegate) { return delegate.getBoolean(TclDebugPlugin.PLUGIN_ID, DLTKDebugPreferenceConstants.PREF_DBGP_ENABLE_LOGGING); } @Override protected String getNatureID() { return TclNature.NATURE_ID; } }