aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPChooseMenuItemDialog.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-06 08:58:38 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-06 08:58:38 +0000
commitdbbcc4144a7abef479ae9982563ed3a1cbdb725c (patch)
treedada74139078c8eaf3f33875993a73b4317b5e4d /Source/SPChooseMenuItemDialog.h
parent3de284fa904c295f306ec047fc29289399424836 (diff)
downloadsequelpro-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.h13
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