Class TranslationEditorContributor

java.lang.Object
org.eclipse.ui.part.EditorActionBarContributor
org.eclipse.ui.part.MultiPageEditorActionBarContributor
com.e1c.langtool.ui.editor.TranslationEditorContributor
All Implemented Interfaces:
org.eclipse.ui.IEditorActionBarContributor

public class TranslationEditorContributor extends org.eclipse.ui.part.MultiPageEditorActionBarContributor
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a multi-page contributor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected org.eclipse.jface.action.IAction
    getAction(org.eclipse.ui.texteditor.ITextEditor editor, String actionID)
    Returns the action registed with the given text editor.
    void
    setActivePage(org.eclipse.ui.IEditorPart activeEditor)
     

    Methods inherited from class org.eclipse.ui.part.MultiPageEditorActionBarContributor

    setActiveEditor

    Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor

    contributeToCoolBar, contributeToMenu, contributeToStatusLine, contributeToToolBar, getActionBars, getPage, init, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TranslationEditorContributor

      public TranslationEditorContributor()
      Creates a multi-page contributor.
  • Method Details

    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.ui.IEditorActionBarContributor
      Overrides:
      dispose in class org.eclipse.ui.part.EditorActionBarContributor
    • setActivePage

      public void setActivePage(org.eclipse.ui.IEditorPart activeEditor)
      Specified by:
      setActivePage in class org.eclipse.ui.part.MultiPageEditorActionBarContributor
    • getAction

      protected org.eclipse.jface.action.IAction getAction(org.eclipse.ui.texteditor.ITextEditor editor, String actionID)
      Returns the action registed with the given text editor.
      Parameters:
      editor - eclipse text editor
      actionID - action id
      Returns:
      IAction or null if editor is null.