public interface ILibraryEntry extends IPathEntry
CDT_CONTAINER, CDT_INCLUDE, CDT_INCLUDE_FILE, CDT_LIBRARY, CDT_MACRO, CDT_MACRO_FILE, CDT_OUTPUT, CDT_PROJECT, CDT_SOURCE
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IPath |
getBasePath()
Return the base path of the library.
|
org.eclipse.core.runtime.IPath |
getBaseReference()
Return the base reference.
|
org.eclipse.core.runtime.IPath |
getFullLibraryPath()
Returns the complete path, equivalent to:
getBasepath().append(getPath());
|
org.eclipse.core.runtime.IPath |
getLibraryPath()
Return the library path.
|
org.eclipse.core.runtime.IPath |
getSourceAttachmentPath()
Returns the path to the source archive or folder associated with this
C path entry, or
null if this C path entry has no
source attachment. |
org.eclipse.core.runtime.IPath |
getSourceAttachmentPrefixMapping()
Returns the path to map the source paths with to the source achive or folder
An empty path indicates that the is a one-to-one mapping of source paths to the
source achive or folder path.
|
org.eclipse.core.runtime.IPath |
getSourceAttachmentRootPath()
Returns the path within the source archive or folder where source
are located.
|
getEntryKind, getPath, isExported
org.eclipse.core.runtime.IPath getSourceAttachmentPath()
null
if this C path entry has no
source attachment.
Only library and variable C path entries may have source attachments. For library C path entries, the result path (if present) locates a source archive or folder. This archive or folder can be located in a project of the workspace or outside thr workspace. For variable c path entries, the result path (if present) has an analogous form and meaning as the variable path, namely the first segment is the name of a c path variable.
null
if noneorg.eclipse.core.runtime.IPath getSourceAttachmentRootPath()
null
value
if and only if getSourceAttachmentPath
returns
a non-null
value.null
if
not applicableorg.eclipse.core.runtime.IPath getSourceAttachmentPrefixMapping()
null
value
if and only if getSourceAttachmentPath
returns
a non-null
value.null
if
not applicableorg.eclipse.core.runtime.IPath getBasePath()
org.eclipse.core.runtime.IPath getBaseReference()
org.eclipse.core.runtime.IPath getLibraryPath()
org.eclipse.core.runtime.IPath getFullLibraryPath()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.