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 AnnotationFSs of the current mode/type from the binded editor.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
    This listener receive events from the bound editor.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new AnnotationOutline object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
    Creates the outline table control.
    void
     
    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
    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

    Methods inherited from class java.lang.Object

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

    • AnnotationOutline

      public AnnotationOutline(AnnotationEditor editor)
      Creates a new AnnotationOutline 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 interface org.eclipse.ui.part.IPage
      Overrides:
      createControl in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
      Parameters:
      parent - the parent
    • getControl

      public org.eclipse.swt.widgets.Control getControl()
      Retrieves the control.
      Specified by:
      getControl in interface org.eclipse.ui.part.IPage
      Overrides:
      getControl in class org.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 interface org.eclipse.ui.part.IPage
      Overrides:
      setActionBars in class org.eclipse.ui.part.Page
      Parameters:
      actionBars - the new action bars
    • setFocus

      public void setFocus()
      Sets the focus.
      Specified by:
      setFocus in interface org.eclipse.ui.part.IPage
      Overrides:
      setFocus in class org.eclipse.ui.views.contentoutline.ContentOutlinePage
    • selectionChanged

      public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
      Specified by:
      selectionChanged in interface org.eclipse.ui.ISelectionListener
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.eclipse.ui.part.IPage
      Overrides:
      dispose in class org.eclipse.ui.part.Page