creaImageIO_lib
|
Abstract class that handles the view of a Tree through its TreeHandler. More...
#include <creaImageIOTreeView.h>
Public Member Functions | |
TreeView (TreeHandler *, GimmickView *) | |
Ctor. More... | |
virtual | ~TreeView () |
Virtual destructor. More... | |
virtual void | UpdateLevel (int) |
Updates the view of a level given the selected items of upper level. More... | |
virtual void | RemoveSelected (std::string &i_save) |
Removes selected nodes. More... | |
virtual void | ValidateSelectedImages () |
Validates the selected images. More... | |
virtual unsigned int | GetLastSelectedLevel () |
Returns the last selected level. More... | |
virtual int | GetNumberOfLevels () |
Returns the maximum number of levels. More... | |
virtual void | GetSelectedAsString (std::vector< std::string > &s) |
Gets the current selections filenames. More... | |
virtual const std::vector < tree::Node * > & | GetSelected (int level) |
Gets the user selected data from the level passed as a parameter. More... | |
virtual void | GetNodes (std::vector< tree::Node * > &nodes, bool direction) |
Gets the next nodes on the list, be it up(true) or down(false). More... | |
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. More... | |
virtual void | SetNonVisibleAttributes (const std::vector< std::string > ¬Shown, int level) |
Sets the non visible attributes and refreshes the GUI. More... | |
virtual void | CreateCtrl (std::vector< std::string > ¬Shown, int nlevel) |
Creates a new listctrl. More... | |
Protected Member Functions | |
TreeHandler * | GetTreeHandler () |
GimmickView * | GetGimmickView () |
Private Attributes | |
TreeHandler * | mTreeHandler |
The TreeHandler with which it corresponds. More... | |
GimmickView * | mGimmickView |
The GimmickView which holds the TreeView. More... | |
Abstract class that handles the view of a Tree through its TreeHandler.
Definition at line 50 of file creaImageIOTreeView.h.
creaImageIO::TreeView::TreeView | ( | TreeHandler * | handler, |
GimmickView * | gimmick | ||
) |
|
virtual |
Virtual destructor.
Destructor.
Definition at line 47 of file creaImageIOTreeView.cpp.
References GimmickDebugMessage.
|
inlinevirtual |
Creates a new listctrl.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 92 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
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 86 of file creaImageIOTreeView.h.
References GimmickError.
|
inlineprotected |
Definition at line 96 of file creaImageIOTreeView.h.
References mGimmickView.
Referenced by creaImageIO::WxTreeView::OnAnonymizer(), creaImageIO::WxTreeView::OnDumpTags(), creaImageIO::WxTreeView::OnEditField(), creaImageIO::WxTreeView::OnExportToStorage(), creaImageIO::WxTreeView::OnItemSelected(), creaImageIO::WxTreeView::OnKeyDown(), creaImageIO::WxTreeView::OnLocalCopy(), creaImageIO::WxTreeView::OnPopupFilter(), creaImageIO::WxTreeView::RemoveSelected(), and creaImageIO::WxTreeView::ValidateSelectedImages().
|
inlinevirtual |
Returns the last selected level.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 72 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Gets the next nodes on the list, be it up(true) or down(false).
Reimplemented in creaImageIO::WxTreeView.
Definition at line 83 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Returns the maximum number of levels.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 75 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Gets the user selected data from the level passed as a parameter.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 80 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Gets the current selections filenames.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 77 of file creaImageIOTreeView.h.
References GimmickError.
|
inlineprotected |
Definition at line 95 of file creaImageIOTreeView.h.
References mTreeHandler.
Referenced by creaImageIO::WxTreeView::CreateCtrl(), creaImageIO::WxTreeView::GetAttributes(), creaImageIO::WxTreeView::GetFilenamesAsString(), creaImageIO::WxTreeView::GetSelected(), creaImageIO::WxTreeView::OnDumpTags(), creaImageIO::WxTreeView::OnEditField(), creaImageIO::WxTreeView::OnItemDeSelected(), creaImageIO::WxTreeView::OnItemSelected(), creaImageIO::WxTreeView::OnLocalCopy(), creaImageIO::WxTreeView::RecursiveUpdateLevel(), creaImageIO::WxTreeView::RemoveSelected(), and creaImageIO::WxTreeView::UpdateLevel().
|
inlinevirtual |
Removes selected nodes.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 64 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Sets the non visible attributes and refreshes the GUI.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 89 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Updates the view of a level given the selected items of upper level.
Reimplemented in creaImageIO::WxTreeView.
Definition at line 60 of file creaImageIOTreeView.h.
References GimmickError.
|
inlinevirtual |
Validates the selected images.
Definition at line 68 of file creaImageIOTreeView.h.
References GimmickError.
Referenced by creaImageIO::WxTreeView::OnItemSelected().
|
private |
The GimmickView which holds the TreeView.
Definition at line 102 of file creaImageIOTreeView.h.
Referenced by GetGimmickView().
|
private |
The TreeHandler with which it corresponds.
Definition at line 100 of file creaImageIOTreeView.h.
Referenced by GetTreeHandler().