#include <EditionSalomeNode.hxx>
Public Slots | |
virtual void | fillComponentPanel () |
virtual void | fillContainerPanel () |
virtual void | changeInstance (int index) |
virtual void | changeContainer (int index) |
virtual void | changeHost (int index) |
virtual void | onApply () |
virtual void | onCancel () |
Public Slots inherited from YACS::HMI::EditionElementaryNode | |
virtual void | onApply () |
virtual void | onCancel () |
virtual void | onPortIndexChanged (int index) |
virtual void | onCommitData (QWidget *editor) |
Public Member Functions | |
EditionSalomeNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionSalomeNode () |
virtual void | update (GuiEvent event, int type, Subject *son) |
virtual void | synchronize () |
Public Member Functions inherited from YACS::HMI::EditionElementaryNode | |
EditionElementaryNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionElementaryNode () |
virtual void | setEditablePorts (bool isEditable) |
Public Member Functions inherited from YACS::HMI::EditionNode | |
EditionNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionNode () |
Public Member Functions inherited from YACS::HMI::ItemEdition | |
ItemEdition (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~ItemEdition () |
virtual void | select (bool isSelected) |
virtual void | setName (std::string name) |
virtual void | setEdited (bool isEdited) |
Public Member Functions inherited from FormEditItem | |
FormEditItem (QWidget *parent=0) | |
virtual | ~FormEditItem () |
Public Member Functions inherited from YACS::HMI::ItemEditionBase | |
ItemEditionBase (Subject *subject) | |
virtual | ~ItemEditionBase () |
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 | |
PropertyEditor * | _propeditor |
FormComponent * | _wComponent |
FormContainerDecorator * | _wContainer |
QHBoxLayout * | _hbl_method |
QLabel * | _la_method |
QLineEdit * | _le_method |
YACS::ENGINE::ServiceNode * | _servNode |
Protected Attributes inherited from YACS::HMI::EditionElementaryNode | |
SubjectElementaryNode * | _subElemNode |
QTabWidget * | _twPorts |
TablePortsEdition * | _tvInPorts |
TablePortsEdition * | _tvOutPorts |
ValueDelegate * | _valueDelegate |
Protected Attributes inherited from YACS::HMI::EditionNode | |
QLineEdit * | _le_fullName |
SubjectNode * | _subjectNode |
Protected Attributes inherited from YACS::HMI::ItemEdition | |
bool | _isEdited |
bool | _haveScript |
Protected Attributes inherited from FormEditItem | |
WidEditItem * | _wid |
Protected Attributes inherited from YACS::HMI::ItemEditionBase | |
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::ItemEdition | |
static std::string | filterName (const std::string &name) |
Protected Member Functions inherited from YACS::HMI::EditionElementaryNode | |
virtual bool | hasInputPorts () |
virtual bool | hasOutputPorts () |
virtual void | createTablePorts (QLayout *layout) |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 47 of file EditionSalomeNode.hxx.
EditionSalomeNode::EditionSalomeNode | ( | Subject * | subject, |
QWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Definition at line 43 of file EditionSalomeNode.cxx.
References _hbl_method, _la_method, _le_method, _propeditor, _servNode, YACS::HMI::EditionElementaryNode::_subElemNode, YACS::HMI::ItemEditionBase::_subject, _wComponent, _wContainer, FormEditItem::_wid, changeContainer(), changeHost(), changeInstance(), YACS::HMI::EditionElementaryNode::createTablePorts(), fillComponentPanel(), fillContainerPanel(), YACS::ENGINE::ServiceNode::getContainer(), YACS::ENGINE::ServiceNode::getMethod(), YACS::HMI::SubjectNode::getNode(), and YASSERT.
|
virtual |
Definition at line 104 of file EditionSalomeNode.cxx.
|
virtualslot |
Definition at line 218 of file EditionSalomeNode.cxx.
References _servNode, YACS::HMI::ItemEditionBase::_subject, _wComponent, YACS::HMI::SubjectComponent::associateToContainer(), YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::ENGINE::ServiceNode::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), YACS::HMI::SubjectReference::getReference(), YACS::HMI::SubjectServiceNode::getSubjectReference(), and YASSERT.
Referenced by EditionSalomeNode().
|
virtualslot |
Definition at line 243 of file EditionSalomeNode.cxx.
References _wContainer, DEBTRACE, and FormContainerDecorator::getHostName().
Referenced by EditionSalomeNode().
|
virtualslot |
Definition at line 199 of file EditionSalomeNode.cxx.
References YACS::HMI::GuiContext::_mapOfSubjectComponent, _servNode, YACS::HMI::ItemEditionBase::_subject, _wComponent, YACS::ENGINE::Proc::componentInstanceMap, DEBTRACE, YACS::ENGINE::ServiceNode::getComponent(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), and YASSERT.
Referenced by EditionSalomeNode().
|
virtualslot |
must be updated when associate service to component instance, or when the list of available component instances changes.
Definition at line 150 of file EditionSalomeNode.cxx.
References _servNode, _wComponent, YACS::ENGINE::Proc::componentInstanceMap, YACS::ENGINE::ComponentInstance::getCompoName(), YACS::ENGINE::ServiceNode::getComponent(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::ComponentInstance::getInstanceName(), and YACS::HMI::GuiContext::getProc().
Referenced by EditionSalomeNode(), synchronize(), and update().
|
virtualslot |
Definition at line 175 of file EditionSalomeNode.cxx.
References _servNode, _wComponent, _wContainer, YACS::ENGINE::Proc::containerMap, DEBTRACE, FormContainerDecorator::FillPanel(), YACS::ENGINE::ServiceNode::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Container::getName(), and YACS::HMI::GuiContext::getProc().
Referenced by EditionSalomeNode(), synchronize(), and update().
|
virtualslot |
Definition at line 249 of file EditionSalomeNode.cxx.
References YACS::HMI::ItemEdition::_isEdited, _wContainer, DEBTRACE, YACS::HMI::EditionElementaryNode::onApply(), and FormContainerDecorator::onApply().
|
virtualslot |
Definition at line 259 of file EditionSalomeNode.cxx.
References _servNode, _wContainer, DEBTRACE, FormContainerDecorator::FillPanel(), YACS::ENGINE::ServiceNode::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), and YACS::HMI::EditionElementaryNode::onApply().
|
virtual |
used in derived nodes for synchronisation with schema model.
Reimplemented from YACS::HMI::EditionElementaryNode.
Definition at line 138 of file EditionSalomeNode.cxx.
References FormComponent::_checked, _wComponent, _wContainer, fillComponentPanel(), fillContainerPanel(), YACS::HMI::EditionElementaryNode::synchronize(), and FormContainerDecorator::synchronizeCheckContainer().
when loading a schema, creation of all edition widgets is time and memory consuming, so, widget edition creation is differed until user select an item in tree or 2D vue.
Reimplemented from YACS::HMI::EditionNode.
Definition at line 108 of file EditionSalomeNode.cxx.
References _propeditor, YACS::HMI::ADDREF, YACS::HMI::ASSOCIATE, DEBTRACE, fillComponentPanel(), fillContainerPanel(), YACS::HMI::Subject::getName(), YACS::HMI::SubjectReference::getName(), YACS::HMI::SubjectReference::getReference(), YACS::HMI::SETVALUE, YACS::HMI::PropertyEditor::update(), YACS::HMI::EditionNode::update(), and YASSERT.
Referenced by gui.graph.MyCanvas::customEvent().
|
protected |
Definition at line 72 of file EditionSalomeNode.hxx.
Referenced by EditionSalomeNode().
|
protected |
Definition at line 73 of file EditionSalomeNode.hxx.
Referenced by EditionSalomeNode().
|
protected |
Definition at line 74 of file EditionSalomeNode.hxx.
Referenced by EditionSalomeNode().
|
protected |
Definition at line 69 of file EditionSalomeNode.hxx.
Referenced by EditionSalomeNode(), and update().
|
protected |
Definition at line 75 of file EditionSalomeNode.hxx.
Referenced by changeContainer(), changeInstance(), EditionSalomeNode(), fillComponentPanel(), fillContainerPanel(), and onCancel().
|
protected |
Definition at line 70 of file EditionSalomeNode.hxx.
Referenced by changeContainer(), changeInstance(), EditionSalomeNode(), fillComponentPanel(), fillContainerPanel(), and synchronize().
|
protected |
Definition at line 71 of file EditionSalomeNode.hxx.
Referenced by changeHost(), EditionSalomeNode(), fillContainerPanel(), onApply(), onCancel(), and synchronize().