MCPcopy Create free account
hub / github.com/bit4woo/ReSign / IContextMenuFactory

Interface IContextMenuFactory

src/burp/IContextMenuFactory.java:20–38  ·  view source on GitHub ↗

Extensions can implement this interface and then call IBurpExtenderCallbacks.registerContextMenuFactory() to register a factory for custom context menu items.

Source from the content-addressed store, hash-verified

18 * a factory for custom context menu items.
19 */
20public interface IContextMenuFactory
21{
22 /**
23 * This method will be called by Burp when the user invokes a context menu
24 * anywhere within Burp. The factory can then provide any custom context
25 * menu items that should be displayed in the context menu, based on the
26 * details of the menu invocation.
27 *
28 * @param invocation An object that implements the
29 * <code>IMessageEditorTabFactory</code> interface, which the extension can
30 * query to obtain details of the context menu invocation.
31 * @return A list of custom menu items (which may include sub-menus,
32 * checkbox menu items, etc.) that should be displayed. Extensions may
33 * return
34 * <code>null</code> from this method, to indicate that no menu items are
35 * required.
36 */
37 List<JMenuItem> createMenuItems(IContextMenuInvocation invocation);
38}

Callers

nothing calls this directly

Implementers 1

BurpExtendersrc/burp/BurpExtender.java

Calls

no outgoing calls

Tested by

no test coverage detected