Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2010-06-24 04:10:29 +0000
committerAndrew Gvozdev2010-06-24 04:10:29 +0000
commit658dc0af75eb1b866c9e270333e69190f3c25e34 (patch)
tree3a8a3001647862aa009368cea66eebe1b1095d52
parent38b10093033d2e66686a4777fe0f85f1e889692d (diff)
downloadorg.eclipse.cdt-658dc0af75eb1b866c9e270333e69190f3c25e34.tar.gz
org.eclipse.cdt-658dc0af75eb1b866c9e270333e69190f3c25e34.tar.xz
org.eclipse.cdt-658dc0af75eb1b866c9e270333e69190f3c25e34.zip
A bit of JavaDoc
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java43
1 files changed, 36 insertions, 7 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
index d1a7365b33a..3adc824a568 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/settings/model/ICSettingEntry.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Intel Corporation and others.
+ * Copyright (c) 2007, 2010 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
@@ -10,13 +10,42 @@
*******************************************************************************/
package org.eclipse.cdt.core.settings.model;
+import org.eclipse.cdt.core.model.IIncludeEntry;
+
public interface ICSettingEntry {
+ /**
+ * Flag {@code BUILTIN} indicates settings built in a tool (compiler) itself.
+ * That kind of settings are not passed as options to a compiler but indexer
+ * or other clients might need them.
+ */
int BUILTIN = 1;
+
+ /**
+ * Flag {@code READONLY} means that the entry is not intended to be overwritten by user.
+ */
int READONLY = 1 << 1;
+
+ /**
+ * Flag {@code LOCAL} is used during creation of {@link IIncludeEntry}
+ * to indicate that an include path is not a system path.
+ * It does not appear it is used anywhere else.
+ */
int LOCAL = 1 << 2;
+
+ /**
+ * Flag {@code VALUE_WORKSPACE_PATH} is used to indicate that the entry
+ * is a resource managed by eclipse in the workspace. It does not always mean
+ * that the path is rooted in the workspace root. In some cases it may be
+ * a project path.
+ */
int VALUE_WORKSPACE_PATH = 1 << 3;
+
+ /**
+ * Flag {@code RESOLVED} means that any build or other variables (for example ${ProjDirPath})
+ * have been expanded to their values.
+ */
int RESOLVED = 1 << 4;
-
+
int INCLUDE_PATH = 1;
int INCLUDE_FILE = 1 << 1;
int MACRO = 1 << 2;
@@ -28,17 +57,17 @@ public interface ICSettingEntry {
int ALL = ~0;
boolean isReadOnly();
-
+
int getKind();
-
+
String getName();
String getValue();
-
+
boolean isBuiltIn();
-
+
boolean isResolved();
-
+
boolean equalsByName(ICSettingEntry entry);
boolean equalsByContents(ICSettingEntry entry);

Back to the top