Ejemplo n.º 1
0
 def __init__(self, master, base):
     self.master = master
     self.windows = dict(
         flowlist=flowlist.FlowListBox(master),
         flowview=flowview.FlowView(master),
         commands=commands.Commands(master),
         keybindings=keybindings.KeyBindings(master),
         options=options.Options(master),
         help=help.HelpView(master),
         eventlog=eventlog.EventLog(master),
         edit_focus_query=grideditor.QueryEditor(master),
         edit_focus_cookies=grideditor.CookieEditor(master),
         edit_focus_setcookies=grideditor.SetCookieEditor(master),
         edit_focus_setcookie_attrs=grideditor.CookieAttributeEditor(
             master),
         edit_focus_multipart_form=grideditor.RequestMultipartEditor(
             master),
         edit_focus_urlencoded_form=grideditor.RequestUrlEncodedEditor(
             master),
         edit_focus_path=grideditor.PathEditor(master),
         edit_focus_request_headers=grideditor.RequestHeaderEditor(master),
         edit_focus_response_headers=grideditor.ResponseHeaderEditor(
             master),
     )
     self.stack = [base]
     self.overlay = None
Ejemplo n.º 2
0
 def view_commands(self):
     for i in self.view_stack:
         if isinstance(i["body"], commands.Commands):
             return
     signals.push_view_state.send(
         self,
         window=window.Window(self, commands.Commands(self), None,
                              statusbar.StatusBar(self, commands.footer),
                              commands.help_context, "commands"))
Ejemplo n.º 3
0
    def __init__(self, master, base):
        self.master = master
        self.windows = dict(
            flowlist = flowlist.FlowListBox(master),
            flowview = flowview.FlowView(master),
            commands = commands.Commands(master),
            options = options.Options(master),
            help = help.HelpView(master),
            eventlog = eventlog.EventLog(master),

            edit_focus_query = grideditor.QueryEditor(master),
            edit_focus_cookies = grideditor.CookieEditor(master),
            edit_focus_setcookies = grideditor.SetCookieEditor(master),
            edit_focus_form = grideditor.RequestFormEditor(master),
            edit_focus_path = grideditor.PathEditor(master),
            edit_focus_request_headers = grideditor.RequestHeaderEditor(master),
            edit_focus_response_headers = grideditor.ResponseHeaderEditor(master),
        )
        self.stack = [base]
        self.overlay = None