Command class. More...
#include <ivstudio/edit.h>
Public Member Functions | |
virtual IlvStError * | doIt (IlvStudio *, IlAny) |
Executes the command. More... | |
Protected Member Functions | |
virtual IlvStError * | makeObject (IlvGraphic *&g, IlvStudio *editor, IlAny arg)=0 |
Returns the object which must be added. More... | |
Command class.
Library: ivstudio
This class is used to define the code of a Rogue Wave Views Studio command which is used to add a new object to the current buffer.
|
virtual |
Executes the command.
editor | The editor which calls the command. |
arg | Internal use. |
null
if successful, otherwise returns an instance of IlvStError
. Implements IlvStCommand.
|
protectedpure virtual |
Returns the object which must be added.
g | Contains the created object. |
editor | The editor which calls the command. |
arg | Internal using. |
null
if successful, otherwise returns an instance of IlvStError
.