X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Hypothesis.idl;h=80f76bf97e06c2cb3ee4e7d13c3d1458e2aa47bc;hp=65f944111e65e7e27146035c3357b9af859cc59d;hb=refs%2Ftags%2FV9_7_0a1;hpb=b0a908c0d20341651771d0249fb10882f54b2aad diff --git a/idl/SMESH_Hypothesis.idl b/idl/SMESH_Hypothesis.idl index 65f944111..80f76bf97 100644 --- a/idl/SMESH_Hypothesis.idl +++ b/idl/SMESH_Hypothesis.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -57,7 +57,7 @@ module SMESH /*! * Get the internal Id */ - long GetId(); + short GetId(); /*! * Set the variable parameter @@ -87,6 +87,13 @@ module SMESH * Verify whether hypothesis supports given entity type */ boolean IsDimSupported( in Dimension type ); + + /*! + * Return true if a hypothesis has parameters. + * + * This method is intended for GUI to know if "Edit" menu item should be available + */ + boolean HasParameters(); }; typedef sequence ListOfHypothesisName;