|
ToolMap
|
Central point for object attribution. More...
#include <tmattributionmanager.h>
Public Member Functions | |
| tmAttributionManager (wxWindow *parent, TocCtrl *toc, AttribObjType_PANEL *panel, tmSelectedDataMemory *selection) | |
| Constructor. | |
| ~tmAttributionManager () | |
| Destructor. | |
| bool | InitAttributionManager (DataBaseTM *pDb, PrjDefMemManage *memprojdef) |
| Init attribution manager. | |
| void | UnInitAttributionManager () |
| Uninit attribution manager. | |
| int | GetSelectionCount () |
| bool | AAttributionButtonShow () |
| Advanced Attribution button is pressed. | |
| void | AAttributionBatchShow () |
| void | DisplayInformationsWnd () |
| Show the information dialog if not visible. | |
Static Public Member Functions | |
| static tmAttributionData * | CreateAttributionData (int type) |
| Create an object of tmAttributionData type. | |
Central point for object attribution.
This class deals with the attribution process and should know following object :
| tmAttributionManager::tmAttributionManager | ( | wxWindow * | parent, |
| TocCtrl * | toc, | ||
| AttribObjType_PANEL * | panel, | ||
| tmSelectedDataMemory * | selection ) |
Constructor.
| parent | Adress of the parent, used for event processing |
| toc | Adress of a #tmTOCCtrl |
| panel | Adress of a AttribObjType_PANEL object |
| selection | Adress of a tmSelectedDataMemory object |
| tmAttributionManager::~tmAttributionManager | ( | ) |
Destructor.
Doesn't do anything actually
| bool tmAttributionManager::AAttributionButtonShow | ( | ) |
Advanced Attribution button is pressed.
|
static |
Create an object of tmAttributionData type.
This function may be used for getting a valid pointer on one of the tmAttributionData derived class.
| type | one of the following :
|
| void tmAttributionManager::DisplayInformationsWnd | ( | ) |
Show the information dialog if not visible.
If the informations windows was allready visible then we don't do anything
| bool tmAttributionManager::InitAttributionManager | ( | DataBaseTM * | pDb, |
| PrjDefMemManage * | memprojdef ) |
Init attribution manager.
This function should be the first called for beeing able to use the attibution manager
| void tmAttributionManager::UnInitAttributionManager | ( | ) |
Uninit attribution manager.
Mark the attribution manager as not valid.