1
/*******************************************************************************
2
* Copyright (c) 2007, 2009 Intel Corporation and others.
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
* Intel Corporation - Initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.core.settings.model;
13
public interface ICProjectDescriptionPreferences {
15
* Configuration relation status specifying that the Settings and Build configurations are
16
* independent of each other, i.e. changing the active configuration will NOT change the settings
17
* configuration used by the core and vie a versa
19
* @see #getConfigurationRelations()
20
* @see #setConfigurationRelations(int)
22
public static final int CONFIGS_INDEPENDENT = 1;
25
* Configuration relation status specifying that the Settings and Build configurations are
26
* settings are linked with each other, i.e. changing the active configuration will change the settings
27
* configuration used by the core and vie a versa
29
* @see #getConfigurationRelations()
30
* @see #setConfigurationRelations(int)
32
public static final int CONFIGS_LINK_SETTINGS_AND_ACTIVE = 2;
35
* returns the CONFIG_xxx status for this project description
37
* @see #CONFIGS_INDEPENDENT
38
* @see #CONFIGS_LINK_SETTINGS_AND_ACTIVE
42
int getConfigurationRelations();
45
* sets the configuration relation status. can be an integer value containing the
48
* @see #CONFIGS_INDEPENDENT
49
* @see #CONFIGS_LINK_SETTINGS_AND_ACTIVE
53
void setConfigurationRelations(int status);
56
* specifies that the default configuration relations should be used
57
* When called for the project description, specifies that the workspace preferences settings
59
* When called for the workspace preferences sets the default relation value
60
* which is CONFIGS_INDEPENDENT
62
void useDefaultConfigurationRelations();
65
* specifies whether default configuration relations are used
67
boolean isDefaultConfigurationRelations();