Package org.apache.uima.caseditor.editor
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_INPUTFields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the cas editor input listener.Gets the cas document provider.Gets the document.voidRemoves the cas editor input listener.voidReopen editor with new type system.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSite, initMethods inherited from interface org.eclipse.ui.ISaveablePart
doSave, doSaveAs, isDirty, isSaveAsAllowed, isSaveOnCloseNeededMethods 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
Adds the cas editor input listener.- Parameters:
listener- the listener
-
removeCasEditorInputListener
Removes the cas editor input listener.- Parameters:
listener- the listener
-