Declaration

optional func addMenuItems(for theEvent: NSEvent!, to theMenu: NSMenu!)

Declaration

- (void) addMenuItemsForEvent:(NSEvent *) theEvent toMenu:(NSMenu *) theMenu;

Declaration

addMenuItemsForEvent_toMenu_(theEvent: NSEvent, theMenu: NSMenu)

Parameters

theEvent

The Event that initiated the context menu. That can be used to determine mouse position.

theMenu

The NSMenu where you can add your menu items.

Discussion

Will be called for active reporter plugins. This allows to have some settings.