a2dSelectTool Class Reference

Interactive Selection of an Object. More...

#include <sttool.h>

Inheritance diagram for a2dSelectTool:

Inheritance graph
[legend]
Collaboration diagram for a2dSelectTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dSelectTool (a2dStToolContr *controller)
bool ZoomSave ()
 Is Zooming while the tool is busy Save.
void SetShiftIsAdd ()

Static Public Attributes

static const a2dCommandId COMID_PushTool_Select
 push this tool on the tools stack

Protected Member Functions

void DeselectAll ()
virtual void GenerateAnotation ()
 to display a string along with a tool drawing.
void OnChar (wxKeyEvent &event)
 called on key events
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events
virtual bool CreateToolObjects ()
 Create the editcopy and other tool objects (e.g. decorations).
wxString GetCommandGroupName ()
 return the command group name for commands of a derived class

Protected Attributes

bool m_shift_is_add
 false: shift key will unselect, true: shift will add to selection


Detailed Description

Interactive Selection of an Object.

Either with just one click or draging a rectangle to select many.

Remarks:
Left Click and/or drag.

Shift Down to Un select.

See also:
a2dStToolContr

Definition at line 793 of file sttool.h.


Member Function Documentation

bool a2dSelectTool::ZoomSave (  )  [inline, virtual]

Is Zooming while the tool is busy Save.

If so, the active tool will redraw itself in the new Mapping state

Implements a2dBaseTool.

Definition at line 804 of file sttool.h.

bool a2dSelectTool::CreateToolObjects (  )  [protected, virtual]

Create the editcopy and other tool objects (e.g. decorations).

m_original must be set before this function is called

Reimplemented from a2dStTool.

Definition at line 2214 of file sttool.cpp.

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

return the command group name for commands of a derived class

this defaults to the class name

Reimplemented from a2dBaseTool.

Definition at line 818 of file sttool.h.


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