Version: 0.6.0
gptoolboxview.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Toolbox)
3  * Purpose: wxAxToolboxView 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 #pragma once
22 
23 #include "wxgis/geoprocessingui/geoprocessingui.h"
24 #include "wxgis/catalogui/gxview.h"
25 #include "wxgis/catalogui/gxtreeview.h"
26 //#include "wxgis/geoprocessingui/gxtoolexecview.h"
27 
28 
29 #include "wx/aui/aui.h"
30 
38 class WXDLLIMPEXP_GIS_GPU wxGxToolboxTreeView :
39  public wxGxTreeView
40 {
41  DECLARE_DYNAMIC_CLASS(wxGxToolboxTreeView)
42 public:
43  wxGxToolboxTreeView(void);
44  wxGxToolboxTreeView(wxWindow* parent, wxWindowID id = TREECTRLID, long style = wxTR_HAS_BUTTONS | wxTR_TWIST_BUTTONS | wxBORDER_NONE | wxTR_EDIT_LABELS);
45  virtual ~wxGxToolboxTreeView(void);
46  //wxGxTreeView
47  virtual bool Activate(IApplication* const pApplication, wxXmlNode* const pConf);
48  virtual void UpdateGxSelection(void);
49 };
50 
57 class WXDLLIMPEXP_GIS_GPU wxAxToolboxView :
58  public wxAuiNotebook,
59  public wxGxView
60 {
61  DECLARE_DYNAMIC_CLASS(wxAxToolboxView)
62 public:
63  wxAxToolboxView(void);
64  wxAxToolboxView(wxWindow* parent, wxWindowID id = TOOLVIEWCTRLID, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize);
65  virtual ~wxAxToolboxView(void);
66 //wxGxView
67  virtual bool Create(wxWindow* parent, wxWindowID id = TOOLVIEWCTRLID, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_BOTTOM | wxNO_BORDER | wxAUI_NB_TAB_MOVE, const wxString& name = wxT("ToolboxView"));
68  virtual bool Activate(IApplication* const pApplication, wxXmlNode* const pConf);
69  virtual void Deactivate(void);
70 protected:
71  wxGISApplicationBase* m_pApp;
72  wxGxToolboxTreeView* m_pGxToolboxView;
73  //wxGxToolExecuteView *m_pGxToolExecuteView; //TODO: new/old view compatible for tray exec list view. panels with progress and buttons pause/start + priority with drag'n'drop
74 };
Definition: gptoolboxview.h:57
Definition: applicationbase.h:65
Definition: gxview.h:35
The tree view in Catalog.
Definition: gxtreeview.h:121
Definition: gptoolboxview.h:38
Definition: app.h:32