|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.emf.ecp.ui.views.TreeView
public abstract class TreeView
Field Summary | |
---|---|
static String |
GLOBAL_ADDITIONS
ID for the separator in the context menu of the TreeView to add global contributions to (placed on top). |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
TreeView(String id)
Default constructor. |
Method Summary | |
---|---|
void |
addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
String |
getID()
Retrieves the ID of this TreeView . |
org.eclipse.jface.action.Action |
getRefreshAction()
Return the refresh action, which triggers a reload on the TreeViewer. |
org.eclipse.jface.viewers.IStructuredSelection |
getSelection()
|
org.eclipse.jface.viewers.TreeViewer |
getViewer()
Returns JFace TreeViewer used in this TreeViewer . |
void |
init(org.eclipse.ui.IViewSite site)
|
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
|
void |
selectReveal(org.eclipse.jface.viewers.ISelection selection)
|
void |
setFocus()
|
void |
setSelection(org.eclipse.jface.viewers.ISelection selection)
|
Methods inherited from class org.eclipse.ui.part.ViewPart |
---|
getViewSite, init, saveState, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
---|
addPartPropertyListener, addPropertyListener, dispose, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
public static final String GLOBAL_ADDITIONS
TreeView
to add global contributions to (placed on top).
Constructor Detail |
---|
public TreeView(String id)
id
- the ID of the Tree View, used to identify the TreeView
Method Detail |
---|
public final String getID()
TreeView
.
String
public final org.eclipse.jface.viewers.TreeViewer getViewer()
TreeViewer
used in this TreeViewer
.
TreeViewer
public final org.eclipse.jface.action.Action getRefreshAction()
Action
public void init(org.eclipse.ui.IViewSite site) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IViewPart
init
in class org.eclipse.ui.part.ViewPart
org.eclipse.ui.PartInitException
public final void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public org.eclipse.jface.viewers.IStructuredSelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
setSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
public void selectReveal(org.eclipse.jface.viewers.ISelection selection)
selectReveal
in interface org.eclipse.ui.part.ISetSelectionTarget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |