OpenASIP
2.0
|
#include <OSEdPropertiesCmd.hh>
Public Member Functions | |
OSEdPropertiesCmd () | |
virtual | ~OSEdPropertiesCmd () |
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 | |
OSEdPropertiesCmd (const OSEdPropertiesCmd &) | |
Copying not allowed. More... | |
OSEdPropertiesCmd & | operator= (const OSEdPropertiesCmd &) |
Assignment not allowed. More... | |
Executes the command when operation is modified.
Definition at line 43 of file OSEdPropertiesCmd.hh.
OSEdPropertiesCmd::OSEdPropertiesCmd | ( | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Creates a new command.
Implements GUICommand.
Definition at line 88 of file OSEdPropertiesCmd.cc.
References OSEdPropertiesCmd().
|
virtual |
Executes the command.
Implements GUICommand.
Definition at line 98 of file OSEdPropertiesCmd.cc.
References assert, OSEdTreeView::changeText(), ObjectState::child(), ObjectState::childCount(), FileSystem::fileIsWritable(), OSEdTextGenerator::instance(), NullOperationModule::instance(), OperationContainer::module(), OSEdTreeView::moduleIdOfOperation(), OSEdTreeView::moduleOfOperation(), Operation::name(), OperationContainer::operationIndex(), OperationContainer::operationSerializer(), GUICommand::parentWindow(), OSEdTreeView::pathOfModule(), OperationModule::propertiesModule(), OperationSerializer::readState(), OperationIndex::refreshModule(), ObjectState::replaceChild(), Operation::saveState(), OSEdTreeView::selectedOperation(), OSEdTreeView::selectedOperationId(), OperationSerializer::setDestinationFile(), OperationSerializer::setSourceFile(), ObjectState::stringAttribute(), Texts::TextGenerator::text(), WxConversion::toWxString(), OSEdMainFrame::treeView(), OSEdTextGenerator::TXT_ERROR_CAN_NOT_MODIFY, OSEdTreeView::update(), and OperationSerializer::writeState().
|
virtual |
Returns the icon path.
Implements GUICommand.
Definition at line 194 of file OSEdPropertiesCmd.cc.
|
virtual |
Returns the id of the command.
Implements GUICommand.
Definition at line 78 of file OSEdPropertiesCmd.cc.
References OSEdConstants::CMD_PROPERTIES.
|
virtual |
Returns true, if command is enabled.
Implements GUICommand.
Definition at line 177 of file OSEdPropertiesCmd.cc.
References OSEdTreeView::selectedOperation().
|
private |
Assignment not allowed.