Added double click action to select the group of the currently selected entry.

This feature is mainly aimed to ease navigation when browsing search results
This commit is contained in:
Michael Starke
2019-08-14 12:08:18 +02:00
parent c523ba716f
commit 2d3e81a5c1
3 changed files with 32 additions and 2 deletions

View File

@@ -26,12 +26,14 @@
APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
@class MPDocument;
@class KPKGroup;
@interface MPOutlineViewController : MPViewController <MPTargetNodeResolving, NSOutlineViewDelegate, NSMenuDelegate>
- (void)clearSelection;
- (void)showOutline;
- (void)registerNotificationsForDocument:(MPDocument *)document;
- (void)selectGroup:(KPKGroup *)group;
/**
* Retrieves the current item for the current mouse location