mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
Add getResource().
This commit is contained in:
parent
ba94208e02
commit
8e7d223aa9
1 changed files with 10 additions and 0 deletions
|
@ -249,6 +249,16 @@ public interface ICElement extends IAdaptable {
|
||||||
*/
|
*/
|
||||||
IResource getUnderlyingResource() throws CModelException;
|
IResource getUnderlyingResource() throws CModelException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the Corresponding resource for
|
||||||
|
* this element, or <code>null</code> if this element does not have
|
||||||
|
* a corresponding resource.
|
||||||
|
*
|
||||||
|
* @return the corresponding resource, or <code>null</code> if none
|
||||||
|
* @exception CModelException if this element does not exist or if an
|
||||||
|
* exception occurs while accessing its resource
|
||||||
|
*/
|
||||||
|
IResource getResource() throws CModelException;
|
||||||
/**
|
/**
|
||||||
* Returns whether this C element is read-only. An element is read-only
|
* Returns whether this C element is read-only. An element is read-only
|
||||||
* if its structure cannot be modified by the C model.
|
* if its structure cannot be modified by the C model.
|
||||||
|
|
Loading…
Add table
Reference in a new issue