| /******************************************************************************* |
| * Copyright (c) 2005 The Regents of the University of California. |
| * This material was produced under U.S. Government contract W-7405-ENG-36 |
| * for Los Alamos National Laboratory, which is operated by the University |
| * of California for the U.S. Department of Energy. The U.S. Government has |
| * rights to use, reproduce, and distribute this software. NEITHER THE |
| * GOVERNMENT NOR THE UNIVERSITY MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR |
| * ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is modified |
| * to produce derivative works, such modified software should be clearly marked, |
| * so as not to confuse it with the version available from LANL. |
| * |
| * Additionally, 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 |
| * |
| * LA-CC 04-115 |
| *******************************************************************************/ |
| /******************************************************************************* |
| * Copyright (c) 2000, 2004 QNX Software Systems and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * QNX Software Systems - Initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.ptp.internal.debug.sdm.core; |
| |
| /** |
| * Constant definitions for PTP debug plug-in. |
| */ |
| public interface SDMPreferenceConstants { |
| public static final String PLUGIN_ID = SDMDebugCorePlugin.getUniqueIdentifier(); |
| |
| /** |
| * SDM debugging |
| */ |
| public static final String SDM_DEBUG_ENABLED = PLUGIN_ID + ".debug_enabled"; //$NON-NLS-1$ |
| public static final String SDM_DEBUG_LEVEL = PLUGIN_ID + ".debug_level"; //$NON-NLS-1$ |
| |
| /** |
| * SDM debugging levels |
| */ |
| public static final int DEBUG_LEVEL_NONE = 0x00; |
| public static final int DEBUG_LEVEL_STARTUP = 0x01; |
| public static final int DEBUG_LEVEL_MESSAGES = 0x02; |
| public static final int DEBUG_LEVEL_ROUTING = 0x04; |
| /** |
| * @since 4.0 |
| */ |
| public static final int DEBUG_LEVEL_MASTER = 0x08; |
| public static final int DEBUG_LEVEL_SERVER = 0x10; |
| public static final int DEBUG_LEVEL_BACKEND = 0x20; |
| public static final int DEBUG_LEVEL_PROTOCOL = 0x40; |
| |
| /** |
| * Default SDM backend |
| * |
| * @since 6.0 |
| */ |
| public static final String PREFS_SDM_BACKEND = PLUGIN_ID + ".sdm_backend"; //$NON-NLS-1$ |
| |
| /** |
| * Default path to backend debugger for SDM |
| * |
| * @since 6.0 |
| */ |
| public static final String PREFS_SDM_BACKEND_PATH = PLUGIN_ID + ".sdm_backend_path."; //$NON-NLS-1$ |
| |
| /** |
| * Default path to sdm |
| * |
| * @since 6.0 |
| */ |
| public static final String PREFS_SDM_PATH = PLUGIN_ID + ".sdm_path."; //$NON-NLS-1$ |
| |
| /** |
| * Use the built-in sdm if available |
| */ |
| public static final String PREFS_USE_BUILTIN_SDM = PLUGIN_ID + ".use_builtin_sdm."; //$NON-NLS-1$ |
| |
| } |