Package org.apache.uima.caseditor.editor
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
ConstructorDescriptionAnnotationEditorView
(String editorNotAvailableMessage) Instantiates a new annotation editor view. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.ui.part.IPage
createDefaultPage
(org.eclipse.ui.part.PageBook book) protected abstract org.eclipse.ui.part.PageBookView.PageRec
doCreatePage
(ICasEditor editor) 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 atIPartListener.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
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 classorg.eclipse.ui.part.PageBookView
-
doCreatePage
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 classorg.eclipse.ui.part.PageBookView
-
getBootstrapPart
protected org.eclipse.ui.IWorkbenchPart getBootstrapPart()- Specified by:
getBootstrapPart
in classorg.eclipse.ui.part.PageBookView
-
doDestroyPage
protected void doDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec pageRecord) - Specified by:
doDestroyPage
in classorg.eclipse.ui.part.PageBookView
-
isImportant
protected boolean isImportant(org.eclipse.ui.IWorkbenchPart part) - Specified by:
isImportant
in classorg.eclipse.ui.part.PageBookView
-
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part) Look atIPartListener.partBroughtToTop(IWorkbenchPart)
.- Specified by:
partBroughtToTop
in interfaceorg.eclipse.ui.IPartListener
- Overrides:
partBroughtToTop
in classorg.eclipse.ui.part.PageBookView
- Parameters:
part
- the part
-