Package org.apache.uima.caseditor.editor
Class AnnotationEditorActionContributor
java.lang.Object
org.eclipse.ui.part.EditorActionBarContributor
org.apache.uima.caseditor.editor.AnnotationEditorActionContributor
- All Implemented Interfaces:
org.eclipse.ui.IEditorActionBarContributor
public class AnnotationEditorActionContributor
extends org.eclipse.ui.part.EditorActionBarContributor
The
AnnotationEditor
action contributor.
Contributes the "annotation mode" status item to the status bar.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contributeToStatusLine
(org.eclipse.jface.action.IStatusLineManager statusLineManager) Contributes the status item to the status line.void
setActiveEditor
(org.eclipse.ui.IEditorPart part) Sets the active editor.Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor
contributeToCoolBar, contributeToMenu, contributeToToolBar, dispose, getActionBars, getPage, init, init
-
Field Details
-
ID
ID of the status item.- See Also:
-
-
Constructor Details
-
AnnotationEditorActionContributor
public AnnotationEditorActionContributor()
-
-
Method Details
-
setActiveEditor
public void setActiveEditor(org.eclipse.ui.IEditorPart part) Sets the active editor.- Specified by:
setActiveEditor
in interfaceorg.eclipse.ui.IEditorActionBarContributor
- Overrides:
setActiveEditor
in classorg.eclipse.ui.part.EditorActionBarContributor
- Parameters:
part
- the new active editor
-
contributeToStatusLine
public void contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager) Contributes the status item to the status line.- Overrides:
contributeToStatusLine
in classorg.eclipse.ui.part.EditorActionBarContributor
- Parameters:
statusLineManager
- the status line manager
-