/// Gets the attributes that are being shown and the ones that have been blocked on a specific level
void GetAttributes(std::vector<std::string>& areShown, std::vector<std::string>& notShown, int level);
+
+ ///Sets the non visible attributes and refreshes the GUI
+ void SetNonVisibleAttributes(const std::vector<std::string>& notShown, int level);
+
+ ///Creates a new listctrl
+ void CreateCtrl(std::vector<std::string>& notShown, int nlevel);
+
+ ///Returns true if the attribute passed as a parameter is visible or not
+ bool IsAttributeVisible(const std::string& val, int level);
/// Actual processing of item selection/deselection
/// Called by OnItemSelected and OnItemDeSelected
wxListCtrl* wxCtrl;
wxSplitterWindow* wxSplitter;
std::vector<std::string> key;
- //The vector of not shown attributes
- std::vector<std::string> notShownAtts;
// The vector of currently selected nodes of the level
std::vector<tree::Node*> Selected;
// True iff the vector Selected is up to date
///Boolean that defines the direction of the sort
///True is ascending order and false is descending
bool SortAscending;
- //
+ //The vector of not shown attributes
+ std::vector<std::string> notShownAtts;
};
/// The vector of levels : one for each level of the tree
std::vector<LevelType> mLevelList;