Enhanced Context menu on outline view

This commit is contained in:
michael starke
2013-07-30 00:23:25 +02:00
parent 514477d6fc
commit e33a9fdc93
26 changed files with 278 additions and 71 deletions

View File

@@ -15,7 +15,7 @@ APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
@class HNHGradientView;
@class MPDocumentWindowController;
@interface MPOutlineViewController : MPViewController <NSOutlineViewDelegate>
@interface MPOutlineViewController : MPViewController <NSOutlineViewDelegate, NSMenuDelegate>
@property (weak) IBOutlet HNHGradientView *bottomBar;
@@ -27,5 +27,10 @@ APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
- (void)createGroup:(id)sender;
- (void)createEntry:(id)sender;
- (void)deleteNode:(id)sender;
/**
* Retrieves the current item for the current mouse location
* @return Item under mouse. If the mouse isn't inside the view, nil is returned
*/
- (id)itemUnderMouse;
@end