Package com.e1c.langtool.ui.editor
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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()protected org.eclipse.jface.action.IActionReturns the action registed with the given text editor.voidsetActivePage(org.eclipse.ui.IEditorPart activeEditor) Methods inherited from class org.eclipse.ui.part.MultiPageEditorActionBarContributor
setActiveEditorMethods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToMenu, contributeToStatusLine, contributeToToolBar, getActionBars, getPage, init, init
-
Constructor Details
-
TranslationEditorContributor
public TranslationEditorContributor()Creates a multi-page contributor.
-
-
Method Details
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.ui.IEditorActionBarContributor- Overrides:
disposein classorg.eclipse.ui.part.EditorActionBarContributor
-
setActivePage
public void setActivePage(org.eclipse.ui.IEditorPart activeEditor) - Specified by:
setActivePagein classorg.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 editoractionID- action id- Returns:
- IAction or null if editor is null.
-