|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JpaFile
A JpaProject contains Jpa files for all IFiles in the project that are relevant to the JpaPlatform.
JpaFactory#hasRelevantContent(IFile), this method should be moved to JpaPlatform
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.
Field Summary | |
---|---|
static java.lang.String |
ROOT_STRUCTURE_NODES_COLLECTION
String constant associated with changes to the root structure nodes collection |
Method Summary | |
---|---|
void |
addRootStructureNode(java.lang.Object key,
JpaStructureNode rootStructureNode)
Add a root context model object represented by this JPA file. |
void |
dispose()
The JPA file has been removed from the JPA project. |
org.eclipse.core.resources.IFile |
getFile()
Return the IFile associated with this JPA file |
ResourceModel |
getResourceModel()
Return the resource model represented by this JPA file |
java.lang.String |
getResourceType()
Return the type of resource represented by this JPA file |
JpaStructureNode |
getStructureNode(int textOffset)
Return the structure node best represented by the location in the file. |
void |
javaElementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
Forward the Java element changed event to the JPA file's content. |
void |
removeRootStructureNode(java.lang.Object key)
|
java.util.Iterator<JpaStructureNode> |
rootStructureNodes()
Return the root context model objects represented by this JPA file. |
int |
rootStructureNodesSize()
Return the number of root context model objects represented by this JPA file. |
void |
updateFromResource()
Update the JPA resource model from the underlying resource. |
Methods inherited from interface org.eclipse.jpt.core.JpaNode |
---|
getJpaProject, getParent, getResource |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String ROOT_STRUCTURE_NODES_COLLECTION
Method Detail |
---|
java.lang.String getResourceType()
ResourceModel.getResourceType()
org.eclipse.core.resources.IFile getFile()
ResourceModel getResourceModel()
void javaElementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
void updateFromResource()
void dispose()
java.util.Iterator<JpaStructureNode> rootStructureNodes()
int rootStructureNodesSize()
void addRootStructureNode(java.lang.Object key, JpaStructureNode rootStructureNode)
void removeRootStructureNode(java.lang.Object key)
JpaStructureNode getStructureNode(int textOffset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |