Package burp.api.montoya.ui.contextmenu
Interface ContextMenuItemsProvider
-
public interface ContextMenuItemsProviderThis interface allows extensions to implement and register a provider for custom context menu items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<javax.swing.JMenuItem>provideMenuItems(ContextMenuEvent event)This method is invoked by Burp Suite when the user requests a context menu anywhere in the user interface.
-
-
-
Method Detail
-
provideMenuItems
java.util.List<javax.swing.JMenuItem> provideMenuItems(ContextMenuEvent event)
This method is invoked by Burp Suite when the user requests a context menu anywhere in the user interface. Extensions should returnnullfrom this method, to indicate that no menu items are required.- Parameters:
event- This object can be queried to find out about HTTP request/responses or issues that are associated with the context menu invocation.- Returns:
- A list of custom menu items (which may include sub-menus, checkbox menu items, etc.) that should be displayed.
-
-