13 #include "uicmddrivermod.h" 25 enum
TableTag { RowTag=0,RowHead,CellTag,ColHead,ColTag };
27 bool parTableSelPre(
const char* prefix,
TableTag,
85 virtual
bool isUiObjChangeCommand()
const {
return false; }
121 : table_( uitable ) {};
123 bool headInsert(
const RowCol&);
124 int remove(
const RowCol&,
int startidx=0);
125 int indexOf(
const RowCol&,
int startidx=0)
const;
127 bool equalToCurItemSel()
const;
128 bool equalToClickedItem(
const RowCol&)
const;
130 bool storeCurItemSel();
146 virtual
void updateInternalState();
151 void storeTableState();
152 void labelStoredStateOld();
153 void labelStoredStateNew();
155 void writeTableSelect();
156 int writeTableSelect(
bool differential,
157 bool virtually=false);
158 void writeTableSelect(const RowCol& firstrc,
159 const RowCol& lastrc,
160 int blockstate,
bool clear);
161 void writeTableFill();
162 void writeTableMenu(const CmdRecEvent&);
163 void writeTableClick();
170 bool tablecmdsflushed_;
#define mEndDeclCmdClass
Definition: command.h:150
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mStartDeclCmdClass(mod, cmdkey, parentclass)
Definition: command.h:146
void setTable(const uiTable *uit)
Definition: tablecommands.h:132
Command Drive
Definition: canvascommands.h:20
RowCol actrc_
Definition: tablecommands.h:48
Definition: tablecommands.h:71
Definition: tablecommands.h:23
TypeSet< RowCol > set_
Definition: tablecommands.h:140
void clear()
Definition: tablecommands.h:133
Definition: tablecommands.h:117
Definition: command.h:184
Set of BufferString objects.
Definition: bufstringset.h:25
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:173
const TypeSet< RowCol > & getSet() const
Definition: tablecommands.h:136
const TypeSet< RowCol > & actselset_
Definition: tablecommands.h:80
Definition: tablecommands.h:84
uiTable & acttable_
Definition: tablecommands.h:47
uiTable & acttable_
Definition: tablecommands.h:63
RowCol actrc_
Definition: tablecommands.h:64
#define mStartDeclComposerClassWithInit(mod, cmdkey, parentclass, callerclass)
Definition: cmdcomposer.h:143
Definition: geom2dascio.h:18
BufferString acttxt_
Definition: tablecommands.h:65
Definition: cmdrecorder.h:33
Definition: cmdcomposer.h:50
#define mStartDeclCmdClassNoActNoEntry(mod, cmdkey, parentclass)
Definition: command.h:120
#define mEndDeclComposerClass
Definition: cmdcomposer.h:147
IdxPair used for its row() and col().
Definition: rowcol.h:23
virtual bool isVisualCommand() const
Definition: tablecommands.h:86
Definition: command.h:154
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
const uiTable * table_
Definition: tablecommands.h:139
Definition: tablecommands.h:56
Definition: tablecommands.h:40
TableTag
Definition: tablecommands.h:25
TableState(const uiTable *uitable=0)
Definition: tablecommands.h:120
BufferStringSet actclicktags_
Definition: tablecommands.h:50
uiTable & acttable_
Definition: tablecommands.h:78