Extension hook for an optional property apply menu item.
Called as the context menu is being built to retrieve the method to be called (if any) when the user select the 'apply' menu item. The boolean return value defines if a apply menu item is to be shown.