public final class CMacroFileEntry extends ACPathEntry implements ICMacroFileEntry
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 |
---|
CMacroFileEntry(org.eclipse.core.resources.IFile rc,
int flags)
This constructor is discouraged to be used directly.
|
CMacroFileEntry(org.eclipse.core.runtime.IPath location,
int flags)
This constructor is discouraged to be used directly.
|
CMacroFileEntry(String name,
int flags)
This constructor is discouraged to be referenced by clients.
|
Modifier and Type | Method and Description |
---|---|
int |
getKind() |
boolean |
isFile() |
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 CMacroFileEntry(String name, int flags)
name
- - macro file 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 CMacroFileEntry(org.eclipse.core.runtime.IPath location, int flags)
location
- - macro file 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 CMacroFileEntry(org.eclipse.core.resources.IFile rc, int flags)
rc
- - macro file as a resource in the workspace.flags
- - bitwise combination of ICSettingEntry
flags.
If ICSettingEntry.VALUE_WORKSPACE_PATH
is missing it will be supplied.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.