OpenASIP
2.0
|
#include <OpenHDBCmd.hh>
Public Member Functions | |
OpenHDBCmd () | |
virtual | ~OpenHDBCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual OpenHDBCmd * | 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 opening HDB in HDBEditor.
Displays a file dialog for choosing the HDB file to open.
Definition at line 43 of file OpenHDBCmd.hh.
OpenHDBCmd::OpenHDBCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new isntance of this command.
Implements GUICommand.
Definition at line 110 of file OpenHDBCmd.cc.
References OpenHDBCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 62 of file OpenHDBCmd.cc.
References assert, GUICommand::parentWindow(), and WxConversion::toString().
|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 90 of file OpenHDBCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 99 of file OpenHDBCmd.cc.
References HDBEditorConstants::COMMAND_OPEN_HDB.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 121 of file OpenHDBCmd.cc.