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
ConstructorsConstructorDescriptionViewSite(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the contributions.Returns the secondary id for this part site's part, ornullif 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.services.IServiceLocator
getService, hasServiceMethods inherited from interface org.eclipse.ui.IViewSite
getActionBarsMethods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getKeyBindingService, getPart, getPluginId, getRegisteredName, registerContextMenu, registerContextMenuMethods 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:IViewSiteReturns the secondary id for this part site's part, ornullif it has none.- Specified by:
getSecondaryIdin interfaceIViewSite- Returns:
- the secondary id for this part site's part or
nullif it has none - See Also:
-
dispose
public void dispose()Description copied from class:PartSiteDispose the contributions.
-