blob: 4586799d0cdd6b3b561b71fcf517a996e6c337d4 (
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
63
64
65
66
67
68
|
/*******************************************************************************
* Copyright (c) 2007, 2009 Intel Corporation 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:
* Intel Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.settings.model;
public interface ICProjectDescriptionPreferences {
/**
* Configuration relation status specifying that the Settings and Build configurations are
* independent of each other, i.e. changing the active configuration will NOT change the settings
* configuration used by the core and vie a versa
*
* @see #getConfigurationRelations()
* @see #setConfigurationRelations(int)
*/
public static final int CONFIGS_INDEPENDENT = 1;
/**
* Configuration relation status specifying that the Settings and Build configurations are
* settings are linked with each other, i.e. changing the active configuration will change the settings
* configuration used by the core and vie a versa
*
* @see #getConfigurationRelations()
* @see #setConfigurationRelations(int)
*/
public static final int CONFIGS_LINK_SETTINGS_AND_ACTIVE = 2;
/**
* returns the CONFIG_xxx status for this project description
*
* @see #CONFIGS_INDEPENDENT
* @see #CONFIGS_LINK_SETTINGS_AND_ACTIVE
*
* @return int
*/
int getConfigurationRelations();
/**
* sets the configuration relation status. can be an integer value containing the
* CONFIG_xxx status
*
* @see #CONFIGS_INDEPENDENT
* @see #CONFIGS_LINK_SETTINGS_AND_ACTIVE
*
* @param status
*/
void setConfigurationRelations(int status);
/**
* specifies that the default configuration relations should be used
* When called for the project description, specifies that the workspace preferences settings
* should be used
* When called for the workspace preferences sets the default relation value
* which is CONFIGS_INDEPENDENT
*/
void useDefaultConfigurationRelations();
/**
* specifies whether default configuration relations are used
*/
boolean isDefaultConfigurationRelations();
}
|