Class AnnotationEditorView

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.part.PageBookView
org.apache.uima.caseditor.editor.AnnotationEditorView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPartListener, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public abstract class AnnotationEditorView extends org.eclipse.ui.part.PageBookView
Base view for views which show information about the CAS opened in the editor.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.ui.part.PageBookView

    org.eclipse.ui.part.PageBookView.PageRec, org.eclipse.ui.part.PageBookView.SelectionProvider
  • Field Summary

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    AnnotationEditorView(String editorNotAvailableMessage)
    Instantiates a new annotation editor view.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.eclipse.ui.part.IPage
    createDefaultPage(org.eclipse.ui.part.PageBook book)
     
    protected abstract org.eclipse.ui.part.PageBookView.PageRec
    Do create page.
    protected final org.eclipse.ui.part.PageBookView.PageRec
    doCreatePage(org.eclipse.ui.IWorkbenchPart part)
     
    protected void
    doDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec pageRecord)
     
    protected org.eclipse.ui.IWorkbenchPart
     
    protected boolean
    isImportant(org.eclipse.ui.IWorkbenchPart part)
     
    void
    partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
    Look at IPartListener.partBroughtToTop(IWorkbenchPart).

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

    createPartControl, dispose, doesPageExist, getAdapter, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, getViewAdapter, init, initPage, partActivated, partClosed, partDeactivated, partHidden, partOpened, partVisible, setFocus, showPageRec

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

    checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName

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

    addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy

    Methods inherited from class org.eclipse.core.commands.common.EventManager

    addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.ui.IWorkbenchPart

    addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
  • Constructor Details

    • AnnotationEditorView

      public AnnotationEditorView(String editorNotAvailableMessage)
      Instantiates a new annotation editor view.
      Parameters:
      editorNotAvailableMessage - the editor not available message
  • Method Details

    • createDefaultPage

      protected org.eclipse.ui.part.IPage createDefaultPage(org.eclipse.ui.part.PageBook book)
      Specified by:
      createDefaultPage in class org.eclipse.ui.part.PageBookView
    • doCreatePage

      protected abstract org.eclipse.ui.part.PageBookView.PageRec doCreatePage(ICasEditor editor)
      Do create page.
      Parameters:
      editor - the editor
      Returns:
      the page rec
    • doCreatePage

      protected final org.eclipse.ui.part.PageBookView.PageRec doCreatePage(org.eclipse.ui.IWorkbenchPart part)
      Specified by:
      doCreatePage in class org.eclipse.ui.part.PageBookView
    • getBootstrapPart

      protected org.eclipse.ui.IWorkbenchPart getBootstrapPart()
      Specified by:
      getBootstrapPart in class org.eclipse.ui.part.PageBookView
    • doDestroyPage

      protected void doDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec pageRecord)
      Specified by:
      doDestroyPage in class org.eclipse.ui.part.PageBookView
    • isImportant

      protected boolean isImportant(org.eclipse.ui.IWorkbenchPart part)
      Specified by:
      isImportant in class org.eclipse.ui.part.PageBookView
    • partBroughtToTop

      public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
      Look at IPartListener.partBroughtToTop(IWorkbenchPart).
      Specified by:
      partBroughtToTop in interface org.eclipse.ui.IPartListener
      Overrides:
      partBroughtToTop in class org.eclipse.ui.part.PageBookView
      Parameters:
      part - the part