23 #include "wxgis/catalogui/gxview.h"
24 #include "wxgis/catalog/gxdataset.h"
25 #include "wxgis/catalogui/gxcatalogui.h"
26 #include "wxgis/catalogui/gxeventui.h"
27 #include "wxgis/cartoui/drawingmap.h"
28 #include "wxgis/core/format.h"
29 #include "wxgis/framework/statusbar.h"
30 #include "wxgis/catalogui/gxapplication.h"
42 m_pStatusBar = pStatusBar;
52 virtual void PutMessage(
const wxString &sMessage,
size_t nIndex, wxGISEnumMessageType eType)
54 if(m_pStatusBar && !sMessage.IsEmpty())
75 wxGxMapView(wxWindow* parent, wxWindowID
id = MAPCTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
79 void OnMouseMove(wxMouseEvent& event);
80 void OnMouseDown(wxMouseEvent& event);
81 void OnMouseUp(wxMouseEvent& event);
82 void OnMouseDoubleClick(wxMouseEvent& event);
84 virtual bool Create(wxWindow* parent, wxWindowID
id = MAPCTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT(
"MapView"));
85 virtual bool Activate(
IApplication*
const pApplication, wxXmlNode*
const pConf);
86 virtual void Deactivate(
void);
89 virtual void OnShow(
bool bShow);
93 virtual void LoadData(
long nGxObjectId);
94 virtual void LoadLayer(
wxGxDataset*
const pGxDataset);
98 long m_ConnectionPointCatalogCookie, m_ConnectionPointSelectionCookie;
102 long m_nParentGxObjectID;
111 DECLARE_EVENT_TABLE()
The GxSelection class event.
Definition: gxeventui.h:37
Definition: gxmapview.h:36
Definition: drawingmap.h:34
A TrackCancel interface class.
Definition: core.h:144
Definition: gxdataset.h:80
void SetMessage(const wxString &text, int i=0)
Put message to the status bar.
Definition: statusbar.cpp:190
Definition: gxcatalogui.h:34
Definition: statusbar.h:58
The GxObject Selection class.
Definition: gxselection.h:30
IProgressor * GetAnimation(void) const
Get the animated progressor (rotating globe).
Definition: statusbar.h:92
Definition: gxdataset.h:36
The view for map showing.
Definition: gxmapview.h:68
Definition: gxapplication.h:41