40 using namespace YACS::ENGINE;
41 using namespace YACS::HMI;
43 EditionSalomeNode::EditionSalomeNode(
Subject* subject,
69 connect(
_wComponent->cb_instance, SIGNAL(mousePressed()),
71 connect(
_wComponent->cb_instance, SIGNAL(activated(
int)),
74 connect(
_wComponent->cb_container, SIGNAL(mousePressed()),
76 connect(
_wComponent->cb_container, SIGNAL(activated(
int)),
79 connect(
_wComponent->tb_component, SIGNAL(toggled(
bool)),
81 connect(
_wComponent->tb_component, SIGNAL(toggled(
bool)),
110 DEBTRACE(
"EditionSalomeNode::update ");
164 if (! QString::compare(compoInst->
getCompoName().c_str(), compoName))
177 DEBTRACE(
"EditionSalomeNode::fillContainerPanel");
184 map<string,Container*>::const_iterator it = proc->
containerMap.begin();
186 _wComponent->cb_container->addItem( QString((*it).first.c_str()));
201 string instName =
_wComponent->cb_instance->itemText(index).toStdString();
207 else DEBTRACE(
"-------------> not found : " << instName);
209 if (newCompoInst && (newCompoInst != oldCompoInst))
220 string contName =
_wComponent->cb_container->itemText(index).toStdString();
231 DEBTRACE(
"-------------> not found : " << contName);
251 DEBTRACE(
"EditionSalomeNode::onApply");
261 DEBTRACE(
"EditionSalomeNode::onCancel");