def onShowArchivingModes(self, model=None):
     try:
         from PyTangoArchiving.widget.panel import showArchivingModes
         model = model or self.getCurrentModel()
         showArchivingModes(model, parent=self)
     except:
         Qt.QMessageBox.warning(self, "ups!", traceback.format_exc())
 def onShowArchivingModes(self,model=None):
     try:
       from PyTangoArchiving.widget.panel import showArchivingModes
       model = model or self.getCurrentModel()
       showArchivingModes(model,parent=self)
     except:
       Qt.QMessageBox.warning(self,"ups!",traceback.format_exc())