TreeViewerNodeInfo Struct Reference

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>

Inheritance diagram for TreeViewerNodeInfo:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

~TreeViewerNodeInfo (  )  [pure virtual]

Definition at line 1117 of file treeviewer.cxx.


Member Function Documentation

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.

Parameters:
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 /
Returns:
true only to indicate the window should close

Implemented in SymbolViewerNodeInformation.


The documentation for this struct was generated from the following files:
Generated on Wed Feb 29 22:57:42 2012 for CXXUtilities by  doxygen 1.6.3