def newWidget(self, args=[]):
     plugins = [ExecuteTabPlugin, InputFileEditorWithMesh]
     parser = argparse.ArgumentParser()
     BasePeacockMainWindow.commandLineArgs(parser, plugins)
     w = BasePeacockMainWindow(plugins=plugins)
     w.show()
     w.initialize(parser.parse_args(args))
     return w
Example #2
0
 def newWidget(self, args=[]):
     plugins = [ExecuteTabPlugin, InputFileEditorWithMesh]
     parser = argparse.ArgumentParser()
     BasePeacockMainWindow.commandLineArgs(parser, plugins)
     w = BasePeacockMainWindow(plugins=plugins)
     w.show()
     w.initialize(parser.parse_args(args))
     return w
Example #3
0
 def commandLineArgs(parser):
     BasePeacockMainWindow.commandLineArgs(parser, PeacockMainWindow.PLUGINS)
Example #4
0
 def commandLineArgs(parser):
     BasePeacockMainWindow.commandLineArgs(parser, PeacockMainWindow.PLUGINS)