From: Pascale Noyret Date: Mon, 4 Feb 2008 11:55:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: mergeto_trunk_17mar08 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2df7c6c7c9b654eb3849418eb7421294216e0a33;p=modules%2Feficas.git *** empty log message *** --- diff --git a/src/EFICASGUI/EFICASGUI.py b/src/EFICASGUI/EFICASGUI.py index 6d6626f2..220ebcd4 100644 --- a/src/EFICASGUI/EFICASGUI.py +++ b/src/EFICASGUI/EFICASGUI.py @@ -122,7 +122,8 @@ def definePopup(theContext, theObject, theParent): selectedEntry = a[0] aType, aValue = studyManager.palStudy.getTypeAndValue( selectedEntry ) - if aType == studyManager.FICHIER_EFICAS_ASTER or aType == studyManager.FICHIER_EFICAS_HOMARD: + if aType == studyManager.FICHIER_EFICAS_ASTER or aType == studyManager.FICHIER_EFICAS_HOMARD \ + or aType == studyManager.FICHIER_EFICAS_HOMARD: theObject="73" return (theContext, theObject, theParent) @@ -169,13 +170,10 @@ def runEficaspourHomard(): desktop=sgPyQt.getDesktop() eficasSalome.runEficas( "HOMARD" ) - - -def runEficasHomard(): - print "runEficas" - #eficasSalome.runEficas("HOMARD") - #desktop=sgPyQt.getDesktop() - eficasSalome.runEficas( "HOMARD" ) +def runEficaspourOpenturns(): + print "runEficas Pour Openturns" + desktop=sgPyQt.getDesktop() + eficasSalome.runEficas( "OPENTURNS" ) @@ -199,6 +197,9 @@ def runEficasFichier(version=None): elif aType == studyManager.FICHIER_EFICAS_HOMARD: fileName = aValue code = "HOMARD" + elif aType == studyManager.FICHIER_EFICAS_OPENTURNS: + fileName = aValue + code = "OPENTURNS" else: fileName=None code = "ASTER" @@ -225,8 +226,10 @@ def runEficasFichierV9(): dict_command={ 941:runEficasFichier,# runEficas, 946:runEficaspourHomard, + 946:runEficaspourOpenturns, 4041:runEficasFichier, #runEficas, 4046:runEficaspourHomard, + 4047:runEficaspourOpenturns, 9042:runEficasFichier, 9043:runEficasFichierV8, 9044:runEficasFichierV9,