|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public static interface JpaProject.Reference
Standard adapter for "synchronously" retrieving a
JPA project
(i.e. if necessary, wait for the JPA project to be constructed;
thus the InterruptedException):
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("Foo Project");
JpaProject.Reference jpaProjectRef = (JpaProject.Reference) project.getAdapter(JpaProject.Reference.class);
JpaProject jpaProject = jpaProjectRef.getValue();
See org.eclipse.jpt.jpa.core/plugin.xml:org.eclipse.core.runtime.adapters.
ProjectAdapterFactory| Method Summary | |
|---|---|
Iterable<IMessage> |
buildValidationMessages(IReporter reporter)
Build the JPA validation messages for the reference's Eclipse project. |
JpaProject |
getValue()
Return the JPA project corresponding to the reference's Eclipse project. |
JpaProject |
rebuild()
The JPA settings associated with the reference's Eclipse project have changed in such a way as to require the associated JPA project to be completely rebuilt (e.g. when the user changes a project's JPA platform). |
| Method Detail |
|---|
JpaProject getValue()
throws InterruptedException
null if unable to associate the Eclipse
project with a JPA project. This method can be long-running.
InterruptedException
JpaProject rebuild()
throws InterruptedException
InterruptedException
Iterable<IMessage> buildValidationMessages(IReporter reporter)
throws InterruptedException
InterruptedException
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||