Package org.eclipse.net4j.util.ui.views
Class MasterDetailsView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.net4j.util.ui.views.MultiViewersView
org.eclipse.net4j.util.ui.views.MasterDetailsView
- All Implemented Interfaces:
IAdaptable
,IExecutableExtension
,IPersistable
,IViewPart
,IWorkbenchPart
,IWorkbenchPart2
,IWorkbenchPart3
,ISetSelectionTarget
,IWorkbenchPartOrientation
- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.ui.views.MultiViewersView
MultiViewersView.MessageType
-
Field Summary
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
adjustDetails
(Object masterElement) protected abstract StructuredViewer
createDetail
(Composite parent, String title) protected abstract StructuredViewer
createMaster
(Composite parent) protected Control
protected void
fillCoolBar
(IContributionManager manager) protected void
fillLocalPullDown
(IMenuManager manager) int
String[]
protected abstract String[]
getDetailTitles
(Object masterElement) static int
protected void
protected void
setDetailInput
(StructuredViewer viewer, Object input) Methods inherited from class org.eclipse.net4j.util.ui.views.MultiViewersView
closeView, createPartControl, doubleClicked, fillContextMenu, fillLocalToolBar, getCurrentViewer, getDisplay, getShell, refreshElement, refreshViewer, revealElement, selectReveal, setCurrentViewer, setFocus, showMessage, showMessage, updateLabels
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, 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.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
-
Constructor Details
-
MasterDetailsView
public MasterDetailsView()
-
-
Method Details
-
getMaster
-
getDetails
-
getDetailTitles
-
getCurrentMasterElement
-
getCurrentDetailIndex
public int getCurrentDetailIndex() -
getCurrentDetailTitle
-
createUI
- Specified by:
createUI
in classMultiViewersView
-
fillLocalPullDown
- Overrides:
fillLocalPullDown
in classMultiViewersView
-
masterSelectionChanged
-
adjustDetails
-
setDetailInput
-
fillCoolBar
-
createMaster
-
createDetail
-
getDetailTitles
-
indexOf
-