|
virtual void | registerObserver (CmdObserver *observer) |
|
virtual void | unregisterObserver (CmdObserver *observer) |
|
virtual bool | registerNamedObserver (const char *name, CmdObserver *observer) |
|
virtual CmdObserver * | findNamedObserver (const char *name) |
|
virtual void | onDocLoaded (const MgMotion *sender, bool forUndo) |
|
virtual void | onEnterSelectCommand (const MgMotion *sender) |
|
virtual void | onUnloadCommands (MgCmdManager *sender) |
|
virtual bool | selectActionsNeedHided (const MgMotion *sender) |
|
virtual int | addShapeActions (const MgMotion *sender, mgvector< int > &actions, int n, const MgShape *shape) |
|
virtual bool | doAction (const MgMotion *sender, int action) |
|
virtual bool | doEndAction (const MgMotion *sender, int action) |
|
virtual void | drawInShapeCommand (const MgMotion *sender, MgCommand *cmd, GiGraphics *gs) |
|
virtual void | drawInSelectCommand (const MgMotion *sender, const MgShape *shape, int handleIndex, GiGraphics *gs) |
|
virtual void | onSelectTouchEnded (const MgMotion *sender, int shapeid, int handleIndex, int snapid, int snapHandle, int count, const int *ids) |
|
virtual void | onGatherSnapIgnoredID (const MgMotion *sender, const MgShape *sp, int *ids, int &i, int n) |
|
virtual void | onSelectionChanged (const MgMotion *sender) |
|
virtual bool | onShapeWillAdded (const MgMotion *sender, MgShape *shape) |
|
virtual void | onShapeAdded (const MgMotion *sender, MgShape *shape) |
|
virtual bool | onShapeWillDeleted (const MgMotion *sender, const MgShape *shape) |
|
virtual int | onShapeDeleted (const MgMotion *sender, const MgShape *shape) |
|
virtual bool | onShapeCanRotated (const MgMotion *sender, const MgShape *shape) |
|
virtual bool | onShapeCanTransform (const MgMotion *sender, const MgShape *shape) |
|
virtual bool | onShapeCanUnlock (const MgMotion *sender, const MgShape *shape) |
|
virtual bool | onShapeCanUngroup (const MgMotion *sender, const MgShape *shape) |
|
virtual bool | onShapeCanMovedHandle (const MgMotion *sender, const MgShape *sp, int index) |
|
virtual void | onShapeMoved (const MgMotion *sender, MgShape *shape, int segment) |
|
virtual bool | onShapeWillChanged (const MgMotion *sender, MgShape *sp, const MgShape *oldsp) |
|
virtual void | onShapeChanged (const MgMotion *sender, MgShape *shape) |
|
virtual MgBaseShape * | createShape (const MgMotion *sender, int type) |
|
virtual MgCommand * | createCommand (const MgMotion *sender, const char *name) |
|
virtual bool | onPreGesture (MgMotion *sender) |
|
virtual void | onPostGesture (const MgMotion *sender) |
|
virtual void | onPointSnapped (const MgMotion *sender, const MgShape *sp) |
|