Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5c4b50ed3e8e0b251c59c99543366fec1099362e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*******************************************************************************
 * Copyright (c) 2011, 2014 Wind River Systems, 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:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.launch.core.preferences;


/**
 * The locator model bundle preference key identifiers.
 */
public interface IPreferenceKeys {
	/**
	 * Common prefix for all core preference keys
	 */
	public final String PREFIX = "te.launch.core."; //$NON-NLS-1$

	/**
	 * Launch configuration find/create mode: Always create new launch configurations.
	 */
	public static final int MODE_ALWAYS_NEW = 0;

	/**
	 * Launch configuration find/create mode: Re-use launch configuration if all attributes are matching.
	 */
	public static final int MODE_FULL_MATCH_LAUNCH_CONFIG = 1;

	/**
	 * Launch configuration find/create mode: Re-use launch configuration if the target ID matches.
	 */
	public static final int MODE_FULL_MATCH_TARGET = 2;

	/**
	 * Launch configuration find/create mode: Re-use first matching launch configuration.
	 */
	public static final int MODE_FIRST_MATCHING = 3;

	/**
	 * Launch configuration find/create mode. See the <code>MODE_*</code> constants.
	 */
	public static final String PREF_LAUNCH_CONFIG_FIND_CREATE_MODE = PREFIX + "launchConfigFindCreateMode"; //$NON-NLS-1$

	/**
	 * If set to <code>true</code>, project references will be added by default to newly created launch configurations.
	 */
	public static final String PREF_ADD_PROJECT_TO_NEW_LAUNCH_CONFIG = PREFIX + "addProjectToNewLaunchConfig"; //$NON-NLS-1$

	/**
	 * If set to <code>true</code>, launches are sorted by their last launched time stamp.
	 */
	public static final String PREF_SORT_LAUNCHES_BY_LAST_LAUNCHED = PREFIX + ".sortLaunchesByLastLaunched"; //$NON-NLS-1$

	/**
	 * Preference key to access the flag to hide favorite launches content extension.
	 */
	public static final String PREF_HIDE_FAVORITE_LAUNCHES_EXTENSION = "org.eclipse.tcf.te.tcf.launch.ui.navigator.favorites.content.hide"; //$NON-NLS-1$

}

Back to the top