createPopupItem( SMESHOp::OpEditHypothesis, OB, hypo, "&& isEditableHyp");
createPopupItem( SMESHOp::OpUnassign, OB, hyp_alg );
popupMgr()->insert( separator(), -1, 0 );
- createPopupItem( SMESHOp::OpConvertMeshToQuadratic, OB, mesh_submesh );
+ createPopupItem( SMESHOp::OpConvertMeshToQuadratic, OB, mesh_submesh, "&& " + hasElems );
createPopupItem( SMESHOp::OpCreateBoundaryElements, OB, mesh_group, "&& selcount=1 && dim>=2");
- //popupMgr()->insert( separator(), -1, 0 );
+ popupMgr()->insert( separator(), -1, 0 );
- //popupMgr()->insert( separator(), -1, 0 );
+ // Adaptation - begin
+ createPopupItem( SMESHOp::OpUniformRefinement, OB, mesh );
+ createPopupItem( SMESHOp::OpHONewCase, OB, mesh );
+// createPopupItem( SMESHOp::OpHOCaseFollow, OB, mesh );
+// createPopupItem( SMESHOp::OpHONewIter, OB, mesh );
+// createPopupItem( SMESHOp::OpHOIterCompute, OB, mesh );
+// createPopupItem( SMESHOp::OpHOIterComputePublish, OB, mesh );
+ createPopupItem( SMESHOp::OpMGAdapt, OB, mesh );
+ // Adaptation - end
QString only_one_non_empty = QString( " && %1=1 && numberOfNodes>0" ).arg( dc );
QString multiple_non_empty = QString( " && %1>0 && numberOfNodes>0" ).arg( dc );