Version: 0.6.0
geoprocessingcmd.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Toolbox)
3  * Purpose: Geoprocessing Main Commands class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009-2011,2013 Dmitry Baryshnikov
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 
22 #pragma once
23 
24 #include "wxgis/framework/command.h"
25 #include "wxgis/catalogui/gxapplication.h"
26 
27 //#include "wxgis/datasource/featuredataset.h"
28 
29 enum wxGISGeoprocessingCmdType{
30  enumGISGeoprocessingCmdShowHideToolboxPane = 0,
31  enumGISGeoprocessingCmdExport,
32  enumGISGeoprocessingCmdExportWithParameters,
33  enumGISGeoprocessingCmdExportAttrbutes,
34  enumGISGeoprocessingCmdMax
35 };
36 
44 class WXDLLIMPEXP_GIS_GPU wxGISGeoprocessingCmd :
45  public wxGISCommand
46 {
47  DECLARE_DYNAMIC_CLASS(wxGISGeoprocessingCmd)
48 public:
50  virtual ~wxGISGeoprocessingCmd(void);
51  //wxGISCommand
52  virtual wxIcon GetBitmap(void);
53  virtual wxString GetCaption(void);
54  virtual wxString GetCategory(void);
55  virtual bool GetChecked(void);
56  virtual bool GetEnabled(void);
57  virtual wxString GetMessage(void);
58  virtual wxGISEnumCommandKind GetKind(void);
59  virtual void OnClick(void);
60  virtual bool OnCreate(wxGISApplicationBase* pApp);
61  virtual wxString GetTooltip(void);
62  virtual unsigned char GetCount(void);
63 protected:
64  wxGISApplicationBase* m_pApp;
65  wxGxApplicationBase* m_pGxApp;
66  wxWindow* m_pToolboxView;
67  wxIcon m_IconGPMenu, m_IconToolView;
68 };
Definition: geoprocessingcmd.h:44
An Interface class for GxApplication.
Definition: gxselection.h:80
Definition: applicationbase.h:65
Definition: command.h:53