public class Navigator extends Object implements SelectionListener
Modifier and Type | Class and Description |
---|---|
static class |
Navigator.SelectionEvent |
static class |
Navigator.SelectionListener |
Constructor and Description |
---|
Navigator(Viewer viewer) |
Navigator(Viewer viewer,
Component parentComp) |
Modifier and Type | Method and Description |
---|---|
Component |
getComponent()
Get the navigator as a Component.
|
InspectorPanel |
getInspector() |
SceneGraphComponent |
getSceneRoot() |
JTree |
getSceneTree() |
Selection |
getSelection() |
TreeSelectionModel |
getTreeSelectionModel() |
boolean |
isPropagateSelections() |
boolean |
isReceiveSelections() |
void |
selectionChanged(SelectionEvent e) |
void |
setPropagateSelections(boolean propagate)
Propagate selections to the underlying viewer's selection manager.
|
void |
setReceiveSelections(boolean receive)
Receive selections from the underlying viewer's selection manager.
|
public Navigator(Viewer viewer)
sceneRoot
- the scene rootselectionManager
- the underlying selection managerpublic void selectionChanged(SelectionEvent e)
selectionChanged
in interface SelectionListener
public InspectorPanel getInspector()
public JTree getSceneTree()
public TreeSelectionModel getTreeSelectionModel()
public SceneGraphComponent getSceneRoot()
public Selection getSelection()
public Component getComponent()
public void setReceiveSelections(boolean receive)
public boolean isReceiveSelections()
public boolean isPropagateSelections()
public void setPropagateSelections(boolean propagate)