From 81f250c9f32ee4501c5cc8011aa21d20af1412a4 Mon Sep 17 00:00:00 2001 From: salome <> Date: Wed, 19 Oct 2005 14:11:27 +0000 Subject: [PATCH] =?utf8?q?ajout=20d'un=20gestionnaire=20de=20l'arbre=20d'?= =?utf8?q?=C3=A9tude=20(=20cf=20module=20EficasStudy=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/EFICASGUI/EFICASGUI.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/EFICASGUI/EFICASGUI.py b/src/EFICASGUI/EFICASGUI.py index 17e41c85..2f933a88 100644 --- a/src/EFICASGUI/EFICASGUI.py +++ b/src/EFICASGUI/EFICASGUI.py @@ -35,6 +35,13 @@ import salomedsgui aGuiDS=salomedsgui.guiDS() print "EFicasGUI :: :::::::::::::::::::::::::::::::::::::::::::::::::::::" + + +# ----------------------------------------------------------------------------- +# gestionnaire arbre d'étude +from EficasStudy import study + + # ----------------------------------------------------------------------------- def setWorkSpace(workSpace): @@ -76,7 +83,8 @@ def setSettings(): currentStudyId = sgPyQt.getStudyId() print "setSettings: currentStudyId = " + str(currentStudyId) # _CS_gbo_ Voir si on peut utiliser directement sgPyQt.getStudyId() - # dans salomedsgui? + # dans salomedsgui? + study.setCurrentStudyID( currentStudyId ) # ----------------------------------------------------------------------------- @@ -89,7 +97,9 @@ def activeStudyChanged(ID): # studyId=sg.getActiveStudyId() currentStudyId=ID print "_CS_GBO_ : EFICASGUI.activeStudyChanged : currentStudyId = ", currentStudyId - print "_CS_GBO_ : EFICASGUI.activeStudyChanged : sgPyQt.getStudyId() = ", sgPyQt.getStudyId() + print "_CS_GBO_ : EFICASGUI.activeStudyChanged : sgPyQt.getStudyId() = ", sgPyQt.getStudyId() + study.setCurrentStudyID( ID ) + def definePopup(theContext, theObject, theParent): print "EFICASGUI --- definePopup" -- 2.39.2