Salome HOME
Clarifying user interaction in EFICAS/YACS transfer process and corrections
[modules/adao.git] / src / daEficas / configuration_ADAO.py
index 4c26fc4bcef58005b4794703e6bb298a9fcbcf58..4cd78ec398664b6349a9736e2afebbebb2957842 100644 (file)
@@ -1,5 +1,8 @@
 # -*- coding: utf-8 -*-
-# Copyright (C) 2010-2011 EDF R&D
+#
+# Copyright (C) 2008-2015 EDF R&D
+#
+# This file is part of SALOME ADAO module
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -30,16 +33,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