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
ConstructorsConstructorDescriptionAnnotationEditorView(String editorNotAvailableMessage) Instantiates a new annotation editor view. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.ui.part.IPagecreateDefaultPage(org.eclipse.ui.part.PageBook book) protected abstract org.eclipse.ui.part.PageBookView.PageRecdoCreatePage(ICasEditor editor) Do create page.protected final org.eclipse.ui.part.PageBookView.PageRecdoCreatePage(org.eclipse.ui.IWorkbenchPart part) protected voiddoDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec pageRecord) protected org.eclipse.ui.IWorkbenchPartprotected booleanisImportant(org.eclipse.ui.IWorkbenchPart part) voidpartBroughtToTop(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, showPageRecMethods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartNameMethods 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, showBusyMethods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
createDefaultPagein 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:
doCreatePagein classorg.eclipse.ui.part.PageBookView
-
getBootstrapPart
protected org.eclipse.ui.IWorkbenchPart getBootstrapPart()- Specified by:
getBootstrapPartin classorg.eclipse.ui.part.PageBookView
-
doDestroyPage
protected void doDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec pageRecord) - Specified by:
doDestroyPagein classorg.eclipse.ui.part.PageBookView
-
isImportant
protected boolean isImportant(org.eclipse.ui.IWorkbenchPart part) - Specified by:
isImportantin classorg.eclipse.ui.part.PageBookView
-
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part) Look atIPartListener.partBroughtToTop(IWorkbenchPart).- Specified by:
partBroughtToTopin interfaceorg.eclipse.ui.IPartListener- Overrides:
partBroughtToTopin classorg.eclipse.ui.part.PageBookView- Parameters:
part- the part
-