17#ifndef __albaGUIVMEChooserTree_H__
18#define __albaGUIVMEChooserTree_H__
@ REPRESENTATION_AS_ACCEPTABLE_NODE_LIST
bool(* ValidateCallBackType)(albaVME *)
class Name : albaGUICheckTree.
Widget representing the tree that allow the user to choose a VME.
albaVME * m_ChoosedNode
Pointer to the selected node in single selection.
void VmeUpdateIcon(albaVME *vme)
std::vector< albaVME * > m_CheckedNode
Vector of checked node (used in multi-selection)
bool m_MultipleSelection
Flag that manage the single or multi selection of the nodes inside the tree.
std::vector< albaVME * > GetChoosedNode()
Return the choosed node.
albaGUIVMEChooserTree(wxWindow *parent, albaGUICheckTree *tree, ValidateCallBackType vme_accept_function=0, wxWindowID id=-1, bool CloseButton=false, bool HideTitle=false, long style=REPRESENTATION_AS_TREE, bool multiSelect=false, albaVME *subTree=NULL)
void ShowContextualMenu(wxMouseEvent &event)
Called by the Custom-Tree-Event-Handler.
virtual void OnSelectionChanged(wxTreeEvent &event)
respond to Selection Changed
int GetVmeStatus(albaVME *node)
Return the status of the node according to the vme visibility.
ValidateCallBackType m_ValidateFunction
void CloneSubTree(albaGUICheckTree *tree, wxTreeItemId *source_item, wxTreeItemId *dest_parent_item)
clone in tree a subtree of source_item
virtual void OnIconClick(wxTreeItemId item)
Called by the Custom-Tree-Event-Handler - via OnMouseDown.
void InitializeImageList()
Fill the image list considering the visibility vme type, and vme availability.
virtual ~albaGUIVMEChooserTree()