#include <cancom.h>


Public Member Functions | |
| a2dCommand_SetSelectFlag (a2dCanvasObject *object, bool value) | |
| given select flag of object set to value | |
| virtual a2dCommand * | CloneAndBind (a2dPropObject *object) |
| Copy and instantiate the command. | |
| bool | Do () |
| bool | Undo () |
| a2dCanvasCommandProcessor * | GetCanvasCmp () |
Static Public Attributes | |
| static const a2dCommandId | Id |
Protected Attributes | |
| a2dCanvasObjectPtr | m_canvasobject |
| bool | m_bool |
This command takes into account the layer settings of the a2dCanvasDocument, if there the layer is set non selectable, nothing will be done.
Definition at line 1046 of file cancom.h.
| a2dCommand * a2dCommand_SetSelectFlag::CloneAndBind | ( | a2dPropObject * | object | ) | [virtual] |
Copy and instantiate the command.
This is usefull for commands that are used as command templates in widgets. The widget owns a command template, that is not bound to an object. This function clones the command object and binds it to the given object.
\param object for which the command is to be generated.
Reimplemented from a2dCommand.
Definition at line 2653 of file cancom.cpp.