|
OpenASIP 2.2
|
#include <ProximOpenProgramCmd.hh>


Public Member Functions | |
| ProximOpenProgramCmd () | |
| virtual | ~ProximOpenProgramCmd () |
| virtual bool | Do () |
| virtual int | id () const |
| virtual ProximOpenProgramCmd * | create () const |
| virtual std::string | icon () const |
| virtual bool | isEnabled () |
| virtual std::string | shortName () 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 opening program files in the Proxim.
Displays a file dialog for choosing the program file to open.
Definition at line 43 of file ProximOpenProgramCmd.hh.
| ProximOpenProgramCmd::ProximOpenProgramCmd | ( | ) |
The Constructor.
Definition at line 46 of file ProximOpenProgramCmd.cc.
Referenced by create().
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 111 of file ProximOpenProgramCmd.cc.
References ProximOpenProgramCmd().

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

|
virtual |
Returns full path to the command icon file.
Implements GUICommand.
Definition at line 91 of file ProximOpenProgramCmd.cc.
|
virtual |
Returns ID of this command.
Implements GUICommand.
Definition at line 100 of file ProximOpenProgramCmd.cc.
References ProximConstants::COMMAND_OPEN_PROGRAM.
|
virtual |
Returns true if the command is enabled, false otherwise.
Implements GUICommand.
Definition at line 122 of file ProximOpenProgramCmd.cc.
|
virtual |
Returns shortened name of the command for toolbar button text.
Reimplemented from GUICommand.
Definition at line 133 of file ProximOpenProgramCmd.cc.