|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CModelException | |
---|---|
org.eclipse.cdt.core.model |
Uses of CModelException in org.eclipse.cdt.core.model |
---|
Methods in org.eclipse.cdt.core.model that throw CModelException | |
---|---|
void |
IOpenable.close()
Closes this element and its buffer (if any). |
void |
IWorkingCopy.commit(boolean force,
IProgressMonitor monitor)
Commits the contents of this working copy to its original element and underlying resource, bringing the C model up-to-date with the current contents of the working copy. |
void |
ICModel.copy(ICElement[] elements,
ICElement[] containers,
ICElement[] siblings,
String[] renamings,
boolean replace,
IProgressMonitor monitor)
Copies the given elements to the specified container(s). |
void |
ISourceManipulation.copy(ICElement container,
ICElement sibling,
String rename,
boolean replace,
IProgressMonitor monitor)
Copies this element to the given container. |
IInclude |
ITranslationUnit.createInclude(String name,
boolean isStd,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns an include declaration in this translation unit with the given name. |
INamespace |
ITranslationUnit.createNamespace(String namespace,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns a namespace in this translation unit |
IUsing |
ITranslationUnit.createUsing(String name,
boolean isDirective,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns a using declaration/directive in this translation unit |
void |
ISourceManipulation.delete(boolean force,
IProgressMonitor monitor)
Deletes this element, forcing if specified and necessary. |
void |
ICModel.delete(ICElement[] elements,
boolean force,
IProgressMonitor monitor)
Deletes the given elements, forcing the operation if necessary and specified. |
ICElement |
ICProject.findElement(IPath path)
Returns the ICElement corresponding to the given
path, or null if no such
ICElement is found. |
IAddress |
IBinaryElement.getAddress()
Returns the address of the function. |
ISourceRoot[] |
ICProject.getAllSourceRoots()
Returns all of the existing source roots that exist on the pathentry, in the order they are defined by the ".cdtproject". |
IArchiveContainer |
ICProject.getArchiveContainer()
Return the ArchiveContainer of this Project. |
IArchive[] |
ICContainer.getArchives()
Returns all the archive of this container |
IArchive[] |
IArchiveContainer.getArchives()
|
IBinary[] |
ICContainer.getBinaries()
Returns the all the binaries of this container. |
IBinary[] |
IBinaryContainer.getBinaries()
|
IBinary[] |
IArchive.getBinaries()
Return the binaries contain in the archive. |
IBinaryContainer |
ICProject.getBinaryContainer()
Return the BinaryContainer of this Project. |
IBinaryElement[] |
IBinaryModule.getBinaryElements()
|
IBuffer |
IOpenable.getBuffer()
Returns the buffer opened for this element, or null
if this element does not have a buffer. |
ICContainer[] |
ICContainer.getCContainers()
Return al the child containers of this container. |
ICElement[] |
IParent.getChildren()
Returns the immediate children of this element. |
List |
IParent.getChildrenOfType(int type)
returns the children of a certain type |
ICProject[] |
ICModel.getCProjects()
Returns the C projects. |
ICElement |
ITranslationUnit.getElement(String name)
|
ICElement |
ITranslationUnit.getElementAtLine(int line)
Returns the smallest element within this translation unit that includes the given source position (that is, a method, field, etc.), or null if there is no element other than the translation
unit itself at the given position, or if the given position is not
within the source range of this translation unit. |
ICElement |
ITranslationUnit.getElementAtOffset(int offset)
Returns the smallest element within this translation unit that includes the given source position (that is, a method, field, etc.), or null if there is no element other than the translation
unit itself at the given position, or if the given position is not
within the source range of this translation unit. |
ICElement[] |
ITranslationUnit.getElementsAtOffset(int offset)
Returns the elements within this translation unit that includes the given source position (that is, a method, field, etc.), or an empty array if there are no elements other than the translation unit itself at the given position, or if the given position is not within the source range of this translation unit. |
IField[] |
IStructure.getFields()
Returns the fields of a structure. |
static IIncludeEntry[] |
CoreModel.getIncludeEntries(IPath path)
This method returns the include entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
static IIncludeFileEntry[] |
CoreModel.getIncludeFileEntries(IPath path)
This method returns the include file entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
IIncludeReference[] |
ICProject.getIncludeReferences()
Return the include paths set on the project. |
IInclude[] |
ITranslationUnit.getIncludes()
Returns the include declarations in this translation unit in the order in which they appear in the source. |
ILibraryReference[] |
ICProject.getLibraryReferences()
Return the library references for this project. |
static IMacroEntry[] |
CoreModel.getMacroEntries(IPath path)
This method returns the macro entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
static IMacroFileEntry[] |
CoreModel.getMacroFileEntries(IPath path)
This method returns the macro file entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
IMethodDeclaration[] |
IStructure.getMethods()
Returns all methods within the structure. |
INamespace[] |
ITranslationUnit.getNamespaces()
Returns the namespace declarations in this translation unit in the order in which they appear in the source. |
Object[] |
ICProject.getNonCResources()
Returns an array of non-C resources directly contained in this project. |
Object[] |
ICModel.getNonCResources()
Returns an array of non-C resources (i.e. non-C projects) in the workspace. |
Object[] |
ICContainer.getNonCResources()
Returns an array of non-C resources directly contained in this project. |
IOutputEntry[] |
ICProject.getOutputEntries()
Return the output entries. |
static IPathEntryContainer |
CoreModel.getPathEntryContainer(IPath containerPath,
ICProject project)
Answers the project specific value for a given container. |
IPathEntry[] |
ICProject.getRawPathEntries()
Returns the list of entries for the project. |
static IPathEntry[] |
CoreModel.getRawPathEntries(ICProject cproject)
Returns the raw pathentries for the project. |
String[] |
ICProject.getRequiredProjectNames()
Returns the names of the projects that are directly required by this project. |
IPathEntry[] |
ICProject.getResolvedPathEntries()
Returns the list of entries 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. |
IWorkingCopy |
ITranslationUnit.getSharedWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory)
Returns a shared working copy on this element using the given factory to create the buffer, or this element if this element is already a working copy. |
IWorkingCopy |
ITranslationUnit.getSharedWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory,
IProblemRequestor requestor)
Returns a shared working copy on this element using the given factory to create the buffer, or this element if this element is already a working copy. |
String |
IFunctionDeclaration.getSignature()
Returns the signature of the method. |
String |
ISourceReference.getSource()
Returns the source code associated with this element. |
ISourceRange |
ISourceReference.getSourceRange()
Returns the source range associated with this element. |
ISourceRoot |
ICProject.getSourceRoot(ISourceEntry entry)
|
ISourceRoot[] |
ICProject.getSourceRoots()
Returns the source root folders of the project. |
String |
ITemplate.getTemplateSignature()
Returns the template signature The signature depends on the type of template. |
ITranslationUnit[] |
ICContainer.getTranslationUnits()
Returns all of the translation units in this ccontainer. |
String |
IVariableDeclaration.getTypeName()
Returns the variable declaration type name. |
String |
IStructureDeclaration.getTypeName()
Deprecated. use isUnion(), isClass(), isStruct() |
IUsing[] |
ITranslationUnit.getUsings()
Returns the usings in this translation unit in the order in which they appear in the source. |
org.eclipse.cdt.core.parser.ast.ASTAccessVisibility |
IMember.getVisibility()
Returns the member's visibility V_PRIVATE = 0 V_PROTECTED = 1 V_PUBLIC = 2 |
IWorkingCopy |
ITranslationUnit.getWorkingCopy()
Returns a new working copy for the Translation Unit. |
IWorkingCopy |
ITranslationUnit.getWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory)
Returns a new working copy for the Translation Unit. |
boolean |
IOpenable.hasUnsavedChanges()
returns true if the associated buffer has some unsaved changes |
boolean |
IStructure.isAbstract()
Checks if the structure is abstract |
boolean |
IStructureDeclaration.isClass()
Checks if the structure is a class |
boolean |
IOpenable.isConsistent()
Returns whether the element is consistent with its underlying resource or buffer. |
boolean |
IDeclaration.isConst()
Checks if the declaration is constant. |
boolean |
IMethodDeclaration.isConstructor()
Returns whether this method is a constructor. |
boolean |
IMethodDeclaration.isDestructor()
Returns whether this method is a destructor. |
boolean |
IMethodDeclaration.isFriend()
return true if the member is a friend. |
boolean |
IMethodDeclaration.isInline()
Returns if this method is inline or not |
boolean |
IField.isMutable()
Returns whether this storage specifier is mutable for the member. |
boolean |
IMethodDeclaration.isOperator()
Returns whether this method is an operator method. |
boolean |
IMethodDeclaration.isPureVirtual()
Returns whether this method is declared pure virtual. |
boolean |
IMethodDeclaration.isStatic()
Returns if this method is static or not |
boolean |
IDeclaration.isStatic()
Checks if the declaration is static Returns true if the declaration is static, false otherwise. |
boolean |
IStructureDeclaration.isStruct()
Checks if the structure is a struct |
boolean |
ICElement.isStructureKnown()
Returns whether the structure of this element is known. |
boolean |
IStructureDeclaration.isUnion()
Checks if the structure is a Union |
boolean |
IMethodDeclaration.isVirtual()
Returns whether this method is declared virtual. |
boolean |
IDeclaration.isVolatile()
Checks if the declaration is volatile. |
void |
IOpenable.makeConsistent(IProgressMonitor progress)
Makes this element consistent with its underlying resource or buffer by updating the element's structure and properties as necessary. |
void |
IOpenable.makeConsistent(IProgressMonitor progress,
boolean forced)
|
void |
ICModel.move(ICElement[] elements,
ICElement[] containers,
ICElement[] siblings,
String[] renamings,
boolean replace,
IProgressMonitor monitor)
Moves the given elements to the specified container(s). |
void |
ISourceManipulation.move(ICElement container,
ICElement sibling,
String rename,
boolean replace,
IProgressMonitor monitor)
Moves this element to the given container. |
void |
IOpenable.open(IProgressMonitor progress)
Opens this element and all parent elements that are not already open. |
IMarker[] |
IWorkingCopy.reconcile()
Reconciles the contents of this working copy. |
void |
IWorkingCopy.reconcile(boolean forceProblemDetection,
IProgressMonitor monitor)
Reconciles the contents of this working copy. |
void |
ICModel.rename(ICElement[] elements,
ICElement[] destinations,
String[] names,
boolean replace,
IProgressMonitor monitor)
Renames the given elements as specified. |
void |
ISourceManipulation.rename(String name,
boolean replace,
IProgressMonitor monitor)
Renames this element to the given name. |
void |
IWorkingCopy.restore()
Restores the contents of this working copy to the current contents of this working copy's original element. |
void |
IOpenable.save(IProgressMonitor progress,
boolean force)
Saves any changes in this element's buffer to its underlying resource via a workspace resource operation. |
void |
IBuffer.save(IProgressMonitor progress,
boolean force)
Saves the contents of this buffer to its underlying resource. |
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. |
void |
ICProject.setRawPathEntries(IPathEntry[] entries,
IProgressMonitor monitor)
Sets the entries for this project. |
void |
IVariableDeclaration.setTypeName(String type)
Sets the variable declaration type name. |
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |