Package burp
Interface IContextMenuFactory
-
public interface IContextMenuFactoryExtensions can implement this interface and then callIBurpExtenderCallbacks.registerContextMenuFactory()to register a factory for custom context menu items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<javax.swing.JMenuItem>createMenuItems(IContextMenuInvocation invocation)This method will be called by Burp when the user invokes a context menu anywhere within Burp.
-
-
-
Method Detail
-
createMenuItems
java.util.List<javax.swing.JMenuItem> createMenuItems(IContextMenuInvocation invocation)
This method will be called by Burp when the user invokes a context menu anywhere within Burp. The factory can then provide any custom context menu items that should be displayed in the context menu, based on the details of the menu invocation.- Parameters:
invocation- An object that implements theIContextMenuInvocationinterface, which the extension can query to obtain details of the context menu invocation.- Returns:
- A list of custom menu items (which may include sub-menus,
checkbox menu items, etc.) that should be displayed. Extensions may
return
nullfrom this method, to indicate that no menu items are required.
-
-