public class ModelExplorerView extends TreeView implements ILinkedWithEditorView
Modifier and Type | Class and Description |
---|---|
class |
ModelExplorerView.DoubleClickListener |
Modifier and Type | Field and Description |
---|---|
static String |
ID
The id of this view.
|
GLOBAL_ADDITIONS
Constructor and Description |
---|
ModelExplorerView()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.jface.viewers.TreeViewer |
createViewer(org.eclipse.swt.widgets.Composite parent)
Creates the
TreeViewer . |
void |
dispose() |
void |
editorActivated(org.eclipse.ui.IEditorPart activatedEditor)
Called to tell the view, that a certain
IEditorPart has been activated. |
protected void |
fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
Fills the contect menu of the view.
|
protected void |
fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
Fills the toolbar of the view.
|
void |
init(org.eclipse.ui.IViewSite site) |
addSelectionChangedListener, createLabelDecorator, createPartControl, doubleClicked, fillLocalPullDown, getID, getRefreshAction, getSelection, getViewer, removeSelectionChangedListener, selectReveal, setFocus, setSelection, showMessage
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, 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
getViewSite
public static final String ID
public void init(org.eclipse.ui.IViewSite site) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IViewPart
init
in class TreeView
org.eclipse.ui.PartInitException
TreeView.init(org.eclipse.ui.IViewSite)
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.dispose()
protected org.eclipse.jface.viewers.TreeViewer createViewer(org.eclipse.swt.widgets.Composite parent)
TreeView
TreeViewer
. To be implemented by sub classes.createViewer
in class TreeView
parent
- the parent composite to place the TreeViewer on.TreeViewer
protected void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
TreeView
fillLocalToolBar
in class TreeView
manager
- the IToolBarManager
to be filled.protected void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
TreeView
fillContextMenu
in class TreeView
manager
- the IMenuManager
to be filled.public void editorActivated(org.eclipse.ui.IEditorPart activatedEditor)
IEditorPart
has been activated.editorActivated
in interface ILinkedWithEditorView
activatedEditor
- The activated IEditorPart
Copyright © 2019. All rights reserved.