#include <MTemplateManipulator.h>
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 |
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) |
static MStatus | deregisterContextCommand (MObject obj) |
static MStatus MTemplateContextCommand< ContextCommandName, ContextCommandClass, ContextClass >::registerContextCommand | ( | MObject | obj | ) | [inline, static] |
Plug-in registration method.
[in] | obj | plugin object taken from the initializePlugin() entry point. |
static MStatus MTemplateContextCommand< ContextCommandName, ContextCommandClass, ContextClass >::deregisterContextCommand | ( | MObject | obj | ) | [inline, static] |
Plug-in deregistration method.
[in] | obj | plugin object taken from the initializePlugin() entry point. |
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |