#include <commandsProc.hxx>
Public Member Functions | |
CommandAssociateComponentToContainer (std::string instanceName, std::string container) | |
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::string | _instanceName |
std::string | _oldcont |
Protected Attributes inherited from YACS::HMI::Command | |
std::vector< Command * > | _subCommands |
bool | _normalReverse |
Definition at line 709 of file commandsProc.hxx.
CommandAssociateComponentToContainer::CommandAssociateComponentToContainer | ( | std::string | instanceName, |
std::string | container | ||
) |
Definition at line 3971 of file commandsProc.cxx.
References _oldcont, and DEBTRACE.
|
protectedvirtual |
Reimplemented from YACS::HMI::Command.
Definition at line 3979 of file commandsProc.cxx.
References _container, _instanceName, and PMMLBasicsTestLauncher::ret.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 3985 of file commandsProc.cxx.
References _container, _instanceName, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectContainer, _oldcont, YACS::HMI::ASSOCIATE, YACS::ENGINE::Proc::componentInstanceMap, YACS::HMI::CONTAINER, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::ENGINE::ComponentInstance::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Container::getName(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::ComponentInstance::setContainer(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protectedvirtual |
Implements YACS::HMI::Command.
Definition at line 4029 of file commandsProc.cxx.
References _container, _instanceName, YACS::HMI::GuiContext::_lastErrorMessage, YACS::HMI::GuiContext::_mapOfSubjectComponent, YACS::HMI::GuiContext::_mapOfSubjectContainer, _oldcont, YACS::HMI::ASSOCIATE, YACS::ENGINE::Proc::componentInstanceMap, YACS::HMI::CONTAINER, YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::ENGINE::ComponentInstance::setContainer(), setErrorMsg(), YACS::Exception::what(), and YASSERT.
|
protected |
Definition at line 718 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 719 of file commandsProc.hxx.
Referenced by dump(), localExecute(), and localReverse().
|
protected |
Definition at line 720 of file commandsProc.hxx.
Referenced by CommandAssociateComponentToContainer(), localExecute(), and localReverse().