Class BasicTextEditorActionContributor

  • All Implemented Interfaces:
    IEditorActionBarContributor
    Direct Known Subclasses:
    TextEditorActionContributor

    public class BasicTextEditorActionContributor
    extends EditorActionBarContributor
    Manages the installation and removal of global actions for the same type of editors.

    If instantiated and used as-is, this contributor connects to all of the workbench defined global editor actions the corresponding actions of the current editor. It also adds addition actions for searching and navigation (go to line) as well as a set of status fields.

    Subclasses may override the following methods:

    • contributeToMenu - extend to contribute to menu
    • contributeToToolBar - reimplement to contribute to tool bar
    • contributeToStatusLine - reimplement to contribute to status line
    • setActiveEditor - extend to react to editor changes
    See Also:
    ITextEditorActionConstants