'Create the req/res viewer.'

def _initReqResViewer(self, mainvbox):

    self._req_res_viewer = ReqResViewer(self.w3af, editableRequest=False, editableResponse=False)
    self._req_res_viewer.set_sensitive(False)
    self._sw = gtk.ScrolledWindow()
    self._sw.set_shadow_type(gtk.SHADOW_ETCHED_IN)
    self._sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
    self._lstore = gtk.ListStore(gobject.TYPE_UINT, gobject.TYPE_BOOLEAN, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_UINT, gobject.TYPE_STRING, gobject.TYPE_UINT, gobject.TYPE_STRING, gobject.TYPE_FLOAT)
    self._lstoreTreeview = gtk.TreeView(self._lstore)
    self._lstoreTreeview.set_rules_hint(True)
    self._lstoreTreeview.set_search_column(0)
    self.__add_columns(self._lstoreTreeview)
    self._lstoreTreeview.show()
    self._lstoreTreeview.connect('cursor-changed', self._view_in_req_res_viewer)
    self._rightButtonMenu = None
    self._lstoreTreeview.connect('button-press-event', self._popupMenu)
    treeselection = self._lstoreTreeview.get_selection()
    treeselection.set_mode(gtk.SELECTION_MULTIPLE)
    self._sw.add(self._lstoreTreeview)
    self._sw.show_all()
    self._vpan = RememberingVPaned(self.w3af, 'pane-swandrRV', 100)
    self._vpan.pack1(self._sw)
    self._vpan.pack2(self._req_res_viewer)
    self._vpan.show()
    mainvbox.pack_start(self._vpan)
