|
OpenASIP 2.2
|
#include <SelectCmd.hh>


Public Member Functions | |
| SelectCmd () | |
| virtual | ~SelectCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual SelectCmd * | create () const |
| virtual std::string | icon () const |
| bool | isEnabled () |
Public Member Functions inherited from EditorCommand | |
| EditorCommand (std::string name, wxWindow *parent=NULL) | |
| virtual | ~EditorCommand () |
| void | setView (wxView *view) |
| wxView * | view () const |
Public Member Functions inherited from GUICommand | |
| GUICommand (std::string name, wxWindow *parent) | |
| virtual | ~GUICommand () |
| virtual bool | isChecked () const |
| virtual std::string | shortName () const |
| void | setParentWindow (wxWindow *view) |
| wxWindow * | parentWindow () const |
| std::string | name () const |
EditorCommand for changing the canvas tool to the SelectTool.
Definition at line 41 of file SelectCmd.hh.
| SelectCmd::SelectCmd | ( | ) |
The Constructor.
Definition at line 45 of file SelectCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 92 of file SelectCmd.cc.
References SelectCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 64 of file SelectCmd.cc.
References assert, MDFView::canvas(), MDFView::clearSelection(), MachineCanvas::setTool(), and EditorCommand::view().

|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 103 of file SelectCmd.cc.
References ProDeConstants::CMD_ICON_SELECT.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 81 of file SelectCmd.cc.
References ProDeConstants::COMMAND_SELECT.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 116 of file SelectCmd.cc.