OpenASIP
2.0
|
#include <NewDocumentCmd.hh>
Public Member Functions | |
NewDocumentCmd () | |
virtual | ~NewDocumentCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual NewDocumentCmd * | create () const |
virtual std::string | shortName () const |
virtual std::string | icon () 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 |
EditorCommand for opening documents.
Definition at line 41 of file NewDocumentCmd.hh.
NewDocumentCmd::NewDocumentCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 110 of file NewDocumentCmd.cc.
References NewDocumentCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 65 of file NewDocumentCmd.cc.
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 132 of file NewDocumentCmd.cc.
References ProDeConstants::CMD_ICON_NEW_DOC.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 99 of file NewDocumentCmd.cc.
References ProDeConstants::COMMAND_NEW_DOC.
|
virtual |
This command is always executable.
Reimplemented from EditorCommand.
Definition at line 143 of file NewDocumentCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 121 of file NewDocumentCmd.cc.
References ProDeConstants::CMD_SNAME_NEW_DOC.