307
307
void sPhysValueNodeUI::MenuGenerator (psNetViewMenu context_menu
308
308
,sNet2TreeEvolution::pcsItem tree_item)
311
312
context_menu->Insert( new sNetViewAction
312
313
(context_menu->parentWidget()
313
314
,&EditValue ,/*checkable*/false ,/*checked*/false
314
315
,sNetViewMenu::tr("Edit phys.value")
315
316
,sNetViewMenu::tr("View and edit the real attribute")
317
319
if( sCluster::Type()->CanCast(tree_item->AttrValue().operator ->()) ){
318
320
context_menu->AddNew->addAction( new sNetViewAction
319
321
(context_menu->parentWidget()