# -*- coding: utf-8 -*-\r
-# CONFIGURATION MANAGEMENT OF EDF VERSION\r
-# ======================================================================\r
-# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG\r
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY\r
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY\r
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR\r
-# (AT YOUR OPTION) ANY LATER VERSION.\r
+# Copyright (C) 2007-2013 EDF R&D\r
#\r
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT\r
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF\r
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU\r
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.\r
+# This library is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU Lesser General Public\r
+# License as published by the Free Software Foundation; either\r
+# version 2.1 of the License.\r
#\r
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE\r
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,\r
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.\r
+# This library is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+# Lesser General Public License for more details.\r
#\r
+# You should have received a copy of the GNU Lesser General Public\r
+# License along with this library; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+#\r
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
#\r
-# ======================================================================\r
"""\r
- Ce module sert pour charger les paramètres de configuration d'EFICAS\r
+ Ce module sert pour charger les paramètres de configuration d'EFICAS\r
"""\r
# Modules Python\r
import configuration\r
def __init__(self,appli,repIni):\r
#-----------------------------------\r
\r
- configuration.CONFIG_BASE.__init__(self,appli,repIni,'.Eficas_Openturns')\r
- self.INSTALLDIR =os.path.dirname(__file__)\r
\r
- self.labels_user=['exec_acrobat', 'catalogues','savedir','path_doc','OpenTURNS_path']\r
- self.labels_eficas=["OpenTURNS_path","rep_user","INSTALLDIR","path_doc","exec_acrobat"]\r
- self.labels_eficas=self.labels_eficas+["rep_cata","initialdir","savedir","catalogues"]\r
- self.setValeurs()\r
- self.cataFile="catalogues_openturns.ini"\r
+ self.labels_user=['exec_acrobat', 'catalogues','savedir','path_doc']\r
+ self.labels_eficas=["OpenTURNS_path","path_doc","exec_acrobat"]\r
+ self.labels_eficas=self.labels_eficas+["rep_cata","lang","catalogues"]\r
+ configuration.CONFIG_BASE.__init__(self,appli,repIni)\r
\r
#---------------------------------------\r
def lecture_fichier_ini_standard(self):\r
#---------------------------------------\r
configuration.CONFIG_BASE.lecture_fichier_ini_standard(self)\r
- if hasattr(self,'OpenTURNS_path') :\r
- self.oldOTPath=self.OpenTURNS_path\r
+ if hasattr(self,'OpenTURNS_path') : self.oldOTPath=self.OpenTURNS_path\r
\r
#---------------------------------------\r
- def lecture_fichier_ini_utilisateur(self):\r
+ def lecture_fichier_ini_integrateur(self):\r
#---------------------------------------\r
configuration.CONFIG_BASE.lecture_fichier_ini_utilisateur(self)\r
if hasattr(self,'OpenTURNS_path') :\r