X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Hypothesis.idl;h=80f76bf97e06c2cb3ee4e7d13c3d1458e2aa47bc;hp=6157618d6eb4e09006dedd0ed3b8c43bf8502135;hb=f016bdf914220827ec8f9a7048bc78fc3fb8c299;hpb=251f8c052dd12dd29922210dc901b295fe999a0e diff --git a/idl/SMESH_Hypothesis.idl b/idl/SMESH_Hypothesis.idl index 6157618d6..80f76bf97 100644 --- a/idl/SMESH_Hypothesis.idl +++ b/idl/SMESH_Hypothesis.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 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;