OpenASIP
2.0
|
#include <EditImmediateSlotsCmd.hh>
Public Member Functions | |
EditImmediateSlotsCmd () | |
virtual | ~EditImmediateSlotsCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual EditImmediateSlotsCmd * | 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 machine's immediate slots.
Definition at line 41 of file EditImmediateSlotsCmd.hh.
EditImmediateSlotsCmd::EditImmediateSlotsCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 102 of file EditImmediateSlotsCmd.cc.
References EditImmediateSlotsCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 65 of file EditImmediateSlotsCmd.cc.
References assert, Model::getMachine(), Model::notifyObservers(), GUICommand::parentWindow(), Model::popFromStack(), Model::pushToStack(), and EditorCommand::view().
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 112 of file EditImmediateSlotsCmd.cc.
References ProDeConstants::CMD_ICON_DEFAULT.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 93 of file EditImmediateSlotsCmd.cc.
References ProDeConstants::COMMAND_EDIT_IMMEDIATE_SLOTS.
|
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 134 of file EditImmediateSlotsCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 121 of file EditImmediateSlotsCmd.cc.
References ProDeConstants::CMD_SNAME_EDIT_IMMEDIATE_SLOTS.