-// Copyright (C) 2006-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2006-2014 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
QPixmap pixmap;
pixmap.load("icons:new_foreach_loop_node.png");
- QMenu *ForEachMenu=m->addMenu(QIcon(pixmap),"ForEachLoop");
+ QMenu *ForEachMenu=m->addMenu(QIcon(pixmap),"ForEach Loop");
Proc* proc = GuiContext::getCurrent()->getProc();
std::map<std::string, TypeCode*>::const_iterator it = proc->typeMap.begin();
menu.addAction(gmain->_zoomToBlocAct);
menu.addAction(gmain->_centerOnNodeAct);
menu.addAction(gmain->_shrinkExpand);
+ menu.addAction(gmain->_shrinkExpandChildren);
+ menu.addAction(gmain->_shrinkExpandElementaryRecursively);
menu.addAction(gmain->_computeLinkAct);
// menu.addAction(gmain->_toggleAutomaticComputeLinkAct);
// menu.addAction(gmain->_toggleSimplifyLinkAct);
menu.addAction(gmain->_pasteItemAct);
QMenu *PINmenu = menu.addMenu(tr("Put Graph Content in Node"));
+ PINmenu->addAction(gmain->_putGraphInBlocAct);
+ PINmenu->addSeparator();
+ PINmenu->addAction(gmain->_putGraphInForLoopAct);
addForEachMenuToPutGraph(PINmenu,&actgroup2);
+ PINmenu->addAction(gmain->_putGraphInWhileLoopAct);
PINmenu->addAction(gmain->_putGraphInOptimizerLoopAct);
menu.addSeparator();
menu.addSeparator();
menu.addAction(gmain->_zoomToBlocAct);
menu.addAction(gmain->_centerOnNodeAct);
+ menu.addAction(gmain->_shrinkExpand);
+ menu.addAction(gmain->_shrinkExpandChildren);
+ menu.addAction(gmain->_shrinkExpandElementaryRecursively);
menu.addAction(gmain->_computeLinkAct);
// menu.addAction(gmain->_toggleAutomaticComputeLinkAct);
// menu.addAction(gmain->_toggleSimplifyLinkAct);