26#ifndef _PROJECTMANAGER_H
27#define _PROJECTMANAGER_H
39#include <wx/busyinfo.h>
41#include "../gis/tmattributionmanager.h"
42#include "../gis/tmeditmanager.h"
43#include "../gui/menumanager.h"
44#include "../gui/objectattribution_dlg.h"
45#include "../gui/project_def_dlg.h"
46#include "../gui/projectdefnew_dlg.h"
47#include "../gui/projectproperties_dlg.h"
48#include "../gui/queries_panel.h"
49#include "../gui/shortcut_panel.h"
50#include "../gui/snapping_panel.h"
51#include "../gui/tmtoolmanager.h"
75 wxStatusBar* m_ParentStatus;
88 bool IsDataBasePath(
const wxString& path);
90 bool PMAddDefaultQueries();
92 bool _copy_directory(wxString from, wxString to);
94 bool CleanDirectory(
const wxString& path);
96 bool CheckDirectoryContent(
const wxString& path)
const;
110 bool EditProjectObjectDefinition();
112 bool EditObjectFrequency(
int id);
114 bool EditProjectSettings();
118 bool BackupProject(
const wxString& backup_comment = wxEmptyString);
120 bool MergeProjects(
const wxString& slave_project_name,
bool beVerbose =
true);
138 void SetStatusBar(wxStatusBar* status) {
139 m_ParentStatus = status;
143 m_AttribManager = pAManager;
147 m_QueriesPanel = queriespanel;
151 m_ShortcutPanel = panel;
155 m_SnappingPanel = panel;
159 m_EditManager = editmanager;
171 m_StatManager = statmanager;
175 m_LayerManager = layermanager;
178 bool IsProjectOpen() {
179 return bProjectIsOpen;
Definition attribution_obj_type.h:71
Definition database_tm.h:80
Deals with objects in the attribution panels.
Definition projectmanager.h:193
bool UpdateObjectLists(DataBaseTM *pDB)
Update the point, the poly and the line list.
Definition projectmanager.cpp:859
Definition prjdefmemmanage.h:54
Project operations (new, open,...)
Definition projectmanager.h:68
bool LoadProjectDefintion(short int message=0)
Load project defintion from database to memory.
Definition projectmanager.cpp:790
PrjDefMemManage * GetMemoryProjectDefinition()
Get the project definition.
Definition projectmanager.cpp:838
bool CreateNewProject()
Create a new Toolmap project.
Definition projectmanager.cpp:70
bool EditProject(int notebooknumber)
Edit the project (layers,...)
Definition projectmanager.cpp:313
int OpenProject(const wxString &path)
Open ToolMap project.
Definition projectmanager.cpp:535
wxString GetProjectName()
Get the actual project name.
Definition projectmanager.cpp:765
~ProjectManager()
Destructor.
Definition projectmanager.cpp:57
void CloseProject()
Close the active database.
Definition projectmanager.cpp:488
Display the Queries Panel.
Definition queries_panel.h:103
Definition shortcut_panel.h:87
The panel used for setting the snapping.
Definition snapping_panel.h:75
Central point for object attribution.
Definition tmattributionmanager.h:57
Deals with editing data.
Definition tmeditmanager.h:87
GIS class for dealing with layers.
Definition tmlayermanager.h:57
Statistics manager, link event to data and database records.
Definition tmstats.h:60