def __init__(self,val,definition,nom,parent):
N_MCSIMP.MCSIMP.__init__(self,val,definition,nom,parent)
V_MCSIMP.MCSIMP.__init__(self)
- I_MCSIMP.MCSIMP.__init__(self)
#----------------------------------------------#
def _viewText(self, txt, caption = "FILE_VIEWER"):
#----------------------------------------------#
- w = qtCommun.ViewText( self.QWParent, editor=self )
+ w = qtCommun.ViewText( self.QWParent )
w.setWindowTitle( caption )
w.setText(txt)
w.show()
def runYACS(self,execution="oui",nomFichier=None):
#------------------------------------------------#
format=self.appliEficas.format_fichier
- if (not self.jdc.isvalid()) :
- QMessageBox.warning(self,
- self.trUtf8("Sauvegarde YACS impossible"),
- self.trUtf8("Le Schema n est pas encore valide."),
- self.trUtf8("&OK"),)
- return
if generator.plugins.has_key(format):
# Le generateur existe on l'utilise
self.generator=generator.plugins[format]()