|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.ui.parts.AbstractEditPartViewer
org.eclipse.gef.ui.parts.TreeViewer
An EditPartViewer implementation based on a Tree.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.gef.EditPartViewer |
EditPartViewer.Conditional |
| Field Summary |
| Fields inherited from class org.eclipse.gef.ui.parts.AbstractEditPartViewer |
constantSelection, focusPart, selection, selectionListeners |
| Constructor Summary | |
TreeViewer()
Constructs a TreeViewer with the default root editpart. |
|
| Method Summary | |
Control |
createControl(Composite parent)
Creates the default tree and sets it as the control. |
EditPart |
findObjectAtExcluding(Point pt,
Collection exclude,
EditPartViewer.Conditional condition)
Returns null or the EditPart at the specified location,
using the given exclusion set and conditional. |
protected void |
fireSelectionChanged()
Fires selection changed to the registered listeners at the time called. |
protected void |
hookControl()
"Hooks up" a Control, i.e. sets it as the control for the RootTreeEditPart, adds necessary listener for proper operation, etc. |
void |
reveal(EditPart part)
Reveals the given EditPart if it is not visible. |
protected void |
unhookControl()
Unhooks a control so that it can be reset. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeViewer()
| Method Detail |
public Control createControl(Composite parent)
createControl in interface EditPartViewercreateControl in class AbstractEditPartViewerparent - The parent for the Tree
EditPartViewer.createControl(Composite)
public EditPart findObjectAtExcluding(Point pt,
Collection exclude,
EditPartViewer.Conditional condition)
EditPartViewernull or the EditPart at the specified location,
using the given exclusion set and conditional. This method behaves similarly to EditPartViewer.findObjectAt(Point).
pt - The mouse locationexclude - The set of EditParts to be excludedcondition - the Conditional used to evaluate a potential hit
null or an EditPartEditPartViewer.findObjectAtExcluding(Point, Collection,
EditPartViewer.Conditional)protected void fireSelectionChanged()
AbstractEditPartViewer
fireSelectionChanged in class AbstractEditPartViewerAbstractEditPartViewer.fireSelectionChanged()protected void hookControl()
hookControl in class AbstractEditPartViewerAbstractEditPartViewer.unhookControl()public void reveal(EditPart part)
EditPartViewer
reveal in interface EditPartViewerreveal in class AbstractEditPartViewerAbstractEditPartViewer.reveal(org.eclipse.gef.EditPart)protected void unhookControl()
unhookControl in class AbstractEditPartViewer
|
Eclipse GEF 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||