23 #include "wxgis/catalogui/catalogui.h"
24 #include "wxgis/catalog/gxngwconn.h"
25 #include "wxgis/catalogui/gxview.h"
37 class WXDLLIMPEXP_GIS_CLU wxGxNGWServiceUI :
38 public wxGxNGWService,
43 DECLARE_CLASS(wxGxNGWServiceUI)
45 wxGxNGWServiceUI(
wxGxObject *oParent, const wxString &soName = wxEmptyString, const CPLString &soPath = "", const wxIcon &icLargeIcon = wxNullIcon, const wxIcon &icSmallIcon = wxNullIcon, const wxIcon &icLargeIconDsbl = wxNullIcon, const wxIcon &icSmallIconDsbl = wxNullIcon);
46 virtual ~wxGxNGWServiceUI(
void);
48 virtual wxIcon GetLargeImage(
void);
49 virtual wxIcon GetSmallImage(
void);
50 virtual wxString ContextMenu(
void)
const {
return wxString(wxT(
"wxGxNGWService.ContextMenu"));};
51 virtual wxString NewMenu(
void)
const {
return wxString(wxT(
"wxGxNGWService.NewtMenu")); };
53 virtual void EditProperties(wxWindow *parent);
55 virtual bool Invoke(wxWindow* pParentWnd);
57 virtual void LoadChildren(
void);
59 wxIcon m_icLargeIcon, m_icSmallIcon;
60 wxIcon m_icLargeIconDsbl, m_icSmallIconDsbl;
70 class WXDLLIMPEXP_GIS_CLU wxGxNGWResourceGroupUI :
71 public wxGxNGWResourceGroup,
77 DECLARE_CLASS(wxGxNGWResourceGroupUI)
79 wxGxNGWResourceGroupUI(wxGxNGWService *pService, const
wxJSONValue &Data,
wxGxObject *oParent, const wxString &soName = wxEmptyString, const CPLString &soPath = "", const wxIcon &icLargeIcon = wxNullIcon, const wxIcon &icSmallIcon = wxNullIcon);
80 virtual ~wxGxNGWResourceGroupUI(
void);
82 virtual wxIcon GetLargeImage(
void);
83 virtual wxIcon GetSmallImage(
void);
84 virtual wxString ContextMenu(
void)
const {
return wxString(wxT(
"wxGxNGWResourceGroup.ContextMenu")); };
85 virtual wxString NewMenu(
void)
const {
return wxString(wxT(
"wxGxNGWResourceGroup.NewMenu")); };
87 virtual bool Drop(
const wxArrayString& saGxObjectPaths,
bool bMove);
89 virtual void EditProperties(wxWindow *parent);
93 wxIcon m_icLargeIcon, m_icSmallIcon;
94 wxIcon m_icFolderLargeIcon, m_icFolderSmallIcon;
95 wxIcon m_icPGLayerLargeIcon, m_icPGLayerSmallIcon;
96 wxIcon m_icPGConnLargeIcon, m_icPGConnSmallIcon;
97 wxIcon m_icNGWLayerLargeIcon, m_icNGWLayerSmallIcon;
108 class WXDLLIMPEXP_GIS_CLU wxGxNGWRootResourceUI :
109 public wxGxNGWResourceGroupUI
111 DECLARE_CLASS(wxGxNGWRootResourceUI)
113 wxGxNGWRootResourceUI(wxGxNGWService *pService,
wxGxObject *oParent, const wxString &soName = wxEmptyString, const CPLString &soPath = "", const wxIcon &icLargeIcon = wxNullIcon, const wxIcon &icSmallIcon = wxNullIcon);
114 virtual ~wxGxNGWRootResourceUI(
void);
116 virtual wxIcon GetLargeImage(
void);
117 virtual wxIcon GetSmallImage(
void);
118 virtual wxString ContextMenu(
void)
const {
return wxString(wxT(
"wxGxNGWResourceGroup.ContextMenu")); };
119 virtual wxString NewMenu(
void)
const {
return wxString(wxT(
"wxGxNGWResourceGroup.NewMenu")); };
129 class WXDLLIMPEXP_GIS_CLU wxGxNGWLayerUI :
134 DECLARE_CLASS(wxGxNGWLayerUI)
136 wxGxNGWLayerUI(wxGxNGWService *pService, wxGISEnumNGWResourcesType eType, const
wxJSONValue &Data,
wxGxObject *oParent, const wxString &soName = wxEmptyString, const CPLString &soPath = "", const wxIcon &icLargeIcon = wxNullIcon, const wxIcon &icSmallIcon = wxNullIcon);
137 virtual ~wxGxNGWLayerUI(
void);
139 virtual wxIcon GetLargeImage(
void);
140 virtual wxIcon GetSmallImage(
void);
141 virtual wxString ContextMenu(
void)
const {
return wxString(wxT(
"wxGxNGWLayer.ContextMenu")); };
142 virtual wxString NewMenu(
void)
const {
return wxString(wxT(
"wxGxNGWLayer.NewtMenu")); };
144 virtual void EditProperties(wxWindow *parent);
146 wxIcon m_icLargeIcon, m_icSmallIcon;
148 #endif // wxGIS_USE_CURL
The JSON value class implementation.
Definition: jsonval.h:91
Definition: catalogui.h:73
Definition: catalogui.h:60
Definition: catalogui.h:90
Definition: catalogui.h:128
Definition: gxobject.h:37