Template class for context commands.
Template helper to build command that is used to create context.
[in] | ContextCommandName | : string name of context command |
[in] | ContextCommandClass | : context command derived from MPxContextCommand |
[in] | ContextClass | : context derived from MPxSelectionContext |
#include <MTemplateManipulator.h>
Public Member Functions |
|
MTemplateContextCommand () | |
Constructor. |
|
virtual MPxContext * | makeObj () |
Command function for make the
context. |
|
Static Public Member Functions |
|
static void * | creator () |
Creator of the context command. |
|
static MStatus | registerContextCommand (MObject obj) |
Plug-in registration method. |
|
static MStatus | deregisterContextCommand (MObject obj) |
Plug-in deregistration method. |
Plug-in registration method.
[in] | obj | plugin object taken from the initializePlugin() entry point. |
Plug-in deregistration method.
[in] | obj | plugin object taken from the initializePlugin() entry point. |