23 #include "wxgis/catalogui/catalogui.h"
34 enum wxGISEnumInitiators
43 virtual void Select(
long nObjectId,
bool appendToExistingSelection,
long nInitiator );
44 virtual void Select(
long nObjectId );
45 virtual void Unselect(
long nObjectId,
long nInitiator );
46 virtual void Clear(
long nInitiator);
47 virtual size_t GetCount(
void);
48 virtual size_t GetCount(
long nInitiator);
49 virtual long GetSelectedObjectId(
size_t nIndex);
50 virtual long GetSelectedObjectId(
long nInitiator,
size_t nIndex);
51 virtual long GetLastSelectedObjectId(
void);
52 virtual long GetFirstSelectedObjectId(
void);
53 virtual void SetInitiator(
long nInitiator);
54 virtual void Do(
long nObjectId );
55 virtual bool CanRedo();
56 virtual bool CanUndo();
57 virtual long Redo(
int nPos = wxNOT_FOUND);
58 virtual long Undo(
int nPos = wxNOT_FOUND);
59 virtual void RemoveDo(
long nObjectId);
61 virtual size_t GetDoSize();
62 virtual int GetDoPos(
void)
const {
return m_nPos; };
63 virtual long GetDoId(
size_t nIndex);
64 virtual wxArrayLong GetDoArray(
void)
const {
return m_DoArray; };
66 wxArrayLong m_DoArray;
71 wxCriticalSection m_DoCritSect, m_CritSect;
73 std::map<long, wxArrayLong> m_SelectionMap;
74 long m_currentInitiator;
87 virtual void SetLocation(
const wxString &sPath);
88 virtual void Undo(
int nPos);
89 virtual void Redo(
int nPos);
An Interface class for GxApplication.
Definition: gxselection.h:80
The GxObject Selection class.
Definition: gxselection.h:30