From: jfa Date: Fri, 22 Jul 2005 12:52:40 +0000 (+0000) Subject: IPAL9326: Regression of the tables popups X-Git-Tag: V3_0_1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f42ecc170b17ecdd2af7a39827cf1a7af94d937c;p=modules%2Fvisu.git IPAL9326: Regression of the tables popups --- diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 1fe31836..65074667 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -2292,9 +2292,9 @@ createPopupMenus() mgr->insert( action( VISU_CLEAR_CONTAINER ), -1, -1, -1 ); // table commands - mgr->insert( action( VISU_SHOW_TABLE ), -1, -1, -1 ); // show table - mgr->insert( action( VISU_CREATE_CURVES ), -1, -1, -1 ); // create curves - mgr->insert( action( VISU_EXPORT_TABLE ), -1, -1, -1 ); // export table + //mgr->insert( action( VISU_SHOW_TABLE ), -1, -1, -1 ); // show table + //mgr->insert( action( VISU_CREATE_CURVES ), -1, -1, -1 ); // create curves + //mgr->insert( action( VISU_EXPORT_TABLE ), -1, -1, -1 ); // export table mgr->insert( separator(), -1, -1, -1 ); @@ -2376,10 +2376,10 @@ createPopupMenus() mgr->setRule( action( VISU_STREAM_LINES ), aRule, true ); // table commands - aRule = aSel_One_ObjBr + " and type='VISU::TTABLE'"; - mgr->setRule( action( VISU_SHOW_TABLE ), aRule, true ); - mgr->setRule( action( VISU_CREATE_CURVES ), aRule, true ); - mgr->setRule( action( VISU_EXPORT_TABLE ), aRule, true ); + //aRule = aSel_One_ObjBr + " and type='VISU::TTABLE'"; + //mgr->setRule( action( VISU_SHOW_TABLE ), aRule, true ); + //mgr->setRule( action( VISU_CREATE_CURVES ), aRule, true ); + //mgr->setRule( action( VISU_EXPORT_TABLE ), aRule, true ); aRule = "(" + aSel_Some_ObjBr + " and ((type='VISU::TTABLE' and nbChildren>0) or" " ($type in {'VISU::TCURVE' 'VISU::TCONTAINER'}))"