|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.views.framelist.Frame | +--org.eclipse.ui.views.framelist.TreeFrame
Frame for tree viewers. This capture the viewer's input element, selection, and expanded elements.
Constructor Summary | |
TreeFrame(AbstractTreeViewer viewer)
Constructs a frame for the specified tree viewer. |
|
TreeFrame(AbstractTreeViewer viewer,
Object input)
Constructs a frame for the specified tree viewer. |
Method Summary | |
Object[] |
getExpandedElements()
Returns the expanded elements. |
Object |
getInput()
Returns the input element. |
ISelection |
getSelection()
Returns the selection. |
AbstractTreeViewer |
getViewer()
Returns the tree viewer. |
void |
setExpandedElements(Object[] expandedElements)
Sets the expanded elements. |
void |
setInput(Object input)
Sets the input element. |
void |
setSelection(ISelection selection)
Sets the selection. |
Methods inherited from class org.eclipse.ui.views.framelist.Frame |
getIndex, getName, getParent, getToolTipText, setIndex, setName, setParent, setToolTipText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TreeFrame(AbstractTreeViewer viewer)
viewer
- the tree viewerpublic TreeFrame(AbstractTreeViewer viewer, Object input)
viewer
- the tree viewerinput
- the input elementMethod Detail |
public Object[] getExpandedElements()
public Object getInput()
public ISelection getSelection()
public AbstractTreeViewer getViewer()
public void setInput(Object input)
input
- the input elementpublic void setExpandedElements(Object[] expandedElements)
expandedElements
- the expanded elementspublic void setSelection(ISelection selection)
selection
- the selection
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |