Class ViewSite
java.lang.Object
org.eclipse.ui.internal.PartSite
org.eclipse.ui.internal.ViewSite
- All Implemented Interfaces:
IAdaptable, IShellProvider, IViewSite, IWorkbenchPartSite, IWorkbenchSite, IServiceLocator
-
Field Summary
Fields inherited from class 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 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IAdaptable
getAdapterMethods inherited from interface IServiceLocator
getService, hasServiceMethods inherited from interface IViewSite
getActionBarsMethods inherited from interface IWorkbenchPartSite
getId, getKeyBindingService, getPart, getPluginId, getRegisteredName, registerContextMenu, registerContextMenuMethods inherited from interface 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
-