|
OpenASIP 2.2
|
#include <EditBusOrderCmd.hh>


Public Member Functions | |
| EditBusOrderCmd () | |
| virtual | ~EditBusOrderCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual EditBusOrderCmd * | create () const |
| virtual bool | isEnabled () |
| virtual std::string | shortName () const |
Public Member Functions inherited from EditorCommand | |
| EditorCommand (std::string name, wxWindow *parent=NULL) | |
| virtual | ~EditorCommand () |
| void | setView (wxView *view) |
| wxView * | view () const |
| virtual std::string | icon () 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 |
Command for editing order of transport buses in a machine.
Definition at line 41 of file EditBusOrderCmd.hh.
| EditBusOrderCmd::EditBusOrderCmd | ( | ) |
The Constructor.
Definition at line 50 of file EditBusOrderCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 103 of file EditBusOrderCmd.cc.
References EditBusOrderCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 67 of file EditBusOrderCmd.cc.
References assert, Model::getMachine(), Model::notifyObservers(), GUICommand::parentWindow(), Model::popFromStack(), Model::pushToStack(), and EditorCommand::view().

|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 94 of file EditBusOrderCmd.cc.
References ProDeConstants::COMMAND_EDIT_BUS_ORDER.
|
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 125 of file EditBusOrderCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 112 of file EditBusOrderCmd.cc.
References ProDeConstants::CMD_SNAME_EDIT_ADDRESS_SPACES.