Salome HOME
PN vielles macros
[tools/eficas.git] / Editeur / eficas.py
index f9e97f9b5fe14896d28cea74ab4b47e1c949282d..2845e036cc87c84f94f964913df1f961b2227c11 100644 (file)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 #            CONFIGURATION MANAGEMENT OF EDF VERSION
 # ======================================================================
 # COPYRIGHT (C) 1991 - 2002  EDF R&D                  WWW.CODE-ASTER.ORG
 import string
 from Tkinter import Label
 import Pmw
-from tkCommonDialog import Dialog
-from tkFileDialog import *
-from tkMessageBox import askyesno,showerror
 import traceback
 
 # Modules Eficas
+from widgets import showerror
+from widgets import askopenfilename
 import patches
 import appli
 from widgets import Fenetre
@@ -50,6 +50,9 @@ class EFICAS(appli.APPLI):
   def exitEFICAS(self):
      self.bureau.exitEFICAS()
 
+  def getBureau(self):
+      return self.bureau
+      
   def browse(self,result):
       if result == 'Browse':
         self.ulfile = askopenfilename(title="Choix fichier :")