Interface ICasEditor

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart
All Known Implementing Classes:
AnnotationEditor

public interface ICasEditor extends org.eclipse.ui.IEditorPart
A Cas Editor is an extension to the IEditorPart interface and is responsible to view and edit a CAS object.
  • Field Summary

    Fields inherited from interface org.eclipse.ui.IEditorPart

    PROP_DIRTY, PROP_INPUT

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the cas editor input listener.
    Gets the cas document provider.
    Gets the document.
    void
    Removes the cas editor input listener.
    void
    Reopen editor with new type system.

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter

    Methods inherited from interface org.eclipse.ui.IEditorPart

    getEditorInput, getEditorSite, init

    Methods inherited from interface org.eclipse.ui.ISaveablePart

    doSave, doSaveAs, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded

    Methods inherited from interface org.eclipse.ui.IWorkbenchPart

    addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
  • Method Details

    • getDocument

      ICasDocument getDocument()
      Gets the document.
      Returns:
      the document
    • getCasDocumentProvider

      CasDocumentProvider getCasDocumentProvider()
      Gets the cas document provider.
      Returns:
      the cas document provider
    • reopenEditorWithNewTypeSystem

      void reopenEditorWithNewTypeSystem()
      Reopen editor with new type system.
    • addCasEditorInputListener

      void addCasEditorInputListener(ICasEditorInputListener listener)
      Adds the cas editor input listener.
      Parameters:
      listener - the listener
    • removeCasEditorInputListener

      void removeCasEditorInputListener(ICasEditorInputListener listener)
      Removes the cas editor input listener.
      Parameters:
      listener - the listener