MCPcopy Index your code
hub / github.com/Maskhe/FastjsonScan / IContextMenuFactory

Interface IContextMenuFactory

FastjsonScan/src/burp/IContextMenuFactory.java:21–39  ·  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

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

Callers

nothing calls this directly

Implementers 1

BurpExtenderFastjsonScan/src/burp/BurpExtender.jav

Calls

no outgoing calls

Tested by

no test coverage detected