Package org.eclipse.ui.internal
Class ViewSite
java.lang.Object
org.eclipse.ui.internal.PartSite
org.eclipse.ui.internal.ViewSite
- All Implemented Interfaces:
IAdaptable
,IShellProvider
,IViewSite
,IWorkbenchPartSite
,IWorkbenchSite
,IServiceLocator
A view container manages the services for a view.
-
Field Summary
Fields inherited from class org.eclipse.ui.internal.PartSite
menuExtenders, model, serviceLocator
-
Constructor Summary
ConstructorDescriptionViewSite
(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose the contributions.Returns the secondary id for this part site's part, ornull
if it has none.Methods inherited from class org.eclipse.ui.internal.PartSite
activateActionBars, deactivateActionBars, getActionBars, getAdapter, getContext, getContextMenuIds, getId, getInitialScopeId, getKeyBindingService, getModel, getPage, getPart, getPartReference, getPluginId, getRegisteredName, getSelectionProvider, getService, getShell, getWorkbenchWindow, hasService, registerContextMenu, registerContextMenu, registerContextMenu, setActionBars, setPart, setSelectionProvider, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.services.IServiceLocator
getService, hasService
Methods inherited from interface org.eclipse.ui.IViewSite
getActionBars
Methods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getKeyBindingService, getPart, getPluginId, getRegisteredName, registerContextMenu, registerContextMenu
Methods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
-
Constructor Details
-
ViewSite
public ViewSite(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element)
-
-
Method Details
-
getSecondaryId
Description copied from interface:IViewSite
Returns the secondary id for this part site's part, ornull
if it has none.- Specified by:
getSecondaryId
in interfaceIViewSite
- Returns:
- the secondary id for this part site's part or
null
if it has none - See Also:
-
dispose
public void dispose()Description copied from class:PartSite
Dispose the contributions.
-