OpenASIP
2.0
|
#include <EditConnectionsCmd.hh>
Public Member Functions | |
EditConnectionsCmd () | |
virtual | ~EditConnectionsCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual EditConnectionsCmd * | create () const |
virtual std::string | icon () const |
virtual std::string | shortName () const |
virtual 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 |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
wxCommand for editing connections.
Definition at line 42 of file EditConnectionsCmd.hh.
EditConnectionsCmd::EditConnectionsCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 89 of file EditConnectionsCmd.cc.
References EditConnectionsCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 65 of file EditConnectionsCmd.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 98 of file EditConnectionsCmd.cc.
References ProDeConstants::CMD_ICON_EDIT_CONNECTIONS.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 80 of file EditConnectionsCmd.cc.
References ProDeConstants::COMMAND_EDIT_CONNECTIONS.
|
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 120 of file EditConnectionsCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 107 of file EditConnectionsCmd.cc.
References ProDeConstants::CMD_SNAME_EDIT_CONNECTIONS.