#define WXCDMPACKAGEMANAGERPANEL_H_
#include <creaWx.h>
-#include <wx/panel.h>
#include <wx/hyperlink.h>
#include <wx/event.h>
/**
* Package manager description panel. Shows the available packages in the project and the actions corresponding to package management.
*/
-class wxCDMPackageManagerPanel : public wxPanel
+class wxCDMPackageManagerPanel : public wxScrolledWindow
{
DECLARE_EVENT_TABLE()
public:
private:
/**
- * Project described
+ * Project described.
*/
modelCDMProject* project;
protected:
/**
* Handles when a return link is pressed.
+ * @param event Has the link reference to know where to return
*/
void OnBtnReturn(wxHyperlinkEvent& event);
+ /**
+ * Handles when a package checkbox is (un)checked.
+ * @param event Has the link reference to know which package was selected.
+ */
+ void OnChBPackageChange(wxCommandEvent& event);
/**
* Handles when a packages link is pressed.
+ * @param event Has the link reference to know which package was selected.
*/
void OnLnkPackageSelect(wxHyperlinkEvent& event);
/**
/**
* Handles when a package link is hovered.
+ * @param event Has the link reference to know which package was selected.
*/
void OnMouseEnter(wxMouseEvent& event);
/**
* Handles when a package link button finishes hover.
+ * @param event Has the link reference to know which package was selected.
*/
void OnMouseExit(wxMouseEvent& event);
/**