if(bbGetInputType()== "1")
{
- settings->AddItems(bbGetInputIn());
-
+//EED-MLER settings->AddItems( bbGetInputIn() );
}
else {
- settings->AddButtons(bbGetInputIn( ));
+ settings->AddButtons( bbGetInputIn() );
}
void
PanelButtonContainer::bbUserSetDefaultValues( )
{
-
+ bbSetInputType("0");
}
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
}
// ----------------------------------------------------------------------------------
+//EED-MLER
+/*
ListGroupMap
ContainerSettings::GetListGroupContainer( )
{
this->m_ListGroupContainer = lstContainer;
}
+*/
// ----------------------------------------------------------------------------------
}//hctac
}
+//EED-MLER
+/*
void
ContainerSettings::AddItems(BCStructVectorType infoList)
{
<< "exception: " << e.what( ) << std::endl;
}//hctac
}
+
+
//-----------------------------------------------------------------------------------
void
ContainerSettings::AddItem(const StringType & groupName)
}
-
+*/
// ----------------------------------------------------------------------------------
}//ecapseman
#include <vector>
#include <wx/bitmap.h>
-#include <wx/listctrl.h>
+//EED-MLER #include <wx/listctrl.h>
#include "structBCSettings.h"
#include "system.h"
*/
void
SetButtonGroupContainer( ButtonGroupMap bgContainer );
+
+
// ----------------------------------------------------------------------------------
/*! void ContainerSettings::SetGroupNameList( KeyMapList gNameList )
* @brief This method sets a container with the name of the groups.
void
SetGroupNameList( KeyMapList gNameList );
+//EED-MLER
+/*
+
ListGroupMap
GetListGroupContainer( );
void
SetListGroupContainer( ListGroupMap lstContainer );
-
+*/
// ----------------------------------------------------------------------------------
/*!
void
AddButtons( BCStructVectorType infoList );
+//EED-MLER
+/*
// ----------------------------------------------------------------------------------
void
AddItem(const StringType & groupName);
void
AddItems( BCStructVectorType infoList );
-
+*/
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
private:
ButtonGroupMap m_ButtonGroupContainer; //! <The container with the group of buttons.
KeyMapList m_GroupNameList; //! <The container with the name of the groups of buttons.
- ListGroupMap m_ListGroupContainer; // contenedor del grupo de listas
+//EED-MLER ListGroupMap m_ListGroupContainer; // contenedor del grupo de listas
};
}
}
* @date 2011-06-02
*/
+//EED-MLER
+/*
+
#include "listGroupFactory.h"
namespace creaButtonContainer
try
{
- /*List list = new List(parent,items);
- cList.push_back(list);
- //return ( buttonList ); // JPR*/
+ //List list = new List(parent,items);
+ //cList.push_back(list);
+ //return ( buttonList ); // JPR
+
+
}//yrt
catch ( const std::exception& e )
{
// ----------------------------------------------------------------------------------
}//ecapseman
}//ecapseman
+
+
+*/
#define LISTGROUPFACTORY_H
#include <wx/window.h>
-#include <wx/listctrl.h>
+#include <wx/listctrl.h>
#include "listWx.h"
+
#include "system.h"
#include "listGroup.h"
#include "containerSettings.h"
#include <exception>
#include <string>
#include "functor.h"
-#include <listWx.h>
-#include <wx/listctrl.h>
+//EED-MLER #include <listWx.h>
+//EED-MLER #include <wx/listctrl.h>
/*! @namespace <creaButtonContainer>
}*/
namespace creaButtonContainer
{
- using namespace view;
+//EED-MLER using namespace view;
// ----------------------------------------------------------------------------------
/*! @typedef std::string* StringType;
* @brief Defines the StringType type.
//typedef std::map< StringType, ItemsList > ListGroupMap; // ex: grupo A,items lista A (la lista de ese grupo)
- typedef std::list< ListWx > ListLst;
- typedef std::map< StringType, ListLst > ListGroupMap; // ex: grupo A,lista A,lista B
+//EED-MLER typedef std::list< ListWx > ListLst;
+//EED-MLER typedef std::map< StringType, ListLst > ListGroupMap; // ex: grupo A,lista A,lista B
// ----------------------------------------------------------------------------------
#include "buttonGroupFactory.h"
#include "containerSettings.h"
#include "buttonContainerController.h"
-#include "listGroup.h"
-#include "listGroupFactory.h"
+//EED-MLER #include "listGroup.h"
+//EED-MLER #include "listGroupFactory.h"
/*! @namespace <creaButtonContainer>
* @brief Contains the creaButtonContainer library included in creaMaracasVisu.
typedef creaButtonContainer::controller::ButtonContainerController
BCController;
- typedef creaButtonContainer::view::ListGroup ListGroup;
+//EED-MLER typedef creaButtonContainer::view::ListGroup ListGroup;
- typedef std::list< ListGroup* > ListGroupList;
+//EED-MLER typedef std::list< ListGroup* > ListGroupList;
- typedef creaButtonContainer::model::ListGroupFactory ListGroupFactory;
+//EED-MLER typedef creaButtonContainer::model::ListGroupFactory ListGroupFactory;
// ----------------------------------------------------------------------------------
//end of typedef definition
public:
friend class creaButtonContainer::controller::ButtonContainerController;
private:
- GroupManagerList m_GroupManagerList; //!<The container of managers.
- ButtonGroupList m_ButtonGroupList; //!<The list of button groups.
- BCController* m_ButtonCController; //!<Pontier to controller.
- Sizer* m_Sizer; //!<Pointer to wxSizer
+ GroupManagerList m_GroupManagerList; //!<The container of managers.
+ ButtonGroupList m_ButtonGroupList; //!<The list of button groups.
+ BCController* m_ButtonCController; //!<Pontier to controller.
+ Sizer* m_Sizer; //!<Pointer to wxSizer
- ListGroupList m_ListGroupList;
+//EED-MLER ListGroupList m_ListGroupList;
DECLARE_EVENT_TABLE() //!<Event Table declaration.
};
}//ecapseman
* @date 2011-06-02
*/
+
+//EED-MLER
+/*
#include "listGroup.h"
namespace creaButtonContainer
// ----------------------------------------------------------------------------------
}//ecapseman
}//ecapseman
+
+*/
# knowledge of the CeCILL-B license and that you accept its terms.
# ------------------------------------------------------------------------ */
+
+
+//EED-MLER
+/*
#include "listWx.h"
namespace creaButtonContainer
}
}
+
+
+
+*/
}//hctac
}
+
+//EED-MLER
+/*
void
ButtonContainerSettings::AddItem(BCPSettingsStruct* info)
{
<< "exception: " << e.what( ) << std::endl;
}//hctac
}
-
+*/
// ----------------------------------------------------------------------------------
}//ecapseman
#include <wx/panel.h>
#include <wx/bitmap.h>
-#include <wx/listctrl.h>
+//EED-MLER #include <wx/listctrl.h>
#include <list>
#include <map>
* @brief This class contains the settings of the button container.
*/
- typedef wxListItem Item;
- typedef std::list < tList* > ItemsList;
- typedef std::map< StringType, ListLst > ListGroupMap;
+//EED-MLER typedef wxListItem Item;
+//EED-MLER typedef std::list < tList* > ItemsList;
+//EED-MLER typedef std::map< StringType, ListLst > ListGroupMap;
public:
void
AddButtons( BCStructVectorType infoList );
+//EED-MLER
+/*
void
AddItem (BCPSettingsStruct* info);
void
AddItems( BCStructVectorType infoList );
+*/
// ----------------------------------------------------------------------------------
private:
ButtonGroupMap m_ButtonGroupContainer; //!<This is the map with the groups of buttons.
KeyMapList m_GroupNameList; //!<This is a container with the name of the groups.
- ListGroupMap m_ListGroupContainer;
+//EED-MLER ListGroupMap m_ListGroupContainer;
};
}//ecapseman
#endif /* BUTTONCONTAINERSETTINGS_H_ */
#include <string>
#include <wx/panel.h>
#include <wx/bitmap.h>
-#include "tlist.h"
+//EED-MLER #include "tlist.h"
/*! @namespace <creaPanelButtonContainer>
* @brief Contains the creaPanelButtonContainer library included in creaMaracasVisu.