Back to index

salome-smesh  6.5.0
Functions
spadderPlugin Namespace Reference

Functions

def runSpadderPlugin

Function Documentation

def spadderPlugin.runSpadderPlugin (   context)

Definition at line 23 of file spadderPlugin.py.

00023 
00024 def runSpadderPlugin(context):
00025     from salome.smesh.spadder.gui import plugindialog
00026     from salome.kernel.uiexception import UiException
00027     try:
00028         dialog=plugindialog.getDialog()
00029     except UiException, err:
00030         from PyQt4.QtGui import QMessageBox
00031         QMessageBox.critical(None,"An error occurs during PADDER configuration",
00032                              err.getUIMessage())
00033         return
00034     
00035     dialog.update()    
00036     dialog.show()
00037