#include <commandsProc.hxx>
Public Member Functions | |
CommandSetContainerProperties (std::string container, std::map< std::string, std::string > properties) | |
Public Member Functions inherited from YACS::HMI::Command | |
Command () | |
virtual bool | execute () |
the command is executed a first time after its registration for undo redo, then on redo More... | |
virtual bool | reverse (bool isNormal=true) |
Reverse action: undo. More... | |
virtual bool | executeSubOnly () |
execute only sub commands in a reverse action More... | |
std::string | recursiveDump (int level=0) |
void | addSubCommand (Command *command) |
bool | isNormalReverse () |
Protected Member Functions | |
virtual bool | localExecute () |
virtual bool | localReverse () |
virtual std::string | dump () |
Protected Attributes | |
std::string | _container |
std::map< std::string, std::string > | _properties |
std::map< std::string, std::string > | _oldProp |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 563 of file commandsProc.hxx.
CommandSetContainerProperties::CommandSetContainerProperties | ( | std::string | container, |
std::map< std::string, std::string > | properties | ||
) |
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3375 of file commandsProc.cxx.
References _container, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3381 of file commandsProc.cxx.
References _container, YACS::HMI::GuiContext::_lastErrorMessage, _oldProp, _properties, YACS::HMI::ASSOCIATE, YACS::HMI::CONTAINER, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::Container::getProperties(), YACS::HMI::SubjectContainerBase::notifyComponentsChange(), gui.CONNECTOR::ref(), setErrorMsg(), YACS::ENGINE::Container::setProperties(), YACS::HMI::UPDATE, YACS::HMI::Subject::update(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3409 of file commandsProc.cxx.
References _container, YACS::HMI::GuiContext::_lastErrorMessage, _oldProp, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), gui.CONNECTOR::ref(), setErrorMsg(), YACS::ENGINE::Container::setProperties(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 572 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 574 of file commandsProc.hxx.
Referenced by CommandSetContainerProperties(), localExecute(), and localReverse().
|
protected |
Definition at line 573 of file commandsProc.hxx.
Referenced by localExecute().