}
SUPERVGUI_PortParamsDlg* aDlg = new SUPERVGUI_PortParamsDlg(getPortsNamesIN(aNode,true));
if (aDlg->exec()) {
+ myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
SUPERV_Port aPort = aNode->InPort(aDlg->getName().latin1(),
aDlg->getType().latin1());
delete aDlg;
SUPERVGUI_PortParamsDlg* aDlg = new SUPERVGUI_PortParamsDlg(getPortsNamesIN(aNode,false));
if (aDlg->exec()) {
+ myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
SUPERV_Port aPort = aNode->OutPort(aDlg->getName().latin1(),
aDlg->getType().latin1());
delete aDlg;
}
void SUPERVGUI_CanvasNode::addInputPort() {
- myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
-
SUPERV_Port aPort = createInPort();
if (aPort == NULL || CORBA::is_nil( aPort ) ) return;
void SUPERVGUI_CanvasNode::addOutputPort() {
- myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
-
SUPERV_Port aPort = createOutPort();
if (aPort == NULL || CORBA::is_nil( aPort ) ) return;
void SUPERVGUI_CanvasNode::editFunction() {
- myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
-
if (getNodeType() == SUPERV::LoopNode) {
SUPERVGUI_EditPythonDlg* aDlg = new SUPERVGUI_EditPythonDlg(true);
SUPERV_LNode aLNode = getLoopNode();
aDlg->setMoreFunction(aLNode->PyMore());
aDlg->setNextFunction(aLNode->PyNext());
if (aDlg->exec()) {
+ myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
aLNode->SetPyInit(aDlg->getInitFuncName().latin1(), (aDlg->getInitFunction()).in());
aLNode->SetPyMore(aDlg->getMoreFuncName().latin1(), (aDlg->getMoreFunction()).in());
aLNode->SetPyNext(aDlg->getNextFuncName().latin1(), (aDlg->getNextFunction()).in());
SUPERV_INode aINode = getInlineNode();
aDlg->setFunction(aINode->PyFunction());
if (aDlg->exec()) {
+ myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
aINode->SetPyFunction(aDlg->getFuncName().latin1(), (aDlg->getFunction()).in());
}
delete aDlg;
* for detailed description of the functionality
*/
void SUPERVGUI_CanvasNode::managePorts() {
- myMain->Editing(); // PAL6170: GUI->Engine: setting "Editing" flag
-
SUPERVGUI_ManagePortsDlg* aDlg = new SUPERVGUI_ManagePortsDlg( this );
aDlg->exec();
delete aDlg;