Derive from this class to implement data associated with tree viewer nodes. New up objects of your derived type and give them to tree viewer nodes using TreeViewerNode::adoptInfo(TreeViewerNodeInfo *); When the node gets deleted, the node info will get deleted. More...
#include <treeviewer.h>
Public Member Functions | |
virtual bool | operator() (ViewerManager *vm, CursorWindow::viewport *vp, int command, FileName const &)=0 |
Interpret command keys sent to this node. Silently ignore unknown command keys. | |
virtual | ~TreeViewerNodeInfo ()=0 |
Derive from this class to implement data associated with tree viewer nodes. New up objects of your derived type and give them to tree viewer nodes using TreeViewerNode::adoptInfo(TreeViewerNodeInfo *); When the node gets deleted, the node info will get deleted.
Definition at line 45 of file treeviewer.h.
~TreeViewerNodeInfo | ( | ) | [pure virtual] |
Definition at line 1117 of file treeviewer.cxx.
virtual bool operator() | ( | ViewerManager * | vm, | |
CursorWindow::viewport * | vp, | |||
int | command, | |||
FileName const & | ||||
) | [pure virtual] |
Interpret command keys sent to this node. Silently ignore unknown command keys.
vm | The viewer manager (needed to create new windows) | |
vp | The window drawing viewport. | |
command | The value of a key event sent to this node. | |
rootDir | The root directory associated with the tree nodes. If not empty, it must end in either \ or / |
Implemented in SymbolViewerNodeInformation.