|
OpenASIP 2.2
|
#include <OSEdRemoveOperationCmd.hh>


Public Member Functions | |
| OSEdRemoveOperationCmd () | |
| virtual | ~OSEdRemoveOperationCmd () |
| 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 | |
| OSEdRemoveOperationCmd (const OSEdRemoveOperationCmd &) | |
| Copying not allowed. | |
| OSEdRemoveOperationCmd & | operator= (const OSEdRemoveOperationCmd &) |
| Assignment not allowed. | |
Command for removing an operation.
Definition at line 43 of file OSEdRemoveOperationCmd.hh.
| OSEdRemoveOperationCmd::OSEdRemoveOperationCmd | ( | ) |
Constructor.
Definition at line 58 of file OSEdRemoveOperationCmd.cc.
Referenced by create().
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Creates a new command.
Implements GUICommand.
Definition at line 84 of file OSEdRemoveOperationCmd.cc.
References OSEdRemoveOperationCmd().

|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 94 of file OSEdRemoveOperationCmd.cc.
References ObjectState::child(), ObjectState::childCount(), OSEdTreeView::infoView(), OSEdTextGenerator::instance(), OSEdTreeView::moduleIdOfOperation(), OSEdTreeView::moduleOfOperation(), Operation::name(), OperationContainer::operationIndex(), OperationContainer::operationSerializer(), OSEdInfoView::operationView(), GUICommand::parentWindow(), OSEdTreeView::pathOfModule(), OperationSerializer::readState(), OperationIndex::refreshModule(), OSEdTreeView::removeItem(), OSEdTreeView::selectedOperation(), OSEdTreeView::selectedOperationId(), OperationSerializer::setDestinationFile(), OperationSerializer::setSourceFile(), ObjectState::stringAttribute(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdTextGenerator::TXT_ERROR_CAN_NOT_REMOVE_OPERATION, OSEdTextGenerator::TXT_QUESTION_REMOVE_OPERATION, and OperationSerializer::writeState().

|
virtual |
Returns the icon of the command.
Implements GUICommand.
Definition at line 180 of file OSEdRemoveOperationCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 74 of file OSEdRemoveOperationCmd.cc.
References OSEdConstants::CMD_REMOVE_OPERATION.
|
virtual |
Returns true if command is enabled, otherwise false.
Command is enabled when the path of the operation is writable.
Implements GUICommand.
Definition at line 158 of file OSEdRemoveOperationCmd.cc.
References FileSystem::fileIsWritable(), OSEdTreeView::isOperationSelected(), OSEdTreeView::moduleIdOfOperation(), OSEdTreeView::pathOfModule(), and OSEdTreeView::selectedOperationId().

|
private |
Assignment not allowed.