public class ModelRepositoriesView extends TreeView implements ECPProvidersChangedObserver
Modifier and Type | Field and Description |
---|---|
static String |
ID
The view ID.
|
GLOBAL_ADDITIONS
Constructor and Description |
---|
ModelRepositoriesView()
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() |
protected void |
fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
Fills the toolbar of the view.
|
void |
providersChanged(Collection<ECPProvider> oldProviders,
Collection<ECPProvider> newProviders)
This is called to indicate, that providers changed.
|
addSelectionChangedListener, createLabelDecorator, createPartControl, doubleClicked, fillContextMenu, fillLocalPullDown, getID, getRefreshAction, getSelection, getViewer, init, 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
public static final String ID
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void providersChanged(Collection<ECPProvider> oldProviders, Collection<ECPProvider> newProviders)
providersChanged
in interface ECPProvidersChangedObserver
oldProviders
- provider before changenewProviders
- providers after changeprotected 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.Copyright © 2017. All rights reserved.