Class AnnotationOutline
java.lang.Object
org.eclipse.ui.part.Page
org.eclipse.ui.views.contentoutline.ContentOutlinePage
org.apache.uima.caseditor.editor.outline.AnnotationOutline
- All Implemented Interfaces:
EventListener
,org.eclipse.jface.viewers.ISelectionChangedListener
,org.eclipse.jface.viewers.ISelectionProvider
,org.eclipse.ui.ISelectionListener
,org.eclipse.ui.part.IPage
,org.eclipse.ui.part.IPageBookViewPage
,org.eclipse.ui.views.contentoutline.IContentOutlinePage
public final class AnnotationOutline
extends org.eclipse.ui.views.contentoutline.ContentOutlinePage
implements org.eclipse.ui.ISelectionListener
This outline view displays all
AnnotationFS
s of the current mode/type from the
binded editor.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
This listener receive events from the bound editor. -
Constructor Summary
ConstructorDescriptionAnnotationOutline
(AnnotationEditor editor) Creates a newAnnotationOutline
object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(org.eclipse.swt.widgets.Composite parent) Creates the outline table control.void
dispose()
org.eclipse.swt.widgets.Control
Retrieves the control.void
selectionChanged
(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) void
setActionBars
(org.eclipse.ui.IActionBars actionBars) Adds the these actions to the global action handler:DeleteFeatureStructureAction
SelectAllAction.void
setFocus()
Sets the focus.Methods inherited from class org.eclipse.ui.views.contentoutline.ContentOutlinePage
addSelectionChangedListener, fireSelectionChanged, getSelection, getTreeStyle, getTreeViewer, init, removeSelectionChangedListener, selectionChanged, setSelection
Methods inherited from class org.eclipse.ui.part.Page
getSite, makeContributions
-
Constructor Details
-
AnnotationOutline
Creates a newAnnotationOutline
object.- Parameters:
editor
- - the editor to bind
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent) Creates the outline table control.- Specified by:
createControl
in interfaceorg.eclipse.ui.part.IPage
- Overrides:
createControl
in classorg.eclipse.ui.views.contentoutline.ContentOutlinePage
- Parameters:
parent
- the parent
-
getControl
public org.eclipse.swt.widgets.Control getControl()Retrieves the control.- Specified by:
getControl
in interfaceorg.eclipse.ui.part.IPage
- Overrides:
getControl
in classorg.eclipse.ui.views.contentoutline.ContentOutlinePage
- Returns:
- the control
-
setActionBars
public void setActionBars(org.eclipse.ui.IActionBars actionBars) Adds the these actions to the global action handler:DeleteFeatureStructureAction
SelectAllAction.- Specified by:
setActionBars
in interfaceorg.eclipse.ui.part.IPage
- Overrides:
setActionBars
in classorg.eclipse.ui.part.Page
- Parameters:
actionBars
- the new action bars
-
setFocus
public void setFocus()Sets the focus.- Specified by:
setFocus
in interfaceorg.eclipse.ui.part.IPage
- Overrides:
setFocus
in classorg.eclipse.ui.views.contentoutline.ContentOutlinePage
-
selectionChanged
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection) - Specified by:
selectionChanged
in interfaceorg.eclipse.ui.ISelectionListener
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.ui.part.IPage
- Overrides:
dispose
in classorg.eclipse.ui.part.Page
-