Salome HOME
Allowing string input for AlgorithmParameters dictionary
[modules/adao.git] / src / daEficas / configuration_ADAO.py
index 4c26fc4bcef58005b4794703e6bb298a9fcbcf58..f86ccb86056ff1b58f0bd6efdfbc154c701c607b 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (C) 2010-2011 EDF R&D
+# Copyright (C) 2010-2013 EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -30,16 +30,21 @@ from PyQt4.QtGui  import *
 
 # Modules Eficas
 from Editeur import utils
+from InterfaceQT4 import configuration
 
 # Classe de base permettant de lire, afficher
-# et sauvegarder les fichiers utilisateurs 
-class CONFIG:
+# et sauvegarder les fichiers utilisateurs
+class CONFIG(configuration.CONFIG_BASE):
 
   def __init__(self,appli,repIni):
 
+    self.labels_eficas = ['lang']
+    configuration.CONFIG_BASE.__init__(self,appli,repIni)
+
     self.rep_user = os.environ["HOME"]
-    self.appli   = appli  
+    self.appli   = appli
     self.code    = appli.code
+    # self.lang    = "fr"
     self.rep_ini = repIni
     self.rep_mat=" " # Compatbilite Aster
     self.savedir      = self.rep_user