a2dRecursiveEditTool Class Reference
[Objects used for interactive manipulation.]

This tool does do a hit test on objects to edit, and then starts editing the object. More...

#include <edit.h>

Inheritance diagram for a2dRecursiveEditTool:

Inheritance graph
[legend]
Collaboration diagram for a2dRecursiveEditTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dRecursiveEditTool (a2dStToolContr *controller, int editmode=1, bool SingleClickToEnd=true)
 constructor
 a2dRecursiveEditTool (a2dStToolContr *controller, a2dIterC &ic, int editmode=1, bool SingleClickToEnd=true)
 constructor
 ~a2dRecursiveEditTool ()
 destuctor

Static Public Attributes

static const a2dCommandId COMID_PushTool_RecursiveEdit
 push this tool on the tools stack

Protected Member Functions

void OnComEvent (a2dComEvent &event)
 called when a tool has changed (fill stroke layer spline )
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
virtual wxString GetCommandGroupName ()
 return the command group name for commands of a derived class


Detailed Description

This tool does do a hit test on objects to edit, and then starts editing the object.

When an object is hit, the object its EditStart member is called, this generates a Clone of the object to be edited. And event processing is redirected to the Cloned object to edit it.

See a2dObjectEditTool for more details on editing.

Definition at line 227 of file edit.h.


Constructor & Destructor Documentation

a2dRecursiveEditTool::a2dRecursiveEditTool ( a2dStToolContr controller,
int  editmode = 1,
bool  SingleClickToEnd = true 
)

constructor

Parameters:
controller controller to which the editing tool was pushed.
editmode starting editing mode for objects
SingleClickToEnd stop editing with a single Left Down, else double click.

Definition at line 50 of file edit.cpp.

a2dRecursiveEditTool::a2dRecursiveEditTool ( a2dStToolContr controller,
a2dIterC ic,
int  editmode = 1,
bool  SingleClickToEnd = true 
)

constructor

Parameters:
controller controller to which the editing tool was pushed.
ic iteration context to setup the corridor
editmode starting editing mode for objects
SingleClickToEnd stop editing with a single Left Down, else double click.

Definition at line 44 of file edit.cpp.


Member Function Documentation

virtual wxString a2dRecursiveEditTool::GetCommandGroupName (  )  [inline, protected, virtual]

return the command group name for commands of a derived class

this defaults to the class name

Reimplemented from a2dObjectEditTool.

Definition at line 262 of file edit.h.


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