|
OpenASIP 2.2
|
#include <EditOTAFormatsCmd.hh>


Public Member Functions | |
| EditOTAFormatsCmd () | |
| virtual | ~EditOTAFormatsCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual EditOTAFormatsCmd * | 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 |
Command for editing OTAFormats.
Opens a OTAFormatListDialog which lists OTAFormats in the machine.
Definition at line 43 of file EditOTAFormatsCmd.hh.
| EditOTAFormatsCmd::EditOTAFormatsCmd | ( | ) |
The Constructor.
Definition at line 51 of file EditOTAFormatsCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 102 of file EditOTAFormatsCmd.cc.
References EditOTAFormatsCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 65 of file EditOTAFormatsCmd.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 EditOTAFormatsCmd.cc.
References ProDeConstants::CMD_ICON_EDIT_OTA_FORMATS.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 92 of file EditOTAFormatsCmd.cc.
References ProDeConstants::COMMAND_EDIT_OTA_FORMATS.
|
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 EditOTAFormatsCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 122 of file EditOTAFormatsCmd.cc.
References ProDeConstants::CMD_SNAME_EDIT_OTA_FORMATS.