Version: 0.6.0
gxdiscconnectionsui.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: wxGxDiscConnectionsUI class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2010-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 #include "wxgis/catalogui/catalogui.h"
23 #include "wxgis/catalogui/gxfolderui.h"
24 #include "wxgis/catalog/gxdiscconnections.h"
25 
30 class WXDLLIMPEXP_GIS_CLU wxGxDiscConnectionsUI :
31  public wxGxDiscConnections,
32  public IGxObjectUI,
33  public IGxObjectSort,
34  public wxGxAutoRenamer
35 {
36  DECLARE_DYNAMIC_CLASS(wxGxDiscConnectionsUI)
37 public:
39  virtual ~wxGxDiscConnectionsUI(void);
40  //IGxObjectUI
41  virtual wxIcon GetLargeImage(void);
42  virtual wxIcon GetSmallImage(void);
43  virtual wxString ContextMenu(void) const {return wxString(wxT("wxGxDiscConnections.ContextMenu"));};
44  virtual wxString NewMenu(void) const {return wxString(wxT("wxGxDiscConnections.NewMenu"));};
45  //IGxObjectSort
46  virtual bool IsAlwaysTop(void){return true;};
47  virtual bool IsSortEnabled(void){return false;};
48 protected:
49  //wxGxJSONConnectionStorage
50  virtual wxGxObject* CreateChildGxObject(const wxJSONValue& GxObjConfValue);
51 protected:
52  wxIcon m_Conns16, m_Conns48;
53  wxIcon m_Conn16, m_Conn48;
54  wxIcon m_ConnDsbld16, m_ConnDsbld48;
55 };
The JSON value class implementation.
Definition: jsonval.h:91
Definition: gxdiscconnections.h:37
Definition: catalogui.h:73
The Disc Connections GxRootObject.
Definition: gxdiscconnectionsui.h:30
Definition: catalogui.h:46
Definition: gxobject.h:37
Definition: gxview.h:65