X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOTreeView.h;h=bf1298a6b10279cb734c1fb5a48e76f8b01673eb;hb=a00e6172593c713640aaa9bf1e61db6200231a0f;hp=df92b146927f90216d97669bbd011566fc4ce057;hpb=7ae1412df3d682f639683e751f46a3f07be16d0b;p=creaImageIO.git diff --git a/src2/creaImageIOTreeView.h b/src2/creaImageIOTreeView.h index df92b14..bf1298a 100644 --- a/src2/creaImageIOTreeView.h +++ b/src2/creaImageIOTreeView.h @@ -33,7 +33,7 @@ namespace creaImageIO { GimmickError("INTERNAL ERROR : TreeView::UpdateLevel not overloaded");} ///Removes selected nodes - virtual void RemoveSelected( ) + virtual void RemoveSelected(std::string &i_save ) { GimmickError("INTERNAL ERROR : TreeView::RemoveSelected not overloaded");} ///Validates the selected images @@ -54,6 +54,15 @@ namespace creaImageIO /// Gets the next nodes on the list, be it up(true) or down(false). virtual void GetNodes(std::vector& nodes, bool direction){ GimmickError("INTERNAL ERROR : TreeView::GetNodes not overloaded"); } + /// Gets the attributes that are being shown and the ones that have been blocked on a specific level + virtual void GetAttributes(std::vector& areShown, std::vector& notShown, int level){ GimmickError("INTERNAL ERROR : TreeView::GetAttributes not overloaded"); } + + ///Sets the non visible attributes and refreshes the GUI + virtual void SetNonVisibleAttributes(const std::vector& notShown, int level){ GimmickError("INTERNAL ERROR : TreeView::SetNonVisibleAttributes not overloaded"); } + + ///Creates a new listctrl + virtual void CreateCtrl(std::vector& notShown, int nlevel){ GimmickError("INTERNAL ERROR : TreeView::CreateCtrl not overloaded"); } + protected: TreeHandler* GetTreeHandler() { return mTreeHandler; } GimmickView* GetGimmickView() { return mGimmickView; }