intruxxer / zaproxy

Automatically exported from code.google.com/p/zaproxy
0 stars 0 forks source link

Provide a common interface to query the state and access the data (HttpMessage and HistoryReference) displayed in the tabs #609

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the pop up menu items query the state, more precisely, query the 
number of selected elements of the components interested in showing a pop up 
menu. Those pop up menu items also access, directly, the elements being shown 
(mostly HistoryReference(s) or HttpMessage(s)). The pop up menu items make 
assumptions on what component (JComponent) is used to display the data (JList, 
JTable, JTree, HttpPanel, ...), and what the data is (HttpMessage, 
HistoryReference). This prevents the tabs from using other objects to 
temporarily keep the shown data in memory more efficiently or change the 
component used to display the data (change from JList to JTable) without 
breaking compatibility.

To avoid those problems a new interface will be introduced, that will be used 
by components interested in showing a pop up menu and want to give a clean 
access, without assumptions, to either HttpMessage(s) or HistoryReference(s).

The old behaviour will be kept (provide direct access to the component).

ZAP Version:
Version 2.0.0 (and trunk r3029).

Original issue reported on code.google.com by THC...@gmail.com on 9 Apr 2013 at 2:55

GoogleCodeExporter commented 9 years ago
r4518
r4519

zap-extensions:
Alpha branch:
https://code.google.com/p/zap-extensions/source/detail?r=1068
Beta branch:
https://code.google.com/p/zap-extensions/source/detail?r=1083
Trunk:
https://code.google.com/p/zap-extensions/source/detail?r=1107

Original comment by THC...@gmail.com on 28 Mar 2014 at 3:06

GoogleCodeExporter commented 9 years ago

Original comment by psii...@gmail.com on 31 Mar 2014 at 11:17

GoogleCodeExporter commented 9 years ago
Fixed in ZAP 2.3.0

Original comment by psii...@gmail.com on 10 Apr 2014 at 3:25