a2dCommand_SetSelectFlag Class Reference
[commands used in command processor]

for changing boolean select flag values inside canvas objects More...

#include <cancom.h>

Inheritance diagram for a2dCommand_SetSelectFlag:

Inheritance graph
[legend]
Collaboration diagram for a2dCommand_SetSelectFlag:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dCommand_SetSelectFlag (a2dCanvasObject *object, bool value)
 given select flag of object set to value
virtual a2dCommandCloneAndBind (a2dPropObject *object)
 Copy and instantiate the command.
bool Do ()
bool Undo ()
a2dCanvasCommandProcessorGetCanvasCmp ()

Static Public Attributes

static const a2dCommandId Id

Protected Attributes

a2dCanvasObjectPtr m_canvasobject
bool m_bool


Detailed Description

for changing boolean select flag values inside canvas objects

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
a2dCommand_SetSelectFlag Class Reference -- Tue Aug 31 18:19:27 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation