Package org.apache.uima.caseditor.editor
Class SubPageSite
java.lang.Object
org.apache.uima.caseditor.editor.SubPageSite
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.jface.window.IShellProvider
,org.eclipse.ui.IWorkbenchSite
,org.eclipse.ui.part.IPageSite
,org.eclipse.ui.services.IServiceLocator
The Class SubPageSite.
-
Constructor Summary
ConstructorDescriptionSubPageSite
(org.eclipse.ui.part.IPageSite site) Instantiates a new sub page site. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.ui.IActionBars
getAdapter
(Class adapter) org.eclipse.ui.IWorkbenchPage
getPage()
org.eclipse.jface.viewers.ISelectionProvider
getService
(Class api) org.eclipse.swt.widgets.Shell
getShell()
org.eclipse.ui.IWorkbenchWindow
boolean
hasService
(Class api) void
registerContextMenu
(String menuId, org.eclipse.jface.action.MenuManager menuManager, org.eclipse.jface.viewers.ISelectionProvider selectionProvider) void
setSelectionProvider
(org.eclipse.jface.viewers.ISelectionProvider provider)
-
Constructor Details
-
SubPageSite
public SubPageSite(org.eclipse.ui.part.IPageSite site) Instantiates a new sub page site.- Parameters:
site
- the site
-
-
Method Details
-
hasService
- Specified by:
hasService
in interfaceorg.eclipse.ui.services.IServiceLocator
-
getService
- Specified by:
getService
in interfaceorg.eclipse.ui.services.IServiceLocator
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
setSelectionProvider
public void setSelectionProvider(org.eclipse.jface.viewers.ISelectionProvider provider) - Specified by:
setSelectionProvider
in interfaceorg.eclipse.ui.IWorkbenchSite
-
getWorkbenchWindow
public org.eclipse.ui.IWorkbenchWindow getWorkbenchWindow()- Specified by:
getWorkbenchWindow
in interfaceorg.eclipse.ui.IWorkbenchSite
-
getShell
public org.eclipse.swt.widgets.Shell getShell()- Specified by:
getShell
in interfaceorg.eclipse.jface.window.IShellProvider
- Specified by:
getShell
in interfaceorg.eclipse.ui.IWorkbenchSite
-
getSelectionProvider
public org.eclipse.jface.viewers.ISelectionProvider getSelectionProvider()- Specified by:
getSelectionProvider
in interfaceorg.eclipse.ui.IWorkbenchSite
-
getPage
public org.eclipse.ui.IWorkbenchPage getPage()- Specified by:
getPage
in interfaceorg.eclipse.ui.IWorkbenchSite
-
registerContextMenu
public void registerContextMenu(String menuId, org.eclipse.jface.action.MenuManager menuManager, org.eclipse.jface.viewers.ISelectionProvider selectionProvider) - Specified by:
registerContextMenu
in interfaceorg.eclipse.ui.part.IPageSite
-
getActionBars
public org.eclipse.ui.IActionBars getActionBars()- Specified by:
getActionBars
in interfaceorg.eclipse.ui.part.IPageSite
-