parameters: (self)
docstring: Reload scripted module widget representation.
docstring_summary: Reload scripted module widget representation.
docstring_tokens: Reload scripted module widget representation .
function: def onReload(self):
      """
      Reload scripted module widget representation.
      """
  
      # Print a clearly visible separator to make it easier
      # to distinguish new error messages (during/after reload)
      # from old ones.
      print('\n' * 2)
      print('-' * 30)
      print('Reloading module: '+self.moduleName)
      print('-' * 30)
      print('\n' * 2)
  
      slicer.util.reloadScriptedModule(self.moduleName)
function_tokens: def onReload ( self ) : # Print a clearly visible separator to make it easier # to distinguish new error messages (during/after reload) # from old ones. print ( '\n' * 2 ) print ( '-' * 30 ) print ( 'Reloading module: ' + self . moduleName ) print ( '-' * 30 ) print ( '\n' * 2 ) slicer . util . reloadScriptedModule ( self . moduleName )