Command class. More...
#include <ivstudio/command.h>
Public Member Functions | |
virtual IlvStError * | doIt (IlvStudio *editor, IlAny arg)=0 |
Executes the command. More... | |
Command class.
Library: ivstudio
This class is used to define the code of a Rogue Wave Views Studio command.
The command description (label, prompt, and so on) must be included in a command file (.cmd
), the predefined commands are declared in studio.cmd
.
|
pure virtual |
Executes the command.
editor | The editor which calls the command. |
arg | Internal use. |
null
if successful, otherwise returns an instance of IlvStError
. Implemented in IlvStSetMode, IlvStShowPanel, and IlvStClickAddObject.