- _putGraphInOptimizerLoopAct = _wrapper->createAction(getMenuId(), tr("Optimizer Loop"), QIcon("icons:paste.png"),
- tr("Optimizer Loop"), tr("Optimizer Loop"),
- 0, _parent, false, this, SLOT(onPutGraphInOptimizerLoop()));
+ _putGraphInBlocAct = _wrapper->createAction(getMenuId(), tr("Bloc"), QIcon("icons:new_block_node.png"),
+ tr("Bloc"), tr("Bloc"),
+ 0, _parent, false, this, SLOT(onPutGraphInBloc()));
+
+ _putGraphInForLoopAct = _wrapper->createAction(getMenuId(), tr("For Loop"), QIcon("icons:new_for_loop_node.png"),
+ tr("For Loop"), tr("For Loop"),
+ 0, _parent, false, this, SLOT(onPutGraphInForLoop()));
+
+ _putGraphInWhileLoopAct = _wrapper->createAction(getMenuId(), tr("While Loop"), QIcon("icons:new_while_loop_node.png"),
+ tr("While Loop"), tr("While Loop"),
+ 0, _parent, false, this, SLOT(onPutGraphInWhileLoop()));
+
+ _putGraphInOptimizerLoopAct = _wrapper->createAction(getMenuId(), tr("Optimizer Loop"), QIcon("icons:new_for_loop_node.png"),
+ tr("Optimizer Loop"), tr("Optimizer Loop"),
+ 0, _parent, false, this, SLOT(onPutGraphInOptimizerLoop()));