public abstract class AbstractResultView extends PageBookView
CollationResults
.
Clients should implement createResultPage()
to create an appropriate
descendant of AbstractResultPage
, and this should be enough.
This class cares for creating a default page,
appropriately initializing the result page and its control, and associating
the AbstractResultPage
with the matching CollationSetEditor
.PageBookView.PageRec, PageBookView.SelectionProvider
PROP_TITLE
Constructor and Description |
---|
AbstractResultView() |
Modifier and Type | Method and Description |
---|---|
protected IPage |
createDefaultPage(PageBook book) |
protected abstract AbstractResultPage |
createResultPage() |
protected PageBookView.PageRec |
doCreatePage(IWorkbenchPart part) |
protected void |
doDestroyPage(IWorkbenchPart part,
PageBookView.PageRec pageRecord) |
protected IWorkbenchPart |
getBootstrapPart() |
protected boolean |
isImportant(IWorkbenchPart part) |
createPartControl, dispose, doesPageExist, getAdapter, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, getViewAdapter, init, initPage, partActivated, partBroughtToTop, partClosed, partDeactivated, partHidden, partOpened, partVisible, setFocus, showPageRec
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
protected IPage createDefaultPage(PageBook book)
createDefaultPage
in class PageBookView
protected abstract AbstractResultPage createResultPage()
AbstractResultPage
implementation that will then
be initialized.protected PageBookView.PageRec doCreatePage(IWorkbenchPart part)
doCreatePage
in class PageBookView
protected void doDestroyPage(IWorkbenchPart part, PageBookView.PageRec pageRecord)
doDestroyPage
in class PageBookView
protected IWorkbenchPart getBootstrapPart()
getBootstrapPart
in class PageBookView
protected boolean isImportant(IWorkbenchPart part)
isImportant
in class PageBookView
Copyright © 2013 TextGrid. All Rights Reserved.