Package | Description |
---|---|
org.eclipse.cdt.core.model |
Modifier and Type | Method and Description |
---|---|
ICProject |
CoreModel.create(IProject project)
Creates an ICElement for an IProject.
|
ICProject |
ICElement.getCProject()
Returns the C project this element is contained in, or
null if this element
is not contained in any C project |
ICProject |
ICModel.getCProject(java.lang.String name)
Returns the C project with the given name.
|
ICProject[] |
ICModel.getCProjects()
Returns the C projects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PathEntryContainerInitializer.canUpdatePathEntryContainer(IPath containerPath,
ICProject project)
Returns
true if this container initializer can be requested to perform updates
on its own container values. |
ITranslationUnit |
CoreModel.createTranslationUnitFrom(ICProject cproject,
IPath path)
Creates a translation from an IPath.
|
static ITranslationUnit |
CoreModelUtil.findTranslationUnitForLocation(IPath location,
ICProject preferredProject)
Searches for a translation unit within the cprojects.
|
java.lang.String |
PathEntryContainerInitializer.getDescription(IPath containerPath,
ICProject project) |
static IPathEntryContainer |
CoreModel.getPathEntryContainer(IPath containerPath,
ICProject project)
Answers the project specific value for a given container.
|
static IPathEntry[] |
CoreModel.getRawPathEntries(ICProject cproject)
Returns the raw pathentries for the project.
|
static IPathEntry[] |
CoreModel.getResolvedPathEntries(ICProject cproject)
This method returns the resolved pathentries for the project All
pathEntry.CDT_CONTAINER entries in the project's will be replaced by the
entries they resolve to.
|
abstract void |
PathEntryContainerInitializer.initialize(IPath containerPath,
ICProject project) |
void |
PathEntryContainerInitializer.requestPathEntryContainerUpdate(IPath containerPath,
ICProject project,
IPathEntryContainer containerSuggestion)
Request a registered container definition to be updated according to a container suggestion.
|
static void |
CoreModel.setPathEntryContainer(ICProject[] affectedProjects,
IPathEntryContainer container,
IProgressMonitor monitor)
Bind a container reference path to some actual containers (
IPathEntryContainer ). |
static void |
CoreModel.setRawPathEntries(ICProject cproject,
IPathEntry[] newEntries,
IProgressMonitor monitor)
Sets the pathentries of this project using a list of entries.
|
static ICModelStatus |
CoreModel.validatePathEntries(ICProject cProject,
IPathEntry[] entries)
Validate a given path entries for a project, using the following rules:
Entries cannot collide with each other; that is, all entry paths must be unique.
|
static ICModelStatus |
CoreModel.validatePathEntry(ICProject cProject,
IPathEntry entry,
boolean checkSourceAttachment,
boolean recurseInContainers)
Returns a C model status describing the problem related to this entry if any,
a status object with code
IStatus.OK if the entry is fine (that is, if the
given entry denotes a valid element). |
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.