OpenASIP
2.0
|
#include <RedoCmd.hh>
Public Member Functions | |
RedoCmd () | |
virtual | ~RedoCmd () |
virtual bool | Do () |
virtual int | id () const |
virtual RedoCmd * | create () 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 |
virtual std::string | shortName () const |
void | setParentWindow (wxWindow *view) |
wxWindow * | parentWindow () const |
std::string | name () const |
EditorCommand for redoing undone modifications to the machine.
Definition at line 41 of file RedoCmd.hh.
RedoCmd::RedoCmd | ( | ) |
|
virtual |
|
virtual |
Creates and returns a new instance of this command.
Implements GUICommand.
Definition at line 85 of file RedoCmd.cc.
References RedoCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 62 of file RedoCmd.cc.
References EditorCommand::view().
|
virtual |
Returns path to the command's icon file.
Reimplemented from EditorCommand.
Definition at line 97 of file RedoCmd.cc.
References ProDeConstants::CMD_ICON_REDO.
|
virtual |
Returns id of this command.
Implements GUICommand.
Definition at line 74 of file RedoCmd.cc.
References ProDeConstants::COMMAND_REDO.
|
virtual |
Returns true when the command is executable, false when not.
This command is executable when the model has an undone modification cached.
Reimplemented from EditorCommand.
Definition at line 111 of file RedoCmd.cc.
References Model::canRedo(), and EditorCommand::view().