+
+ void
+ PanelButtonContainer::UpdateListPanel( const std::string &buttonName )
+ {
+ try{
+
+ std::cout<< "MLER | creaPanelButtonContainer:: UpdateListPanel() " << std::endl;
+ std::cout<< buttonName << " --- test 2 "<<std::endl;
+
+ this->m_ListPanel->Show( false );
+
+ this->m_ListPanel = this->m_ButtonContainerSettings->GetPanelList(buttonName );
+
+ if ( this->m_ListPanel->GetParent( ) != this )
+ {
+ this->m_ListPanel->Reparent( this );
+ }//fi
+ //Panel Management
+ this->m_AuiManager->GetPane( _T("ListPanel") ).window = this->m_ListPanel;
+ //Updating the manager
+ this->m_AuiManager->Update( );
+
+ }catch( const std::exception& e )
+ {
+ std::cerr
+ << "PanelButtonContainer::UpdatePanel( const std::string &buttonName )"
+ << "exception: " << e.what( ) << std::endl;
+ std::cout << "Maybe the panel of the list is NULL" << std::endl;
+ exit( 1 );
+ }//hctac
+ }
+
+ void
+ PanelButtonContainer::GenericListEvent( const std::string &buttonName )
+ {
+ std::cout<< "MLER | creaPanelButtonContainer:: GenericListEvent() " << std::endl;
+ std::cout<< buttonName << " --- test 3 "<<std::endl;
+ this->UpdateListPanel( buttonName );
+ }
+
+