|
OpenASIP 2.2
|
#include <OSEdUserManualCmd.hh>


Public Member Functions | |
| OSEdUserManualCmd () | |
| virtual | ~OSEdUserManualCmd () |
| virtual int | id () const |
| virtual GUICommand * | create () const |
| virtual bool | Do () |
| virtual bool | isEnabled () |
| virtual std::string | icon () const |
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 |
Private Member Functions | |
| OSEdUserManualCmd (const OSEdUserManualCmd &) | |
| Copying not allowed. | |
| OSEdUserManualCmd & | operator= (const OSEdUserManualCmd &) |
| Assignment not allowed. | |
| std::string | userManual () const |
Command for opening user manual browser.
Definition at line 43 of file OSEdUserManualCmd.hh.
| OSEdUserManualCmd::OSEdUserManualCmd | ( | ) |
Constructor.
Definition at line 49 of file OSEdUserManualCmd.cc.
Referenced by create().
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Creates new command.
Implements GUICommand.
Definition at line 75 of file OSEdUserManualCmd.cc.
References OSEdUserManualCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 85 of file OSEdUserManualCmd.cc.
References OSEdTextGenerator::instance(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdTextGenerator::TXT_USER_MANUAL_TITLE, and userManual().

|
virtual |
Returns the icon path.
Implements GUICommand.
Definition at line 120 of file OSEdUserManualCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 65 of file OSEdUserManualCmd.cc.
References OSEdConstants::CMD_USER_MANUAL.
|
virtual |
Returns true if command is enabled.
Command is enabled when user manual exists.
Implements GUICommand.
Definition at line 109 of file OSEdUserManualCmd.cc.
References FileSystem::fileExists(), and userManual().

|
private |
Assignment not allowed.
|
private |
Returns the user manual location.
Definition at line 130 of file OSEdUserManualCmd.cc.
References FileSystem::DIRECTORY_SEPARATOR, Environment::manDirPath(), and OSEdConstants::USER_MANUAL_NAME.
Referenced by Do(), and isEnabled().
