|
Eclipse eRCP Release 1.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The common interface between the workbench and its parts, including pages within parts.
This interface is not intended to be implemented or extended by clients.
IWorkbenchPartSite
,
org.eclipse.ui.part.IPageSite
Method Summary | |
---|---|
IWorkbenchPage |
getPage()
Returns the page containing this workbench site. |
ISelectionProvider |
getSelectionProvider()
Returns the selection provider for this workbench site. |
Shell |
getShell()
Returns the shell for this workbench site. |
IWorkbenchWindow |
getWorkbenchWindow()
Returns the workbench org.eclipse.jface.window containing this workbench site. |
void |
setSelectionProvider(ISelectionProvider provider)
Sets the selection provider for this workbench site. |
Method Detail |
public IWorkbenchPage getPage()
public ISelectionProvider getSelectionProvider()
null
if nonepublic Shell getShell()
For compatibility, this method will not throw an exception if called from outside the UI thread, but the returned Shell may be wrong.
public IWorkbenchWindow getWorkbenchWindow()
public void setSelectionProvider(ISelectionProvider provider)
provider
- the selection provider, or null
to clear it
|
Eclipse eRCP Release 1.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |