def METHOD_NAME(self, args=None):
    self.exe_info = None
    main_win = QMainWindow()
    w = ExecuteTabPlugin()
    main_win.setCentralWidget(w)
    w.needInputFile.connect(self.needInputFile)
    w.startJob.connect(self.startJob)
    w.executableInfoChanged.connect(self.exeInfoChanged)
    menubar = main_win.menuBar()
    if args:
        parser = argparse.ArgumentParser()
        w.commandLineArgs(parser)
        parsed_args = parser.parse_args(args)
        parsed_args.arguments = []
        w.initialize(parsed_args)
    w.addToMainMenu(menubar)
    main_win.show()
    return main_win, w