OpenASIP
2.0
|
#include <ImplementMachineCmd.hh>
Public Member Functions | |
ImplementMachineCmd () | |
virtual | ~ImplementMachineCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual ImplementMachineCmd * | create () const |
virtual std::string | icon () const |
virtual std::string | shortName () 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 |
Command for opening processor implementation window.
Definition at line 43 of file ImplementMachineCmd.hh.
ImplementMachineCmd::ImplementMachineCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 92 of file ImplementMachineCmd.cc.
References ImplementMachineCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 65 of file ImplementMachineCmd.cc.
References machine, GUICommand::parentWindow(), and EditorCommand::view().
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 102 of file ImplementMachineCmd.cc.
References ProDeConstants::CMD_ICON_IMPLEMENTATION.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 83 of file ImplementMachineCmd.cc.
References ProDeConstants::COMMAND_IMPLEMENTATION.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when a document is open.
Reimplemented from EditorCommand.
Definition at line 124 of file ImplementMachineCmd.cc.
|
virtual |
Returns short version of the command name.
Reimplemented from GUICommand.
Definition at line 111 of file ImplementMachineCmd.cc.
References ProDeConstants::CMD_SNAME_IMPLEMENTATION.