24 #include "wxgis/catalogui/gxview.h"
25 #include "wxgis/catalogui/gxcatalogui.h"
26 #include "wxgis/catalog/gxevent.h"
27 #include "wxgis/catalogui/gxeventui.h"
28 #include "wxgis/catalog/gxobject.h"
29 #include "wxgis/catalogui/gxapplication.h"
30 #include "wxgis/geoprocessingui/geoprocessingui.h"
32 #include "wx/listctrl.h"
33 #include "wx/imaglist.h"
35 #define TOOLEXECVIEWSTYLE (wxLC_REPORT | wxBORDER_NONE | wxLC_EDIT_LABELS | wxLC_AUTOARRANGE)
37 WXDLLIMPEXP_GIS_GPU
int wxCALLBACK GxTaskCompareFunction(wxIntPtr item1, wxIntPtr item2, wxIntPtr sortData);
54 wxGISToolExecuteView(wxWindow* parent, wxWindowID
id = TOOLEXECUTECTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = TOOLEXECVIEWSTYLE);
56 virtual void Serialize(wxXmlNode* pRootNode,
bool bStore);
60 virtual bool Create(wxWindow* parent, wxWindowID
id = TOOLEXECUTECTRLID,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = TOOLEXECVIEWSTYLE,
const wxString& name = wxT(
"ToolExecuteView"));
61 virtual bool Activate(
IApplication*
const pApplication, wxXmlNode*
const pConf);
62 virtual void Deactivate(
void);
64 virtual void SelectAll(
void);
65 virtual void SetStyle(wxGISEnumContentsViewStyle style){};
66 virtual wxGISEnumContentsViewStyle GetStyle(
void){
return enumGISCVReport;};
67 virtual bool CanSetStyle(
void){
return false;};
69 virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
70 virtual wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def);
71 virtual void OnLeave();
72 virtual bool OnDropObjects(wxCoord x, wxCoord y,
long nParentPointer,
const wxArrayLong& TaskIds);
74 virtual void OnContextMenu(wxContextMenuEvent& event);
75 virtual void ShowContextMenu(
const wxPoint& pos);
76 virtual void OnActivated(wxListEvent& event);
77 virtual void OnBeginLabelEdit(wxListEvent& event) = 0;
78 virtual void OnEndLabelEdit(wxListEvent& event) = 0;
79 virtual void OnSelected(wxListEvent& event);
80 virtual void OnDeselected(wxListEvent& event);
81 virtual void OnChar(wxKeyEvent& event);
82 virtual void OnBeginDrag(wxListEvent& event);
90 virtual void AddObject(
wxGxObject* pObject) = 0;
91 virtual void ResetContents(
void);
92 virtual void RefreshAll(
void);
93 virtual void InitColumns(
void);
96 long m_ConnectionPointCatalogCookie, m_ConnectionPointSelectionCookie;
100 long m_nParentGxObjectId;
101 wxImageList m_ImageList;
102 long m_HighLightItem;
105 DECLARE_EVENT_TABLE()
The GxSelection class event.
Definition: gxeventui.h:37
The Network event.
Definition: gxevent.h:39
Definition: gxcatalogui.h:34
The GxObject Selection class.
Definition: gxselection.h:30
Definition: gxapplication.h:41
Definition: catalogui.h:112
Definition: gxobject.h:37