Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ui
Interface IEditorSite  view IEditorSite download IEditorSite.java

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IWorkbenchPartSite, IWorkbenchSite

public interface IEditorSite
extends IWorkbenchPartSite

The primary interface between an editor part and the workbench.

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 action bar contributor for this editor.
 IActionBars getActionBars()
          Returns the action bars for this part site.
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getKeyBindingService, getPluginId, getRegisteredName, registerContextMenu, registerContextMenu
 
Methods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getActionBarContributor

public IEditorActionBarContributor getActionBarContributor()
Returns the 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.


getActionBars

public IActionBars getActionBars()
Returns the action bars for this part site. Editors of the same type share the same action bars. Contributions to the action bars are done by the IEditorActionBarContributor.

Since:
2.1