1
/*******************************************************************************
2
* Copyright (c) 2006 IBM Corporation.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* IBM Corporation - Jeff Briggs, Henry Hughes, Ryan Morse
10
*******************************************************************************/
12
package org.eclipse.linuxtools.internal.systemtap.ui.ide.preferences;
15
* Constant definitions for plug-in preferences
17
public class PreferenceConstants {
19
//environmentvariables
20
public static enum P_ENV {
23
public String toPrefKey() {
24
return "EnvLdLibraryPath"; //$NON-NLS-1$
28
public String toPrefKey() {
29
return "EnvPath"; //$NON-NLS-1$
33
public String toPrefKey() {
34
return "EnvSystemtapTapset"; //$NON-NLS-1$
36
}, SYSTEMTAP_RUNTIME {
38
public String toPrefKey() {
39
return "EnvSystemtapRuntime"; //$NON-NLS-1$
42
public abstract String toPrefKey();
43
public String toEnvKey() {
46
public String createKeyValString(String value) {
47
return toEnvKey() + '=' + value.trim();