aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableRelations.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-10-27 16:15:12 +0000
committerstuconnolly <stuart02@gmail.com>2013-10-27 16:15:12 +0000
commit0c4901239d3c0e0235e746103879f6278b3bc64f (patch)
tree8a38d24c94d9f24f25044dbc2befcf1473e3f4b7 /Source/SPTableRelations.h
parent9c240bfce5e73b3a28e58c0fa0aba76a6778e8c8 (diff)
downloadsequelpro-0c4901239d3c0e0235e746103879f6278b3bc64f.tar.gz
sequelpro-0c4901239d3c0e0235e746103879f6278b3bc64f.tar.bz2
sequelpro-0c4901239d3c0e0235e746103879f6278b3bc64f.zip
Ensure the relations table view is refreshed after field changes result in a dropped relationship. Fixes issue #1591.
Diffstat (limited to 'Source/SPTableRelations.h')
-rw-r--r--Source/SPTableRelations.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/Source/SPTableRelations.h b/Source/SPTableRelations.h
index 52a2535b..9734b678 100644
--- a/Source/SPTableRelations.h
+++ b/Source/SPTableRelations.h
@@ -32,15 +32,16 @@
@class SPTableView;
@class SPMySQLConnection;
+@class SPDatabaseDocument;
+@class SPTablesList;
+@class SPTableData;
@interface SPTableRelations : NSObject
{
- IBOutlet id tableDocumentInstance;
- IBOutlet id tablesListInstance;
- IBOutlet id tableDataInstance;
-
- IBOutlet id tableList;
-
+ IBOutlet SPDatabaseDocument *tableDocumentInstance;
+ IBOutlet SPTablesList *tablesListInstance;
+ IBOutlet SPTableData *tableDataInstance;
+
IBOutlet NSButton *addRelationButton;
IBOutlet NSButton *removeRelationButton;
IBOutlet NSButton *refreshRelationsButton;
@@ -48,16 +49,16 @@
IBOutlet SPTableView *relationsTableView;
IBOutlet NSPanel *addRelationPanel;
- IBOutlet NSTextField *constraintName;
- IBOutlet NSBox *addRelationTableBox;
- IBOutlet NSPopUpButton *columnPopUpButton;
- IBOutlet NSPopUpButton *refTablePopUpButton;
- IBOutlet NSPopUpButton *refColumnPopUpButton;
- IBOutlet NSPopUpButton *onUpdatePopUpButton;
- IBOutlet NSPopUpButton *onDeletePopUpButton;
- IBOutlet NSButton *confirmAddRelationButton;
+ IBOutlet NSTextField *constraintName;
+ IBOutlet NSBox *addRelationTableBox;
+ IBOutlet NSPopUpButton *columnPopUpButton;
+ IBOutlet NSPopUpButton *refTablePopUpButton;
+ IBOutlet NSPopUpButton *refColumnPopUpButton;
+ IBOutlet NSPopUpButton *onUpdatePopUpButton;
+ IBOutlet NSPopUpButton *onDeletePopUpButton;
+ IBOutlet NSButton *confirmAddRelationButton;
IBOutlet NSProgressIndicator *dataProgressIndicator;
- IBOutlet NSTextField *progressStatusTextField;
+ IBOutlet NSTextField *progressStatusTextField;
SPMySQLConnection *connection;
@@ -87,6 +88,5 @@
// Other
- (NSArray *)relationDataForPrinting;
-- (void)alertDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(NSString *)contextInfo;
@end