Sha256: 7140558fb9ace4829dbbcd4e7923fe87af1463d6933a3910ebc40fbcbff410a9
Contents?: true
Size: 1.42 KB
Versions: 8
Compression:
Stored size: 1.42 KB
Contents
package burp; /* * @(#)IContextMenuFactory.java * * Copyright PortSwigger Ltd. All rights reserved. * * This code may be used to extend the functionality of Burp Suite Free Edition * and Burp Suite Professional, provided that this usage does not violate the * license terms for those products. */ import java.util.List; import javax.swing.JMenuItem; /** * Extensions can implement this interface and then call * <code>IBurpExtenderCallbacks.registerContextMenuFactory()</code> to register * a factory for custom context menu items. */ public interface IContextMenuFactory { /** * 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. * * @param invocation An object that implements the * <code>IMessageEditorTabFactory</code> interface, which the extension can * query to obtain details of the context menu invocation. * @return A list of custom menu items (which may include sub-menus, * checkbox menu items, etc.) that should be displayed. Extensions may * return * <code>null</code> from this method, to indicate that no menu items are * required. */ List<JMenuItem> createMenuItems(IContextMenuInvocation invocation); }
Version data entries
8 entries across 8 versions & 1 rubygems