|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface JpaWorkbench
The Dali JPA state corresponding to an Eclipse workbench.
To retrieve the JPA workbench corresponding to an Eclipse workbench:
IWorkbench workbench = PlatformUI.getWorkbench();
// even though IWorkbench extends IAdaptable, it does not delegate to the
// Platform adapter manager; so registered adapter factories are *not* used... :-(
// JpaWorkbench jpaWorkbench = (JpaWorkbench) workbench.getAdapter(JpaWorkbench.class);
JpaWorkbench jpaWorkbench = PlatformTools.getAdapter(workbench, JpaWorkbench.class);
See org.eclipse.jpt.jpa.ui/plugin.xml:org.eclipse.core.runtime.adapters.
Not intended to be implemented by clients.
Provisional API: This class 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.
| Method Summary | |
|---|---|
ResourceManager |
buildLocalResourceManager()
Return a new "local" resource manager. |
JpaPlatformUiManager |
getJpaPlatformUiManager()
Return the manager for the workbench's JPA platform UIs. |
JpaWorkspace |
getJpaWorkspace()
Return the workbench's JPA workspace. |
ResourceManager |
getResourceManager(Control control)
Return the resource manager associated with the specified control. |
IWorkbench |
getWorkbench()
Return the corresponding Eclipse workbench. |
| Method Detail |
|---|
IWorkbench getWorkbench()
JpaWorkspace getJpaWorkspace()
JpaPlatformUiManager getJpaPlatformUiManager()
ResourceManager buildLocalResourceManager()
getResourceManager(Control),
JptUIPlugin.buildImageDescriptor(String)ResourceManager getResourceManager(Control control)
buildLocalResourceManager(),
LocalResourceManager.LocalResourceManager(ResourceManager, Control),
JptUIPlugin.buildImageDescriptor(String),
Widget.getData(String)
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||