#include <ItemEdition.hxx>
Public Member Functions | |
ItemEditionBase (Subject *subject) | |
virtual | ~ItemEditionBase () |
virtual void | select (bool isSelected) |
virtual void | synchronize () |
virtual void | update (GuiEvent event, int type, Subject *son) |
virtual Subject * | getSubject () |
Public Member Functions inherited from YACS::HMI::GuiObserver | |
GuiObserver () | |
virtual | ~GuiObserver () |
virtual void | incrementSubjects (Subject *subject) |
virtual void | decrementSubjects (Subject *subject) |
int | getNbSubjects () |
bool | isDestructible () |
Protected Attributes | |
Subject * | _subject |
int | _stackId |
std::string | _name |
std::string | _type |
std::string | _category |
Protected Attributes inherited from YACS::HMI::GuiObserver | |
std::set< Subject * > | _subjectSet |
bool | _destructible |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::GuiObserver | |
static std::string | eventName (GuiEvent event) |
static void | setEventMap () |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 36 of file ItemEdition.hxx.
ItemEditionBase::ItemEditionBase | ( | Subject * | subject | ) |
get name and strings for type of item and category
Definition at line 68 of file ItemEdition.cxx.
References _category, _name, _stackId, _subject, _type, YACS::ENGINE::Array, YACS::HMI::Subject::attach(), YACS::ENGINE::Bool, YACS::ENGINE::Double, YACS::HMI::GuiContext::getInvoc(), YACS::HMI::Subject::getName(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::ProcInvoc::getTypeName(), YACS::HMI::ProcInvoc::getTypeOfNode(), YACS::HMI::ProcInvoc::getTypeOfPort(), YACS::ENGINE::Int, YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, and YACS::ENGINE::Struct.
|
virtual |
Definition at line 125 of file ItemEdition.cxx.
|
virtual |
Definition at line 142 of file ItemEdition.cxx.
References _subject.
|
virtual |
Reimplemented from YACS::HMI::GuiObserver.
Reimplemented in YACS::HMI::ItemEdition, YACS::HMI::EditionInputPort, and YACS::HMI::EditionOutputPort.
Definition at line 129 of file ItemEdition.cxx.
References DEBTRACE.
|
virtual |
Reimplemented in YACS::HMI::ItemEdition, YACS::HMI::EditionScript, YACS::HMI::EditionSalomeNode, YACS::HMI::EditionElementaryNode, YACS::HMI::EditionSwitch, YACS::HMI::EditionOptimizerLoop, YACS::HMI::EditionProc, YACS::HMI::EditionForEachLoop, YACS::HMI::EditionLoop, and YACS::HMI::EditionWhile.
Definition at line 134 of file ItemEdition.cxx.
Reimplemented from YACS::HMI::GuiObserver.
Reimplemented in YACS::HMI::ItemEdition, YACS::HMI::EditionSalomeNode, YACS::HMI::EditionSwitch, YACS::HMI::EditionOptimizerLoop, YACS::HMI::EditionForEachLoop, YACS::HMI::EditionProc, YACS::HMI::EditionLoop, YACS::HMI::EditionNode, YACS::HMI::EditionWhile, YACS::HMI::EditionContainer, YACS::HMI::EditionComponent, YACS::HMI::EditionBloc, and YACS::HMI::EditionDataLink.
Definition at line 138 of file ItemEdition.cxx.
Referenced by gui.graph.MyCanvas::customEvent().
|
protected |
Definition at line 50 of file ItemEdition.hxx.
Referenced by ItemEditionBase().
|
protected |
Definition at line 48 of file ItemEdition.hxx.
Referenced by YACS::HMI::ItemEdition::ItemEdition(), ItemEditionBase(), YACS::HMI::ItemEdition::onApply(), YACS::HMI::ItemEdition::onCancel(), YACS::HMI::ItemEdition::onModifyName(), YACS::HMI::ItemEdition::setName(), YACS::HMI::ItemEdition::update(), and YACS::HMI::ItemEdition::~ItemEdition().
|
protected |
Definition at line 47 of file ItemEdition.hxx.
Referenced by YACS::HMI::ItemEdition::ItemEdition(), and ItemEditionBase().
|
protected |
Definition at line 46 of file ItemEdition.hxx.
Referenced by YACS::HMI::EditionComponent::changeContainer(), YACS::HMI::EditionSalomeNode::changeContainer(), YACS::HMI::EditionSalomeNode::changeInstance(), YACS::HMI::EditionBloc::EditionBloc(), YACS::HMI::EditionComponent::EditionComponent(), YACS::HMI::EditionDataLink::EditionDataLink(), YACS::HMI::EditionElementaryNode::EditionElementaryNode(), YACS::HMI::EditionInputPort::EditionInputPort(), YACS::HMI::EditionNode::EditionNode(), YACS::HMI::EditionOutputPort::EditionOutputPort(), YACS::HMI::EditionPyFunc::EditionPyFunc(), YACS::HMI::EditionSalomeNode::EditionSalomeNode(), YACS::HMI::EditionScript::EditionScript(), YACS::HMI::EditionComponent::fillContainerPanel(), YACS::HMI::EditionContainer::getContainer(), getSubject(), YACS::HMI::ItemEdition::ItemEdition(), ItemEditionBase(), YACS::HMI::ItemEdition::onApply(), YACS::HMI::EditionWhile::onConditionEdited(), YACS::HMI::EditionSwitch::onModifySelect(), YACS::HMI::EditionForEachLoop::onNbBranchesEdited(), YACS::HMI::EditionOptimizerLoop::onNbBranchesEdited(), YACS::HMI::EditionLoop::onNbStepsEdited(), YACS::HMI::EditionOutputPort::select(), YACS::HMI::EditionInputPort::select(), YACS::HMI::ItemEdition::setEdited(), YACS::HMI::EditionWhile::synchronize(), YACS::HMI::EditionLoop::synchronize(), YACS::HMI::EditionForEachLoop::synchronize(), YACS::HMI::EditionOptimizerLoop::synchronize(), YACS::HMI::EditionSwitch::synchronize(), YACS::HMI::EditionElementaryNode::synchronize(), YACS::HMI::EditionWhile::update(), YACS::HMI::EditionLoop::update(), YACS::HMI::EditionForEachLoop::update(), YACS::HMI::EditionOptimizerLoop::update(), YACS::HMI::EditionSwitch::update(), YACS::HMI::ItemEdition::update(), and YACS::HMI::ItemEdition::~ItemEdition().
|
protected |
Definition at line 49 of file ItemEdition.hxx.
Referenced by YACS::HMI::ItemEdition::ItemEdition(), and ItemEditionBase().