|
OpenASIP 2.2
|
#include <CreateHDBCmd.hh>


Public Member Functions | |
| CreateHDBCmd () | |
| virtual | ~CreateHDBCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual CreateHDBCmd * | create () const |
| virtual std::string | icon () const |
| virtual bool | isEnabled () |
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 |
Command for creating a new HDB in HDBEditor.
Displays a file dialog for choosing filename for the new HDB.
Definition at line 43 of file CreateHDBCmd.hh.
| CreateHDBCmd::CreateHDBCmd | ( | ) |
The Constructor.
Definition at line 46 of file CreateHDBCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new isntance of this command.
Implements GUICommand.
Definition at line 108 of file CreateHDBCmd.cc.
References CreateHDBCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 62 of file CreateHDBCmd.cc.
References assert, GUICommand::parentWindow(), and WxConversion::toString().

|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 88 of file CreateHDBCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 97 of file CreateHDBCmd.cc.
References HDBEditorConstants::COMMAND_CREATE_HDB.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 119 of file CreateHDBCmd.cc.