org.eclipse.palamedes.ui.views.knowledgebase
Class KnowledgeBaseView
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.eclipse.palamedes.ui.views.knowledgebase.KnowledgeBaseView
- 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 class KnowledgeBaseView
- extends org.eclipse.ui.part.PageBookView
Nested classes/interfaces inherited from class org.eclipse.ui.part.PageBookView |
org.eclipse.ui.part.PageBookView.PageRec, org.eclipse.ui.part.PageBookView.SelectionProvider |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Method Summary |
protected org.eclipse.ui.part.IPage |
createDefaultPage(org.eclipse.ui.part.PageBook book)
|
protected 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 |
getBootstrapPart()
|
protected boolean |
isImportant(org.eclipse.ui.IWorkbenchPart part)
|
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
|
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
|
void |
setSelection(org.eclipse.jface.viewers.ISelection selection)
|
protected void |
showPageRec(org.eclipse.ui.part.PageBookView.PageRec pageRec)
The KnowledgeBase implementation of this
PageBookView method extends the behavior of
its parent to use the current page as a selection provider. |
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, partOpened, setFocus |
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 |
KnowledgeBaseView
public KnowledgeBaseView()
- The constructor.
createDefaultPage
protected org.eclipse.ui.part.IPage createDefaultPage(org.eclipse.ui.part.PageBook book)
- Specified by:
createDefaultPage
in class org.eclipse.ui.part.PageBookView
doCreatePage
protected org.eclipse.ui.part.PageBookView.PageRec doCreatePage(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
doCreatePage
in class org.eclipse.ui.part.PageBookView
doDestroyPage
protected void doDestroyPage(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.ui.part.PageBookView.PageRec pageRecord)
- Specified by:
doDestroyPage
in class org.eclipse.ui.part.PageBookView
getBootstrapPart
protected org.eclipse.ui.IWorkbenchPart getBootstrapPart()
- Specified by:
getBootstrapPart
in class org.eclipse.ui.part.PageBookView
isImportant
protected boolean isImportant(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
isImportant
in class org.eclipse.ui.part.PageBookView
partBroughtToTop
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
- Specified by:
partBroughtToTop
in interface org.eclipse.ui.IPartListener
- Overrides:
partBroughtToTop
in class org.eclipse.ui.part.PageBookView
removeSelectionChangedListener
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
selectionChanged
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
setSelection
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
showPageRec
protected void showPageRec(org.eclipse.ui.part.PageBookView.PageRec pageRec)
- The
KnowledgeBase
implementation of this
PageBookView
method extends the behavior of
its parent to use the current page as a selection provider.
- Overrides:
showPageRec
in class org.eclipse.ui.part.PageBookView
- Parameters:
pageRec
- the page record containing the page to show