#include <creaImageIOTreeView.h>
Public Member Functions | |
TreeView (TreeHandler *, GimmickView *) | |
Ctor. | |
virtual | ~TreeView () |
Virtual destructor. | |
virtual void | UpdateLevel (int) |
Updates the view of a level given the selected items of upper level. | |
virtual void | RemoveSelected () |
Removes selected nodes. | |
virtual void | ValidateSelectedImages () |
Validates the selected images. | |
virtual unsigned int | GetLastSelectedLevel () |
Returns the last selected level. | |
virtual int | GetNumberOfLevels () |
Returns the maximum number of levels. | |
virtual void | GetSelectedAsString (std::vector< std::string > &s) |
Gets the current selections filenames. | |
virtual const std::vector < tree::Node * > & | GetSelected (int level) |
Gets the user selected data from the level passed as a parameter. | |
virtual void | GetNodes (std::vector< tree::Node * > &nodes, bool direction) |
Gets the next nodes on the list, be it up(true) or down(false). | |
virtual void | GetAttributes (std::vector< std::string > &areShown, std::vector< std::string > ¬Shown, int level) |
Gets the attributes that are being shown and the ones that have been blocked on a specific level. | |
virtual void | SetNonVisibleAttributes (const std::vector< std::string > ¬Shown, int level) |
Sets the non visible attributes and refreshes the GUI. | |
virtual void | CreateCtrl (std::vector< std::string > ¬Shown, int nlevel) |
Creates a new listctrl. | |
Protected Member Functions | |
TreeHandler * | GetTreeHandler () |
GimmickView * | GetGimmickView () |
Private Attributes | |
TreeHandler * | mTreeHandler |
The TreeHandler with which it corresponds. | |
GimmickView * | mGimmickView |
The GimmickView which holds the TreeView. |
Definition at line 22 of file creaImageIOTreeView.h.
creaImageIO::TreeView::TreeView | ( | TreeHandler * | , | |
GimmickView * | ||||
) |
Ctor.
virtual creaImageIO::TreeView::~TreeView | ( | ) | [virtual] |
Virtual destructor.
virtual void creaImageIO::TreeView::UpdateLevel | ( | int | ) | [inline, virtual] |
Updates the view of a level given the selected items of upper level.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 32 of file creaImageIOTreeView.h.
References GimmickError.
00033 { GimmickError("INTERNAL ERROR : TreeView::UpdateLevel not overloaded");}
virtual void creaImageIO::TreeView::RemoveSelected | ( | ) | [inline, virtual] |
Removes selected nodes.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 36 of file creaImageIOTreeView.h.
References GimmickError.
00037 { GimmickError("INTERNAL ERROR : TreeView::RemoveSelected not overloaded");}
virtual void creaImageIO::TreeView::ValidateSelectedImages | ( | ) | [inline, virtual] |
Validates the selected images.
Definition at line 40 of file creaImageIOTreeView.h.
References GimmickError.
00041 { GimmickError("INTERNAL ERROR : TreeView::ValidateSelected not overloaded");}
virtual unsigned int creaImageIO::TreeView::GetLastSelectedLevel | ( | ) | [inline, virtual] |
Returns the last selected level.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 44 of file creaImageIOTreeView.h.
References GimmickError.
00044 {GimmickError("INTERNAL ERROR : TreeView::GetLastSelectedLevel not overloaded");}
virtual int creaImageIO::TreeView::GetNumberOfLevels | ( | ) | [inline, virtual] |
Returns the maximum number of levels.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 47 of file creaImageIOTreeView.h.
References GimmickError.
00047 { GimmickError("INTERNAL ERROR : TreeView::GetLevels not overloaded"); }
virtual void creaImageIO::TreeView::GetSelectedAsString | ( | std::vector< std::string > & | s | ) | [inline, virtual] |
Gets the current selections filenames.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 49 of file creaImageIOTreeView.h.
References GimmickError.
00049 { GimmickError("INTERNAL ERROR : TreeView::GetSelectedAsString not overloaded"); }
virtual const std::vector<tree::Node*>& creaImageIO::TreeView::GetSelected | ( | int | level | ) | [inline, virtual] |
Gets the user selected data from the level passed as a parameter.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 52 of file creaImageIOTreeView.h.
References GimmickError.
00052 { GimmickError("INTERNAL ERROR : TreeView::GetSelected not overloaded"); }
virtual void creaImageIO::TreeView::GetNodes | ( | std::vector< tree::Node * > & | nodes, | |
bool | direction | |||
) | [inline, virtual] |
Gets the next nodes on the list, be it up(true) or down(false).
Reimplemented in creaImageIO::WxTreeView.
Definition at line 55 of file creaImageIOTreeView.h.
References GimmickError.
00055 { GimmickError("INTERNAL ERROR : TreeView::GetNodes not overloaded"); }
virtual void creaImageIO::TreeView::GetAttributes | ( | std::vector< std::string > & | areShown, | |
std::vector< std::string > & | notShown, | |||
int | level | |||
) | [inline, virtual] |
Gets the attributes that are being shown and the ones that have been blocked on a specific level.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 58 of file creaImageIOTreeView.h.
References GimmickError.
00058 { GimmickError("INTERNAL ERROR : TreeView::GetAttributes not overloaded"); }
virtual void creaImageIO::TreeView::SetNonVisibleAttributes | ( | const std::vector< std::string > & | notShown, | |
int | level | |||
) | [inline, virtual] |
Sets the non visible attributes and refreshes the GUI.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 61 of file creaImageIOTreeView.h.
References GimmickError.
00061 { GimmickError("INTERNAL ERROR : TreeView::SetNonVisibleAttributes not overloaded"); }
virtual void creaImageIO::TreeView::CreateCtrl | ( | std::vector< std::string > & | notShown, | |
int | nlevel | |||
) | [inline, virtual] |
Creates a new listctrl.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 64 of file creaImageIOTreeView.h.
References GimmickError.
00064 { GimmickError("INTERNAL ERROR : TreeView::CreateCtrl not overloaded"); }
TreeHandler* creaImageIO::TreeView::GetTreeHandler | ( | ) | [inline, protected] |
Definition at line 67 of file creaImageIOTreeView.h.
References mTreeHandler.
00067 { return mTreeHandler; }
GimmickView* creaImageIO::TreeView::GetGimmickView | ( | ) | [inline, protected] |
Definition at line 68 of file creaImageIOTreeView.h.
References mGimmickView.
00068 { return mGimmickView; }
TreeHandler* creaImageIO::TreeView::mTreeHandler [private] |
The TreeHandler with which it corresponds.
Definition at line 72 of file creaImageIOTreeView.h.
Referenced by GetTreeHandler().
GimmickView* creaImageIO::TreeView::mGimmickView [private] |
The GimmickView which holds the TreeView.
Definition at line 74 of file creaImageIOTreeView.h.
Referenced by GetGimmickView().