public final class CIncludePathEntry extends ACPathEntry implements ICIncludePathEntry
ALL, BUILTIN, EXPORTED, FRAMEWORKS_MAC, INCLUDE_FILE, INCLUDE_PATH, LIBRARY_FILE, LIBRARY_PATH, LOCAL, MACRO, MACRO_FILE, NONE, OUTPUT_PATH, READONLY, RESOLVED, SOURCE_PATH, UNDEFINED, VALUE_WORKSPACE_PATH
Constructor and Description |
---|
CIncludePathEntry(org.eclipse.core.resources.IFolder rc,
int flags)
This constructor is discouraged to be used directly.
|
CIncludePathEntry(org.eclipse.core.runtime.IPath location,
int flags)
This constructor is discouraged to be used directly.
|
CIncludePathEntry(String name,
int flags)
This constructor is discouraged to be referenced by clients.
|
Modifier and Type | Method and Description |
---|---|
int |
getKind() |
boolean |
isFile() |
boolean |
isLocal() |
contentsToString, fullPathForLocation, getFullPath, getLocation, isValueWorkspacePath
checkFlags, codeForContentsKey, codeForNameKey, equals, equalsByContents, equalsByName, getByNameMatchFlags, getFlags, getName, getValue, hashCode, isBuiltIn, isReadOnly, isResolved, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFullPath, getLocation, isValueWorkspacePath
equalsByContents, equalsByName, getFlags, getName, getValue, isBuiltIn, isReadOnly, isResolved
public CIncludePathEntry(String name, int flags)
name
- - include path. The path can be an absolute location on the local file-system
or with flag ICSettingEntry.VALUE_WORKSPACE_PATH
it is treated as workspace full path.flags
- - bitwise combination of ICSettingEntry
flags.public CIncludePathEntry(org.eclipse.core.runtime.IPath location, int flags)
location
- - include path. The path can be an absolute location on the local
file-system or with flag ICSettingEntry.VALUE_WORKSPACE_PATH
it is treated as workspace full path.flags
- - bitwise combination of ICSettingEntry
flags.public CIncludePathEntry(org.eclipse.core.resources.IFolder rc, int flags)
rc
- - include path as a resource in the workspace.flags
- - bitwise combination of ICSettingEntry
flags.
If ICSettingEntry.VALUE_WORKSPACE_PATH
is missing it will be supplied.public boolean isLocal()
isLocal
in interface ICIncludePathEntry
public final int getKind()
getKind
in interface ICSettingEntry
public final boolean isFile()
isFile
in class ACPathEntry
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.