Eclipse Platform
2.0

org.eclipse.ui
Interface IEditorSite

All Superinterfaces:
IWorkbenchPartSite, IWorkbenchSite
All Known Implementing Classes:
MultiPageEditorSite

public interface IEditorSite
extends IWorkbenchPartSite

The primary interface between an editor part and the outside world.

The workbench exposes its implemention of editor part sites via this interface, which is not intended to be implemented or extended by clients.


Method Summary
 IEditorActionBarContributor getActionBarContributor()
          Returns the editor action bar contributor for this editor.
 IKeyBindingService getKeyBindingService()
          Returns the key binding service in use.
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getPluginId, getRegisteredName, registerContextMenu, registerContextMenu
 
Methods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
 

Method Detail

getActionBarContributor

public IEditorActionBarContributor getActionBarContributor()
Returns the editor action bar contributor for this editor.

An action contributor is responsable for the creation of actions. By design, this contributor is used for one or more editors of the same type. Thus, the contributor returned by this method is not owned completely by the editor. It is shared.

Returns:
the editor action bar contributor, or null if none exists

getKeyBindingService

public IKeyBindingService getKeyBindingService()
Returns the key binding service in use.

The editor part will access this service to register all of its actions, to set the active scope, and to forward key events.

Returns:
the key binding service in use
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.