diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-06 08:58:38 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-06 08:58:38 +0000 |
commit | dbbcc4144a7abef479ae9982563ed3a1cbdb725c (patch) | |
tree | dada74139078c8eaf3f33875993a73b4317b5e4d /Source/SPChooseMenuItemDialog.h | |
parent | 3de284fa904c295f306ec047fc29289399424836 (diff) | |
download | sequelpro-dbbcc4144a7abef479ae9982563ed3a1cbdb725c.tar.gz sequelpro-dbbcc4144a7abef479ae9982563ed3a1cbdb725c.tar.bz2 sequelpro-dbbcc4144a7abef479ae9982563ed3a1cbdb725c.zip |
• finished implementation of SPChooseMenuItemDialog
• simplified bundle command handling and handling for bundle commands which have the same key equivalent to be able to group similar bundle commands
• minor code improvements
Diffstat (limited to 'Source/SPChooseMenuItemDialog.h')
-rw-r--r-- | Source/SPChooseMenuItemDialog.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Source/SPChooseMenuItemDialog.h b/Source/SPChooseMenuItemDialog.h index e268ab84..3513c2a6 100644 --- a/Source/SPChooseMenuItemDialog.h +++ b/Source/SPChooseMenuItemDialog.h @@ -24,17 +24,22 @@ #import <Cocoa/Cocoa.h> +@class SPChooseMenuItemDialogTextView; @interface SPChooseMenuItemDialog : NSWindow { NSMenu *contextMenu; - NSTextView *tv; + NSInteger selectedItemIndex; + BOOL waitForChoice; + SPChooseMenuItemDialogTextView *dummyTextView; } -@property(readwrite,retain) NSMenu* contextMenu; +@property(readwrite, retain) NSMenu* contextMenu; +@property(readwrite, assign) NSInteger selectedItemIndex; +@property(readwrite, assign) BOOL waitForChoice; -- (void)initMeWithOptions:(NSDictionary *)displayOptions; -+ (void)displayMenu:(NSMenu*)theMenu atPosition:(NSPoint)location; +- (void)initDialog; ++ (NSInteger)withItems:(NSArray*)theList atPosition:(NSPoint)location; @end |