Template class for non undoable actions.
Helper template class which make writing not undoable actions easier.
#include <MTemplateCommand.h>

Public Member Functions |
|
| MTemplateAction () | |
| Default constructor. |
|
| virtual MStatus | doIt (const MArgList &) |
| Execution of the action. Default behaviour
is failure. |
|
Static Public Member Functions |
|
| static void * | creator () |
| Method called by Maya to create an instance
of this class. |
|
| static MStatus | registerCommand (MObject obj) |
| Plug-in registration method. |
|
| static MStatus | deregisterCommand (MObject obj) |
| Plug-in dregistration method. |
|
Plug-in registration method.
| [in] | obj | Plug-in object taken from the initializePlugin() entry point. |
Plug-in dregistration method.
| [in] | obj | Plug-in object taken from the initializePlugin() entry point. |