|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaProjectManager
The JPA project manager holds all the JPA projects in an Eclipse workspace and provides support for executing long-running commands that modify the context model.
Retrieve a JPA project manager from a {#link JpaWorkspace JPA workspace}.
Not intended to be implemented by clients.
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 String |
FACETED_PROJECT_FRAMEWORK_SETTINGS_FILE_NAME
The name of the JPA faceted project framework settings file. |
static String |
JPA_PROJECTS_COLLECTION
|
| Method Summary | |
|---|---|
void |
addJavaEventListenerFlag(org.eclipse.jpt.common.utility.reference.BooleanReference flag)
Add a flag that will be used to determine whether the manager's JDT java event listener is active: If all the flags are true, the java listener
is active. |
void |
execute(Command batchCommand)
Suspend the current thread until the specified command is executed, configuring the JPA project manager appropriately so all events, JPA project updates, etc. |
void |
execute(Command command,
ExtendedCommandContext threadLocalModifySharedDocumentCommandContext)
Suspend the current thread until the specified command is executed, configuring the JPA project manager appropriately so all events, JPA project updates, etc. |
Iterable<JpaProject> |
getJpaProjects()
Return the JPA project manager's JPA projects. |
int |
getJpaProjectsSize()
The size returned here corresponds to the collection returned by getJpaProjects(). |
JpaWorkspace |
getJpaWorkspace()
Return the JPA project manager's JPA workspace. |
void |
removeJavaEventListenerFlag(org.eclipse.jpt.common.utility.reference.BooleanReference flag)
Remove the specified flag. |
Iterable<JpaProject> |
waitToGetJpaProjects()
Return the JPA project manager's JPA projects. |
| Methods inherited from interface org.eclipse.jpt.common.utility.model.Model |
|---|
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Field Detail |
|---|
static final String JPA_PROJECTS_COLLECTION
static final String FACETED_PROJECT_FRAMEWORK_SETTINGS_FILE_NAME
ProjectTools.hasFacet(org.eclipse.core.resources.IProject, org.eclipse.wst.common.project.facet.core.IProjectFacet),
JpaProject.FACET| Method Detail |
|---|
JpaWorkspace getJpaWorkspace()
Iterable<JpaProject> waitToGetJpaProjects()
throws InterruptedException
InterruptedException) as it will
wait for any unbuilt JPA projects to be built or re-built.
InterruptedExceptiongetJpaProjects()Iterable<JpaProject> getJpaProjects()
Model.addCollectionChangeListener(String, org.eclipse.jpt.common.utility.model.listener.CollectionChangeListener),
JPA_PROJECTS_COLLECTION,
waitToGetJpaProjects()int getJpaProjectsSize()
getJpaProjects().
void execute(Command batchCommand)
throws InterruptedException
InterruptedExceptionexecute(Command, ExtendedCommandContext)
void execute(Command command,
ExtendedCommandContext threadLocalModifySharedDocumentCommandContext)
throws InterruptedException
InterruptedExceptionvoid addJavaEventListenerFlag(org.eclipse.jpt.common.utility.reference.BooleanReference flag)
true, the java listener
is active.
false, the java listener
is inactive
execute(Command, ExtendedCommandContext)void removeJavaEventListenerFlag(org.eclipse.jpt.common.utility.reference.BooleanReference flag)
addJavaEventListenerFlag(BooleanReference)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||