aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableTriggers.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableTriggers.h')
-rw-r--r--Source/SPTableTriggers.h37
1 files changed, 17 insertions, 20 deletions
diff --git a/Source/SPTableTriggers.h b/Source/SPTableTriggers.h
index f0c1c7e1..093e1eab 100644
--- a/Source/SPTableTriggers.h
+++ b/Source/SPTableTriggers.h
@@ -18,12 +18,11 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-
#import <Cocoa/Cocoa.h>
#import <MCPKit/MCPKit.h>
-
-@interface SPTableTriggers : NSObject {
+@interface SPTableTriggers : NSObject
+{
IBOutlet id tableDocumentInstance;
IBOutlet id tablesListInstance;
IBOutlet id tableDataInstance;
@@ -31,19 +30,19 @@
IBOutlet id tableList;
IBOutlet id tableWindow;
- IBOutlet NSButton *addTriggerButton;
- IBOutlet NSButton *removeTriggerButton;
- IBOutlet NSButton *refreshTriggersButton;
- IBOutlet NSTextField *labelTextField;
- IBOutlet NSTableView *triggersTableView;
- IBOutlet NSPanel *addTriggerPanel;
+ IBOutlet NSButton *addTriggerButton;
+ IBOutlet NSButton *removeTriggerButton;
+ IBOutlet NSButton *refreshTriggersButton;
+ IBOutlet NSTableView *triggersTableView;
+ IBOutlet NSPanel *addTriggerPanel;
+ IBOutlet NSTextField *labelTextField;
+
+ IBOutlet NSTextField *triggerNameTextField;
+ IBOutlet NSPopUpButton *triggerActionTimePopUpButton;
+ IBOutlet NSPopUpButton *triggerEventPopUpButton;
+ IBOutlet NSTextView *triggerStatementTextView;
IBOutlet NSBox *addTriggerTableBox;
- IBOutlet NSPopUpButton *columnPopUpButton;
- IBOutlet NSPopUpButton *refTablePopUpButton;
- IBOutlet NSPopUpButton *refColumnPopUpButton;
- IBOutlet NSPopUpButton *onUpdatePopUpButton;
- IBOutlet NSPopUpButton *onDeletePopUpButton;
IBOutlet NSButton *confirmAddTriggerButton;
MCPConnection *connection;
@@ -56,14 +55,12 @@
// IB action methods
- (IBAction)addTrigger:(id)sender;
- (IBAction)removeTrigger:(id)sender;
-- (IBAction)closeRelationSheet:(id)sender;
-- (IBAction)confirmAddRelation:(id)sender;
-- (IBAction)selectTableColumn:(id)sender;
-- (IBAction)selectReferenceTable:(id)sender;
+- (IBAction)closeTriggerSheet:(id)sender;
+- (IBAction)confirmAddTrigger:(id)sender;
- (IBAction)refreshTriggers:(id)sender;
// Task interaction
-- (void)startDocumentTaskForTab:(NSNotification *)aNotification;
-- (void)endDocumentTaskForTab:(NSNotification *)aNotification;
+- (void)startDocumentTaskForTab:(NSNotification *)notification;
+- (void)endDocumentTaskForTab:(NSNotification *)notification;
@end