Interface IMapTree
- All Known Implementing Classes:
MapTree
public interface IMapTree
Functionality provided by the MapTree.
-
Method Summary
Modifier and Type Method Description void
expandTree(MapTreeItem toNode)
Expands the tree to the given node.MapTreeView
generateTree(ProjectExplorer projectExplorer)
Called to initialize the tree.MapTreeItem
getRoot()
Returns the rootMapTreeItem
node.MapTreeItem
getSelectedNode()
Returns the currently selectedMapTreeItem
node.ITreeActionManager
getTreeActionManager()
ITreeActionManager
of the tree.void
refreshTree()
Refreshes the tree view.
-
Method Details
-
generateTree
Called to initialize the tree.- Parameters:
projectExplorer
- RootProjectExplorer
workspace node.- Returns:
MapTreeView
ready for rendering.
-
refreshTree
void refreshTree()Refreshes the tree view. -
expandTree
Expands the tree to the given node.- Parameters:
toNode
- Node to expand to.
-
getSelectedNode
MapTreeItem getSelectedNode()Returns the currently selectedMapTreeItem
node.- Returns:
- Selected
MapTreeItem
node.
-
getRoot
MapTreeItem getRoot()Returns the rootMapTreeItem
node.- Returns:
- Root
MapTreeItem
node.
-
getTreeActionManager
ITreeActionManager getTreeActionManager()ITreeActionManager
of the tree.- Returns:
ITreeActionManager
.
-