|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceModel
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 |
JAVA_RESOURCE_TYPE
Constant representing a Java resource type |
static java.lang.String |
ORM_RESOURCE_TYPE
Constant representing a mapping file (e.g. |
static java.lang.String |
PERSISTENCE_RESOURCE_TYPE
Constant representing a persistence.xml resource type |
Method Summary | |
---|---|
void |
addResourceModelChangeListener(ResourceModelListener listener)
|
void |
dispose()
|
org.eclipse.core.resources.IFile |
getFile()
Return the IFile that this resource model represents |
java.lang.String |
getResourceType()
Return a unique identifier for all resource models of this type |
void |
javaElementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
|
void |
removeResourceModelChangeListener(ResourceModelListener listener)
|
void |
resolveTypes()
Used to resolve type information that could be dependent on other files being added/removed. |
void |
updateFromResource()
Update the resource model from the underlying resource. |
Field Detail |
---|
static final java.lang.String JAVA_RESOURCE_TYPE
getResourceType()
,
Constant Field Valuesstatic final java.lang.String PERSISTENCE_RESOURCE_TYPE
getResourceType()
,
Constant Field Valuesstatic final java.lang.String ORM_RESOURCE_TYPE
getResourceType()
,
Constant Field ValuesMethod Detail |
---|
java.lang.String getResourceType()
org.eclipse.core.resources.IFile getFile()
void javaElementChanged(org.eclipse.jdt.core.ElementChangedEvent event)
void updateFromResource()
void addResourceModelChangeListener(ResourceModelListener listener)
void removeResourceModelChangeListener(ResourceModelListener listener)
void dispose()
void resolveTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |