public abstract class MultiViewersView extends ViewPart implements ISetSelectionTarget
Modifier and Type | Class and Description |
---|---|
protected static class |
MultiViewersView.MessageType |
PROP_TITLE
Constructor and Description |
---|
MultiViewersView() |
Modifier and Type | Method and Description |
---|---|
void |
closeView() |
void |
createPartControl(Composite parent) |
protected abstract Control |
createUI(Composite parent) |
protected void |
doubleClicked(Object object) |
protected void |
fillContextMenu(IMenuManager manager,
StructuredViewer viewer,
IStructuredSelection selection) |
protected void |
fillLocalPullDown(IMenuManager manager) |
protected void |
fillLocalToolBar(IToolBarManager manager) |
StructuredViewer |
getCurrentViewer() |
protected Display |
getDisplay() |
Shell |
getShell() |
void |
refreshElement(Object element,
boolean updateLabels) |
void |
refreshViewer(boolean updateLabels) |
void |
revealElement(Object element) |
void |
selectReveal(ISelection selection) |
void |
setCurrentViewer(StructuredViewer viewer) |
void |
setFocus() |
protected boolean |
showMessage(MultiViewersView.MessageType type,
String message) |
protected void |
showMessage(String message) |
void |
updateLabels(Object element) |
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
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
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
getAdapter
public Shell getShell()
public StructuredViewer getCurrentViewer()
public void setCurrentViewer(StructuredViewer viewer)
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void refreshViewer(boolean updateLabels)
public void refreshElement(Object element, boolean updateLabels)
public void updateLabels(Object element)
public void revealElement(Object element)
public void selectReveal(ISelection selection)
selectReveal
in interface ISetSelectionTarget
public void closeView()
public final void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
protected void doubleClicked(Object object)
protected void fillContextMenu(IMenuManager manager, StructuredViewer viewer, IStructuredSelection selection)
protected void fillLocalPullDown(IMenuManager manager)
protected void fillLocalToolBar(IToolBarManager manager)
protected final void showMessage(String message)
protected final boolean showMessage(MultiViewersView.MessageType type, String message)
protected final Display getDisplay()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html