|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaResourceNode
Common interface for Java resource nodes (source code or binary).
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static interface |
JavaResourceNode.Root
Root of Java resource model containment hierarchy. |
| Method Summary | |
|---|---|
org.eclipse.core.resources.IFile |
getFile()
Return the Eclipse file that contains the Java resource node (typically either a Java source code file or a JAR). |
JavaResourceCompilationUnit |
getJavaResourceCompilationUnit()
Return the [source] node's root (the compilation unit). |
JavaResourceNode.Root |
getRoot()
Return the root of the Java resource containment hierarchy (typically either a compilation unit or a package fragment root). |
TextRange |
getTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Return the [source] node's text range in the compilation unit's file. |
void |
initialize(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Initialize the [source] node from the specified AST. |
void |
synchronizeWith(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
Synchronize the [source] node with the specified AST. |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener |
| Method Detail |
|---|
org.eclipse.core.resources.IFile getFile()
JavaResourceNode.Root getRoot()
JavaResourceCompilationUnit getJavaResourceCompilationUnit()
TextRange getTextRange(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
void initialize(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
void synchronizeWith(org.eclipse.jdt.core.dom.CompilationUnit astRoot)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||