diff options
author | abhibeckert <abhi@abhibeckert.com> | 2008-12-07 07:56:46 +0000 |
---|---|---|
committer | abhibeckert <abhi@abhibeckert.com> | 2008-12-07 07:56:46 +0000 |
commit | 5a57ab32d28a9c2b3538a73f2fd965558a39abe1 (patch) | |
tree | 0a5920a89300ab336ddb31fa1f192e0fbad77a91 /trunk | |
parent | 7335363a2df6a7bc9ce6e02d109c31ffc670a097 (diff) | |
download | sequelpro-5a57ab32d28a9c2b3538a73f2fd965558a39abe1.tar.gz sequelpro-5a57ab32d28a9c2b3538a73f2fd965558a39abe1.tar.bz2 sequelpro-5a57ab32d28a9c2b3538a73f2fd965558a39abe1.zip |
update version/copyright in tag
Diffstat (limited to 'trunk')
243 files changed, 50088 insertions, 0 deletions
diff --git a/trunk/CMCopyTable.h b/trunk/CMCopyTable.h new file mode 100644 index 00000000..8b4e1485 --- /dev/null +++ b/trunk/CMCopyTable.h @@ -0,0 +1,92 @@ +/*! + @header CMCopyTable.h + @abstract sequel-pro + @discussion <pre> + $Id:$ + Created by Stuart Glenn on Wed Apr 21 2004. + Changed by Lorenz Textor on Sat Nov 13 2004 + Copyright (c) 2004 Stuart Glenn. All rights reserved. +</pre> +*/ + +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +#import <AppKit/AppKit.h> + + +/*! + @class copyTable + @abstract subclassed NSTableView to implement copy & drag-n-drop + @discussion Allows copying by creating a string with each table row as + a separate line and each cell then separate via tabs. The drag out + is in similar format. The values for each cell are obtained via the + objects description method +*/ +@interface CMCopyTable : NSTableView +{ + +} + +/*! + @method copy: + @abstract does the work of copying + @discussion gets selected (if any) row(s) as a string setting it + then into th default pasteboard as a string type and tabular text type. + @param sender who asked for this copy? +*/ +- (void)copy:(id)sender; + +/*! + @method validateMenuItem: + @abstract Dynamically enable Copy menu item for the table view + @discussion Will only enable the Copy item when something is selected in + this table view + @param anItem the menu item being validated + @result YES if there is at least one row selected & the menu item is + copy, NO otherwise +*/ +- (BOOL)validateMenuItem:(NSMenuItem*)anItem; + +/*! + @method draggingSourceOperationMaskForLocal: + @discussion Allows for dragging out of the table to other applications + @param isLocal who cares + @result Always calls for a copy type drag operation +*/ +- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)isLocal; + +/*! + @method selectedRowsAsTabString + @abstract getter of the selected rows of the table for copy + @discussion For the selected rows returns a single string with each row + separated by a newline and then for each column value separated by a + tab. Values are from the objects description method, so make sure it + returns something meaningful. + @result The above described string, or nil if nothing selected +*/ +- (NSString *)selectedRowsAsTabString; + +/*! + @method draggedRowsAsTabString: + @abstract getter of the dragged rows of the table for drag + @discussion For the dragged rows returns a single string with each row + separated by a newline and then for each column value separated by a + tab. Values are from the objects description method, so make sure it + returns something meaningful. + @result The above described string, or nil if nothing selected +*/ +- (NSString *)draggedRowsAsTabString:(NSArray *)rows; + +@end diff --git a/trunk/CMCopyTable.m b/trunk/CMCopyTable.m new file mode 100644 index 00000000..7eb80c52 --- /dev/null +++ b/trunk/CMCopyTable.m @@ -0,0 +1,183 @@ +// +// CMCopyTable.m +// sequel-pro +// +// Created by Stuart Glenn on Wed Apr 21 2004. +// Changed by Lorenz Textor on Sat Nov 13 2004 +// Copyright (c) 2004 Stuart Glenn. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +#import "CMCopyTable.h" + + +@implementation CMCopyTable + +- (void)copy:(id)sender +{ + NSString *tmp = [self selectedRowsAsTabString]; + + if ( nil != tmp ) + { + NSPasteboard *pb = [NSPasteboard generalPasteboard]; + + [pb declareTypes:[NSArray arrayWithObjects: NSTabularTextPboardType, + NSStringPboardType, nil] + owner:nil]; + + [pb setString:tmp forType:NSStringPboardType]; + [pb setString:tmp forType:NSTabularTextPboardType]; + } +} + +//allow for drag-n-drop out of the application as a copy +- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)isLocal +{ + return NSDragOperationCopy; +} + +//only have the copy menu item enabled when row(s) are selected +- (BOOL)validateMenuItem:(NSMenuItem*)anItem +{ + int row = [self selectedRow]; + if ([[anItem title] isEqualToString:@"Copy"] ) + { + if (row < 0 ) + { + return NO; + } + } + return YES; +} + +//get selected rows a string of newline separated lines of tab separated fields +//the value in each field is from the objects description method +- (NSString *)selectedRowsAsTabString +{ + if ( [self numberOfSelectedRows] > 0 ) + { + NSArray *columns = [self tableColumns]; + int numColumns = [columns count]; + id dataSource = [self dataSource]; + + NSMutableString *result = [NSMutableString stringWithCapacity:numColumns]; + + //this is really deprecated in 10.3, but the new method is really weird + NSEnumerator *enumerator = [self selectedRowEnumerator]; + + int c; + id row = nil; + id rowData = nil; + NSTableColumn *col = nil; + + while (row = [enumerator nextObject]) + { + rowData = nil; + for ( c = 0; c < numColumns; c++) + { + col = [columns objectAtIndex:c]; + rowData = [dataSource tableView:self + objectValueForTableColumn:col + row:[row intValue] ]; + + if ( nil != rowData ) + { + [result appendString:[NSString stringWithFormat:@"%@\t", [rowData description] ] ]; + } + else + { + [result appendString:@"\t"]; + } + } //end for each column + + if ( [result length] ) + { + [result deleteCharactersInRange:NSMakeRange([result length]-1, 1)]; + } + [result appendString: [ NSString stringWithFormat:@"\n"]]; + } //end for each row + + if ( [result length] ) + { + [result deleteCharactersInRange:NSMakeRange([result length]-1, 1)]; + } + return result; + } + else + { + return nil; + } +} + +//get dragged rows a string of newline separated lines of tab separated fields +//the value in each field is from the objects description method +- (NSString *)draggedRowsAsTabString:(NSArray *)rows +{ + if ( [rows count] > 0 ) + { + NSArray *columns = [self tableColumns]; + int numColumns = [columns count]; + id dataSource = [self dataSource]; + + NSMutableString *result = [NSMutableString stringWithCapacity:numColumns]; + + //this is really deprecated in 10.3, but the new method is really weird + NSEnumerator *enumerator = [rows objectEnumerator]; + + int c; + id row = nil; + id rowData = nil; + NSTableColumn *col = nil; + + while (row = [enumerator nextObject]) + { + rowData = nil; + for ( c = 0; c < numColumns; c++) + { + col = [columns objectAtIndex:c]; + rowData = [dataSource tableView:self + objectValueForTableColumn:col + row:[row intValue] ]; + + if ( nil != rowData ) + { + [result appendString:[NSString stringWithFormat:@"%@\t", [rowData description] ] ]; + } + else + { + [result appendString:@"\t"]; + } + } //end for each column + + if ( [result length] ) + { + [result deleteCharactersInRange:NSMakeRange([result length]-1, 1)]; + } + [result appendString: [ NSString stringWithFormat:@"\n"]]; + } //end for each row + + if ( [result length] ) + { + [result deleteCharactersInRange:NSMakeRange([result length]-1, 1)]; + } + return result; + } + else + { + return nil; + } +} + +@end diff --git a/trunk/CMImageView.h b/trunk/CMImageView.h new file mode 100644 index 00000000..f52e8e5b --- /dev/null +++ b/trunk/CMImageView.h @@ -0,0 +1,36 @@ +// +// CMImageView.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Sat Sep 06 2003. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> + + +@interface CMImageView : NSImageView { + + NSString *draggedFilePath; + +} + +- (NSString *)draggedFilePath; + +@end diff --git a/trunk/CMImageView.m b/trunk/CMImageView.m new file mode 100644 index 00000000..0eb4c250 --- /dev/null +++ b/trunk/CMImageView.m @@ -0,0 +1,48 @@ +// +// CMImageView.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Sat Sep 06 2003. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "CMImageView.h" + + +@implementation CMImageView + +- (NSString *)draggedFilePath +/* +returns the path of the dragged file +*/ +{ + return [NSString stringWithString:draggedFilePath]; +} + +- (void)concludeDragOperation:(id <NSDraggingInfo>)sender +{ + if ( draggedFilePath ) + [draggedFilePath release]; + + draggedFilePath = [[NSString stringWithString:[[[sender draggingPasteboard] propertyListForType:@"NSFilenamesPboardType"] objectAtIndex:0]] retain]; + + [super concludeDragOperation:sender]; +} + +@end diff --git a/trunk/CMMCPConnection.h b/trunk/CMMCPConnection.h new file mode 100644 index 00000000..d564d96b --- /dev/null +++ b/trunk/CMMCPConnection.h @@ -0,0 +1,37 @@ +// +// CMMCPConnection.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Sept 21 2005. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPResult.h" + +@interface CMMCPConnection : MCPConnection { + id delegate; +} + +- (CMMCPResult *)queryString:(NSString *) query; +- (void)setDelegate:(id)object; +- (NSTimeZone *)timeZone; + +@end diff --git a/trunk/CMMCPConnection.m b/trunk/CMMCPConnection.m new file mode 100644 index 00000000..8d4e2673 --- /dev/null +++ b/trunk/CMMCPConnection.m @@ -0,0 +1,207 @@ +// +// CMMCPConnection.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Sept 21 2005. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "CMMCPConnection.h" + + +@implementation CMMCPConnection + +/* +Gets a proper NSStringEncoding according to the given MySQL charset. + +MySQL 4.0 offers this charsets: +big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin1 latin1_de latin2 latin5 sjis swe7 tis620 ujis usa7 win1250 win1251ukr + +WARNING : incomplete implementation. Please, send your fixes. + ++ (NSStringEncoding) encodingForMySQLEncoding:(const char *) mysqlEncoding +{ + // unicode + if (!strncmp(mysqlEncoding, "utf8", 4)) { + return NSUTF8StringEncoding; + } + if (!strncmp(mysqlEncoding, "ucs2", 4)) { + return NSUnicodeStringEncoding; + } + // west european + if (!strncmp(mysqlEncoding, "ascii", 5)) { + return NSASCIIStringEncoding; + } + if (!strncmp(mysqlEncoding, "latin1", 6)) { + return NSISOLatin1StringEncoding; + } + if (!strncmp(mysqlEncoding, "macroman", 8)) { + return NSMacOSRomanStringEncoding; + } + // central european + if (!strncmp(mysqlEncoding, "cp1250", 6)) { + return NSWindowsCP1250StringEncoding; + } + if (!strncmp(mysqlEncoding, "latin2", 6)) { + return NSISOLatin2StringEncoding; + } + // south european and middle east + if (!strncmp(mysqlEncoding, "cp1256", 6)) { + return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingWindowsArabic); + } + if (!strncmp(mysqlEncoding, "greek", 5)) { + return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatinGreek); + } + if (!strncmp(mysqlEncoding, "hebrew", 6)) { + CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatinHebrew); + } + if (!strncmp(mysqlEncoding, "latin5", 6)) { + return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatin5); + } + // baltic + if (!strncmp(mysqlEncoding, "cp1257", 6)) { + return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingWindowsBalticRim); + } + // cyrillic + if (!strncmp(mysqlEncoding, "cp1251", 6)) { + return NSWindowsCP1251StringEncoding; + } + // asian + if (!strncmp(mysqlEncoding, "big5", 4)) { + return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingBig5); + } + if (!strncmp(mysqlEncoding, "ujis", 4)) { + return NSJapaneseEUCStringEncoding; + } + if (!strncmp(mysqlEncoding, "sjis", 4)) { + return NSShiftJISStringEncoding; + } + + // default to iso latin 1, even if it is not exact (throw an exception?) + NSLog(@"warning: unknown encoding %s! falling back to latin1.", mysqlEncoding); + return NSISOLatin1StringEncoding; +} +*/ + + +/* + modified version of queryString to be used in sequel-pro + */ +- (CMMCPResult *)queryString:(NSString *) query +{ + CMMCPResult *theResult; + const char *theCQuery = [self cStringFromString:query]; + int theQueryCode; + + // check connection + if (![self checkConnection]) { + NSLog(@"Connection was gone, but should be reestablished now!"); + } + + // inform the delegate about the query + if (delegate && [delegate respondsToSelector:@selector(willQueryString:)]) { + [delegate willQueryString:query]; + } + + if (0 == (theQueryCode = mysql_query(mConnection, theCQuery))) { + if (mysql_field_count(mConnection) != 0) { + // use CMMCPResult instad of MCPResult + theResult = [[CMMCPResult alloc] initWithMySQLPtr:mConnection encoding:mEncoding timeZone:mTimeZone]; + } else { + return nil; + } + } else { +// NSLog (@"Problem in queryString error code is : %d, query is : %s -in ObjC : %@-\n", theQueryCode, theCQuery, query); +// NSLog(@"Error message is : %@\n", [self getLastErrorMessage]); +// theResult = [theResult init]; // Old version... +// theResult = nil; + + // inform the delegate about errors + if (delegate && [delegate respondsToSelector:@selector(queryGaveError:)]) { + [delegate queryGaveError:[self getLastErrorMessage]]; + } + + return nil; + } + return [theResult autorelease]; +} + +- (void)setDelegate:(id)object +{ + delegate = object; +} + +/* Getting the currently used time zone (in communication with the DB server). */ +/* fixes mysql 4.1.14 problem, can be deleted as soon as fixed in the framework */ +- (NSTimeZone *)timeZone +{ + if ([self checkConnection]) { + MCPResult *theSessionTZ = [self queryString:@"SHOW VARIABLES LIKE '%time_zone'"]; + NSArray *theRow; + id theTZName; + NSTimeZone *theTZ; + + [theSessionTZ dataSeek:1ULL]; + theRow = [theSessionTZ fetchRowAsArray]; + theTZName = [theRow objectAtIndex:1]; + + if ( [theTZName isKindOfClass:[NSData class]] ) { + // MySQL 4.1.14 returns the mysql variables as NSData + theTZName = [self stringWithText:theTZName]; + } + + if ([theTZName isEqualToString:@"SYSTEM"]) { + [theSessionTZ dataSeek:0ULL]; + theRow = [theSessionTZ fetchRowAsArray]; + theTZName = [theRow objectAtIndex:1]; + + if ( [theTZName isKindOfClass:[NSData class]] ) { + // MySQL 4.1.14 returns the mysql variables as NSData + theTZName = [self stringWithText:theTZName]; + } + } + + if (theTZName) { // Old versions of the server does not support there own time zone ? + theTZ = [NSTimeZone timeZoneWithName:theTZName]; + } else { + // By default set the time zone to the local one.. + // Try to get the name using the previously available variable: + theSessionTZ = [self queryString:@"SHOW VARIABLES LIKE 'timezone'"]; + [theSessionTZ dataSeek:0ULL]; + theRow = [theSessionTZ fetchRowAsArray]; + theTZName = [theRow objectAtIndex:1]; + if (theTZName) { + // Finally we found one ... + theTZ = [NSTimeZone timeZoneWithName:theTZName]; + } else { + theTZ = [NSTimeZone defaultTimeZone]; + //theTZ = [NSTimeZone systemTimeZone]; + NSLog(@"The time zone is not defined on the server, set it to the default one : %@", theTZ); + } + } + + if (theTZ != mTimeZone) { + [mTimeZone release]; + mTimeZone = [theTZ retain]; + } + } + return mTimeZone; +} + +@end diff --git a/trunk/CMMCPResult.h b/trunk/CMMCPResult.h new file mode 100644 index 00000000..7f527949 --- /dev/null +++ b/trunk/CMMCPResult.h @@ -0,0 +1,35 @@ +// +// CMMCPResult.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Sept 21 2005. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> + + +@interface CMMCPResult : MCPResult { + +} + +- (id)fetchRowAsType:(MCPReturnType)aType; + +@end diff --git a/trunk/CMMCPResult.m b/trunk/CMMCPResult.m new file mode 100644 index 00000000..f80ff5c3 --- /dev/null +++ b/trunk/CMMCPResult.m @@ -0,0 +1,147 @@ +// +// CMMCPResult.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Sept 21 2005. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "CMMCPResult.h" + + +@implementation CMMCPResult + +/* +modified version for use with sequel-pro +*/ +- (id)fetchRowAsType:(MCPReturnType)aType +{ + MYSQL_ROW theRow; + unsigned long *theLengths; + MYSQL_FIELD *theField; + int i; + id theReturn; + + if (mResult == NULL) { + // If there is no results, returns nil, as after the last row... + return nil; + } + + theRow = mysql_fetch_row(mResult); + if (theRow == NULL) { + return nil; + } + + switch (aType) { + case MCPTypeArray: + theReturn = [NSMutableArray arrayWithCapacity:mNumOfFields]; + break; + case MCPTypeDictionary: + if (mNames == nil) { + [self fetchFieldNames]; + } + theReturn = [NSMutableDictionary dictionaryWithCapacity:mNumOfFields]; + break; + default : + NSLog (@"Unknown type : %d, will return an Array!\n", aType); + theReturn = [NSMutableArray arrayWithCapacity:mNumOfFields]; + break; + } + + theLengths = mysql_fetch_lengths(mResult); + theField = mysql_fetch_fields(mResult); + + for (i=0; i<mNumOfFields; i++) { + id theCurrentObj; + + if (theRow[i] == NULL) { + theCurrentObj = [NSNull null]; + } else { + char *theData = calloc(sizeof(char),theLengths[i]+1); + //char *theUselLess; + memcpy(theData, theRow[i],theLengths[i]); + theData[theLengths[i]] = '\0'; + + switch (theField[i].type) { + case FIELD_TYPE_TINY: + case FIELD_TYPE_SHORT: + case FIELD_TYPE_INT24: + case FIELD_TYPE_LONG: + case FIELD_TYPE_LONGLONG: + case FIELD_TYPE_DECIMAL: + case FIELD_TYPE_FLOAT: + case FIELD_TYPE_DOUBLE: + case FIELD_TYPE_NEW_DECIMAL: + case FIELD_TYPE_TIMESTAMP: + case FIELD_TYPE_DATE: + case FIELD_TYPE_TIME: + case FIELD_TYPE_DATETIME: + case FIELD_TYPE_YEAR: + case FIELD_TYPE_VAR_STRING: + case FIELD_TYPE_STRING: + case FIELD_TYPE_SET: + case FIELD_TYPE_ENUM: + case FIELD_TYPE_NEWDATE: // Don't know what the format for this type is... + theCurrentObj = [self stringWithCString:theData]; + break; + + case FIELD_TYPE_TINY_BLOB: + case FIELD_TYPE_BLOB: + case FIELD_TYPE_MEDIUM_BLOB: + case FIELD_TYPE_LONG_BLOB: + theCurrentObj = [NSData dataWithBytes:theData length:theLengths[i]]; + if (!(theField[i].flags & BINARY_FLAG)) { // It is TEXT and NOT BLOB... + theCurrentObj = [self stringWithText:theCurrentObj]; + } // #warning Should check for TEXT (using theField[i].flag BINARY_FLAG) + break; + + case FIELD_TYPE_NULL: + theCurrentObj = [NSNull null]; + break; + + default: + NSLog (@"in fetchRowAsType : Unknown type : %d for column %d, send back a NSData object", (int)theField[i].type, (int)i); + theCurrentObj = [NSData dataWithBytes:theData length:theLengths[i]]; + break; + } + + free(theData); + + // Some of the creators return nil object... + if (theCurrentObj == nil) { + theCurrentObj = [NSNull null]; + } + } + + switch (aType) { + case MCPTypeDictionary : + [theReturn setObject:theCurrentObj forKey:[mNames objectAtIndex:i]]; + break; + + case MCPTypeArray : + default : + [theReturn addObject:theCurrentObj]; + break; + } + } + + return theReturn; +} + +@end diff --git a/trunk/CMTextView.h b/trunk/CMTextView.h new file mode 100644 index 00000000..e70c6ea4 --- /dev/null +++ b/trunk/CMTextView.h @@ -0,0 +1,32 @@ +// +// CMTextView.h +// sequel-pro +// +// Created by Carsten BlŸm. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> + +@interface CMTextView : NSTextView { +} + +-(NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index; +-(NSArray *)keywords; + +@end diff --git a/trunk/CMTextView.m b/trunk/CMTextView.m new file mode 100644 index 00000000..0542ffa8 --- /dev/null +++ b/trunk/CMTextView.m @@ -0,0 +1,296 @@ +// +// CMTextView.m +// sequel-pro +// +// Created by Carsten BlŸm. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "CMTextView.h" + +@implementation CMTextView + +- (NSArray *)completionsForPartialWordRange:(NSRange)charRange indexOfSelectedItem:(int *)index +{ + + NSString *partialString = [[self string] substringWithRange:charRange]; + unsigned int partialLength = [partialString length]; + unsigned int options = NSCaseInsensitiveSearch | NSAnchoredSearch; + unsigned int i; + NSRange partialRange = NSMakeRange(0, partialLength); + NSMutableArray *compl = [[NSMutableArray alloc] initWithCapacity:32]; + NSArray *keywords = [self keywords]; + + // Get the document +// id tableDocument = [[[self window] windowController] document]; + id tableDocument = [[self window] delegate]; + +//NSLog(@"doc: %@", [[[self window] windowController] document]); + + // Get an array of table names for the current database + id tableNames = [[tableDocument valueForKeyPath:@"tablesListInstance"] valueForKey:@"tables"]; + + // Add matching table names to compl + for (i = 0; i < [tableNames count]; i ++) + { + if ([[tableNames objectAtIndex:i] length] > partialLength) + { + NSRange range = [[tableNames objectAtIndex:i] rangeOfString:partialString + options:options + range:partialRange]; + if (range.location != NSNotFound) + { + [compl addObject:[tableNames objectAtIndex:i]]; + } + } + + } + + // Add matching keywords to compl + for (i = 0; i < [keywords count]; i ++) + { + if ([[keywords objectAtIndex:i] length] > partialLength) + { + NSRange range = [[keywords objectAtIndex:i] rangeOfString:partialString + options:options + range:partialRange]; + if (range.location != NSNotFound) + { + [compl addObject:[keywords objectAtIndex:i]]; + } + } + } + + return [compl autorelease]; +} + + + +-(NSArray *)keywords { + return [NSArray arrayWithObjects: + @"ADD", + @"ALL", + @"ALTER", + @"ANALYZE", + @"AND", + @"ASC", + @"ASENSITIVE", + @"BEFORE", + @"BETWEEN", + @"BIGINT", + @"BINARY", + @"BLOB", + @"BOTH", + @"CALL", + @"CASCADE", + @"CASE", + @"CHANGE", + @"CHAR", + @"CHARACTER", + @"CHECK", + @"COLLATE", + @"COLUMN", + @"COLUMNS", + @"CONDITION", + @"CONNECTION", + @"CONSTRAINT", + @"CONTINUE", + @"CONVERT", + @"CREATE", + @"CROSS", + @"CURRENT_DATE", + @"CURRENT_TIME", + @"CURRENT_TIMESTAMP", + @"CURRENT_USER", + @"CURSOR", + @"DATABASE", + @"DATABASES", + @"DAY_HOUR", + @"DAY_MICROSECOND", + @"DAY_MINUTE", + @"DAY_SECOND", + @"DEC", + @"DECIMAL", + @"DECLARE", + @"DEFAULT", + @"DELAYED", + @"DELETE", + @"DESC", + @"DESCRIBE", + @"DETERMINISTIC", + @"DISTINCT", + @"DISTINCTROW", + @"DIV", + @"DOUBLE", + @"DROP", + @"DUAL", + @"EACH", + @"ELSE", + @"ELSEIF", + @"ENCLOSED", + @"ESCAPED", + @"EXISTS", + @"EXIT", + @"EXPLAIN", + @"FALSE", + @"FETCH", + @"FIELDS", + @"FLOAT", + @"FOR", + @"FORCE", + @"FOREIGN", + @"FOUND", + @"FROM", + @"FULLTEXT", + @"GOTO", + @"GRANT", + @"GROUP", + @"HAVING", + @"HIGH_PRIORITY", + @"HOUR_MICROSECOND", + @"HOUR_MINUTE", + @"HOUR_SECOND", + @"IGNORE", + @"INDEX", + @"INFILE", + @"INNER", + @"INOUT", + @"INSENSITIVE", + @"INSERT", + @"INT", + @"INTEGER", + @"INTERVAL", + @"INTO", + @"ITERATE", + @"JOIN", + @"KEY", + @"KEYS", + @"KILL", + @"LEADING", + @"LEAVE", + @"LEFT", + @"LIKE", + @"LIMIT", + @"LINES", + @"LOAD", + @"LOCALTIME", + @"LOCALTIMESTAMP", + @"LOCK", + @"LONG", + @"LONGBLOB", + @"LONGTEXT", + @"LOOP", + @"LOW_PRIORITY", + @"MATCH", + @"MEDIUMBLOB", + @"MEDIUMINT", + @"MEDIUMTEXT", + @"MIDDLEINT", + @"MINUTE_MICROSECOND", + @"MINUTE_SECOND", + @"MOD", + @"NATURAL", + @"NOT", + @"NO_WRITE_TO_BINLOG", + @"NULL", + @"NUMERIC", + @"ON", + @"OPTIMIZE", + @"OPTION", + @"OPTIONALLY", + @"ORDER", + @"OUT", + @"OUTER", + @"OUTFILE", + @"PRECISION", + @"PRIMARY", + @"PRIVILEGES", + @"PROCEDURE", + @"PURGE", + @"READ", + @"REAL", + @"REFERENCES", + @"REGEXP", + @"RENAME", + @"REPEAT", + @"REPLACE", + @"REQUIRE", + @"RESTRICT", + @"RETURN", + @"REVOKE", + @"RIGHT", + @"RLIKE", + @"SECOND_MICROSECOND", + @"SELECT", + @"SENSITIVE", + @"SEPARATOR", + @"SET", + @"SHOW", + @"SMALLINT", + @"SONAME", + @"SPATIAL", + @"SPECIFIC", + @"SQL", + @"SQLEXCEPTION", + @"SQLSTATE", + @"SQLWARNING", + @"SQL_BIG_RESULT", + @"SQL_CALC_FOUND_ROWS", + @"SQL_SMALL_RESULT", + @"SSL", + @"STARTING", + @"STRAIGHT_JOIN", + @"TABLE", + @"TABLES", + @"TERMINATED", + @"THEN", + @"TINYBLOB", + @"TINYINT", + @"TINYTEXT", + @"TRAILING", + @"TRIGGER", + @"TRUE", + @"UNDO", + @"UNION", + @"UNIQUE", + @"UNLOCK", + @"UNSIGNED", + @"UPDATE", + @"USAGE", + @"USE", + @"USING", + @"UTC_DATE", + @"UTC_TIME", + @"UTC_TIMESTAMP", + @"VALUES", + @"VARBINARY", + @"VARCHAR", + @"VARCHARACTER", + @"VARYING", + @"WHEN", + @"WHERE", + @"WHILE", + @"WITH", + @"WRITE", + @"XOR", + @"YEAR_MONTH", + @"ZEROFILL", + nil]; +} + +@end diff --git a/trunk/CustomQuery.h b/trunk/CustomQuery.h new file mode 100644 index 00000000..e873d833 --- /dev/null +++ b/trunk/CustomQuery.h @@ -0,0 +1,105 @@ +// +// CustomQuery.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMCopyTable.h" +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + + +@interface CustomQuery : NSObject { + + IBOutlet id tableDumpInstance; + + IBOutlet id tableWindow; + IBOutlet id queryFavoritesButton; + IBOutlet id queryHistoryButton; + IBOutlet id textView; + IBOutlet CMCopyTable *customQueryView; + IBOutlet id errorText; + IBOutlet id affectedRowsText; + IBOutlet id valueSheet; + IBOutlet id valueTextField; + IBOutlet id queryFavoritesSheet; + IBOutlet id queryFavoritesView; + + CMMCPConnection *mySQLConnection; + NSArray *queryResult; + NSUserDefaults *prefs; + NSMutableArray *queryFavorites; +} + +//IBAction methods +- (IBAction)performQuery:(id)sender; +- (IBAction)chooseQueryFavorite:(id)sender; +- (IBAction)chooseQueryHistory:(id)sender; +- (IBAction)closeSheet:(id)sender; + +//queryFavoritesSheet methods +- (IBAction)addQueryFavorite:(id)sender; +- (IBAction)removeQueryFavorite:(id)sender; +- (IBAction)copyQueryFavorite:(id)sender; +- (IBAction)closeQueryFavoritesSheet:(id)sender; + +//getter methods +- (NSArray *)currentResult; + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection; +- (void)setFavorites; +- (void)doPerformQueryService:(NSString *)query; + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//tableView drag&drop datasource methods +- (BOOL)tableView:(NSTableView *)aTableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard; +- (NSDragOperation)tableView:(NSTableView*)aTableView validateDrop:(id <NSDraggingInfo>)info proposedRow:(int)row + proposedDropOperation:(NSTableViewDropOperation)operation; +- (BOOL)tableView:(NSTableView*)aTableView acceptDrop:(id <NSDraggingInfo>)info row:(int)row dropOperation:(NSTableViewDropOperation)operation; + +//tableView delegate methods +- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex; + +//splitView delegate methods +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview; +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset; +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset; + +//textView delegate methods +- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector; + +//last but not least +- (id)init; +- (void)dealloc; + +@end diff --git a/trunk/CustomQuery.m b/trunk/CustomQuery.m new file mode 100644 index 00000000..e5f48e7b --- /dev/null +++ b/trunk/CustomQuery.m @@ -0,0 +1,742 @@ +// +// CustomQuery.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "CustomQuery.h" +#import "TableDump.h" +#import "SPGrowlController.h" + +@implementation CustomQuery + +//IBAction methods +- (IBAction)performQuery:(id)sender; +/* +performs the mysql-query given by the user +sets the tableView columns corresponding to the mysql-result +*/ +{ + // Fixes bug in key equivalents. + if ([[NSApp currentEvent] type] == NSKeyUp) + { + return; + } + + NSArray *theColumns; + NSTableColumn *theCol; + CMMCPResult *theResult = nil; + NSArray *queries; +// NSArray *theTypes; + NSMutableArray *menuItems = [NSMutableArray array]; + NSMutableArray *tempResult = [NSMutableArray array]; + NSMutableString *errors = [NSMutableString string]; + int i; + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + //split queries by ;'s + queries = [tableDumpInstance splitQueries:[textView string]]; + +//perform queries + for ( i = 0 ; i < [queries count] ; i++ ) { + theResult = [mySQLConnection queryString:[queries objectAtIndex:i]]; + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //query gave error + if ( [queries count] > 1 ) { + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"[ERROR in query %d] %@\n", @"error text when multiple custom query failed"), + i+1, + [mySQLConnection getLastErrorMessage]]]; + } else { + [errors setString:[mySQLConnection getLastErrorMessage]]; + } + } +// theTypes = [queryResult fetchTypesAsArray]; + } + + //perform empty query if no query is given + if ( [queries count] == 0 ) { + theResult = [mySQLConnection queryString:@""]; + [errors setString:[mySQLConnection getLastErrorMessage]]; + } + +//put result in array + [queryResult release]; + queryResult = nil; + if ( nil != theResult ) + { + int r = [theResult numOfRows]; + if (r) [theResult dataSeek:0]; + for ( i = 0 ; i < r ; i++ ) { + [tempResult addObject:[theResult fetchRowAsArray]]; + } + queryResult = [[NSArray arrayWithArray:tempResult] retain]; + } + +//add query to history + [queryHistoryButton insertItemWithTitle:[textView string] atIndex:1]; + while ( [queryHistoryButton numberOfItems] > 21 ) { + [queryHistoryButton removeItemAtIndex:[queryHistoryButton numberOfItems]-1]; + } + for ( i = 1 ; i < [queryHistoryButton numberOfItems] ; i++ ) + { + [menuItems addObject:[queryHistoryButton itemTitleAtIndex:i]]; + } + [prefs setObject:menuItems forKey:@"queryHistory"]; + +//select the text of the query textView and set standard font + [textView selectAll:self]; + if ( [errors length] ) { + [errorText setStringValue:errors]; + } else { + [errorText setStringValue:NSLocalizedString(@"There were no errors.", @"text shown when query was successfull")]; + } + if ( [mySQLConnection affectedRows] != -1 ) { + [affectedRowsText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%@ row(s) affected", @"text showing how many rows have been affected"), + [[NSNumber numberWithLongLong:[mySQLConnection affectedRows]] stringValue]]]; + } else { + [affectedRowsText setStringValue:@""]; + } + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [textView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } else { + [textView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + + if ( !theResult || ![theResult numOfRows] ) { +//no rows in result + //free tableView + theColumns = [customQueryView tableColumns]; + while ([theColumns count]) { + [customQueryView removeTableColumn:[theColumns objectAtIndex:0]]; + } +// theCol = [[NSTableColumn alloc] initWithIdentifier:@""]; +// [[theCol headerCell] setStringValue:@""]; +// [customQueryView addTableColumn:theCol]; +// [customQueryView sizeLastColumnToFit]; + [customQueryView reloadData]; +// [theCol release]; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + // Query finished Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Query Finished" + description:[NSString stringWithFormat:NSLocalizedString(@"%@",@"description for query finished growl notification"), [errorText stringValue]] + notificationName:@"Query Finished"]; + + return; + } + +//set columns +//remove all columns + theColumns = [customQueryView tableColumns]; +// i=0; + while ([theColumns count]) { + [customQueryView removeTableColumn:[theColumns objectAtIndex:0]]; +// i++; + } + +//add columns, corresponding to the query result + theColumns = [theResult fetchFieldNames]; + for ( i = 0 ; i < [theResult numOfFields] ; i++) { + theCol = [[NSTableColumn alloc] initWithIdentifier:[NSNumber numberWithInt:i]]; + [theCol setResizingMask:NSTableColumnUserResizingMask]; + NSTextFieldCell *dataCell = [[[NSTextFieldCell alloc] initTextCell:@""] autorelease]; + [dataCell setEditable:NO]; + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [dataCell setFont:[NSFont fontWithName:@"Monaco" size:10]]; + } else { + [dataCell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + [dataCell setLineBreakMode:NSLineBreakByTruncatingTail]; + [theCol setDataCell:dataCell]; + [[theCol headerCell] setStringValue:[theColumns objectAtIndex:i]]; + + [customQueryView addTableColumn:theCol]; + [theCol release]; + } + + [customQueryView sizeLastColumnToFit]; + //tries to fix problem with last row (otherwise to small) + //sets last column to width of the first if smaller than 30 + //problem not fixed for resizing window + if ( [[customQueryView tableColumnWithIdentifier:[NSNumber numberWithInt:[theColumns count]-1]] width] < 30 ) + [[customQueryView tableColumnWithIdentifier:[NSNumber numberWithInt:[theColumns count]-1]] + setWidth:[[customQueryView tableColumnWithIdentifier:[NSNumber numberWithInt:0]] width]]; + [customQueryView reloadData]; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + // Query finished Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Query Finished" + description:[NSString stringWithFormat:NSLocalizedString(@"%@",@"description for query finished growl notification"), [errorText stringValue]] + notificationName:@"Query Finished"]; +} + +- (IBAction)chooseQueryFavorite:(id)sender +/* +insert the choosen favorite query in the query textView or save query to favorites or opens window to edit favorites +*/ +{ + if ( [queryFavoritesButton indexOfSelectedItem] == 1) { +//save query to favorites + //check if favorite doesn't exist + NSEnumerator *enumerator = [queryFavorites objectEnumerator]; + id favorite; + while ( (favorite = [enumerator nextObject]) ) { + if ( [favorite isEqualToString:[textView string]] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Query already exists in favorites.", @"message of panel when trying to save query which already exists in favorites")); + return; + } + } + if ( [[textView string] isEqualToString:@""] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Query can't be empty.", @"message of panel when trying to save empty query")); + return; + } + [queryFavorites addObject:[NSString stringWithString:[textView string]]]; + [queryFavoritesView reloadData]; + [prefs setObject:queryFavorites forKey:@"queryFavorites"]; + [self setFavorites]; + } else if ( [queryFavoritesButton indexOfSelectedItem] == 2) { +//edit favorites + [NSApp beginSheet:queryFavoritesSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + [NSApp runModalForWindow:queryFavoritesSheet]; + + [NSApp endSheet:queryFavoritesSheet]; + [queryFavoritesSheet orderOut:nil]; + } else if ( [queryFavoritesButton indexOfSelectedItem] != 3) { +//choose favorite + [textView replaceCharactersInRange:[textView selectedRange] withString:[queryFavoritesButton titleOfSelectedItem]]; + } +} + +- (IBAction)chooseQueryHistory:(id)sender +/* +insert the choosen history query in the query textView +*/ +{ + [textView setString:[queryHistoryButton titleOfSelectedItem]]; + [textView selectAll:self]; +} + +- (IBAction)closeSheet:(id)sender +/* +closes the sheet +*/ +{ + [NSApp stopModal]; +} + + +//queryFavoritesSheet methods +- (IBAction)addQueryFavorite:(id)sender +/* +adds a query favorite +*/ +{ + int row = [queryFavoritesView editedRow]; + int column = [queryFavoritesView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + +//end editing + if ( row != -1 ) { + tableColumn = [[queryFavoritesView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[queryFavoritesView currentEditor]]; + } + + [queryFavorites addObject:[NSString string]]; + [queryFavoritesView reloadData]; + [queryFavoritesView selectRow:[queryFavoritesView numberOfRows]-1 byExtendingSelection:NO]; + [queryFavoritesView editColumn:0 row:[queryFavoritesView numberOfRows]-1 withEvent:nil select:YES]; +} + +- (IBAction)removeQueryFavorite:(id)sender +/* +removes a query favorite +*/ +{ + int row = [queryFavoritesView editedRow]; + int column = [queryFavoritesView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + +//end editing + if ( row != -1 ) { + tableColumn = [[queryFavoritesView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[queryFavoritesView currentEditor]]; + } + + if ( [queryFavoritesView numberOfSelectedRows] > 0 ) { + [queryFavorites removeObjectAtIndex:[queryFavoritesView selectedRow]]; + [queryFavoritesView reloadData]; + } +} + +- (IBAction)copyQueryFavorite:(id)sender +/* +copies a query favorite +*/ +{ + int row = [queryFavoritesView editedRow]; + int column = [queryFavoritesView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + +//end editing + if ( row != -1 ) { + tableColumn = [[queryFavoritesView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[queryFavoritesView currentEditor]]; + } + + if ( [queryFavoritesView numberOfSelectedRows] > 0 ) { + [queryFavorites insertObject: + [NSString stringWithString:[queryFavorites objectAtIndex:[queryFavoritesView selectedRow]]] + atIndex:[queryFavoritesView selectedRow]+1]; + [queryFavoritesView reloadData]; + [queryFavoritesView selectRow:[queryFavoritesView selectedRow]+1 byExtendingSelection:NO]; + [queryFavoritesView editColumn:0 row:[queryFavoritesView selectedRow] withEvent:nil select:YES]; + } +} + +- (IBAction)closeQueryFavoritesSheet:(id)sender +/* +closes queryFavoritesSheet and saves favorites to preferences +*/ +{ + int row = [queryFavoritesView editedRow]; + int column = [queryFavoritesView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + +//end editing + if ( row != -1 ) { + tableColumn = [[queryFavoritesView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[queryFavoritesView currentEditor]]; + } + + [NSApp stopModal]; + [prefs setObject:queryFavorites forKey:@"queryFavorites"]; + [self setFavorites]; +} + + +//getter methods +- (NSArray *)currentResult +/* +returns the current result (as shown in custom result view) as array, the first object containing the field names as array, the following objects containing the rows as array +*/ +{ + NSArray *tableColumns = [customQueryView tableColumns]; + NSEnumerator *enumerator = [tableColumns objectEnumerator]; + id tableColumn; + NSMutableArray *currentResult = [NSMutableArray array]; + NSMutableArray *tempRow = [NSMutableArray array]; + int i; + + //set field names as first line + while ( (tableColumn = [enumerator nextObject]) ) { + [tempRow addObject:[[tableColumn headerCell] stringValue]]; + } + [currentResult addObject:[NSArray arrayWithArray:tempRow]]; + + //add rows + for ( i = 0 ; i < [self numberOfRowsInTableView:customQueryView] ; i++) { + [tempRow removeAllObjects]; + enumerator = [tableColumns objectEnumerator]; + while ( (tableColumn = [enumerator nextObject]) ) { + [tempRow addObject:[self tableView:customQueryView objectValueForTableColumn:tableColumn row:i]]; + } + [currentResult addObject:[NSArray arrayWithArray:tempRow]]; + } + return currentResult; +} + + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection +/* +sets the connection (received from TableDocument) and makes things that have to be done only once +*/ +{ + NSArray *tableColumns = [queryFavoritesView tableColumns]; + NSEnumerator *enumerator = [tableColumns objectEnumerator]; + id column; + + mySQLConnection = theConnection; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + if ( [prefs objectForKey:@"queryFavorites"] ) { + queryFavorites = [[NSMutableArray alloc] initWithArray:[prefs objectForKey:@"queryFavorites"]]; + } else { + queryFavorites = [[NSMutableArray array] retain]; + } + +//set up interface + [customQueryView setVerticalMotionCanBeginDrag:NO]; + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [textView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } else { + [textView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + [textView setContinuousSpellCheckingEnabled:NO]; + [queryFavoritesView registerForDraggedTypes:[NSArray arrayWithObjects:@"SequelProPasteboard", nil]]; + while ( (column = [enumerator nextObject]) ) + { + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [[column dataCell] setFont:[NSFont fontWithName:@"Monaco" size:10]]; + } else { + [[column dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + } + if ( [prefs objectForKey:@"queryHistory"] ) + { + [queryHistoryButton addItemsWithTitles:[prefs objectForKey:@"queryHistory"]]; + } + [self setFavorites]; +} + +- (void)setFavorites +/* +set up the favorites popUpButton +*/ +{ + int i; + +//remove all menuItems and add favorites from preferences + for ( i = 4 ; i < [queryFavoritesButton numberOfItems] ; i++ ) { + [queryFavoritesButton removeItemAtIndex:i]; + } + [queryFavoritesButton addItemsWithTitles:queryFavorites]; +} + +- (void)doPerformQueryService:(NSString *)query +/* +inserts the query in the textView and performs query +*/ +{ + [textView setString:query]; + [self performQuery:self]; +} + + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + if ( aTableView == customQueryView ) { + if ( nil == queryResult ) { + return 0; + } else { + return [queryResult count]; + } + } else if ( aTableView == queryFavoritesView ) { + return [queryFavorites count]; + } else { + return 0; + } +} + +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + NSArray *theRow; + NSNumber *theIdentifier = [aTableColumn identifier]; + + if ( aTableView == customQueryView ) { + theRow = [queryResult objectAtIndex:rowIndex]; + + if ( [[theRow objectAtIndex:[theIdentifier intValue]] isKindOfClass:[NSData class]] ) { + NSString *tmp = [[NSString alloc] initWithData:[theRow objectAtIndex:[theIdentifier intValue]] + encoding:[mySQLConnection encoding]]; + return [tmp autorelease]; + } + if ( [[theRow objectAtIndex:[theIdentifier intValue]] isMemberOfClass:[NSNull class]] ) + return [prefs objectForKey:@"nullValue"]; + + return [theRow objectAtIndex:[theIdentifier intValue]]; + } else if ( aTableView == queryFavoritesView ) { + return [queryFavorites objectAtIndex:rowIndex]; + } else { + return @""; + } +} + +- (void)tableView:(NSTableView *)aTableView setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex +{ + if ( aTableView == queryFavoritesView ) { + NSEnumerator *enumerator = [queryFavorites objectEnumerator]; + id favorite; + int i = 0; + + if ( [anObject isEqualToString:@""] ) { + [queryFavoritesView deselectAll:self]; + [queryFavorites removeObjectAtIndex:rowIndex]; + [queryFavoritesView reloadData]; + return; + } + + while ( (favorite = [enumerator nextObject]) ) { + if ( [favorite isEqualToString:anObject] && i != rowIndex) { + NSRunAlertPanel(@"Error", @"Query already exists in favorites.", @"OK", nil, nil); + //remove row if it was a (blank) new row or a copied row + if ( [[queryFavorites objectAtIndex:rowIndex] isEqualToString:@""] || + [[queryFavorites objectAtIndex:rowIndex] isEqualToString:anObject] ) { + [queryFavoritesView deselectAll:self]; + [queryFavorites removeObjectAtIndex:rowIndex]; + [queryFavoritesView reloadData]; + } + return; + } + i++; + } + [queryFavorites replaceObjectAtIndex:rowIndex withObject:anObject]; + [queryFavoritesView reloadData]; + } +} + + +//tableView drag&drop datasource methods +- (BOOL)tableView:(NSTableView *)aTableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard +{ + int originalRow; + NSArray *pboardTypes; + + if ( aTableView == queryFavoritesView ) + { + if ( [rows count] == 1 ) + { + pboardTypes = [NSArray arrayWithObjects:@"SequelProPasteboard", nil]; + originalRow = [[rows objectAtIndex:0] intValue]; + + [pboard declareTypes:pboardTypes owner:nil]; + [pboard setString:[[NSNumber numberWithInt:originalRow] stringValue] forType:@"SequelProPasteboard"]; + + return YES; + } + else + { + return NO; + } + } else if ( aTableView == customQueryView ) { + NSString *tmp = [customQueryView draggedRowsAsTabString:rows]; + if ( nil != tmp ) + { + [pboard declareTypes:[NSArray arrayWithObjects: NSTabularTextPboardType, + NSStringPboardType, nil] + owner:nil]; + [pboard setString:tmp forType:NSStringPboardType]; + [pboard setString:tmp forType:NSTabularTextPboardType]; + return YES; + } + return NO; + } else { + return NO; + } +} + +- (NSDragOperation)tableView:(NSTableView*)aTableView validateDrop:(id <NSDraggingInfo>)info proposedRow:(int)row + proposedDropOperation:(NSTableViewDropOperation)operation +{ + NSArray *pboardTypes = [[info draggingPasteboard] types]; + int originalRow; + + if ( aTableView == queryFavoritesView ) { + if ([pboardTypes count] == 1 && row != -1) + { + if ([[pboardTypes objectAtIndex:0] isEqualToString:@"SequelProPasteboard"]==YES && operation==NSTableViewDropAbove) + { + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + + if (row != originalRow && row != (originalRow+1)) + { + return NSDragOperationMove; + } + } + } + return NSDragOperationNone; + } else { + return NSDragOperationNone; + } +} + +- (BOOL)tableView:(NSTableView*)aTableView acceptDrop:(id <NSDraggingInfo>)info row:(int)row dropOperation:(NSTableViewDropOperation)operation +{ + int originalRow; + int destinationRow; + NSMutableDictionary *draggedRow; + + if ( aTableView == queryFavoritesView ) { + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + destinationRow = row; + + if ( destinationRow > originalRow ) + destinationRow--; + + draggedRow = [queryFavorites objectAtIndex:originalRow]; + [queryFavorites removeObjectAtIndex:originalRow]; + [queryFavorites insertObject:draggedRow atIndex:destinationRow]; + + [queryFavoritesView reloadData]; + [queryFavoritesView selectRow:destinationRow byExtendingSelection:NO]; + + return YES; + } else { + return NO; + } +} + + +//tableView delegate methods +- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex +/* +opens sheet with value when double clicking on a field +*/ +{ + if ( aTableView == customQueryView ) { + NSArray *theRow; + NSString *theValue; + NSNumber *theIdentifier = [aTableColumn identifier]; + + //get the value + theRow = [queryResult objectAtIndex:rowIndex]; + + if ( [[theRow objectAtIndex:[theIdentifier intValue]] isKindOfClass:[NSData class]] ) { + theValue = [[NSString alloc] initWithData:[theRow objectAtIndex:[theIdentifier intValue]] + encoding:[mySQLConnection encoding]]; + [theValue autorelease]; + } else if ( [[theRow objectAtIndex:[theIdentifier intValue]] isMemberOfClass:[NSNull class]] ) { + theValue = [prefs objectForKey:@"nullValue"]; + } else { + theValue = [theRow objectAtIndex:[theIdentifier intValue]]; + } + + [valueTextField setString:[theValue description]]; + [valueTextField selectAll:self]; + [NSApp beginSheet:valueSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + [NSApp runModalForWindow:valueSheet]; + + [NSApp endSheet:valueSheet]; + [valueSheet orderOut:nil]; + + return NO; + } else { + return YES; + } +} + + +//splitView delegate methods +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview +/* +tells the splitView that it can collapse views +*/ +{ + return YES; +} + +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset +/* +defines max position of splitView +*/ +{ + if ( offset == 0 ) { + return proposedMax - 100; + } else { + return proposedMax - 73; + } +} + +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset +/* +defines min position of splitView +*/ +{ + if ( offset == 0 ) { + return proposedMin + 100; + } else { + return proposedMin + 100; + } +} + + +//textView delegate methods +- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector +/* +traps enter key and + performs query instead of inserting a line break if aTextView == textView + closes valueSheet if aTextView == valueTextField +*/ +{ + if ( aTextView == textView ) { + if ( [aTextView methodForSelector:aSelector] == [aTextView methodForSelector:@selector(insertNewline:)] && + [[[NSApp currentEvent] characters] isEqualToString:@"\003"] ) + { + [self performQuery:self]; + return YES; + } else { + return NO; + } + } else if ( aTextView == valueTextField ) { + if ( [aTextView methodForSelector:aSelector] == [aTextView methodForSelector:@selector(insertNewline:)] ) + { + [self closeSheet:self]; + return YES; + } else { + return NO; + } + } + return NO; +} + + +//last but not least +- (id)init; +{ + self = [super init]; + return self; +} + +- (void)dealloc +{ + [queryResult release]; + [prefs release]; + [queryFavorites release]; + + [super dealloc]; +} + + +@end diff --git a/trunk/English.lproj/Credits.rtf b/trunk/English.lproj/Credits.rtf new file mode 100644 index 00000000..f162315c --- /dev/null +++ b/trunk/English.lproj/Credits.rtf @@ -0,0 +1,69 @@ +{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\vieww13440\viewh12000\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural + +\f0\b\fs24 \cf0 Current Developers +\b0 \ +Abhi Beckert, {\field{\*\fldinst{HYPERLINK "http://www.abhibeckert.com"}}{\fldrslt http://www.abhibeckert.com}}\ +Matt Langtree, {\field{\*\fldinst{HYPERLINK "http://www.mattlangtree.com"}}{\fldrslt http://www.mattlangtree.com}}\ +Ben Perry, {\field{\*\fldinst{HYPERLINK "http://www.benperry.com.au"}}{\fldrslt http://www.benperry.com.au}}\ +Mark Townsend\ +Rowan Beentje \ +\pard\pardeftab720\ql\qnatural +\cf0 Stuart Connolly, {\field{\*\fldinst{HYPERLINK "http://www.stuconnolly.com"}}{\fldrslt http://www.stuconnolly.com}}\ +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural +\cf0 \ +\ + +\b Past Developers +\b0 \ +Lorenz Textor, lorenz@textor.ch\ +Jeff Skrysak\ +\ + +\b Additional Code +\b0 \ +Serge Cohen and\ +Bertrand Mansion\ +(SMySQL framework)\ +Tristan O'Tierney\ +Kotaro Funakoshi\ +David Buxton\ +Stuart B. Glenn\ +Jason Hallford\ +Carsten Bl\'fcm\ +Andrea Salomoni\ +\ + +\b Artwork +\b0 \ +Icon by Abhi Beckert, based heavily on an icon from the Crystal theme (http://www.everaldo.com/crystal/)\ +GUI design by Abhi Beckert, Matt Langtree and snowhouse (http://www.snowhouse.co.uk)\ +\ + +\b Additional Thanks +\b0 \ +City of Cairns.com (http://cityofcairns.com), for allowing Abhi and Matt to work on Sequel Pro when we'd otherwise be doing billable work.\ +\ + +\b GPL +\b0 \ +Copyright (C) 2002-2008 Sequel Pro and CocoaMySQL teams. All rights reserved.\ +\ +This program is free software; you can redistribute it and/or modify\ +it under the terms of the GNU General Public License as published by\ +the Free Software Foundation; either version 2 of the License, or\ +(at your option) any later version.\ +\ +This program is distributed in the hope that it will be useful,\ +but WITHOUT ANY WARRANTY; without even the implied warranty of\ +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\ +GNU General Public License for more details.\ +\ +You should have received a copy of the GNU General Public License along\ +with this program; if not, write to the Free Software Foundation, Inc.,\ +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\ +\ +http://www.gnu.org/licenses/old-licenses/gpl-2.0.html}
\ No newline at end of file diff --git a/trunk/English.lproj/DBView.xib b/trunk/English.lproj/DBView.xib new file mode 100644 index 00000000..6a3f5332 --- /dev/null +++ b/trunk/English.lproj/DBView.xib @@ -0,0 +1,20524 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.02"> + <data> + <int key="IBDocument.SystemTarget">1050</int> + <string key="IBDocument.SystemVersion">9F33</string> + <string key="IBDocument.InterfaceBuilderVersion">672</string> + <string key="IBDocument.AppKitVersion">949.34</string> + <string key="IBDocument.HIToolboxVersion">352.00</string> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="105205302"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomObject" id="427689665"> + <string key="NSClassName">TableDocument</string> + </object> + <object class="NSCustomObject" id="444826705"> + <string key="NSClassName">FirstResponder</string> + </object> + <object class="NSCustomObject" id="590348128"> + <string key="NSClassName">NSApplication</string> + </object> + <object class="NSWindowTemplate" id="207157706"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{13, 284}, {863, 550}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">Connecting...</string> + <string key="NSWindowClass">NSWindow</string> + <string key="NSViewClass">View</string> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{780, 480}</string> + <object class="NSView" key="NSWindowView" id="579726586"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTabView" id="1049088871"> + <reference key="NSNextResponder" ref="579726586"/> + <int key="NSvFlags">26</int> + <string key="NSFrame">{{-1, 0}, {882, 550}}</string> + <reference key="NSSuperview" ref="579726586"/> + <object class="NSMutableArray" key="NSTabViewItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTabViewItem" id="809016255"> + <string key="NSIdentifier">1</string> + <object class="NSView" key="NSView" id="339746181"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="56014887"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{428, 219}, {92, 32}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="469429467"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Connect</string> + <object class="NSFont" key="NSSupport" id="244931163"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <reference key="NSControlView" ref="56014887"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <object class="NSFont" key="NSAlternateImage" id="676213493"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">16</int> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="137024971"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{346, 219}, {82, 32}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="513996797"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="137024971"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="676213493"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSProgressIndicator" id="9472191"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">1280</int> + <object class="NSPSMatrix" key="NSDrawMatrix"/> + <string key="NSFrame">{{68, 229}, {16, 16}}</string> + <reference key="NSSuperview" ref="339746181"/> + <int key="NSpiFlags">28938</int> + <double key="NSMaxValue">1.000000e+02</double> + </object> + <object class="NSTextField" id="1036241617"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{91, 497}, {97, 21}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="918986033"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Sequel Pro</string> + <object class="NSFont" key="NSSupport" id="769263589"> + <string key="NSName">LucidaGrande-Bold</string> + <double key="NSSize">1.700000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="1036241617"/> + <object class="NSColor" key="NSBackgroundColor" id="62854682"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlColor</string> + <object class="NSColor" key="NSColor" id="1001122760"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor" id="454249633"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlTextColor</string> + <object class="NSColor" key="NSColor" id="304829493"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + </object> + <object class="NSImageView" id="490875589"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">268</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{35, 482}, {48, 48}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="517021795"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <object class="NSCustomResource" key="NSContents" id="453519056"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">logo-48</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">3</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSButton" id="1055960504"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{33, 223}, {25, 25}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="847639430"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="1055960504"/> + <int key="NSButtonFlags">-2038415105</int> + <int key="NSButtonFlags2">33</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="263851579"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">-2147483356</int> + <string key="NSFrame">{{89, 229}, {76, 14}}</string> + <reference key="NSSuperview" ref="339746181"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="401083137"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272761856</int> + <string type="base64-UTF8" key="NSContents">Q29ubmVjdGluZ+KApg</string> + <object class="NSFont" key="NSSupport" id="26"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">3100</int> + </object> + <reference key="NSControlView" ref="263851579"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSBox" id="264072591"> + <reference key="NSNextResponder" ref="339746181"/> + <int key="NSvFlags">292</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="121797598"> + <reference key="NSNextResponder" ref="264072591"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="150715027"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 166}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1059854410"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="150715027"/> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSColor" key="NSBackgroundColor" id="480189472"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">textBackgroundColor</string> + <object class="NSColor" key="NSColor" id="449903125"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor" id="690893883"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">textColor</string> + <reference key="NSColor" ref="304829493"/> + </object> + </object> + </object> + <object class="NSTextField" id="840837976"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{287, 34}, {29, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="444634107"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Port:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="840837976"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="426441911"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{284, 164}, {33, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="403608030"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Host:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="426441911"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="103604544"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 36}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="907916207"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">3306</string> + <reference key="NSControlView" ref="103604544"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="519746463"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{259, 86}, {57, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="941521334"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Database:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="519746463"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="856195689"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{285, 141}, {32, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="706312713"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">User:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="856195689"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="835490741"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 114}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="869466286"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="835490741"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="433607442"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 88}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="245630018"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">optional</string> + <reference key="NSControlView" ref="433607442"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="481012484"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 140}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="441073813"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="481012484"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="810809856"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 62}, {185, 18}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="424757186"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">optional</string> + <reference key="NSControlView" ref="810809856"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="526720859"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{273, 60}, {43, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="400840264"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Socket:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="526720859"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSScrollView" id="358689475"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">4364</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="1030354929"> + <reference key="NSNextResponder" ref="358689475"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="679946795"> + <reference key="NSNextResponder" ref="1030354929"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{213, 157}</string> + <reference key="NSSuperview" ref="1030354929"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="94396443"> + <reference key="NSNextResponder" ref="865443964"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{213, 17}</string> + <reference key="NSSuperview" ref="865443964"/> + <reference key="NSTableView" ref="679946795"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="636341541"> + <reference key="NSNextResponder" ref="358689475"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="358689475"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="389154451"> + <string key="NSIdentifier">favorites</string> + <double key="NSWidth">2.100000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Favorites</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <object class="NSColor" key="NSTextColor" id="222976159"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">headerTextColor</string> + <reference key="NSColor" ref="304829493"/> + </object> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="664196905"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="679946795"/> + <object class="NSColor" key="NSBackgroundColor" id="1024678221"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlBackgroundColor</string> + <reference key="NSColor" ref="1001122760"/> + </object> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="679946795"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <object class="NSColor" key="NSGridColor" id="864903678"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">gridColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC41AA</bytes> + </object> + </object> + <double key="NSRowHeight">1.400000e+01</double> + <int key="NSTvFlags">-759169024</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {213, 157}}</string> + <reference key="NSSuperview" ref="358689475"/> + <reference key="NSNextKeyView" ref="679946795"/> + <reference key="NSDocView" ref="679946795"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="387182113"> + <reference key="NSNextResponder" ref="358689475"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{199, 17}, {15, 162}}</string> + <reference key="NSSuperview" ref="358689475"/> + <reference key="NSTarget" ref="358689475"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.943503e-01</double> + </object> + <object class="NSScroller" id="902861850"> + <reference key="NSNextResponder" ref="358689475"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 179}, {198, 15}}</string> + <reference key="NSSuperview" ref="358689475"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="358689475"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.953271e-01</double> + </object> + <object class="NSClipView" id="865443964"> + <reference key="NSNextResponder" ref="358689475"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="94396443"/> + </object> + <string key="NSFrame">{{1, 0}, {213, 17}}</string> + <reference key="NSSuperview" ref="358689475"/> + <reference key="NSNextKeyView" ref="94396443"/> + <reference key="NSDocView" ref="94396443"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="636341541"/> + </object> + <string key="NSFrame">{{12, 34}, {215, 175}}</string> + <reference key="NSSuperview" ref="121797598"/> + <reference key="NSNextKeyView" ref="1030354929"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="387182113"/> + <reference key="NSHScroller" ref="902861850"/> + <reference key="NSContentView" ref="1030354929"/> + <reference key="NSHeaderClipView" ref="865443964"/> + <reference key="NSCornerView" ref="636341541"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBgAAAQYAAAA</bytes> + </object> + <object class="NSTextField" id="127730482"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{259, 112}, {58, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="255193240"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Password:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="127730482"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="334075924"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{269, 192}, {236, 17}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="880435578"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Enter the connection details below</string> + <object class="NSFont" key="NSSupport" id="72760"> + <string key="NSName">LucidaGrande-Bold</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="334075924"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSButton" id="993074984"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{12, 13}, {28, 23}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="182693223"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="993074984"/> + <int key="NSButtonFlags">-2033434369</int> + <int key="NSButtonFlags2">162</int> + <object class="NSCustomResource" key="NSNormalImage" id="54209242"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSAddTemplate</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="299513983"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{39, 13}, {28, 23}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="26872399"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="299513983"/> + <int key="NSButtonFlags">-2033434369</int> + <int key="NSButtonFlags2">162</int> + <object class="NSCustomResource" key="NSNormalImage" id="410132161"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSRemoveTemplate</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="673821105"> + <reference key="NSNextResponder" ref="121797598"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{66, 13}, {161, 23}}</string> + <reference key="NSSuperview" ref="121797598"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="898691044"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="673821105"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + </object> + <string key="NSFrame">{{1, 1}, {523, 220}}</string> + <reference key="NSSuperview" ref="264072591"/> + </object> + </object> + <string key="NSFrame">{{17, 251}, {525, 222}}</string> + <reference key="NSSuperview" ref="339746181"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Box</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="121797598"/> + <int key="NSBorderType">1</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">0</int> + <bool key="NSTransparent">NO</bool> + </object> + </object> + <string key="NSFrameSize">{882, 550}</string> + </object> + <string key="NSLabel">Connect</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="1049088871"/> + </object> + <object class="NSTabViewItem" id="716453023"> + <string key="NSIdentifier">2</string> + <object class="NSView" key="NSView" id="436537954"> + <reference key="NSNextResponder" ref="1049088871"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSSplitView" id="937377983"> + <reference key="NSNextResponder" ref="436537954"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomView" id="372294785"> + <reference key="NSNextResponder" ref="937377983"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSImageView" id="490380612"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">289</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{181, 6}, {8, 10}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="298618497"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <object class="NSCustomResource" key="NSContents"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">grabber-vertical</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">2</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">YES</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSButton" id="159563759"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{-1, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="740387478"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="159563759"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">tableadd</string> + </object> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="581211969"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{26, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="747162092"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">-</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="581211969"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">tabledelete</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="380552173"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{80, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="157959112"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="380552173"/> + <int key="NSButtonFlags">-2033975041</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage" id="564614766"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">tablerefresh</string> + </object> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="606555256"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{53, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="263990628"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">cp</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="606555256"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">tablecopy</string> + </object> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="594056383"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">290</int> + <string key="NSFrame">{{107, -2}, {88, 26}}</string> + <reference key="NSSuperview" ref="372294785"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="146389080"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="594056383"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSSplitView" id="355288374"> + <reference key="NSNextResponder" ref="372294785"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="233472824"> + <reference key="NSNextResponder" ref="355288374"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="73685676"> + <reference key="NSNextResponder" ref="233472824"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="251040077"> + <reference key="NSNextResponder" ref="73685676"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{194, 396}</string> + <reference key="NSSuperview" ref="73685676"/> + <bool key="NSEnabled">YES</bool> + <object class="_NSCornerView" key="NSCornerView"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="544378883"> + <string key="NSIdentifier">tables</string> + <double key="NSWidth">1.908690e+02</double> + <double key="NSMinWidth">4.286900e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Tables</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="799519821"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="37718544"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">272761856</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="251040077"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="251040077"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">_sourceListBackgroundColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MC44MzkyMTU3IDAuODY2NjY2NjcgMC44OTgwMzkyMgA</bytes> + </object> + </object> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.700000e+01</double> + <int key="NSTvFlags">1514143744</int> + <int key="NSColumnAutoresizingStyle">2</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + <int key="NSTableViewSelectionHighlightStyle">1</int> + </object> + </object> + <string key="NSFrame">{{1, 1}, {194, 396}}</string> + <reference key="NSSuperview" ref="233472824"/> + <reference key="NSDocView" ref="251040077"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="693168867"> + <reference key="NSNextResponder" ref="233472824"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{175, 1}, {15, 481}}</string> + <reference key="NSSuperview" ref="233472824"/> + <reference key="NSTarget" ref="233472824"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.979253e-01</double> + </object> + <object class="NSScroller" id="656188692"> + <reference key="NSNextResponder" ref="233472824"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {141, 11}}</string> + <reference key="NSSuperview" ref="233472824"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="233472824"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + </object> + <string key="NSFrameSize">{196, 398}</string> + <reference key="NSSuperview" ref="355288374"/> + <int key="NSsFlags">530</int> + <reference key="NSVScroller" ref="693168867"/> + <reference key="NSHScroller" ref="656188692"/> + <reference key="NSContentView" ref="73685676"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes> + </object> + <object class="NSScrollView" id="298226231"> + <reference key="NSNextResponder" ref="355288374"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="685057119"> + <reference key="NSNextResponder" ref="298226231"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="347093764"> + <reference key="NSNextResponder" ref="685057119"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{194, 123}</string> + <reference key="NSSuperview" ref="685057119"/> + <bool key="NSEnabled">YES</bool> + <object class="_NSCornerView" key="NSCornerView"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="703008826"> + <string key="NSIdentifier">info</string> + <double key="NSWidth">1.908690e+02</double> + <double key="NSMinWidth">4.286900e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Information</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="371324917"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">272761856</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="347093764"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="347093764"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">_sourceListBackgroundColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MC44MzkyMTU3IDAuODY2NjY2NjcgMC44OTgwMzkyMgA</bytes> + </object> + </object> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.700000e+01</double> + <int key="NSTvFlags">1514143744</int> + <int key="NSColumnAutoresizingStyle">2</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + <int key="NSTableViewSelectionHighlightStyle">1</int> + </object> + </object> + <string key="NSFrame">{{1, 1}, {194, 123}}</string> + <reference key="NSSuperview" ref="298226231"/> + <reference key="NSDocView" ref="347093764"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="245346414"> + <reference key="NSNextResponder" ref="298226231"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{175, 1}, {15, 481}}</string> + <reference key="NSSuperview" ref="298226231"/> + <reference key="NSTarget" ref="298226231"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.979253e-01</double> + </object> + <object class="NSScroller" id="353686052"> + <reference key="NSNextResponder" ref="298226231"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {141, 11}}</string> + <reference key="NSSuperview" ref="298226231"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="298226231"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + </object> + <string key="NSFrame">{{0, 407}, {196, 125}}</string> + <reference key="NSSuperview" ref="355288374"/> + <int key="NSsFlags">530</int> + <reference key="NSVScroller" ref="245346414"/> + <reference key="NSHScroller" ref="353686052"/> + <reference key="NSContentView" ref="685057119"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes> + </object> + </object> + <string key="NSFrame">{{0, 20}, {196, 532}}</string> + <reference key="NSSuperview" ref="372294785"/> + </object> + </object> + <string key="NSFrameSize">{194, 550}</string> + <reference key="NSSuperview" ref="937377983"/> + <string key="NSClassName">NSView</string> + </object> + <object class="NSCustomView" id="604818293"> + <reference key="NSNextResponder" ref="937377983"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTabView" id="714795046"> + <reference key="NSNextResponder" ref="604818293"/> + <int key="NSvFlags">274</int> + <string key="NSFrame">{{-7, -10}, {673, 564}}</string> + <reference key="NSSuperview" ref="604818293"/> + <object class="NSMutableArray" key="NSTabViewItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTabViewItem" id="831053945"> + <string key="NSIdentifier">source</string> + <object class="NSView" key="NSView" id="461236772"> + <reference key="NSNextResponder" ref="714795046"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSSplitView" id="628830973"> + <reference key="NSNextResponder" ref="461236772"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomView" id="220777809"> + <reference key="NSNextResponder" ref="628830973"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSImageView" id="929444095"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">289</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{609, 6}, {10, 13}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="545156725"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <object class="NSCustomResource" key="NSContents"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">grabber-horizontal</string> + </object> + <int key="NSAlign">0</int> + <int key="NSScale">2</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">YES</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSTextField" id="324870933"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{401, 8}, {55, 11}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="42997882"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4456448</int> + <string key="NSContents">Table Type:</string> + <object class="NSFont" key="NSSupport" id="22"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">9.000000e+00</double> + <int key="NSfFlags">3614</int> + </object> + <reference key="NSControlView" ref="324870933"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSPopUpButton" id="398555609"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{457, 6}, {135, 15}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="126755904"> + <int key="NSCellFlags">-1539178944</int> + <int key="NSCellFlags2">263168</int> + <reference key="NSSupport" ref="22"/> + <reference key="NSControlView" ref="398555609"/> + <int key="NSButtonFlags">109199615</int> + <int key="NSButtonFlags2">1</int> + <object class="NSFont" key="NSAlternateImage"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">9.000000e+00</double> + <int key="NSfFlags">16</int> + </object> + <object class="NSMutableString" key="NSAlternateContents"> + <characters key="NS.bytes"/> + </object> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="656221110"> + <reference key="NSMenu" ref="895670234"/> + <string key="NSTitle">--</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <object class="NSCustomResource" key="NSOnImage" id="685805499"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSMenuCheckmark</string> + </object> + <object class="NSCustomResource" key="NSMixedImage" id="400866889"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSMenuMixedState</string> + </object> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="126755904"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="895670234"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="656221110"/> + <object class="NSMenuItem" id="896785499"> + <reference key="NSMenu" ref="895670234"/> + <string key="NSTitle">MyISAM</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="126755904"/> + </object> + <object class="NSMenuItem" id="344342265"> + <reference key="NSMenu" ref="895670234"/> + <string key="NSTitle">ISAM</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="126755904"/> + </object> + <object class="NSMenuItem" id="458594219"> + <reference key="NSMenu" ref="895670234"/> + <string key="NSTitle">InnoDB</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="126755904"/> + </object> + <object class="NSMenuItem" id="854036207"> + <reference key="NSMenu" ref="895670234"/> + <string key="NSTitle">BDB</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="126755904"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSScrollView" id="22340145"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="16936123"> + <reference key="NSNextResponder" ref="22340145"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="715508012"> + <reference key="NSNextResponder" ref="16936123"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{626, 282}</string> + <reference key="NSSuperview" ref="16936123"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="926883367"> + <reference key="NSNextResponder" ref="639957061"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{626, 17}</string> + <reference key="NSSuperview" ref="639957061"/> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="868771861"> + <reference key="NSNextResponder" ref="22340145"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="22340145"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="214236344"> + <string key="NSIdentifier">Field</string> + <double key="NSWidth">8.600000e+01</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Field</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="262388894"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="45498659"> + <string key="NSIdentifier">Type</string> + <double key="NSWidth">5.600000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Type</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="299403355"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">headerColor</string> + <reference key="NSColor" ref="449903125"/> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSComboBoxCell" key="NSDataCell" id="904218650"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">10</int> + <bool key="NSHasVerticalScroller">YES</bool> + <bool key="NSCompletes">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>tinyint</string> + <string>smallint</string> + <string>mediumint</string> + <string>int</string> + <string>bigint</string> + <string>float</string> + <string>double</string> + <string>decimal</string> + <string>--------</string> + <string>date</string> + <string>datetime</string> + <string>timestamp</string> + <string>time</string> + <string>year</string> + <string>--------</string> + <string>char</string> + <string>varchar</string> + <string>tinyblob</string> + <string>tinytext</string> + <string>blob</string> + <string>text</string> + <string>mediumblob</string> + <string>mediumtext</string> + <string>longblob</string> + <string>longtext</string> + <string>enum</string> + <string>set</string> + </object> + <object class="NSComboTableView" key="NSTableView" id="567127181"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 486}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <integer value="0" key="NSIdentifier" id="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="567127181"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="567127181"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-228556800</int> + <reference key="NSDelegate" ref="904218650"/> + <reference key="NSDataSource" ref="904218650"/> + <reference key="NSTarget" ref="904218650"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + <bool key="NSButtonBordered">NO</bool> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="212523940"> + <string key="NSIdentifier">Length</string> + <double key="NSWidth">5.700000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Length</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="11555859"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="230280632"> + <string key="NSIdentifier">unsigned</string> + <double key="NSWidth">5.700000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Unsigned</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSButtonCell" key="NSDataCell" id="242160714"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents"/> + <object class="NSFont" key="NSSupport" id="428955213"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.200000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="715508012"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage" id="226227784"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSSwitch</string> + </object> + <object class="NSButtonImageSource" key="NSAlternateImage" id="386686735"> + <string key="NSImageName">NSSwitch</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="554037403"> + <string key="NSIdentifier">zerofill</string> + <double key="NSWidth">5.700000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Zerofill</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSButtonCell" key="NSDataCell" id="2785730"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="428955213"/> + <reference key="NSControlView" ref="715508012"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="226227784"/> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="962294682"> + <string key="NSIdentifier">binary</string> + <double key="NSWidth">5.700000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Binary</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSButtonCell" key="NSDataCell" id="992423758"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="428955213"/> + <reference key="NSControlView" ref="715508012"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="226227784"/> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="881882727"> + <string key="NSIdentifier">Null</string> + <double key="NSWidth">5.700000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Null</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSComboBoxCell" key="NSDataCell" id="335366052"> + <int key="NSCellFlags">337772097</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <bool key="NSCompletes">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>YES</string> + <string>NO</string> + </object> + <object class="NSComboTableView" key="NSTableView" id="1039806872"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">2048</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1039806872"/> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="1039806872"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-228556800</int> + <reference key="NSDelegate" ref="335366052"/> + <reference key="NSDataSource" ref="335366052"/> + <reference key="NSTarget" ref="335366052"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + <bool key="NSButtonBordered">NO</bool> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="981319728"> + <string key="NSIdentifier">Key</string> + <double key="NSWidth">5.500000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Key</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="564777231"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="788521496"> + <string key="NSIdentifier">Default</string> + <double key="NSWidth">4.300000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Default</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="108959660"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + <object class="NSTableColumn" id="128488500"> + <string key="NSIdentifier">Extra</string> + <double key="NSWidth">7.139795e+01</double> + <double key="NSMinWidth">3.139795e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Extra</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSComboBoxCell" key="NSDataCell" id="462958080"> + <int key="NSCellFlags">337772097</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715508012"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <bool key="NSCompletes">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>None</string> + <string>auto_increment</string> + <string>on update CURRENT_TIMESTAMP</string> + </object> + <object class="NSComboTableView" key="NSTableView" id="1025423991"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1025423991"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="1025423991"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-228556800</int> + <reference key="NSDelegate" ref="462958080"/> + <reference key="NSDataSource" ref="462958080"/> + <reference key="NSTarget" ref="462958080"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + <bool key="NSButtonBordered">NO</bool> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="715508012"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <int key="NSTvFlags">-222265344</int> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {626, 282}}</string> + <reference key="NSSuperview" ref="22340145"/> + <reference key="NSDocView" ref="715508012"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="943144555"> + <reference key="NSNextResponder" ref="22340145"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{598, 17}, {15, 238}}</string> + <reference key="NSSuperview" ref="22340145"/> + <reference key="NSTarget" ref="22340145"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">8.170732e-01</double> + </object> + <object class="NSScroller" id="456666876"> + <reference key="NSNextResponder" ref="22340145"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 255}, {597, 15}}</string> + <reference key="NSSuperview" ref="22340145"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="22340145"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.951220e-01</double> + </object> + <object class="NSClipView" id="639957061"> + <reference key="NSNextResponder" ref="22340145"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="926883367"/> + </object> + <string key="NSFrame">{{1, 0}, {626, 17}}</string> + <reference key="NSSuperview" ref="22340145"/> + <reference key="NSDocView" ref="926883367"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="868771861"/> + </object> + <string key="NSFrame">{{-1, 24}, {628, 300}}</string> + <reference key="NSSuperview" ref="220777809"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="943144555"/> + <reference key="NSHScroller" ref="456666876"/> + <reference key="NSContentView" ref="16936123"/> + <reference key="NSHeaderClipView" ref="639957061"/> + <reference key="NSCornerView" ref="868771861"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBkAAAQZAAAA</bytes> + </object> + <object class="NSButton" id="474099473"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">290</int> + <string key="NSFrame">{{107, 0}, {520, 26}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="449911070"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="474099473"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="515776460"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{-1, 0}, {28, 26}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="615057790"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="515776460"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">402653218</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">columnadd</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">a</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="773499830"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{26, 0}, {28, 26}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="551584499"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">remove</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="773499830"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">columndelete</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="306936316"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{53, 0}, {28, 26}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="183531828"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">cp</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="306936316"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">268435490</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">columncopy</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">d</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="556517139"> + <reference key="NSNextResponder" ref="220777809"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{80, 0}, {28, 26}}</string> + <reference key="NSSuperview" ref="220777809"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="230889234"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="556517139"/> + <int key="NSButtonFlags">-2033975041</int> + <int key="NSButtonFlags2">268435490</int> + <object class="NSCustomResource" key="NSNormalImage" id="944802283"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">columnrefresh</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">r</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{627, 324}</string> + <reference key="NSSuperview" ref="628830973"/> + <string key="NSClassName">NSView</string> + </object> + <object class="NSCustomView" id="1063281455"> + <reference key="NSNextResponder" ref="628830973"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="985471352"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{7, 184}, {46, 14}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="749773740"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Indexes</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="985471352"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSScrollView" id="376224367"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="794929378"> + <reference key="NSNextResponder" ref="376224367"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="584834515"> + <reference key="NSNextResponder" ref="794929378"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{626, 138}</string> + <reference key="NSSuperview" ref="794929378"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="459548655"> + <reference key="NSNextResponder" ref="1038672854"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{626, 17}</string> + <reference key="NSSuperview" ref="1038672854"/> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="476444025"> + <reference key="NSNextResponder" ref="376224367"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="376224367"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="32109262"> + <string key="NSIdentifier">Non_unique</string> + <double key="NSWidth">6.900000e+01</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Non_unique</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="531231135"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="10740828"> + <string key="NSIdentifier">Key_name</string> + <double key="NSWidth">5.900000e+01</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Key_name</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="47358406"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="220408800"> + <string key="NSIdentifier">Seq_in_index</string> + <double key="NSWidth">7.200000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Seq_in_index</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="134871682"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="822910787"> + <string key="NSIdentifier">Column_name</string> + <double key="NSWidth">7.900000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Column_name</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="94186969"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="751127306"> + <string key="NSIdentifier">Collation</string> + <double key="NSWidth">5.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Collation</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="220865260"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="967567895"> + <string key="NSIdentifier">Cardinality</string> + <double key="NSWidth">6.200000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Cardinality</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="17112641"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="980868899"> + <string key="NSIdentifier">Sub_part</string> + <double key="NSWidth">5.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Sub_part</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="404477694"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="1015114937"> + <string key="NSIdentifier">Packed</string> + <double key="NSWidth">4.200000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Packed</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="1023225977"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + <object class="NSTableColumn" id="40213152"> + <string key="NSIdentifier">Comment</string> + <double key="NSWidth">1.159760e+02</double> + <double key="NSMinWidth">5.597600e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Comment</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="299403355"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="523867377"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="584834515"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="584834515"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.300000e+01</double> + <int key="NSTvFlags">-222298112</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {626, 138}}</string> + <reference key="NSSuperview" ref="376224367"/> + <reference key="NSDocView" ref="584834515"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="1019209947"> + <reference key="NSNextResponder" ref="376224367"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{84, 17}, {15, 67}}</string> + <reference key="NSSuperview" ref="376224367"/> + <reference key="NSTarget" ref="376224367"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">8.170732e-01</double> + </object> + <object class="NSScroller" id="328951385"> + <reference key="NSNextResponder" ref="376224367"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 123}, {612, 15}}</string> + <reference key="NSSuperview" ref="376224367"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="376224367"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">1.749117e-01</double> + </object> + <object class="NSClipView" id="1038672854"> + <reference key="NSNextResponder" ref="376224367"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="459548655"/> + </object> + <string key="NSFrame">{{1, 0}, {626, 17}}</string> + <reference key="NSSuperview" ref="376224367"/> + <reference key="NSDocView" ref="459548655"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="476444025"/> + </object> + <string key="NSFrame">{{-1, 22}, {628, 156}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="1019209947"/> + <reference key="NSHScroller" ref="328951385"/> + <reference key="NSContentView" ref="794929378"/> + <reference key="NSHeaderClipView" ref="1038672854"/> + <reference key="NSCornerView" ref="476444025"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBcAAAQXAAAA</bytes> + </object> + <object class="NSButton" id="933109901"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{80, -2}, {547, 26}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="617707076"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="933109901"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="190397287"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{-1, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="304948035"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="190397287"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">indexadd</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="714324452"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{26, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="515502959"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">remove</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="714324452"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">indexdelete</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="706172748"> + <reference key="NSNextResponder" ref="1063281455"/> + <int key="NSvFlags">260</int> + <string key="NSFrame">{{53, -2}, {28, 26}}</string> + <reference key="NSSuperview" ref="1063281455"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="425551900"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="706172748"/> + <int key="NSButtonFlags">-2033975041</int> + <int key="NSButtonFlags2">268435490</int> + <reference key="NSNormalImage" ref="944802283"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">r</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrame">{{0, 333}, {627, 198}}</string> + <reference key="NSSuperview" ref="628830973"/> + <string key="NSClassName">NSView</string> + </object> + </object> + <string key="NSFrame">{{7, 10}, {627, 531}}</string> + <reference key="NSSuperview" ref="461236772"/> + </object> + </object> + <string key="NSFrame">{{10, 7}, {638, 544}}</string> + <reference key="NSSuperview" ref="714795046"/> + </object> + <string key="NSLabel">Structure</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="714795046"/> + </object> + <object class="NSTabViewItem" id="624106058"> + <string key="NSIdentifier">content</string> + <object class="NSView" key="NSView" id="1013108064"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="33038697"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="545438501"> + <reference key="NSNextResponder" ref="33038697"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="22576329"> + <reference key="NSNextResponder" ref="545438501"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{626, 454}</string> + <reference key="NSSuperview" ref="545438501"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="457166030"> + <reference key="NSNextResponder" ref="498696185"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{626, 17}</string> + <reference key="NSSuperview" ref="498696185"/> + <reference key="NSTableView" ref="22576329"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="561547869"> + <reference key="NSNextResponder" ref="33038697"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="33038697"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="636699657"> + <double key="NSWidth">6.230000e+02</double> + <double key="NSMinWidth">8.000000e+00</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="173507854"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="22576329"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="22576329"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <int key="NSTvFlags">1522532352</int> + <int key="NSColumnAutoresizingStyle">2</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {626, 454}}</string> + <reference key="NSSuperview" ref="33038697"/> + <reference key="NSNextKeyView" ref="22576329"/> + <reference key="NSDocView" ref="22576329"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">2</int> + </object> + <object class="NSScroller" id="398797698"> + <reference key="NSNextResponder" ref="33038697"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{598, 17}, {15, 393}}</string> + <reference key="NSSuperview" ref="33038697"/> + <reference key="NSTarget" ref="33038697"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">7.028754e-01</double> + </object> + <object class="NSScroller" id="178353583"> + <reference key="NSNextResponder" ref="33038697"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 410}, {597, 15}}</string> + <reference key="NSSuperview" ref="33038697"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="33038697"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + <object class="NSClipView" id="498696185"> + <reference key="NSNextResponder" ref="33038697"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="457166030"/> + </object> + <string key="NSFrame">{{1, 0}, {626, 17}}</string> + <reference key="NSSuperview" ref="33038697"/> + <reference key="NSNextKeyView" ref="457166030"/> + <reference key="NSDocView" ref="457166030"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="561547869"/> + </object> + <string key="NSFrame">{{6, 32}, {628, 472}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <reference key="NSNextKeyView" ref="545438501"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="398797698"/> + <reference key="NSHScroller" ref="178353583"/> + <reference key="NSContentView" ref="545438501"/> + <reference key="NSHeaderClipView" ref="498696185"/> + <reference key="NSCornerView" ref="561547869"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBkAAAQZAAAA</bytes> + </object> + <object class="NSButton" id="526476900"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{6, 8}, {28, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="955984782"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="526476900"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">402653218</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">rowadd</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">a</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="414284874"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{33, 8}, {28, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="310293723"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">remove</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="414284874"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">rowdelete</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSPopUpButton" id="830088955"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{51, 512}, {95, 20}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="376863254"> + <int key="NSCellFlags">-1539178944</int> + <int key="NSCellFlags2">1024</int> + <object class="NSFont" key="NSSupport" id="790379580"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="830088955"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">36</int> + <reference key="NSAlternateImage" ref="790379580"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="1028844875"> + <reference key="NSMenu" ref="747439187"/> + <string key="NSTitle">field</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="376863254"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="747439187"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1028844875"/> + </object> + </object> + <int key="NSSelectedIndex">-1</int> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSPopUpButton" id="744029762"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{153, 512}, {86, 20}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="105542136"> + <int key="NSCellFlags">-1539178944</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="790379580"/> + <reference key="NSControlView" ref="744029762"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">36</int> + <reference key="NSAlternateImage" ref="790379580"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="129836593"> + <reference key="NSMenu" ref="1000166734"/> + <string key="NSTitle">is</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="105542136"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="1000166734"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="129836593"/> + </object> + </object> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSButton" id="241402549"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{87, 8}, {28, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="27718122"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="241402549"/> + <int key="NSButtonFlags">-2033975041</int> + <int key="NSButtonFlags2">268435490</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">rowrefresh</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">r</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="976558465"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{114, 8}, {28, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="670273090"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="976558465"/> + <int key="NSButtonFlags">-2032926465</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">tabletosheet</string> + </object> + <object class="NSCustomResource" key="NSAlternateImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">sheettotable</string> + </object> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="437174505"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{60, 8}, {28, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="320347598"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="437174505"/> + <int key="NSButtonFlags">-2033434369</int> + <int key="NSButtonFlags2">268435490</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">rowcopy</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">d</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSSearchField" id="377771536"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{247, 513}, {172, 19}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSSearchFieldCell" key="NSCell" id="667596795"> + <int key="NSCellFlags">879885888</int> + <int key="NSCellFlags2">268567552</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="377771536"/> + <bool key="NSDrawsBackground">YES</bool> + <int key="NSTextBezelStyle">1</int> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <object class="NSButtonCell" key="NSSearchButtonCell"> + <int key="NSCellFlags">537001472</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">search</string> + <string key="NSAction">_searchFieldSearch:</string> + <reference key="NSTarget" ref="667596795"/> + <reference key="NSControlView" ref="377771536"/> + <int key="NSButtonFlags">138690815</int> + <int key="NSButtonFlags2">0</int> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <object class="NSButtonCell" key="NSCancelButtonCell"> + <int key="NSCellFlags">537001472</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">clear</string> + <object class="NSMutableArray" key="NSAccessibilityOverriddenAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableDictionary"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>AXDescription</string> + <string>NSAccessibilityEncodedAttributesValueType</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>cancel</string> + <integer value="1" id="9"/> + </object> + </object> + </object> + <string key="NSAction">_searchFieldCancel:</string> + <reference key="NSTarget" ref="667596795"/> + <reference key="NSControlView" ref="377771536"/> + <int key="NSButtonFlags">138690815</int> + <int key="NSButtonFlags2">0</int> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <int key="NSMaximumRecents">255</int> + <bool key="NSSendsWholeSearchString">YES</bool> + <bytes key="NSSearchFieldFlags">CAAAAA</bytes> + </object> + </object> + <object class="NSButton" id="1051499117"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">290</int> + <string key="NSFrame">{{141, 8}, {493, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="300558868"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="1051499117"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSTextField" id="572483755"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{556, 513}, {40, 19}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="752631171"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">-1874721792</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <object class="NSNumberFormatter" key="NSFormatter" id="281978966"> + <object class="NSMutableDictionary" key="NS.attributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>allowsFloats</string> + <string>formatterBehavior</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="8"/> + <integer value="1040"/> + </object> + </object> + <string key="NS.positiveformat">#</string> + <string key="NS.negativeformat">#</string> + <nil key="NS.positiveattrs"/> + <nil key="NS.negativeattrs"/> + <object class="NSAttributedString" key="NS.zero"> + <nil key="NSString"/> + </object> + <object class="NSAttributedString" key="NS.nil"> + <nil key="NSString"/> + </object> + <object class="NSAttributedString" key="NS.nan"> + <string key="NSString">NaN</string> + <object class="NSDictionary" key="NSAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + </object> + <object class="NSDecimalNumberPlaceholder" key="NS.min" id="141678913"> + <int key="NS.exponent">0</int> + <int key="NS.length">0</int> + <bool key="NS.negative">YES</bool> + <bool key="NS.compact">NO</bool> + <int key="NS.mantissa.bo">1</int> + <bytes key="NS.mantissa">AAAAAAAAAAAAAAAAAAAAAA</bytes> + </object> + <reference key="NS.max" ref="141678913"/> + <object class="NSDecimalNumberHandler" key="NS.rounding"> + <int key="NS.roundingmode">3</int> + <bool key="NS.raise.overflow">YES</bool> + <bool key="NS.raise.underflow">YES</bool> + <bool key="NS.raise.dividebyzero">YES</bool> + </object> + <string key="NS.decimal">.</string> + <string key="NS.thousand">,</string> + <bool key="NS.hasthousands">NO</bool> + <bool key="NS.localized">YES</bool> + <bool key="NS.allowsfloats">NO</bool> + </object> + <string key="NSPlaceholderString">0</string> + <reference key="NSControlView" ref="572483755"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="905386082"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{3, 515}, {43, 14}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="314592665"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272761856</int> + <string key="NSContents">Search:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="905386082"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="956558617"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{486, 515}, {65, 14}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="174975366"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272761856</int> + <string key="NSContents">Limit From:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="956558617"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="262235013"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">290</int> + <string key="NSFrame">{{150, 2}, {479, 26}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="665575636"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="262235013"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSProgressIndicator" id="440898411"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">1289</int> + <object class="NSPSMatrix" key="NSDrawMatrix"/> + <string key="NSFrame">{{614, 513}, {16, 16}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <int key="NSpiFlags">28938</int> + <double key="NSMaxValue">1.000000e+02</double> + </object> + <object class="NSButton" id="983589239"> + <reference key="NSNextResponder" ref="1013108064"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{427, 512}, {54, 19}}</string> + <reference key="NSSuperview" ref="1013108064"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="322691380"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Filter</string> + <reference key="NSSupport" ref="790379580"/> + <reference key="NSControlView" ref="983589239"/> + <int key="NSButtonFlags">-2038152961</int> + <int key="NSButtonFlags2">164</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + </object> + <string key="NSFrame">{{10, 7}, {638, 544}}</string> + </object> + <string key="NSLabel">Content</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="714795046"/> + </object> + <object class="NSTabViewItem" id="105987292"> + <string key="NSIdentifier">customQuery</string> + <object class="NSView" key="NSView" id="746504912"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSSplitView" id="894339536"> + <reference key="NSNextResponder" ref="746504912"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomView" id="873437769"> + <reference key="NSNextResponder" ref="894339536"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="71560786"> + <reference key="NSNextResponder" ref="873437769"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="1072692119"> + <reference key="NSNextResponder" ref="71560786"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="1055190999"> + <reference key="NSNextResponder" ref="1072692119"/> + <int key="NSvFlags">6418</int> + <string key="NSFrameSize">{626, 14}</string> + <reference key="NSSuperview" ref="1072692119"/> + <object class="NSTextContainer" key="NSTextContainer" id="326170846"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="326170846"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="1055190999"/> + <double key="NSWidth">6.260000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">12259</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSColor" id="905060551"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">selectedTextBackgroundColor</string> + <reference key="NSColor" ref="1001122760"/> + </object> + <object class="NSColor" id="63182758"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">selectedTextColor</string> + <reference key="NSColor" ref="304829493"/> + </object> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <nil key="NSLinkAttributes"/> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{1256, 1e+07}</string> + <string key="NSMinize">{98, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {626, 128}}</string> + <reference key="NSSuperview" ref="71560786"/> + <reference key="NSNextKeyView" ref="1055190999"/> + <reference key="NSDocView" ref="1055190999"/> + <reference key="NSBGColor" ref="449903125"/> + <object class="NSCursor" key="NSCursor" id="32917531"> + <string key="NSHotSpot">{4, -5}</string> + <int key="NSCursorType">1</int> + </object> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="413233170"> + <reference key="NSNextResponder" ref="71560786"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{598, 1}, {15, 68}}</string> + <reference key="NSSuperview" ref="71560786"/> + <reference key="NSTarget" ref="71560786"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + </object> + <object class="NSScroller" id="783638826"> + <reference key="NSNextResponder" ref="71560786"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {601, 11}}</string> + <reference key="NSSuperview" ref="71560786"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="71560786"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{0, 27}, {628, 130}}</string> + <reference key="NSSuperview" ref="873437769"/> + <reference key="NSNextKeyView" ref="1072692119"/> + <int key="NSsFlags">530</int> + <reference key="NSVScroller" ref="413233170"/> + <reference key="NSHScroller" ref="783638826"/> + <reference key="NSContentView" ref="1072692119"/> + </object> + <object class="NSButton" id="811536132"> + <reference key="NSNextResponder" ref="873437769"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{523, -5}, {90, 28}}</string> + <reference key="NSSuperview" ref="873437769"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="177866566"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Run Query</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="811536132"/> + <int key="NSButtonFlags">-2034876161</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSPopUpButton" id="86760255"> + <reference key="NSNextResponder" ref="873437769"/> + <int key="NSvFlags">290</int> + <string key="NSFrame">{{264, -2}, {259, 22}}</string> + <reference key="NSSuperview" ref="873437769"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="830957297"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">132096</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="86760255"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="13183167"> + <reference key="NSMenu" ref="766637184"/> + <bool key="NSIsHidden">YES</bool> + <string key="NSTitle">Select query from history...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="830957297"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="766637184"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="13183167"/> + </object> + </object> + <bool key="NSPullDown">YES</bool> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSPopUpButton" id="872178320"> + <reference key="NSNextResponder" ref="873437769"/> + <int key="NSvFlags">288</int> + <string key="NSFrame">{{17, -2}, {245, 22}}</string> + <reference key="NSSuperview" ref="873437769"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="416049103"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">132096</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="872178320"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="923183582"> + <reference key="NSMenu" ref="960790892"/> + <bool key="NSIsHidden">YES</bool> + <string key="NSTitle">Select query from favorites...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="416049103"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="960790892"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="923183582"/> + <object class="NSMenuItem" id="5128219"> + <reference key="NSMenu" ref="960790892"/> + <string key="NSTitle">Save query to favorites...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="416049103"/> + </object> + <object class="NSMenuItem" id="560786252"> + <reference key="NSMenu" ref="960790892"/> + <string key="NSTitle">Edit favorites...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="416049103"/> + </object> + <object class="NSMenuItem" id="829073375"> + <reference key="NSMenu" ref="960790892"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="416049103"/> + </object> + </object> + </object> + <bool key="NSPullDown">YES</bool> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + </object> + <string key="NSFrameSize">{628, 156}</string> + <reference key="NSSuperview" ref="894339536"/> + <string key="NSClassName">NSView</string> + </object> + <object class="NSCustomView" id="345834048"> + <reference key="NSNextResponder" ref="894339536"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="678281118"> + <reference key="NSNextResponder" ref="345834048"/> + <int key="NSvFlags">4370</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="90844306"> + <reference key="NSNextResponder" ref="678281118"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="581095761"> + <reference key="NSNextResponder" ref="90844306"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{626, 251}</string> + <reference key="NSSuperview" ref="90844306"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="1038415606"> + <reference key="NSNextResponder" ref="533922066"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{626, 17}</string> + <reference key="NSSuperview" ref="533922066"/> + <reference key="NSTableView" ref="581095761"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="151074124"> + <reference key="NSNextResponder" ref="678281118"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="678281118"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="544095042"> + <double key="NSWidth">6.230000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="451753495"> + <int key="NSCellFlags">70385217</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="581095761"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="581095761"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.300000e+01</double> + <int key="NSTvFlags">-88080384</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {626, 251}}</string> + <reference key="NSSuperview" ref="678281118"/> + <reference key="NSNextKeyView" ref="581095761"/> + <reference key="NSDocView" ref="581095761"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="472831765"> + <reference key="NSNextResponder" ref="678281118"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{598, 17}, {15, 212}}</string> + <reference key="NSSuperview" ref="678281118"/> + <reference key="NSTarget" ref="678281118"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.800000e-01</double> + </object> + <object class="NSScroller" id="851610321"> + <reference key="NSNextResponder" ref="678281118"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 229}, {597, 15}}</string> + <reference key="NSSuperview" ref="678281118"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="678281118"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + <object class="NSClipView" id="533922066"> + <reference key="NSNextResponder" ref="678281118"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1038415606"/> + </object> + <string key="NSFrame">{{1, 0}, {626, 17}}</string> + <reference key="NSSuperview" ref="678281118"/> + <reference key="NSNextKeyView" ref="1038415606"/> + <reference key="NSDocView" ref="1038415606"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="151074124"/> + </object> + <string key="NSFrameSize">{628, 269}</string> + <reference key="NSSuperview" ref="345834048"/> + <reference key="NSNextKeyView" ref="90844306"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="472831765"/> + <reference key="NSHScroller" ref="851610321"/> + <reference key="NSContentView" ref="90844306"/> + <reference key="NSHeaderClipView" ref="533922066"/> + <reference key="NSCornerView" ref="151074124"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBcAAAQXAAAA</bytes> + </object> + </object> + <string key="NSFrame">{{0, 165}, {628, 269}}</string> + <reference key="NSSuperview" ref="894339536"/> + <string key="NSClassName">NSView</string> + </object> + <object class="NSCustomView" id="875002707"> + <reference key="NSNextResponder" ref="894339536"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="910005271"> + <reference key="NSNextResponder" ref="875002707"/> + <int key="NSvFlags">266</int> + <string key="NSFrame">{{242, 67}, {369, 14}}</string> + <reference key="NSSuperview" ref="875002707"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="401235649"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">71303168</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="910005271"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="89757399"> + <reference key="NSNextResponder" ref="875002707"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{17, 67}, {143, 14}}</string> + <reference key="NSSuperview" ref="875002707"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="194978207"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Last Error Message</string> + <object class="NSFont" key="NSSupport" id="935342005"> + <string key="NSName">LucidaGrande-Bold</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="89757399"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="547765795"> + <reference key="NSNextResponder" ref="875002707"/> + <int key="NSvFlags">274</int> + <string key="NSFrame">{{17, 20}, {594, 43}}</string> + <reference key="NSSuperview" ref="875002707"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="948571736"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="547765795"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{0, 443}, {628, 87}}</string> + <reference key="NSSuperview" ref="894339536"/> + <string key="NSClassName">NSView</string> + </object> + </object> + <string key="NSFrame">{{6, 10}, {628, 530}}</string> + <reference key="NSSuperview" ref="746504912"/> + </object> + </object> + <string key="NSFrame">{{10, 7}, {638, 544}}</string> + </object> + <string key="NSLabel">Custom Query</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="714795046"/> + </object> + <object class="NSTabViewItem" id="94659530"> + <string key="NSIdentifier">status</string> + <object class="NSView" key="NSView" id="730602982"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSBox" id="963194168"> + <reference key="NSNextResponder" ref="730602982"/> + <int key="NSvFlags">266</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="619323583"> + <reference key="NSNextResponder" ref="963194168"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="729551278"> + <reference key="NSNextResponder" ref="619323583"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 42}, {253, 13}}</string> + <reference key="NSSuperview" ref="619323583"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="163139279"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Data: --</string> + <object class="NSFont" key="NSSupport" id="188091016"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">2843</int> + </object> + <reference key="NSControlView" ref="729551278"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="215621192"> + <reference key="NSNextResponder" ref="619323583"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 20}, {253, 13}}</string> + <reference key="NSSuperview" ref="619323583"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="590736286"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Max Data: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="215621192"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="600770759"> + <reference key="NSNextResponder" ref="619323583"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 42}, {288, 13}}</string> + <reference key="NSSuperview" ref="619323583"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1063149133"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Index: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="600770759"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="69040626"> + <reference key="NSNextResponder" ref="619323583"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 20}, {288, 13}}</string> + <reference key="NSSuperview" ref="619323583"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="255960453"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Free: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="69040626"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{2, 2}, {580, 75}}</string> + <reference key="NSSuperview" ref="963194168"/> + </object> + </object> + <string key="NSFrame">{{27, 199}, {584, 92}}</string> + <reference key="NSSuperview" ref="730602982"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Sizes</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="619323583"/> + <int key="NSBorderType">3</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">2</int> + <bool key="NSTransparent">NO</bool> + </object> + <object class="NSBox" id="999259018"> + <reference key="NSNextResponder" ref="730602982"/> + <int key="NSvFlags">266</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="338563068"> + <reference key="NSNextResponder" ref="999259018"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="155966163"> + <reference key="NSNextResponder" ref="338563068"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 42}, {253, 13}}</string> + <reference key="NSSuperview" ref="338563068"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="42522837"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">TmFtZTogLS0KA</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="155966163"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="12275451"> + <reference key="NSNextResponder" ref="338563068"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 20}, {253, 13}}</string> + <reference key="NSSuperview" ref="338563068"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="149233326"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Type: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="12275451"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="31458427"> + <reference key="NSNextResponder" ref="338563068"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 42}, {288, 13}}</string> + <reference key="NSSuperview" ref="338563068"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="408310340"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Created At: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="31458427"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="986922460"> + <reference key="NSNextResponder" ref="338563068"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 20}, {288, 13}}</string> + <reference key="NSSuperview" ref="338563068"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1025610345"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Updated At: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="986922460"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{2, 2}, {580, 75}}</string> + <reference key="NSSuperview" ref="999259018"/> + </object> + </object> + <string key="NSFrame">{{27, 416}, {584, 92}}</string> + <reference key="NSSuperview" ref="730602982"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Table</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="338563068"/> + <int key="NSBorderType">3</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">2</int> + <bool key="NSTransparent">NO</bool> + </object> + <object class="NSBox" id="903633749"> + <reference key="NSNextResponder" ref="730602982"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="873969530"> + <reference key="NSNextResponder" ref="903633749"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="753075506"> + <reference key="NSNextResponder" ref="873969530"/> + <int key="NSvFlags">274</int> + <string key="NSFrame">{{17, 20}, {543, 99}}</string> + <reference key="NSSuperview" ref="873969530"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="830473542"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">--</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="753075506"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{2, 2}, {580, 139}}</string> + <reference key="NSSuperview" ref="903633749"/> + </object> + </object> + <string key="NSFrame">{{27, 27}, {584, 156}}</string> + <reference key="NSSuperview" ref="730602982"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Comments</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="873969530"/> + <int key="NSBorderType">3</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">2</int> + <bool key="NSTransparent">NO</bool> + </object> + <object class="NSBox" id="146059755"> + <reference key="NSNextResponder" ref="730602982"/> + <int key="NSvFlags">266</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="46043017"> + <reference key="NSNextResponder" ref="146059755"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="843916815"> + <reference key="NSNextResponder" ref="46043017"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 42}, {253, 13}}</string> + <reference key="NSSuperview" ref="46043017"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1049937507"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Number Of: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="843916815"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="679980821"> + <reference key="NSNextResponder" ref="46043017"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 20}, {253, 13}}</string> + <reference key="NSSuperview" ref="46043017"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="529651943"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Format: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="679980821"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="627137778"> + <reference key="NSNextResponder" ref="46043017"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 42}, {288, 13}}</string> + <reference key="NSSuperview" ref="46043017"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="612635785"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Avg. Length: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="627137778"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="808590596"> + <reference key="NSNextResponder" ref="46043017"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{272, 20}, {288, 13}}</string> + <reference key="NSSuperview" ref="46043017"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="437382929"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Auto Increment: --</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="808590596"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{2, 2}, {580, 75}}</string> + <reference key="NSSuperview" ref="146059755"/> + </object> + </object> + <string key="NSFrame">{{27, 308}, {584, 92}}</string> + <reference key="NSSuperview" ref="730602982"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Rows</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="46043017"/> + <int key="NSBorderType">3</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">2</int> + <bool key="NSTransparent">NO</bool> + </object> + </object> + <string key="NSFrame">{{10, 7}, {638, 544}}</string> + </object> + <string key="NSLabel">Status</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="714795046"/> + </object> + </object> + <reference key="NSSelectedTabViewItem" ref="831053945"/> + <reference key="NSFont" ref="26"/> + <int key="NSTvFlags">134217731</int> + <bool key="NSAllowTruncatedLabels">YES</bool> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="461236772"/> + </object> + </object> + </object> + <string key="NSFrame">{{203, 0}, {661, 550}}</string> + <reference key="NSSuperview" ref="937377983"/> + <string key="NSClassName">NSView</string> + </object> + </object> + <string key="NSFrame">{{1, 0}, {864, 550}}</string> + <reference key="NSSuperview" ref="436537954"/> + <bool key="NSIsVertical">YES</bool> + <string key="NSAutosaveName">DBViewSplitter</string> + </object> + </object> + <string key="NSFrameSize">{882, 550}</string> + <reference key="NSSuperview" ref="1049088871"/> + </object> + <string key="NSLabel">Main</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="1049088871"/> + </object> + </object> + <reference key="NSSelectedTabViewItem" ref="716453023"/> + <reference key="NSFont" ref="244931163"/> + <int key="NSTvFlags">6</int> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="436537954"/> + </object> + </object> + </object> + <string key="NSFrameSize">{863, 550}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{780, 502}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSFrameAutosaveName">DBView</string> + </object> + <object class="NSWindowTemplate" id="456332212"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{469, 447}, {519, 335}}</string> + <int key="NSWTFlags">1886914560</int> + <string key="NSWindowTitle">connectSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{256, 191}</string> + <object class="NSView" key="NSWindowView" id="586457094"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="632312830"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{408, 12}, {92, 32}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="492536988"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Connect</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="632312830"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="676213493"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="936229991"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{326, 12}, {82, 32}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1016292439"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="936229991"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="676213493"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSProgressIndicator" id="514796180"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">1280</int> + <object class="NSPSMatrix" key="NSDrawMatrix"/> + <string key="NSFrame">{{48, 22}, {16, 16}}</string> + <reference key="NSSuperview" ref="586457094"/> + <int key="NSpiFlags">28938</int> + <double key="NSMaxValue">1.000000e+02</double> + </object> + <object class="NSTextField" id="593089150"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{71, 290}, {97, 21}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="196685261"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Sequel Pro</string> + <reference key="NSSupport" ref="769263589"/> + <reference key="NSControlView" ref="593089150"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSImageView" id="718844584"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">268</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{15, 275}, {48, 48}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="706772332"> + <int key="NSCellFlags">130560</int> + <int key="NSCellFlags2">33554432</int> + <reference key="NSContents" ref="453519056"/> + <int key="NSAlign">0</int> + <int key="NSScale">3</int> + <int key="NSStyle">0</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + <object class="NSButton" id="565663839"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{13, 16}, {25, 25}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1061790099"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="565663839"/> + <int key="NSButtonFlags">-2038415105</int> + <int key="NSButtonFlags2">33</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="725657385"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">-2147483356</int> + <string key="NSFrame">{{69, 22}, {76, 14}}</string> + <reference key="NSSuperview" ref="586457094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="4826163"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272761856</int> + <string type="base64-UTF8" key="NSContents">Q29ubmVjdGluZ+KApg</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="725657385"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSBox" id="248896606"> + <reference key="NSNextResponder" ref="586457094"/> + <int key="NSvFlags">292</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="781284031"> + <reference key="NSNextResponder" ref="248896606"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="252686319"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 166}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="959000443"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="252686319"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="317936232"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{287, 34}, {29, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="435677462"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Port:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="317936232"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="706801224"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{284, 164}, {33, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="217675313"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Host:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="706801224"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="591248388"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 36}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="343850840"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">3306</string> + <reference key="NSControlView" ref="591248388"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="473901395"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{259, 86}, {57, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="780018727"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Database:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="473901395"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="719075675"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{285, 141}, {32, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="778458567"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">User:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="719075675"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="622703817"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 114}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="348978059"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="622703817"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="387080032"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 88}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="535348279"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">optional</string> + <reference key="NSControlView" ref="387080032"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="744530295"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 140}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="370939232"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="744530295"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="452595742"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{320, 62}, {185, 18}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="538051351"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <string key="NSPlaceholderString">optional</string> + <reference key="NSControlView" ref="452595742"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="187305739"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{273, 60}, {43, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="209896109"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Socket:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="187305739"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSScrollView" id="112292194"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">4364</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="131927425"> + <reference key="NSNextResponder" ref="112292194"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="158332213"> + <reference key="NSNextResponder" ref="131927425"/> + <int key="NSvFlags">4352</int> + <string key="NSFrameSize">{213, 157}</string> + <reference key="NSSuperview" ref="131927425"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="975843240"> + <reference key="NSNextResponder" ref="333364494"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{213, 17}</string> + <reference key="NSSuperview" ref="333364494"/> + <reference key="NSTableView" ref="158332213"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="1013344315"> + <reference key="NSNextResponder" ref="112292194"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-26, 0}, {16, 17}}</string> + <reference key="NSSuperview" ref="112292194"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="611607474"> + <string key="NSIdentifier">favorites</string> + <double key="NSWidth">2.100000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Favorites</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="483413774"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="158332213"/> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="158332213"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.400000e+01</double> + <int key="NSTvFlags">-759169024</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {213, 157}}</string> + <reference key="NSSuperview" ref="112292194"/> + <reference key="NSNextKeyView" ref="158332213"/> + <reference key="NSDocView" ref="158332213"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="785468991"> + <reference key="NSNextResponder" ref="112292194"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{199, 17}, {15, 162}}</string> + <reference key="NSSuperview" ref="112292194"/> + <reference key="NSTarget" ref="112292194"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.943503e-01</double> + </object> + <object class="NSScroller" id="710690013"> + <reference key="NSNextResponder" ref="112292194"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{1, 179}, {198, 15}}</string> + <reference key="NSSuperview" ref="112292194"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="112292194"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.953271e-01</double> + </object> + <object class="NSClipView" id="333364494"> + <reference key="NSNextResponder" ref="112292194"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="975843240"/> + </object> + <string key="NSFrame">{{1, 0}, {213, 17}}</string> + <reference key="NSSuperview" ref="112292194"/> + <reference key="NSNextKeyView" ref="975843240"/> + <reference key="NSDocView" ref="975843240"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="1013344315"/> + </object> + <string key="NSFrame">{{12, 34}, {215, 175}}</string> + <reference key="NSSuperview" ref="781284031"/> + <reference key="NSNextKeyView" ref="131927425"/> + <int key="NSsFlags">562</int> + <reference key="NSVScroller" ref="785468991"/> + <reference key="NSHScroller" ref="710690013"/> + <reference key="NSContentView" ref="131927425"/> + <reference key="NSHeaderClipView" ref="333364494"/> + <reference key="NSCornerView" ref="1013344315"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBgAAAQYAAAA</bytes> + </object> + <object class="NSTextField" id="770654438"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{259, 112}, {58, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="61722355"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Password:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="770654438"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="223403285"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{269, 192}, {236, 17}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="605875122"> + <int key="NSCellFlags">67239488</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Enter the connection details below</string> + <reference key="NSSupport" ref="72760"/> + <reference key="NSControlView" ref="223403285"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSButton" id="79322639"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{12, 13}, {28, 23}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="745497435"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="79322639"/> + <int key="NSButtonFlags">-2033434369</int> + <int key="NSButtonFlags2">162</int> + <reference key="NSNormalImage" ref="54209242"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="63622597"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{39, 13}, {28, 23}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="316876744"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="63622597"/> + <int key="NSButtonFlags">-2033434369</int> + <int key="NSButtonFlags2">162</int> + <reference key="NSNormalImage" ref="410132161"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="799384073"> + <reference key="NSNextResponder" ref="781284031"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{66, 13}, {161, 23}}</string> + <reference key="NSSuperview" ref="781284031"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="151967533"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="799384073"/> + <int key="NSButtonFlags">147603711</int> + <int key="NSButtonFlags2">162</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + </object> + <string key="NSFrame">{{1, 1}, {523, 220}}</string> + <reference key="NSSuperview" ref="248896606"/> + </object> + </object> + <string key="NSFrame">{{-3, 44}, {525, 222}}</string> + <reference key="NSSuperview" ref="586457094"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Box</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="781284031"/> + <int key="NSBorderType">1</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">0</int> + <bool key="NSTransparent">NO</bool> + </object> + </object> + <string key="NSFrameSize">{519, 335}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{256, 213}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="308103881"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{356, 461}, {262, 127}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">copyTableSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="653204527"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="395811856"> + <reference key="NSNextResponder" ref="653204527"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 93}, {149, 14}}</string> + <reference key="NSSuperview" ref="653204527"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="604072019"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Duplicate table to</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="395811856"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="709997101"> + <reference key="NSNextResponder" ref="653204527"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 67}, {222, 18}}</string> + <reference key="NSSuperview" ref="653204527"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="870160310"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="709997101"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSButton" id="1044741319"> + <reference key="NSNextResponder" ref="653204527"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 43}, {189, 18}}</string> + <reference key="NSSuperview" ref="653204527"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="575635343"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Duplicate table content</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1044741319"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="483283663"> + <reference key="NSNextResponder" ref="653204527"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{167, 13}, {80, 28}}</string> + <reference key="NSSuperview" ref="653204527"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="834960254"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Duplicate</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="483283663"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <object class="NSFont" key="NSAlternateImage" id="932958253"> + <string key="NSName">Helvetica</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">16</int> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="78676089"> + <reference key="NSNextResponder" ref="653204527"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{89, 13}, {80, 28}}</string> + <reference key="NSSuperview" ref="653204527"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="1048025876"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="78676089"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{262, 127}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="135079060"> + <int key="NSWindowStyleMask">8223</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{196, 160}, {588, 350}}</string> + <int key="NSWTFlags">-469762048</int> + <string key="NSWindowTitle">Create Table Syntax</string> + <string key="NSWindowClass">NSPanel</string> + <nil key="NSViewClass"/> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <object class="NSView" key="NSWindowView" id="661948784"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="541887300"> + <reference key="NSNextResponder" ref="661948784"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="593223452"> + <reference key="NSNextResponder" ref="541887300"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="798764405"> + <reference key="NSNextResponder" ref="593223452"/> + <int key="NSvFlags">2322</int> + <string key="NSFrameSize">{588, 72}</string> + <reference key="NSSuperview" ref="593223452"/> + <object class="NSTextContainer" key="NSTextContainer" id="623412409"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Et harumd und lookum like Greek to me, dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda</characters> + </object> + <object class="NSMutableArray" key="NSAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSDictionary"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSColor</string> + <string>NSFont</string> + <string>NSParagraphStyle</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSColor" id="885278162"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MCAwIDAAA</bytes> + </object> + <reference ref="188091016"/> + <object class="NSParagraphStyle"> + <int key="NSAlignment">3</int> + <object class="NSArray" key="NSTabStops"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextTab" id="501503456"> + <double key="NSLocation">0.000000e+00</double> + </object> + <object class="NSTextTab" id="901963619"> + <double key="NSLocation">5.600000e+01</double> + </object> + <object class="NSTextTab" id="1001591936"> + <double key="NSLocation">1.120000e+02</double> + </object> + <object class="NSTextTab" id="711834680"> + <double key="NSLocation">1.680000e+02</double> + </object> + <object class="NSTextTab" id="593043090"> + <double key="NSLocation">2.240000e+02</double> + </object> + <object class="NSTextTab" id="980925360"> + <double key="NSLocation">2.800000e+02</double> + </object> + <object class="NSTextTab" id="682662534"> + <double key="NSLocation">3.360000e+02</double> + </object> + <object class="NSTextTab" id="201209351"> + <double key="NSLocation">3.920000e+02</double> + </object> + <object class="NSTextTab" id="231585962"> + <double key="NSLocation">4.480000e+02</double> + </object> + <object class="NSTextTab" id="759866559"> + <double key="NSLocation">5.040000e+02</double> + </object> + <object class="NSTextTab" id="501838998"> + <double key="NSLocation">5.600000e+02</double> + </object> + <object class="NSTextTab" id="328935456"> + <double key="NSLocation">6.160000e+02</double> + </object> + <object class="NSTextTab" id="291303009"> + <double key="NSLocation">6.720000e+02</double> + </object> + <object class="NSTextTab" id="944565393"> + <double key="NSLocation">7.280000e+02</double> + </object> + <object class="NSTextTab" id="116932563"> + <double key="NSLocation">7.840000e+02</double> + </object> + <object class="NSTextTab" id="313453674"> + <double key="NSLocation">8.400000e+02</double> + </object> + <object class="NSTextTab" id="874483567"> + <double key="NSLocation">8.960000e+02</double> + </object> + <object class="NSTextTab" id="220229491"> + <double key="NSLocation">9.520000e+02</double> + </object> + <object class="NSTextTab" id="400827970"> + <double key="NSLocation">1.008000e+03</double> + </object> + <object class="NSTextTab" id="217167976"> + <double key="NSLocation">1.064000e+03</double> + </object> + <object class="NSTextTab" id="448353934"> + <double key="NSLocation">1.120000e+03</double> + </object> + <object class="NSTextTab" id="83303773"> + <double key="NSLocation">1.176000e+03</double> + </object> + <object class="NSTextTab" id="166588966"> + <double key="NSLocation">1.232000e+03</double> + </object> + <object class="NSTextTab" id="231896704"> + <double key="NSLocation">1.288000e+03</double> + </object> + <object class="NSTextTab" id="934279505"> + <double key="NSLocation">1.344000e+03</double> + </object> + <object class="NSTextTab" id="455349703"> + <double key="NSLocation">1.400000e+03</double> + </object> + <object class="NSTextTab" id="1039519016"> + <double key="NSLocation">1.456000e+03</double> + </object> + <object class="NSTextTab" id="402422982"> + <double key="NSLocation">1.512000e+03</double> + </object> + <object class="NSTextTab" id="1048572155"> + <double key="NSLocation">1.568000e+03</double> + </object> + <object class="NSTextTab" id="795190615"> + <double key="NSLocation">1.624000e+03</double> + </object> + <object class="NSTextTab" id="870916292"> + <double key="NSLocation">1.680000e+03</double> + </object> + <object class="NSTextTab" id="476331788"> + <double key="NSLocation">1.736000e+03</double> + </object> + </object> + </object> + </object> + </object> + <object class="NSDictionary"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSColor</string> + <string>NSFont</string> + <string>NSParagraphStyle</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="885278162"/> + <object class="NSFont" id="25"> + <string key="NSName">LucidaGrande-Bold</string> + <double key="NSSize">1.000000e+01</double> + <int key="NSfFlags">16</int> + </object> + <object class="NSParagraphStyle"> + <int key="NSAlignment">3</int> + <object class="NSArray" key="NSTabStops"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="501503456"/> + <reference ref="901963619"/> + <reference ref="1001591936"/> + <reference ref="711834680"/> + <reference ref="593043090"/> + <reference ref="980925360"/> + <reference ref="682662534"/> + <reference ref="201209351"/> + <reference ref="231585962"/> + <reference ref="759866559"/> + <reference ref="501838998"/> + <reference ref="328935456"/> + <reference ref="291303009"/> + <reference ref="944565393"/> + <reference ref="116932563"/> + <reference ref="313453674"/> + <reference ref="874483567"/> + <reference ref="220229491"/> + <reference ref="400827970"/> + <reference ref="217167976"/> + <reference ref="448353934"/> + <reference ref="83303773"/> + <reference ref="166588966"/> + <reference ref="231896704"/> + <reference ref="934279505"/> + <reference ref="455349703"/> + <reference ref="1039519016"/> + <reference ref="402422982"/> + <reference ref="1048572155"/> + <reference ref="795190615"/> + <reference ref="870916292"/> + <reference ref="476331788"/> + </object> + </object> + </object> + </object> + </object> + <object class="NSMutableData" key="NSAttributeInfo"> + <bytes key="NS.bytes">GQAEAQgADAEiAAcBhAQAA</bytes> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="623412409"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="798764405"/> + <double key="NSWidth">5.880000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">10849</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="885278162"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <object class="NSDictionary" key="NSLinkAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSColor</string> + <string>NSUnderline</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSColor" id="114422645"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MCAwIDEAA</bytes> + </object> + <reference ref="9"/> + </object> + </object> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{1176, 1e+07}</string> + <string key="NSMinize">{83, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrameSize">{588, 316}</string> + <reference key="NSSuperview" ref="541887300"/> + <reference key="NSNextKeyView" ref="798764405"/> + <reference key="NSDocView" ref="798764405"/> + <object class="NSColor" key="NSBGColor"> + <int key="NSColorSpace">1</int> + <bytes key="NSRGB">MSAxIDEgMC44MTk5OTk5OQA</bytes> + </object> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">6</int> + </object> + <object class="NSScroller" id="142711676"> + <reference key="NSNextResponder" ref="541887300"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{573, 0}, {15, 316}}</string> + <reference key="NSSuperview" ref="541887300"/> + <reference key="NSTarget" ref="541887300"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">3.877301e-01</double> + </object> + <object class="NSScroller" id="705947940"> + <reference key="NSNextResponder" ref="541887300"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="541887300"/> + <int key="NSsFlags">1</int> + <reference key="NSTarget" ref="541887300"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{0, 34}, {588, 316}}</string> + <reference key="NSSuperview" ref="661948784"/> + <reference key="NSNextKeyView" ref="593223452"/> + <int key="NSsFlags">528</int> + <reference key="NSVScroller" ref="142711676"/> + <reference key="NSHScroller" ref="705947940"/> + <reference key="NSContentView" ref="593223452"/> + </object> + <object class="NSButton" id="1023944293"> + <reference key="NSNextResponder" ref="661948784"/> + <int key="NSvFlags">289</int> + <string key="NSFrame">{{512, 7}, {56, 19}}</string> + <reference key="NSSuperview" ref="661948784"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="304588954"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Copy</string> + <reference key="NSSupport" ref="428955213"/> + <reference key="NSControlView" ref="1023944293"/> + <int key="NSButtonFlags">-2038152961</int> + <int key="NSButtonFlags2">164</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + </object> + <string key="NSFrameSize">{588, 350}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSFrameAutosaveName">createTableSyntaxWindow</string> + </object> + <object class="NSWindowTemplate" id="554105051"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{343, 483}, {220, 112}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">databaseSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{256, 191}</string> + <string key="NSWindowContentMinSize">{162.05, 5}</string> + <object class="NSView" key="NSWindowView" id="70075497"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="823440790"> + <reference key="NSNextResponder" ref="70075497"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 78}, {88, 14}}</string> + <reference key="NSSuperview" ref="70075497"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="45988560"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Database Name</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="823440790"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="839031135"> + <reference key="NSNextResponder" ref="70075497"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 52}, {180, 18}}</string> + <reference key="NSSuperview" ref="70075497"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="212969926"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="839031135"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSButton" id="875952722"> + <reference key="NSNextResponder" ref="70075497"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{135, 13}, {70, 28}}</string> + <reference key="NSSuperview" ref="70075497"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="169260261"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Add</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="875952722"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="681100483"> + <reference key="NSNextResponder" ref="70075497"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{67, 13}, {70, 28}}</string> + <reference key="NSSuperview" ref="70075497"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="994559297"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="681100483"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{220, 112}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{162.05, 27}</string> + <string key="NSMaxSize">{256, 213}</string> + </object> + <object class="NSWindowTemplate" id="400229091"> + <int key="NSWindowStyleMask">9</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{115, 380}, {667, 425}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">editSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{350, 200}</string> + <object class="NSView" key="NSWindowView" id="999543752"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="253418976"> + <reference key="NSNextResponder" ref="999543752"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{576, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="999543752"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="614204575"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">OK</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="253418976"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="87722169"> + <reference key="NSNextResponder" ref="999543752"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{502, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="999543752"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="888101847"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="87722169"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTabView" id="473392579"> + <reference key="NSNextResponder" ref="999543752"/> + <int key="NSvFlags">274</int> + <string key="NSFrame">{{10, 32}, {647, 373}}</string> + <reference key="NSSuperview" ref="999543752"/> + <object class="NSMutableArray" key="NSTabViewItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTabViewItem" id="964355507"> + <object class="NSMutableString" key="NSIdentifier"> + <characters key="NS.bytes">1</characters> + </object> + <object class="NSView" key="NSView" id="375414526"> + <reference key="NSNextResponder" ref="473392579"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="1020679422"> + <reference key="NSNextResponder" ref="375414526"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="134546146"> + <reference key="NSNextResponder" ref="1020679422"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="1011820278"> + <reference key="NSNextResponder" ref="134546146"/> + <int key="NSvFlags">2322</int> + <string key="NSFrameSize">{574, 14}</string> + <reference key="NSSuperview" ref="134546146"/> + <object class="NSTextContainer" key="NSTextContainer" id="609699272"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="609699272"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="1011820278"/> + <double key="NSWidth">5.740000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">12259</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <object class="NSDictionary" key="NSLinkAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSColor</string> + <string>NSCursor</string> + <string>NSUnderline</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="114422645"/> + <object class="NSCursor"> + <string key="NSHotSpot">{8, -8}</string> + <int key="NSCursorType">13</int> + </object> + <reference ref="9"/> + </object> + </object> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{1161, 1e+07}</string> + <string key="NSMinize">{87, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {574, 293}}</string> + <reference key="NSSuperview" ref="1020679422"/> + <reference key="NSNextKeyView" ref="1011820278"/> + <reference key="NSDocView" ref="1011820278"/> + <reference key="NSBGColor" ref="449903125"/> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="435247014"> + <reference key="NSNextResponder" ref="1020679422"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{575, 1}, {11, 293}}</string> + <reference key="NSSuperview" ref="1020679422"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="1020679422"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.016427e-01</double> + </object> + <object class="NSScroller" id="767953750"> + <reference key="NSNextResponder" ref="1020679422"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="1020679422"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="1020679422"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 20}, {587, 295}}</string> + <reference key="NSSuperview" ref="375414526"/> + <reference key="NSNextKeyView" ref="134546146"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="435247014"/> + <reference key="NSHScroller" ref="767953750"/> + <reference key="NSContentView" ref="134546146"/> + </object> + </object> + <string key="NSFrame">{{10, 25}, {627, 335}}</string> + <reference key="NSSuperview" ref="473392579"/> + </object> + <string key="NSLabel">Text</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="473392579"/> + </object> + <object class="NSTabViewItem" id="413352462"> + <object class="NSMutableString" key="NSIdentifier"> + <characters key="NS.bytes">2</characters> + </object> + <object class="NSView" key="NSView" id="948951370"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSImageView" id="976680482"> + <reference key="NSNextResponder" ref="948951370"/> + <int key="NSvFlags">274</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>Apple PNG pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrame">{{17, 17}, {593, 301}}</string> + <reference key="NSSuperview" ref="948951370"/> + <bool key="NSEnabled">YES</bool> + <object class="NSImageCell" key="NSCell" id="11045283"> + <int key="NSCellFlags">270663168</int> + <int key="NSCellFlags2">0</int> + <int key="NSAlign">0</int> + <int key="NSScale">0</int> + <int key="NSStyle">2</int> + <bool key="NSAnimates">NO</bool> + </object> + <bool key="NSEditable">YES</bool> + </object> + </object> + <string key="NSFrame">{{10, 25}, {627, 335}}</string> + </object> + <string key="NSLabel">Image</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="473392579"/> + </object> + <object class="NSTabViewItem" id="556753191"> + <string key="NSIdentifier">3</string> + <object class="NSView" key="NSView" id="813036786"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="533559056"> + <reference key="NSNextResponder" ref="813036786"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="106608808"> + <reference key="NSNextResponder" ref="533559056"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="283256023"> + <reference key="NSNextResponder" ref="106608808"/> + <int key="NSvFlags">2322</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple HTML pasteboard type</string> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>CorePasteboardFlavorType 0x6D6F6F76</string> + <string>NSColor pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NSStringPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT RTFD pasteboard type</string> + <string>NeXT Rich Text Format v1.0 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrameSize">{574, 14}</string> + <reference key="NSSuperview" ref="106608808"/> + <object class="NSTextContainer" key="NSTextContainer" id="883111283"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="883111283"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="283256023"/> + <double key="NSWidth">5.740000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">2917</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <nil key="NSLinkAttributes"/> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{1161, 1e+07}</string> + <string key="NSMinize">{87, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {574, 293}}</string> + <reference key="NSSuperview" ref="533559056"/> + <reference key="NSNextKeyView" ref="283256023"/> + <reference key="NSDocView" ref="283256023"/> + <reference key="NSBGColor" ref="449903125"/> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="945638943"> + <reference key="NSNextResponder" ref="533559056"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{575, 1}, {11, 293}}</string> + <reference key="NSSuperview" ref="533559056"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="533559056"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">7.128954e-01</double> + </object> + <object class="NSScroller" id="685320182"> + <reference key="NSNextResponder" ref="533559056"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="533559056"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="533559056"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 20}, {587, 295}}</string> + <reference key="NSSuperview" ref="813036786"/> + <reference key="NSNextKeyView" ref="106608808"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="945638943"/> + <reference key="NSHScroller" ref="685320182"/> + <reference key="NSContentView" ref="106608808"/> + </object> + </object> + <string key="NSFrame">{{10, 25}, {627, 335}}</string> + </object> + <string key="NSLabel">Hex</string> + <reference key="NSColor" ref="62854682"/> + <reference key="NSTabView" ref="473392579"/> + </object> + </object> + <reference key="NSSelectedTabViewItem" ref="964355507"/> + <reference key="NSFont" ref="26"/> + <int key="NSTvFlags">134217728</int> + <bool key="NSAllowTruncatedLabels">YES</bool> + <bool key="NSDrawsBackground">YES</bool> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="375414526"/> + </object> + </object> + <object class="NSButton" id="871440870"> + <reference key="NSNextResponder" ref="999543752"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{89, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="999543752"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="46380971"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Save...</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="871440870"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">268435457</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">s</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="938738159"> + <reference key="NSNextResponder" ref="999543752"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{15, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="999543752"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="544799467"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Open...</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="938738159"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">268435457</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">o</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{667, 425}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{350, 222}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="466147946"> + <int key="NSWindowStyleMask">9</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{467, 379}, {405, 267}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">errorSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="860968037"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="413713602"> + <reference key="NSNextResponder" ref="860968037"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{20, 233}, {140, 14}}</string> + <reference key="NSSuperview" ref="860968037"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="326519111"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">There have been errors!</string> + <reference key="NSSupport" ref="935342005"/> + <reference key="NSControlView" ref="413713602"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSScrollView" id="972781700"> + <reference key="NSNextResponder" ref="860968037"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="158897172"> + <reference key="NSNextResponder" ref="972781700"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="347971361"> + <reference key="NSNextResponder" ref="158897172"/> + <int key="NSvFlags">2322</int> + <string key="NSFrameSize">{352, 14}</string> + <reference key="NSSuperview" ref="158897172"/> + <object class="NSTextContainer" key="NSTextContainer" id="197710090"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="197710090"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="347971361"/> + <double key="NSWidth">3.520000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">2913</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <nil key="NSLinkAttributes"/> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{717, 1e+07}</string> + <string key="NSMinize">{64, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {352, 178}}</string> + <reference key="NSSuperview" ref="972781700"/> + <reference key="NSNextKeyView" ref="347971361"/> + <reference key="NSDocView" ref="347971361"/> + <reference key="NSBGColor" ref="449903125"/> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="84024470"> + <reference key="NSNextResponder" ref="972781700"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{353, 1}, {11, 178}}</string> + <reference key="NSSuperview" ref="972781700"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="972781700"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + </object> + <object class="NSScroller" id="761598270"> + <reference key="NSNextResponder" ref="972781700"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="972781700"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="972781700"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 45}, {365, 180}}</string> + <reference key="NSSuperview" ref="860968037"/> + <reference key="NSNextKeyView" ref="158897172"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="84024470"/> + <reference key="NSHScroller" ref="761598270"/> + <reference key="NSContentView" ref="158897172"/> + </object> + <object class="NSButton" id="92950801"> + <reference key="NSNextResponder" ref="860968037"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{314, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="860968037"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="693776804"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Close</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="92950801"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{405, 267}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="176945499"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{262, 469}, {465, 294}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">fieldMappingSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{350, 250}</string> + <object class="NSView" key="NSWindowView" id="1024486775"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSBox" id="908136938"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">10</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="573332983"> + <reference key="NSNextResponder" ref="908136938"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSPopUpButton" id="874969464"> + <reference key="NSNextResponder" ref="573332983"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{128, 16}, {100, 26}}</string> + <reference key="NSSuperview" ref="573332983"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="691314210"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">2048</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="874969464"/> + <int key="NSButtonFlags">109199615</int> + <int key="NSButtonFlags2">129</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <nil key="NSMenuItem"/> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="380312256"> + <string key="NSTitle">OtherViews</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <int key="NSSelectedIndex">-1</int> + <int key="NSPreferredEdge">1</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">2</int> + </object> + </object> + <object class="NSTextField" id="231180464"> + <reference key="NSNextResponder" ref="573332983"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{17, 22}, {109, 17}}</string> + <reference key="NSSuperview" ref="573332983"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1059848808"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Insert into table:</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="231180464"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrame">{{1, 1}, {465, 60}}</string> + <reference key="NSSuperview" ref="908136938"/> + </object> + </object> + <string key="NSFrame">{{-1, 233}, {467, 62}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Box</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="573332983"/> + <int key="NSBorderType">1</int> + <int key="NSBoxType">4</int> + <int key="NSTitlePosition">0</int> + <bool key="NSTransparent">NO</bool> + <object class="NSColor" key="NSFillColor2"> + <int key="NSColorSpace">2</int> + <bytes key="NSRGB">MC45NDUwOTgxIDAuOTQ1MDk4MSAwLjk0NTA5ODEAA</bytes> + </object> + </object> + <object class="NSScrollView" id="1041893843"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="68425806"> + <reference key="NSNextResponder" ref="1041893843"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="134631251"> + <reference key="NSNextResponder" ref="68425806"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{423, 141}</string> + <reference key="NSSuperview" ref="68425806"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="568493807"> + <reference key="NSNextResponder" ref="256453894"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{423, 17}</string> + <reference key="NSSuperview" ref="256453894"/> + <reference key="NSTableView" ref="134631251"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="639896268"> + <reference key="NSNextResponder" ref="1041893843"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{-22, 0}, {12, 17}}</string> + <reference key="NSSuperview" ref="1041893843"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="611279908"> + <string key="NSIdentifier">field</string> + <double key="NSWidth">2.100000e+02</double> + <double key="NSMinWidth">1.500000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Field</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="512412976"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="515758282"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="134631251"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="134631251"/> + </object> + <object class="NSTableColumn" id="68154948"> + <string key="NSIdentifier">value</string> + <double key="NSWidth">2.070000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Value</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="512412976"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="209130090"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="134631251"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="134631251"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">2.000000e+01</double> + <int key="NSTvFlags">1379958784</int> + <int key="NSGridStyleMask">1</int> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {423, 141}}</string> + <reference key="NSSuperview" ref="1041893843"/> + <reference key="NSNextKeyView" ref="134631251"/> + <reference key="NSDocView" ref="134631251"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">6</int> + </object> + <object class="NSScroller" id="99652168"> + <reference key="NSNextResponder" ref="1041893843"/> + <int key="NSvFlags">-2147483392</int> + <string key="NSFrame">{{413, 18}, {11, 140}}</string> + <reference key="NSSuperview" ref="1041893843"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="1041893843"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.929078e-01</double> + </object> + <object class="NSScroller" id="1053700221"> + <reference key="NSNextResponder" ref="1041893843"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {227, 11}}</string> + <reference key="NSSuperview" ref="1041893843"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="1041893843"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + <object class="NSClipView" id="256453894"> + <reference key="NSNextResponder" ref="1041893843"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="568493807"/> + </object> + <string key="NSFrame">{{1, 0}, {423, 17}}</string> + <reference key="NSSuperview" ref="1041893843"/> + <reference key="NSNextKeyView" ref="568493807"/> + <reference key="NSDocView" ref="568493807"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="639896268"/> + </object> + <string key="NSFrame">{{20, 45}, {425, 159}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <reference key="NSNextKeyView" ref="68425806"/> + <int key="NSsFlags">530</int> + <reference key="NSVScroller" ref="99652168"/> + <reference key="NSHScroller" ref="1053700221"/> + <reference key="NSContentView" ref="68425806"/> + <reference key="NSHeaderClipView" ref="256453894"/> + <reference key="NSCornerView" ref="639896268"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBsAAAQbAAAA</bytes> + </object> + <object class="NSTextField" id="940196687"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{17, 211}, {151, 13}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="879803695"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Please choose field mapping</string> + <reference key="NSSupport" ref="25"/> + <reference key="NSControlView" ref="940196687"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSButton" id="537769422"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">289</int> + <string key="NSFrame">{{286, 6}, {82, 32}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="688110794"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">137887744</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="537769422"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <object class="NSFont" key="NSAlternateImage" id="514282836"> + <string key="NSName">Helvetica</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">16</int> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="322520441"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">289</int> + <string key="NSFrame">{{368, 6}, {83, 32}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="469479462"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">137887744</int> + <string key="NSContents">Import</string> + <reference key="NSSupport" ref="244931163"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="322520441"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="514282836"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="269606631"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{20, 11}, {32, 24}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="249886123"> + <int key="NSCellFlags">604110336</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="269606631"/> + <int key="NSButtonFlags">-2030812929</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSGoLeftTemplate</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSButton" id="943423465"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{51, 11}, {32, 24}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="468691156"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="244931163"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="943423465"/> + <int key="NSButtonFlags">-2030812929</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSGoRightTemplate</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + </object> + <object class="NSTextField" id="1029840737"> + <reference key="NSNextResponder" ref="1024486775"/> + <int key="NSvFlags">292</int> + <string key="NSFrame">{{88, 16}, {98, 14}}</string> + <reference key="NSSuperview" ref="1024486775"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="179332122"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272761856</int> + <string key="NSContents">x of y records</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1029840737"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrameSize">{465, 294}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string> + <string key="NSMinSize">{350, 272}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="549044462"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{512, 379}, {262, 139}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">indexSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="329225443"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSPopUpButton" id="674179880"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 98}, {128, 22}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="435559245"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">132096</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="674179880"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="193527205"> + <reference key="NSMenu" ref="899615778"/> + <string key="NSTitle">PRIMARY KEY</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="435559245"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="899615778"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="193527205"/> + <object class="NSMenuItem" id="748289654"> + <reference key="NSMenu" ref="899615778"/> + <string key="NSTitle">INDEX</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="435559245"/> + </object> + <object class="NSMenuItem" id="189074292"> + <reference key="NSMenu" ref="899615778"/> + <string key="NSTitle">UNIQUE</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="435559245"/> + </object> + <object class="NSMenuItem" id="666224488"> + <reference key="NSMenu" ref="899615778"/> + <string key="NSTitle">FULLTEXT</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="435559245"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSTextField" id="391537792"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 76}, {122, 19}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="1006847405"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents">PRIMARY</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="391537792"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="690893883"/> + </object> + </object> + <object class="NSTextField" id="87472807"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{147, 77}, {58, 14}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="687348068"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Key Name</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="87472807"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="442422811"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{147, 103}, {53, 14}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="715422036"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Key Type</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="442422811"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="99078000"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 48}, {125, 22}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="160513617"> + <int key="NSCellFlags">343014976</int> + <int key="NSCellFlags2">132096</int> + <object class="NSMutableString" key="NSContents" id="805878225"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="99078000"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">5</int> + <bool key="NSHasVerticalScroller">YES</bool> + <bool key="NSCompletes">YES</bool> + <reference key="NSDelegate" ref="99078000"/> + <object class="NSComboTableView" key="NSTableView" id="931403516"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{15, 0}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.200000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <reference key="NSContents" ref="805878225"/> + <reference key="NSSupport" ref="428955213"/> + <reference key="NSBackgroundColor" ref="799519821"/> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="931403516"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="931403516"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-767524864</int> + <reference key="NSDelegate" ref="160513617"/> + <reference key="NSDataSource" ref="160513617"/> + <reference key="NSTarget" ref="160513617"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="451210077"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{147, 53}, {98, 14}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="195492476"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Indexed Columns</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="451210077"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSButton" id="480365509"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{167, 13}, {80, 28}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="178381476"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="480365509"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="121996550"> + <reference key="NSNextResponder" ref="329225443"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{89, 13}, {80, 28}}</string> + <reference key="NSSuperview" ref="329225443"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="824380696"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="121996550"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{262, 139}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="734744289"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{351, 522}, {306, 122}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">keySheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="234287744"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="1064884678"> + <reference key="NSNextResponder" ref="234287744"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 74}, {272, 28}}</string> + <reference key="NSSuperview" ref="234287744"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="420541191"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">RmllbGQgbXVzdCBiZSBpbmRleGVkIHRvIHN1cHBvcnQgYXV0b19pbmNyZW1lbnQuCldoaWNoIGluZGV4 +IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1064884678"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSPopUpButton" id="1068260884"> + <reference key="NSNextResponder" ref="234287744"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{74, 45}, {162, 22}}</string> + <reference key="NSSuperview" ref="234287744"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="1007861376"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">132096</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1068260884"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="104344125"> + <reference key="NSMenu" ref="392618957"/> + <string key="NSTitle">PRIMARY KEY</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="1007861376"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="392618957"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">OtherViews</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="104344125"/> + <object class="NSMenuItem" id="349617515"> + <reference key="NSMenu" ref="392618957"/> + <string key="NSTitle">INDEX</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="1007861376"/> + </object> + <object class="NSMenuItem" id="597414827"> + <reference key="NSMenu" ref="392618957"/> + <string key="NSTitle">UNIQUE</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="1007861376"/> + </object> + <object class="NSMenuItem" id="112475542"> + <reference key="NSMenu" ref="392618957"/> + <string key="NSTitle">FULLTEXT</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="1007861376"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSButton" id="1033996434"> + <reference key="NSNextResponder" ref="234287744"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{154, 17}, {84, 28}}</string> + <reference key="NSSuperview" ref="234287744"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="827163428"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Add</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="1033996434"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="516472893"> + <reference key="NSNextResponder" ref="234287744"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{72, 17}, {84, 28}}</string> + <reference key="NSSuperview" ref="234287744"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="125727271"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string type="base64-UTF8" key="NSContents">RG9uJ3QgYWRkA</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="516472893"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{306, 122}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="99553177"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{363, 524}, {418, 191}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">Query favorites</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="778680541"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="768409455"> + <reference key="NSNextResponder" ref="778680541"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{340, 12}, {28, 30}}</string> + <reference key="NSSuperview" ref="778680541"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="149179114"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Remove</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="768409455"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">querydelete</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSScrollView" id="597878738"> + <reference key="NSNextResponder" ref="778680541"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="811595075"> + <reference key="NSNextResponder" ref="597878738"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="292088665"> + <reference key="NSNextResponder" ref="811595075"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{365, 94}</string> + <reference key="NSSuperview" ref="811595075"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="318747409"> + <reference key="NSNextResponder" ref="129912646"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{365, 17}</string> + <reference key="NSSuperview" ref="129912646"/> + <reference key="NSTableView" ref="292088665"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="1020296025"> + <reference key="NSNextResponder" ref="597878738"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{366, 0}, {12, 17}}</string> + <reference key="NSSuperview" ref="597878738"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="413853564"> + <string key="NSIdentifier">name</string> + <double key="NSWidth">3.623290e+02</double> + <double key="NSMinWidth">8.932900e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Query favorites</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="180726999"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="292088665"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="292088665"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.300000e+01</double> + <int key="NSTvFlags">-767557632</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {365, 94}}</string> + <reference key="NSSuperview" ref="597878738"/> + <reference key="NSNextKeyView" ref="292088665"/> + <reference key="NSDocView" ref="292088665"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="4739239"> + <reference key="NSNextResponder" ref="597878738"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{366, 17}, {11, 94}}</string> + <reference key="NSSuperview" ref="597878738"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="597878738"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.266667e-01</double> + </object> + <object class="NSScroller" id="87044874"> + <reference key="NSNextResponder" ref="597878738"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{1, 111}, {365, 11}}</string> + <reference key="NSSuperview" ref="597878738"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="597878738"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.565217e-01</double> + </object> + <object class="NSClipView" id="129912646"> + <reference key="NSNextResponder" ref="597878738"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="318747409"/> + </object> + <string key="NSFrame">{{1, 0}, {365, 17}}</string> + <reference key="NSSuperview" ref="597878738"/> + <reference key="NSNextKeyView" ref="318747409"/> + <reference key="NSDocView" ref="318747409"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="1020296025"/> + </object> + <string key="NSFrame">{{20, 48}, {378, 123}}</string> + <reference key="NSSuperview" ref="778680541"/> + <reference key="NSNextKeyView" ref="811595075"/> + <int key="NSsFlags">50</int> + <reference key="NSVScroller" ref="4739239"/> + <reference key="NSHScroller" ref="87044874"/> + <reference key="NSContentView" ref="811595075"/> + <reference key="NSHeaderClipView" ref="129912646"/> + <reference key="NSCornerView" ref="1020296025"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBcAAAQXAAAA</bytes> + </object> + <object class="NSButton" id="1070571418"> + <reference key="NSNextResponder" ref="778680541"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{308, 12}, {28, 30}}</string> + <reference key="NSSuperview" ref="778680541"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="836526182"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Copy</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1070571418"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">querycopy</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="32671958"> + <reference key="NSNextResponder" ref="778680541"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{372, 12}, {28, 30}}</string> + <reference key="NSSuperview" ref="778680541"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="55531777"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Add</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="32671958"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">queryadd</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="530386651"> + <reference key="NSNextResponder" ref="778680541"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{15, 13}, {72, 28}}</string> + <reference key="NSSuperview" ref="778680541"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="376218475"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Close</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="530386651"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{418, 191}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="12594599"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{461, 588}, {375, 72}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">singleProgressSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 50}</string> + <object class="NSView" key="NSWindowView" id="537060735"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSProgressIndicator" id="915740486"> + <reference key="NSNextResponder" ref="537060735"/> + <int key="NSvFlags">1280</int> + <object class="NSPSMatrix" key="NSDrawMatrix"/> + <string key="NSFrame">{{19, 40}, {337, 12}}</string> + <reference key="NSSuperview" ref="537060735"/> + <int key="NSpiFlags">16652</int> + <double key="NSMaxValue">1.000000e+02</double> + </object> + <object class="NSTextField" id="488280145"> + <reference key="NSNextResponder" ref="537060735"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 20}, {341, 14}}</string> + <reference key="NSSuperview" ref="537060735"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="239054058"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="488280145"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrameSize">{375, 72}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 72}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="553728448"> + <int key="NSWindowStyleMask">9</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{221, 567}, {381, 247}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">valueSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="1052076676"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="271089627"> + <reference key="NSNextResponder" ref="1052076676"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="240408862"> + <reference key="NSNextResponder" ref="271089627"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="405634773"> + <reference key="NSNextResponder" ref="240408862"/> + <int key="NSvFlags">2322</int> + <string key="NSFrameSize">{328, 14}</string> + <reference key="NSSuperview" ref="240408862"/> + <object class="NSTextContainer" key="NSTextContainer" id="999014274"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="999014274"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="405634773"/> + <double key="NSWidth">3.280000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">3045</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <nil key="NSLinkAttributes"/> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{669, 1e+07}</string> + <string key="NSMinize">{87, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {328, 180}}</string> + <reference key="NSSuperview" ref="271089627"/> + <reference key="NSNextKeyView" ref="405634773"/> + <reference key="NSDocView" ref="405634773"/> + <reference key="NSBGColor" ref="449903125"/> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="850107135"> + <reference key="NSNextResponder" ref="271089627"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{329, 1}, {11, 180}}</string> + <reference key="NSSuperview" ref="271089627"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="271089627"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.896552e-01</double> + </object> + <object class="NSScroller" id="937090729"> + <reference key="NSNextResponder" ref="271089627"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="271089627"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="271089627"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 45}, {341, 182}}</string> + <reference key="NSSuperview" ref="1052076676"/> + <reference key="NSNextKeyView" ref="240408862"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="850107135"/> + <reference key="NSHScroller" ref="937090729"/> + <reference key="NSContentView" ref="240408862"/> + </object> + <object class="NSButton" id="534696980"> + <reference key="NSNextResponder" ref="1052076676"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{290, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="1052076676"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="660726210"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Close</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="534696980"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{381, 247}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSWindowTemplate" id="202784209"> + <int key="NSWindowStyleMask">15</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{386, 508}, {411, 341}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">Variables</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{300, 200}</string> + <object class="NSView" key="NSWindowView" id="226131408"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="294857516"> + <reference key="NSNextResponder" ref="226131408"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="841219743"> + <reference key="NSNextResponder" ref="294857516"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="460727716"> + <reference key="NSNextResponder" ref="841219743"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{358, 247}</string> + <reference key="NSSuperview" ref="841219743"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="74674217"> + <reference key="NSNextResponder" ref="133857118"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{358, 17}</string> + <reference key="NSSuperview" ref="133857118"/> + <reference key="NSTableView" ref="460727716"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="111814662"> + <reference key="NSNextResponder" ref="294857516"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{359, 0}, {12, 17}}</string> + <reference key="NSSuperview" ref="294857516"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="210880604"> + <string key="NSIdentifier">Variable_name</string> + <double key="NSWidth">1.760000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Variable_name</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="756511560"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="404029620"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="460727716"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="460727716"/> + </object> + <object class="NSTableColumn" id="726991477"> + <string key="NSIdentifier">Value</string> + <double key="NSWidth">1.760000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Value</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="756511560"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="256868165"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="460727716"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="460727716"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.300000e+01</double> + <int key="NSTvFlags">1514176512</int> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {358, 247}}</string> + <reference key="NSSuperview" ref="294857516"/> + <reference key="NSNextKeyView" ref="460727716"/> + <reference key="NSDocView" ref="460727716"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="297298990"> + <reference key="NSNextResponder" ref="294857516"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{359, 17}, {11, 247}}</string> + <reference key="NSSuperview" ref="294857516"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="294857516"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">7.736842e-01</double> + </object> + <object class="NSScroller" id="857738313"> + <reference key="NSNextResponder" ref="294857516"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{1, 264}, {358, 11}}</string> + <reference key="NSSuperview" ref="294857516"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="294857516"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.972145e-01</double> + </object> + <object class="NSClipView" id="133857118"> + <reference key="NSNextResponder" ref="294857516"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="74674217"/> + </object> + <string key="NSFrame">{{1, 0}, {358, 17}}</string> + <reference key="NSSuperview" ref="294857516"/> + <reference key="NSNextKeyView" ref="74674217"/> + <reference key="NSDocView" ref="74674217"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="111814662"/> + </object> + <string key="NSFrame">{{20, 45}, {371, 276}}</string> + <reference key="NSSuperview" ref="226131408"/> + <reference key="NSNextKeyView" ref="841219743"/> + <int key="NSsFlags">50</int> + <reference key="NSVScroller" ref="297298990"/> + <reference key="NSHScroller" ref="857738313"/> + <reference key="NSContentView" ref="841219743"/> + <reference key="NSHeaderClipView" ref="133857118"/> + <reference key="NSCornerView" ref="111814662"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBcAAAQXAAAA</bytes> + </object> + <object class="NSButton" id="448933484"> + <reference key="NSNextResponder" ref="226131408"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{320, 13}, {76, 28}}</string> + <reference key="NSSuperview" ref="226131408"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="939960403"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">138018816</int> + <string key="NSContents">Close</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="448933484"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="932958253"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{411, 341}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string> + <string key="NSMinSize">{300, 222}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSCustomView" id="236537518"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="509069545"> + <reference key="NSNextResponder" ref="236537518"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="163616264"> + <reference key="NSNextResponder" ref="509069545"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextView" id="409075923"> + <reference key="NSNextResponder" ref="163616264"/> + <int key="NSvFlags">2322</int> + <object class="NSMutableSet" key="NSDragTypes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="set.sortedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>Apple HTML pasteboard type</string> + <string>Apple PDF pasteboard type</string> + <string>Apple PICT pasteboard type</string> + <string>CorePasteboardFlavorType 0x6D6F6F76</string> + <string>NSColor pasteboard type</string> + <string>NSFilenamesPboardType</string> + <string>NSStringPboardType</string> + <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string> + <string>NeXT RTFD pasteboard type</string> + <string>NeXT Rich Text Format v1.0 pasteboard type</string> + <string>NeXT TIFF v4.0 pasteboard type</string> + </object> + </object> + <string key="NSFrameSize">{770, 14}</string> + <reference key="NSSuperview" ref="163616264"/> + <object class="NSTextContainer" key="NSTextContainer" id="289536112"> + <object class="NSLayoutManager" key="NSLayoutManager"> + <object class="NSTextStorage" key="NSTextStorage"> + <object class="NSMutableString" key="NSString"> + <characters key="NS.bytes"/> + </object> + <nil key="NSDelegate"/> + </object> + <object class="NSMutableArray" key="NSTextContainers"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="289536112"/> + </object> + <int key="NSLMFlags">6</int> + <nil key="NSDelegate"/> + </object> + <reference key="NSTextView" ref="409075923"/> + <double key="NSWidth">7.700000e+02</double> + <int key="NSTCFlags">1</int> + </object> + <object class="NSTextViewSharedData" key="NSSharedData"> + <int key="NSFlags">3041</int> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSInsertionColor" ref="304829493"/> + <object class="NSDictionary" key="NSSelectedAttributes"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSBackgroundColor</string> + <string>NSColor</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="905060551"/> + <reference ref="63182758"/> + </object> + </object> + <nil key="NSMarkedAttributes"/> + <nil key="NSLinkAttributes"/> + <nil key="NSDefaultParagraphStyle"/> + </object> + <int key="NSTVFlags">6</int> + <string key="NSMaxSize">{1553, 1e+07}</string> + <string key="NSMinize">{87, 0}</string> + <nil key="NSDelegate"/> + </object> + </object> + <string key="NSFrame">{{1, 1}, {770, 78}}</string> + <reference key="NSSuperview" ref="509069545"/> + <reference key="NSNextKeyView" ref="409075923"/> + <reference key="NSDocView" ref="409075923"/> + <reference key="NSBGColor" ref="449903125"/> + <reference key="NSCursor" ref="32917531"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="23342417"> + <reference key="NSNextResponder" ref="509069545"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{771, 1}, {11, 78}}</string> + <reference key="NSSuperview" ref="509069545"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="509069545"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + </object> + <object class="NSScroller" id="897393774"> + <reference key="NSNextResponder" ref="509069545"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {87, 18}}</string> + <reference key="NSSuperview" ref="509069545"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="509069545"/> + <string key="NSAction">_doScroller:</string> + <double key="NSCurValue">1.000000e+00</double> + <double key="NSPercent">9.456522e-01</double> + </object> + </object> + <string key="NSFrame">{{8, 8}, {783, 80}}</string> + <reference key="NSSuperview" ref="236537518"/> + <reference key="NSNextKeyView" ref="163616264"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="23342417"/> + <reference key="NSHScroller" ref="897393774"/> + <reference key="NSContentView" ref="163616264"/> + </object> + </object> + <string key="NSFrameSize">{800, 96}</string> + <string key="NSClassName">NSView</string> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="139279766"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="709448121"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{77, 55}, {102, 14}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="879909476"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields enclosed by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="709448121"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="813641675"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{77, 80}, {113, 14}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="583262813"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields terminated by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="813641675"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="11176884"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 50}, {54, 22}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="682588210"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\n</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="11176884"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\n</string> + <string>\r\n</string> + <string>\r</string> + </object> + <reference key="NSDelegate" ref="11176884"/> + <object class="NSComboTableView" key="NSTableView" id="186020815"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="186020815"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="186020815"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="682588210"/> + <reference key="NSDataSource" ref="682588210"/> + <reference key="NSTarget" ref="682588210"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="79962558"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{294, 55}, {113, 14}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="361704027"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Lines terminated by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="79962558"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="426426679"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 75}, {54, 22}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="1020292311"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="426426679"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\</string> + <string type="base64-UTF8">Ig</string> + </object> + <reference key="NSDelegate" ref="426426679"/> + <object class="NSComboTableView" key="NSTableView" id="471207565"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="471207565"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="471207565"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="1020292311"/> + <reference key="NSDataSource" ref="1020292311"/> + <reference key="NSTarget" ref="1020292311"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="981469533"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{294, 80}, {102, 14}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="633331079"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields escaped by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="981469533"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="165873197"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 75}, {54, 22}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="332381582"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">,</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="165873197"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>,</string> + <string>;</string> + <string>\t</string> + </object> + <reference key="NSDelegate" ref="165873197"/> + <object class="NSComboTableView" key="NSTableView" id="836514892"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="836514892"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="836514892"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="332381582"/> + <reference key="NSDataSource" ref="332381582"/> + <reference key="NSTarget" ref="332381582"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSComboBox" id="783067094"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 50}, {54, 22}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="369790779"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string type="base64-UTF8" key="NSContents">Ig</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="783067094"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string type="base64-UTF8">Ig</string> + <string/> + </object> + <reference key="NSDelegate" ref="783067094"/> + <object class="NSComboTableView" key="NSTableView" id="779894689"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="779894689"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="779894689"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="369790779"/> + <reference key="NSDataSource" ref="369790779"/> + <reference key="NSTarget" ref="369790779"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSButton" id="527909968"> + <reference key="NSNextResponder" ref="139279766"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 18}, {172, 18}}</string> + <reference key="NSSuperview" ref="139279766"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="708989084"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Put fields names at first row</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="527909968"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{424, 116}</string> + <string key="NSClassName">NSView</string> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="774289419"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSScrollView" id="27548452"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="383807970"> + <reference key="NSNextResponder" ref="27548452"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="29661959"> + <reference key="NSNextResponder" ref="383807970"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{198, 107}</string> + <reference key="NSSuperview" ref="383807970"/> + <bool key="NSEnabled">YES</bool> + <object class="_NSCornerView" key="NSCornerView"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 0}, {16, 17}}</string> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="591033103"> + <string key="NSIdentifier">switch</string> + <double key="NSWidth">1.500000e+01</double> + <double key="NSMinWidth">1.500000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="673343082"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="398689191"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="29661959"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="29661959"/> + </object> + <object class="NSTableColumn" id="387646906"> + <string key="NSIdentifier">tables</string> + <double key="NSWidth">1.770000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="673343082"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="1037173347"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="29661959"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="29661959"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.500000e+01</double> + <int key="NSTvFlags">306184192</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 1}, {198, 107}}</string> + <reference key="NSSuperview" ref="27548452"/> + <reference key="NSNextKeyView" ref="29661959"/> + <reference key="NSDocView" ref="29661959"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="438736883"> + <reference key="NSNextResponder" ref="27548452"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{199, 1}, {11, 107}}</string> + <reference key="NSSuperview" ref="27548452"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="27548452"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.294118e-01</double> + </object> + <object class="NSScroller" id="721548430"> + <reference key="NSNextResponder" ref="27548452"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {227, 11}}</string> + <reference key="NSSuperview" ref="27548452"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="27548452"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 20}, {211, 109}}</string> + <reference key="NSSuperview" ref="774289419"/> + <reference key="NSNextKeyView" ref="383807970"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="438736883"/> + <reference key="NSHScroller" ref="721548430"/> + <reference key="NSContentView" ref="383807970"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBiAAAQYgAAA</bytes> + </object> + <object class="NSButton" id="496993033"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{237, 102}, {26, 28}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="637413074"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="496993033"/> + <int key="NSButtonFlags">113508607</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="564614766"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="947678838"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 45}, {26, 28}}</string> + <reference key="NSSuperview" ref="774289419"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="508230989"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select all</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="947678838"/> + <int key="NSButtonFlags">116670719</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage" id="26341895"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">selectall</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="791847552"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 15}, {26, 28}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="414556640"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select nothing</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="791847552"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage" id="676143302"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">selectnone</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="27140235"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{288, 52}, {151, 18}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="224395461"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Add errors to dump-file</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="27140235"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="7792134"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{288, 72}, {118, 18}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="755853406"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Add table content</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="7792134"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="178833443"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{288, 92}, {110, 18}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="563734754"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Add create table</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="178833443"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="339042383"> + <reference key="NSNextResponder" ref="774289419"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{288, 112}, {151, 18}}</string> + <reference key="NSSuperview" ref="774289419"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="638248025"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Add drop table</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="339042383"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{457, 149}</string> + <string key="NSClassName">NSView</string> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="856973094"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSComboBox" id="324053896"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{291, 65}, {54, 22}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="723258166"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="324053896"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\</string> + <string type="base64-UTF8">Ig</string> + </object> + <reference key="NSDelegate" ref="324053896"/> + <object class="NSComboTableView" key="NSTableView" id="56032981"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="56032981"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="56032981"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="723258166"/> + <reference key="NSDataSource" ref="723258166"/> + <reference key="NSTarget" ref="723258166"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSButton" id="509557498"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{288, 18}, {172, 18}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="489276281"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Put fields names at first row</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="509557498"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="321310995"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{348, 95}, {102, 14}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="668440736"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields enclosed by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="321310995"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="78231563"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{348, 70}, {102, 14}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="174663852"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields escaped by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="78231563"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSTextField" id="837019028"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{348, 120}, {113, 14}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="893304901"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields terminated by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="837019028"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="711210375"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{291, 40}, {54, 22}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="949011681"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\n</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="711210375"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\n</string> + <string>\r\n</string> + <string>\r</string> + </object> + <reference key="NSDelegate" ref="711210375"/> + <object class="NSComboTableView" key="NSTableView" id="206199376"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="206199376"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="206199376"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="949011681"/> + <reference key="NSDataSource" ref="949011681"/> + <reference key="NSTarget" ref="949011681"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="221005749"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{348, 45}, {113, 14}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="925305903"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Lines terminated by</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="221005749"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="636529381"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{291, 90}, {54, 22}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="1036481831"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string type="base64-UTF8" key="NSContents">Ig</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="636529381"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string type="base64-UTF8">Ig</string> + <string/> + </object> + <reference key="NSDelegate" ref="636529381"/> + <object class="NSComboTableView" key="NSTableView" id="152014734"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="152014734"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="152014734"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="1036481831"/> + <reference key="NSDataSource" ref="1036481831"/> + <reference key="NSTarget" ref="1036481831"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSComboBox" id="612007620"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{291, 115}, {54, 22}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="961830943"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">,</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="612007620"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>,</string> + <string>;</string> + <string>\t</string> + </object> + <reference key="NSDelegate" ref="612007620"/> + <object class="NSComboTableView" key="NSTableView" id="699715"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="699715"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="699715"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="961830943"/> + <reference key="NSDataSource" ref="961830943"/> + <reference key="NSTarget" ref="961830943"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSButton" id="810130423"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 46}, {26, 28}}</string> + <reference key="NSSuperview" ref="856973094"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="40880433"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select all</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="810130423"/> + <int key="NSButtonFlags">116670719</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="26341895"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="85155478"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{237, 110}, {26, 28}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="392847962"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="85155478"/> + <int key="NSButtonFlags">113508607</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="564614766"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="428678017"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 16}, {26, 28}}</string> + <reference key="NSSuperview" ref="856973094"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="29245719"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select nothing</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="428678017"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="676143302"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSScrollView" id="453791311"> + <reference key="NSNextResponder" ref="856973094"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="484708000"> + <reference key="NSNextResponder" ref="453791311"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="830161156"> + <reference key="NSNextResponder" ref="484708000"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{198, 115}</string> + <reference key="NSSuperview" ref="484708000"/> + <bool key="NSEnabled">YES</bool> + <object class="_NSCornerView" key="NSCornerView"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 0}, {16, 17}}</string> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="780493868"> + <string key="NSIdentifier">switch</string> + <double key="NSWidth">1.500000e+01</double> + <double key="NSMinWidth">1.500000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="994264498"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="484732110"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="830161156"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="830161156"/> + </object> + <object class="NSTableColumn" id="521300588"> + <string key="NSIdentifier">tables</string> + <double key="NSWidth">1.770000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="994264498"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="620277822"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="830161156"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="830161156"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.500000e+01</double> + <int key="NSTvFlags">306184192</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 1}, {198, 115}}</string> + <reference key="NSSuperview" ref="453791311"/> + <reference key="NSNextKeyView" ref="830161156"/> + <reference key="NSDocView" ref="830161156"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="604433365"> + <reference key="NSNextResponder" ref="453791311"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{199, 1}, {11, 115}}</string> + <reference key="NSSuperview" ref="453791311"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="453791311"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.764706e-01</double> + </object> + <object class="NSScroller" id="908389721"> + <reference key="NSNextResponder" ref="453791311"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {227, 11}}</string> + <reference key="NSSuperview" ref="453791311"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="453791311"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 20}, {211, 117}}</string> + <reference key="NSSuperview" ref="856973094"/> + <reference key="NSNextKeyView" ref="484708000"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="604433365"/> + <reference key="NSHScroller" ref="908389721"/> + <reference key="NSContentView" ref="484708000"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBiAAAQYgAAA</bytes> + </object> + </object> + <string key="NSFrameSize">{478, 157}</string> + <object class="NSMutableString" key="NSClassName"> + <characters key="NS.bytes">NSView</characters> + </object> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="757539703"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="241901916"> + <reference key="NSNextResponder" ref="757539703"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 46}, {26, 28}}</string> + <reference key="NSSuperview" ref="757539703"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="183947073"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select all</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="241901916"/> + <int key="NSButtonFlags">116670719</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="26341895"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="715618241"> + <reference key="NSNextResponder" ref="757539703"/> + <int key="NSvFlags">257</int> + <string key="NSFrame">{{237, 16}, {26, 28}}</string> + <reference key="NSSuperview" ref="757539703"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="992960102"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">select nothing</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="715618241"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="676143302"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="856067573"> + <reference key="NSNextResponder" ref="757539703"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{237, 110}, {26, 28}}</string> + <reference key="NSSuperview" ref="757539703"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="519994876"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">reload</string> + <reference key="NSSupport" ref="188091016"/> + <reference key="NSControlView" ref="856067573"/> + <int key="NSButtonFlags">113508607</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="564614766"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSScrollView" id="448100292"> + <reference key="NSNextResponder" ref="757539703"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="590886099"> + <reference key="NSNextResponder" ref="448100292"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="3329499"> + <reference key="NSNextResponder" ref="590886099"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{198, 115}</string> + <reference key="NSSuperview" ref="590886099"/> + <bool key="NSEnabled">YES</bool> + <object class="_NSCornerView" key="NSCornerView"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{223, 0}, {16, 17}}</string> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="408341534"> + <string key="NSIdentifier">switch</string> + <double key="NSWidth">1.500000e+01</double> + <double key="NSMinWidth">1.500000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="10885850"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="9987805"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="3329499"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="3329499"/> + </object> + <object class="NSTableColumn" id="675069685"> + <string key="NSIdentifier">tables</string> + <double key="NSWidth">1.770000e+02</double> + <double key="NSMinWidth">4.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="10885850"/> + <reference key="NSTextColor" ref="222976159"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="1046588559"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="3329499"/> + <reference key="NSBackgroundColor" ref="449903125"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="3329499"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.500000e+01</double> + <int key="NSTvFlags">306184192</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 1}, {198, 115}}</string> + <reference key="NSSuperview" ref="448100292"/> + <reference key="NSNextKeyView" ref="3329499"/> + <reference key="NSDocView" ref="3329499"/> + <reference key="NSBGColor" ref="1024678221"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="947905899"> + <reference key="NSNextResponder" ref="448100292"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{199, 1}, {11, 115}}</string> + <reference key="NSSuperview" ref="448100292"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="448100292"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">6.764706e-01</double> + </object> + <object class="NSScroller" id="245849004"> + <reference key="NSNextResponder" ref="448100292"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{-100, -100}, {227, 11}}</string> + <reference key="NSSuperview" ref="448100292"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="448100292"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.904762e-01</double> + </object> + </object> + <string key="NSFrame">{{20, 20}, {211, 117}}</string> + <reference key="NSSuperview" ref="757539703"/> + <reference key="NSNextKeyView" ref="590886099"/> + <int key="NSsFlags">18</int> + <reference key="NSVScroller" ref="947905899"/> + <reference key="NSHScroller" ref="245849004"/> + <reference key="NSContentView" ref="590886099"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBiAAAQYgAAA</bytes> + </object> + </object> + <string key="NSFrameSize">{281, 157}</string> + <object class="NSMutableString" key="NSClassName"> + <characters key="NS.bytes">NSView</characters> + </object> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="252777009"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSBox" id="414413995"> + <reference key="NSNextResponder" ref="252777009"/> + <int key="NSvFlags">10</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSView" id="359140279"> + <reference key="NSNextResponder" ref="414413995"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="811369270"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{2, 63}, {188, 18}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="728786534"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">First line contains fields names</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="811369270"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="386686735"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSComboBox" id="858997304"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{124, 8}, {54, 22}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="574462291"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string type="base64-UTF8" key="NSContents">Ig</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="858997304"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string type="base64-UTF8">Ig</string> + <string/> + </object> + <reference key="NSDelegate" ref="858997304"/> + <object class="NSComboTableView" key="NSTableView" id="5361"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="5361"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="5361"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="574462291"/> + <reference key="NSDataSource" ref="574462291"/> + <reference key="NSTarget" ref="574462291"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="710366810"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{13, 15}, {106, 14}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="948515439"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">4195328</int> + <string key="NSContents">Fields enclosed by:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="710366810"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="902625058"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{328, 35}, {54, 22}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="757128610"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="902625058"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">2</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\</string> + <string type="base64-UTF8">Ig</string> + </object> + <reference key="NSDelegate" ref="902625058"/> + <object class="NSComboTableView" key="NSTableView" id="865999664"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 36}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="865999664"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="865999664"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="757128610"/> + <reference key="NSDataSource" ref="757128610"/> + <reference key="NSTarget" ref="757128610"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="122972701"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{221, 37}, {102, 17}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="889431562"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Fields escaped by:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="122972701"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="369372577"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{328, 8}, {54, 22}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="152953107"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">\n</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="369372577"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">3</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>\n</string> + <string>\r\n</string> + <string>\r</string> + </object> + <reference key="NSDelegate" ref="369372577"/> + <object class="NSComboTableView" key="NSTableView" id="125544976"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 54}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="125544976"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="125544976"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="152953107"/> + <reference key="NSDataSource" ref="152953107"/> + <reference key="NSTarget" ref="152953107"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="536213240"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">265</int> + <string key="NSFrame">{{210, 12}, {113, 17}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="390150030"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Lines terminated by:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="536213240"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + <object class="NSComboBox" id="257542502"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{124, 36}, {54, 22}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSComboBoxCell" key="NSCell" id="541559911"> + <int key="NSCellFlags">343014977</int> + <int key="NSCellFlags2">132096</int> + <string key="NSContents">,</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="257542502"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="480189472"/> + <reference key="NSTextColor" ref="454249633"/> + <int key="NSVisibleItemCount">4</int> + <bool key="NSHasVerticalScroller">YES</bool> + <object class="NSMutableArray" key="NSPopUpListData"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>,</string> + <string>;</string> + <string>\t</string> + <string>|</string> + </object> + <reference key="NSDelegate" ref="257542502"/> + <object class="NSComboTableView" key="NSTableView" id="1056552480"> + <reference key="NSNextResponder"/> + <int key="NSvFlags">274</int> + <string key="NSFrameSize">{13, 72}</string> + <reference key="NSSuperview"/> + <reference key="NSWindow"/> + <bool key="NSEnabled">YES</bool> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn"> + <reference key="NSIdentifier" ref="8"/> + <double key="NSWidth">1.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <object class="NSMutableString" key="NSContents"> + <characters key="NS.bytes"/> + </object> + <reference key="NSSupport" ref="428955213"/> + <object class="NSColor" key="NSBackgroundColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <reference key="NSTextColor" ref="449903125"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell"> + <int key="NSCellFlags">338820672</int> + <int key="NSCellFlags2">1024</int> + <string key="NSContents">\t</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1056552480"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <reference key="NSTableView" ref="1056552480"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <reference key="NSBackgroundColor" ref="1024678221"/> + <reference key="NSGridColor" ref="864903678"/> + <double key="NSRowHeight">1.600000e+01</double> + <string key="NSAction">tableViewAction:</string> + <int key="NSTvFlags">-765427712</int> + <reference key="NSDelegate" ref="541559911"/> + <reference key="NSDataSource" ref="541559911"/> + <reference key="NSTarget" ref="541559911"/> + <int key="NSColumnAutoresizingStyle">1</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + </object> + <object class="NSTextField" id="316174557"> + <reference key="NSNextResponder" ref="359140279"/> + <int key="NSvFlags">268</int> + <string key="NSFrame">{{2, 40}, {117, 14}}</string> + <reference key="NSSuperview" ref="359140279"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="4124"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">4195328</int> + <string key="NSContents">Fields terminated by:</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="316174557"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrameSize">{383, 84}</string> + <reference key="NSSuperview" ref="414413995"/> + </object> + </object> + <string key="NSFrame">{{17, 9}, {383, 84}}</string> + <reference key="NSSuperview" ref="252777009"/> + <string key="NSOffsets">{0, 0}</string> + <object class="NSTextFieldCell" key="NSTitleCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="480189472"/> + <object class="NSColor" key="NSTextColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes> + </object> + </object> + <reference key="NSContentView" ref="359140279"/> + <int key="NSBorderType">0</int> + <int key="NSBoxType">0</int> + <int key="NSTitlePosition">0</int> + <bool key="NSTransparent">NO</bool> + </object> + <object class="NSPopUpButton" id="510547722"> + <reference key="NSNextResponder" ref="252777009"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{183, 101}, {100, 26}}</string> + <reference key="NSSuperview" ref="252777009"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="689765086"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">2048</int> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="510547722"/> + <int key="NSButtonFlags">109199615</int> + <int key="NSButtonFlags2">129</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="116284247"> + <reference key="NSMenu" ref="398085727"/> + <string key="NSTitle">CSV</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="689765086"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="398085727"> + <string key="NSTitle">OtherViews</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="116284247"/> + <object class="NSMenuItem" id="388487184"> + <reference key="NSMenu" ref="398085727"/> + <string key="NSTitle">SQL</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="689765086"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">1</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">2</int> + </object> + </object> + <object class="NSTextField" id="650861736"> + <reference key="NSNextResponder" ref="252777009"/> + <int key="NSvFlags">264</int> + <string key="NSFrame">{{128, 107}, {53, 17}}</string> + <reference key="NSSuperview" ref="252777009"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="475421529"> + <int key="NSCellFlags">68288064</int> + <int key="NSCellFlags2">272630784</int> + <string key="NSContents">Format:</string> + <reference key="NSSupport" ref="244931163"/> + <reference key="NSControlView" ref="650861736"/> + <reference key="NSBackgroundColor" ref="62854682"/> + <reference key="NSTextColor" ref="454249633"/> + </object> + </object> + </object> + <string key="NSFrameSize">{417, 135}</string> + <object class="NSMutableString" key="NSClassName"> + <characters key="NS.bytes">NSView</characters> + </object> + <string key="NSExtension">NSResponder</string> + </object> + <object class="NSCustomView" id="884983195"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">301</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSPopUpButton" id="359419551"> + <reference key="NSNextResponder" ref="884983195"/> + <int key="NSvFlags">298</int> + <string key="NSFrame">{{0, 3}, {200, 26}}</string> + <reference key="NSSuperview" ref="884983195"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="931032347"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">134219776</int> + <reference key="NSSupport" ref="428955213"/> + <reference key="NSControlView" ref="359419551"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">35</int> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="479250908"> + <reference key="NSMenu" ref="280926998"/> + <string key="NSTitle">Choose Database...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="931032347"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="280926998"> + <string key="NSTitle">OtherViews</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="479250908"/> + <object class="NSMenuItem" id="83831690"> + <reference key="NSMenu" ref="280926998"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="931032347"/> + </object> + <object class="NSMenuItem" id="714564766"> + <reference key="NSMenu" ref="280926998"/> + <string type="base64-UTF8" key="NSTitle">QWRkIERhdGFiYXNl4oCmA</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="931032347"/> + </object> + <object class="NSMenuItem" id="448279877"> + <reference key="NSMenu" ref="280926998"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="685805499"/> + <reference key="NSMixedImage" ref="400866889"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="931032347"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">1</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">2</int> + </object> + </object> + </object> + <string key="NSFrameSize">{200, 32}</string> + <string key="NSClassName">NSView</string> + </object> + <object class="NSUserDefaultsController" id="461189245"> + <bool key="NSSharedInstance">YES</bool> + </object> + <object class="NSArrayController" id="302582105"> + <object class="NSMutableArray" key="NSDeclaredKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>name</string> + </object> + <bool key="NSEditable">YES</bool> + <bool key="NSAutomaticallyPreparesContent">YES</bool> + <object class="_NSManagedProxy" key="_NSManagedProxy"/> + <bool key="NSAvoidsEmptySelection">YES</bool> + <bool key="NSPreservesSelection">YES</bool> + <bool key="NSSelectsInsertedObjects">YES</bool> + <bool key="NSFilterRestrictsInsertion">YES</bool> + <bool key="NSClearsFilterPredicateOnInsertion">YES</bool> + </object> + <object class="NSDrawer" id="81457726"> + <nil key="NSNextResponder"/> + <string key="NSContentSize">{200, 572}</string> + <string key="NSMinContentSize">{100, 80}</string> + <string key="NSMaxContentSize">{2000, 1000}</string> + <int key="NSPreferredEdge">1</int> + <double key="NSLeadingOffset">0.000000e+00</double> + <double key="NSTrailingOffset">0.000000e+00</double> + <nil key="NSParentWindow"/> + <nil key="NSDelegate"/> + </object> + <object class="NSCustomObject" id="601471102"> + <string key="NSClassName">CustomQuery</string> + </object> + <object class="NSCustomObject" id="607385798"> + <string key="NSClassName">KeyChain</string> + </object> + <object class="NSCustomObject" id="392169872"> + <string key="NSClassName">TableContent</string> + </object> + <object class="NSCustomObject" id="225526897"> + <string key="NSClassName">TableDump</string> + </object> + <object class="NSCustomObject" id="438574515"> + <string key="NSClassName">TablesList</string> + </object> + <object class="NSCustomObject" id="103234030"> + <string key="NSClassName">TableSource</string> + </object> + <object class="NSCustomObject" id="936957743"> + <string key="NSClassName">TableStatus</string> + </object> + <object class="NSCustomObject" id="622219357"> + <string key="NSClassName">SPTableInfo</string> + </object> + </object> + <object class="IBObjectContainer" key="IBDocument.Objects"> + <object class="NSMutableArray" key="connectionRecords"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="207157706"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">17</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="22576329"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">72</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="251040077"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">89</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">connectSheet</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="456332212"/> + </object> + <int key="connectionID">97</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addTable:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="159563759"/> + </object> + <int key="connectionID">102</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tablesListInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">104</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">hostField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="252686319"/> + </object> + <int key="connectionID">105</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">userField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="744530295"/> + </object> + <int key="connectionID">106</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">passwordField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="622703817"/> + </object> + <int key="connectionID">107</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">portField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="591248388"/> + </object> + <int key="connectionID">108</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">databaseField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="387080032"/> + </object> + <int key="connectionID">109</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">connect:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="632312830"/> + </object> + <int key="connectionID">117</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="581095761"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">135</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableSourceInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">137</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tablesListView</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="251040077"/> + </object> + <int key="connectionID">138</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableContentView</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="22576329"/> + </object> + <int key="connectionID">142</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableContentInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">143</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">fieldField</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="830088955"/> + </object> + <int key="connectionID">164</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">compareField</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="744029762"/> + </object> + <int key="connectionID">166</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">setCompareTypes:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="830088955"/> + </object> + <int key="connectionID">196</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="22576329"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">203</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeRow:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="414284874"/> + </object> + <int key="connectionID">204</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addRow:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="526476900"/> + </object> + <int key="connectionID">205</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeTable:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="581211969"/> + </object> + <int key="connectionID">207</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">customQueryInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">208</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableContentInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">209</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableSourceInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">210</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">customQueryView</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="581095761"/> + </object> + <int key="connectionID">214</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">performQuery:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="811536132"/> + </object> + <int key="connectionID">215</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">textView</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="1055190999"/> + </object> + <int key="connectionID">216</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">updateTables:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="380552173"/> + </object> + <int key="connectionID">218</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="715508012"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">243</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableSourceView</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="715508012"/> + </object> + <int key="connectionID">244</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="251040077"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">251</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="715508012"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">252</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">258</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">countText</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="262235013"/> + </object> + <int key="connectionID">262</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTable:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="241402549"/> + </object> + <int key="connectionID">264</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">266</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">affectedRowsText</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="910005271"/> + </object> + <int key="connectionID">299</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addField:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="515776460"/> + </object> + <int key="connectionID">314</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeField:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="773499830"/> + </object> + <int key="connectionID">315</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeIndex:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="714324452"/> + </object> + <int key="connectionID">317</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">indexView</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="584834515"/> + </object> + <int key="connectionID">318</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="584834515"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">319</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">indexSheet</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="549044462"/> + </object> + <int key="connectionID">336</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">indexedColumnsField</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="99078000"/> + </object> + <int key="connectionID">337</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">338</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">indexNameField</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="391537792"/> + </object> + <int key="connectionID">339</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTable:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="706172748"/> + </object> + <int key="connectionID">340</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addIndex:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="480365509"/> + </object> + <int key="connectionID">342</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeIndexSheet:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="121996550"/> + </object> + <int key="connectionID">343</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">openIndexSheet:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="190397287"/> + </object> + <int key="connectionID">344</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">indexTypeField</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="674179880"/> + </object> + <int key="connectionID">345</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseIndexType:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="674179880"/> + </object> + <int key="connectionID">346</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">removeButton</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="414284874"/> + </object> + <int key="connectionID">347</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addButton</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="526476900"/> + </object> + <int key="connectionID">348</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">removeFieldButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="773499830"/> + </object> + <int key="connectionID">349</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addFieldButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="515776460"/> + </object> + <int key="connectionID">350</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">removeIndexButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="714324452"/> + </object> + <int key="connectionID">351</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addIndexButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="190397287"/> + </object> + <int key="connectionID">352</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDumpInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">378</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">387</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">chooseKeyButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="1068260884"/> + </object> + <int key="connectionID">420</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">keySheet</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="734744289"/> + </object> + <int key="connectionID">421</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeKeySheet:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="1033996434"/> + </object> + <int key="connectionID">422</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeKeySheet:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="516472893"/> + </object> + <int key="connectionID">423</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyTable:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="606555256"/> + </object> + <int key="connectionID">496</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeCopyTableSheet:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="483283663"/> + </object> + <int key="connectionID">517</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeCopyTableSheet:</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="78676089"/> + </object> + <int key="connectionID">518</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">copyTableNameField</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="709997101"/> + </object> + <int key="connectionID">519</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">copyTableContentSwitch</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="1044741319"/> + </object> + <int key="connectionID">520</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">copyTableSheet</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="308103881"/> + </object> + <int key="connectionID">521</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDocumentInstance</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">534</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">databaseNameField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="839031135"/> + </object> + <int key="connectionID">583</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">databaseSheet</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="554105051"/> + </object> + <int key="connectionID">584</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeDatabaseSheet:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="875952722"/> + </object> + <int key="connectionID">585</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeDatabaseSheet:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="681100483"/> + </object> + <int key="connectionID">586</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDocumentInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">587</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tabView</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="714795046"/> + </object> + <int key="connectionID">600</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="714795046"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">601</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">multipleLineEditingButton</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="976558465"/> + </object> + <int key="connectionID">603</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">editSheet</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="400229091"/> + </object> + <int key="connectionID">610</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeEditSheet:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="253418976"/> + </object> + <int key="connectionID">611</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeEditSheet:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="87722169"/> + </object> + <int key="connectionID">612</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">connectProgressBar</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="514796180"/> + </object> + <int key="connectionID">615</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">keyChainInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="607385798"/> + </object> + <int key="connectionID">618</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDumpInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">619</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="894339536"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">671</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="937377983"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">678</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="628830973"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">679</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="1055190999"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">709</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="581095761"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">710</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeSheet:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="534696980"/> + </object> + <int key="connectionID">717</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">valueSheet</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="553728448"/> + </object> + <int key="connectionID">718</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">valueTextField</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="405634773"/> + </object> + <int key="connectionID">719</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">720</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="405634773"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">721</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="292088665"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">737</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">queryFavoritesView</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="292088665"/> + </object> + <int key="connectionID">738</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">queryFavoritesSheet</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="99553177"/> + </object> + <int key="connectionID">739</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyQueryFavorite:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="1070571418"/> + </object> + <int key="connectionID">740</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeQueryFavorite:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="768409455"/> + </object> + <int key="connectionID">741</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addQueryFavorite:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="32671958"/> + </object> + <int key="connectionID">742</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="292088665"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">746</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeQueryFavoritesSheet:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="530386651"/> + </object> + <int key="connectionID">747</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">customQueryInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">750</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableWindow</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">752</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyField:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="306936316"/> + </object> + <int key="connectionID">809</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">copyFieldButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="306936316"/> + </object> + <int key="connectionID">810</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">copyButton</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="437174505"/> + </object> + <int key="connectionID">813</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyRow:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="437174505"/> + </object> + <int key="connectionID">814</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportCSVView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="139279766"/> + </object> + <int key="connectionID">819</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">contentView</string> + <reference key="source" ref="81457726"/> + <reference key="destination" ref="236537518"/> + </object> + <int key="connectionID">826</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">parentWindow</string> + <reference key="source" ref="81457726"/> + <reference key="destination" ref="207157706"/> + </object> + <int key="connectionID">827</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">consoleTextView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="409075923"/> + </object> + <int key="connectionID">830</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">consoleDrawer</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="81457726"/> + </object> + <int key="connectionID">832</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeSheet:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="448933484"/> + </object> + <int key="connectionID">851</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">variablesTableView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="460727716"/> + </object> + <int key="connectionID">852</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="460727716"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">853</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">variablesSheet</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="202784209"/> + </object> + <int key="connectionID">854</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableSourceInstance</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">855</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">queryProgressBar</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="440898411"/> + </object> + <int key="connectionID">860</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDocumentInstance</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">900</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportDumpView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="774289419"/> + </object> + <int key="connectionID">937</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addDropTableSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="339042383"/> + </object> + <int key="connectionID">938</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addTableContentSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="7792134"/> + </object> + <int key="connectionID">939</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addErrorsSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="27140235"/> + </object> + <int key="connectionID">940</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">addCreateTableSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="178833443"/> + </object> + <int key="connectionID">941</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportDumpTableView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="29661959"/> + </object> + <int key="connectionID">942</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="496993033"/> + </object> + <int key="connectionID">943</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="947678838"/> + </object> + <int key="connectionID">944</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="791847552"/> + </object> + <int key="connectionID">945</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="29661959"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">946</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">customQueryInstance</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="601471102"/> + </object> + <int key="connectionID">953</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">errorsView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="347971361"/> + </object> + <int key="connectionID">966</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">errorsSheet</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="466147946"/> + </object> + <int key="connectionID">967</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeSheet:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="92950801"/> + </object> + <int key="connectionID">968</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">singleProgressText</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="488280145"/> + </object> + <int key="connectionID">975</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">singleProgressBar</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="915740486"/> + </object> + <int key="connectionID">976</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">singleProgressSheet</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="12594599"/> + </object> + <int key="connectionID">977</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportFieldNamesSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="527909968"/> + </object> + <int key="connectionID">1020</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportFieldsTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="165873197"/> + </object> + <int key="connectionID">1021</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportFieldsEnclosedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="783067094"/> + </object> + <int key="connectionID">1022</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportFieldsEscapedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="426426679"/> + </object> + <int key="connectionID">1023</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportLinesTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="11176884"/> + </object> + <int key="connectionID">1024</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableContentInstance</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">1025</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tablesListInstance</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">1026</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="830161156"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">1096</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleFieldsTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="612007620"/> + </object> + <int key="connectionID">1097</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleFieldsEnclosedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="636529381"/> + </object> + <int key="connectionID">1098</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleFieldsEscapedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="324053896"/> + </object> + <int key="connectionID">1099</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleLinesTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="711210375"/> + </object> + <int key="connectionID">1100</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleFieldNamesSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="509557498"/> + </object> + <int key="connectionID">1101</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="85155478"/> + </object> + <int key="connectionID">1102</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="810130423"/> + </object> + <int key="connectionID">1103</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="428678017"/> + </object> + <int key="connectionID">1104</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleCSVTableView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="830161156"/> + </object> + <int key="connectionID">1105</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleCSVView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="856973094"/> + </object> + <int key="connectionID">1106</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="3329499"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">1124</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="856067573"/> + </object> + <int key="connectionID">1125</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="241901916"/> + </object> + <int key="connectionID">1126</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectTables:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="715618241"/> + </object> + <int key="connectionID">1127</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleXMLTableView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="3329499"/> + </object> + <int key="connectionID">1128</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">exportMultipleXMLView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="757539703"/> + </object> + <int key="connectionID">1129</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">socketField</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="452595742"/> + </object> + <int key="connectionID">1133</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tablesListInstance</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">1171</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableSourceInstance</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="103234030"/> + </object> + <int key="connectionID">1172</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tablesListInstance</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">1173</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseQueryFavorite:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="872178320"/> + </object> + <int key="connectionID">1188</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseQueryHistory:</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="86760255"/> + </object> + <int key="connectionID">1189</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">queryFavoritesButton</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="872178320"/> + </object> + <int key="connectionID">1190</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">queryHistoryButton</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="86760255"/> + </object> + <int key="connectionID">1191</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">errorText</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="547765795"/> + </object> + <int key="connectionID">1192</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">editTextView</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="1011820278"/> + </object> + <int key="connectionID">1232</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">editImage</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="976680482"/> + </object> + <int key="connectionID">1233</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">hexTextView</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="283256023"/> + </object> + <int key="connectionID">1234</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">saveEditSheet:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="871440870"/> + </object> + <int key="connectionID">1235</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">openEditSheet:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="938738159"/> + </object> + <int key="connectionID">1236</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">dropImage:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="976680482"/> + </object> + <int key="connectionID">1237</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="1011820278"/> + <reference key="destination" ref="392169872"/> + </object> + <int key="connectionID">1238</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDumpInstance</string> + <reference key="source" ref="601471102"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">1239</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableTabView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="714795046"/> + </object> + <int key="connectionID">1244</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">commentsBox</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="753075506"/> + </object> + <int key="connectionID">1278</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowsAutoIncrement</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="808590596"/> + </object> + <int key="connectionID">1279</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowsAvgLength</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="627137778"/> + </object> + <int key="connectionID">1280</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowsFormat</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="679980821"/> + </object> + <int key="connectionID">1281</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowsNumber</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="843916815"/> + </object> + <int key="connectionID">1282</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sizeData</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="729551278"/> + </object> + <int key="connectionID">1283</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sizeFree</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="69040626"/> + </object> + <int key="connectionID">1284</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sizeIndex</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="600770759"/> + </object> + <int key="connectionID">1285</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sizeMaxData</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="215621192"/> + </object> + <int key="connectionID">1286</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableCreatedAt</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="31458427"/> + </object> + <int key="connectionID">1287</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableName</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="155966163"/> + </object> + <int key="connectionID">1288</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableType</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="12275451"/> + </object> + <int key="connectionID">1289</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableUpdatedAt</string> + <reference key="source" ref="936957743"/> + <reference key="destination" ref="986922460"/> + </object> + <int key="connectionID">1290</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableStatusInstance</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="936957743"/> + </object> + <int key="connectionID">1291</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">typeChanged:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="398555609"/> + </object> + <int key="connectionID">1301</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableTypeButton</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="398555609"/> + </object> + <int key="connectionID">1302</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableStatusInstance</string> + <reference key="source" ref="438574515"/> + <reference key="destination" ref="936957743"/> + </object> + <int key="connectionID">1303</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">favoritesController</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="302582105"/> + </object> + <int key="connectionID">1945</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">initialFirstResponder</string> + <reference key="source" ref="456332212"/> + <reference key="destination" ref="158332213"/> + </object> + <int key="connectionID">1958</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">connectProgressStatusText</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="725657385"/> + </object> + <int key="connectionID">2275</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBBindingConnection" key="connection"> + <string key="label">contentArray: favorites</string> + <reference key="source" ref="302582105"/> + <reference key="destination" ref="427689665"/> + <object class="NSNibBindingConnector" key="connector"> + <reference key="NSSource" ref="302582105"/> + <reference key="NSDestination" ref="427689665"/> + <string key="NSLabel">contentArray: favorites</string> + <string key="NSBinding">contentArray</string> + <string key="NSKeyPath">favorites</string> + <int key="NSNibBindingConnectorVersion">2</int> + </object> + </object> + <int key="connectionID">3149</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">argumentField</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="377771536"/> + </object> + <int key="connectionID">3965</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">limitRowsField</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="572483755"/> + </object> + <int key="connectionID">3975</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">syntaxViewContent</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="798764405"/> + </object> + <int key="connectionID">3985</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">syntaxView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="541887300"/> + </object> + <int key="connectionID">3986</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">createTableSyntaxWindow</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="135079060"/> + </object> + <int key="connectionID">3989</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyCreateTableSyntax:</string> + <reference key="source" ref="444826705"/> + <reference key="destination" ref="1023944293"/> + </object> + <int key="connectionID">3993</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">chooseDatabaseButton</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="359419551"/> + </object> + <int key="connectionID">3999</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dbTablesTableView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="251040077"/> + </object> + <int key="connectionID">4000</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="112292194"/> + <reference key="destination" ref="252686319"/> + </object> + <int key="connectionID">4001</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="252686319"/> + <reference key="destination" ref="744530295"/> + </object> + <int key="connectionID">4002</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="744530295"/> + <reference key="destination" ref="622703817"/> + </object> + <int key="connectionID">4004</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="622703817"/> + <reference key="destination" ref="387080032"/> + </object> + <int key="connectionID">4005</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="387080032"/> + <reference key="destination" ref="452595742"/> + </object> + <int key="connectionID">4006</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="452595742"/> + <reference key="destination" ref="591248388"/> + </object> + <int key="connectionID">4007</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="936229991"/> + <reference key="destination" ref="632312830"/> + </object> + <int key="connectionID">4010</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="632312830"/> + <reference key="destination" ref="158332213"/> + </object> + <int key="connectionID">4011</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">connectFavoritesTableView</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="158332213"/> + </object> + <int key="connectionID">4012</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">infoTable</string> + <reference key="source" ref="622219357"/> + <reference key="destination" ref="347093764"/> + </object> + <int key="connectionID">4490</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableListInstance</string> + <reference key="source" ref="622219357"/> + <reference key="destination" ref="438574515"/> + </object> + <int key="connectionID">4491</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="347093764"/> + <reference key="destination" ref="622219357"/> + </object> + <int key="connectionID">4492</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="347093764"/> + <reference key="destination" ref="622219357"/> + </object> + <int key="connectionID">4493</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableDocumentInstance</string> + <reference key="source" ref="622219357"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">4496</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">structureGrabber</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="929444095"/> + </object> + <int key="connectionID">4505</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sidebarGrabber</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="490380612"/> + </object> + <int key="connectionID">4510</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">connectSheetAddToFavorites:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="79322639"/> + </object> + <int key="connectionID">4517</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">initialFirstResponder</string> + <reference key="source" ref="207157706"/> + <reference key="destination" ref="251040077"/> + </object> + <int key="connectionID">4520</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addDatabase:</string> + <reference key="source" ref="444826705"/> + <reference key="destination" ref="714564766"/> + </object> + <int key="connectionID">4524</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">reloadTable:</string> + <reference key="source" ref="103234030"/> + <reference key="destination" ref="556517139"/> + </object> + <int key="connectionID">4525</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">cancelConnectSheet:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="1016292439"/> + </object> + <int key="connectionID">4526</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="456332212"/> + <reference key="destination" ref="427689665"/> + </object> + <int key="connectionID">4528</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importCSVView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="252777009"/> + </object> + <int key="connectionID">4556</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importFieldsEscapedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="902625058"/> + </object> + <int key="connectionID">4557</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importFieldsEnclosedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="858997304"/> + </object> + <int key="connectionID">4559</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importFieldsTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="257542502"/> + </object> + <int key="connectionID">4560</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importLinesTerminatedField</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="369372577"/> + </object> + <int key="connectionID">4561</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importFormatPopup</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="510547722"/> + </object> + <int key="connectionID">4562</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importCSVBox</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="414413995"/> + </object> + <int key="connectionID">4563</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">changeFormat:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="510547722"/> + </object> + <int key="connectionID">4564</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeSheet:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="322520441"/> + </object> + <int key="connectionID">4594</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeSheet:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="537769422"/> + </object> + <int key="connectionID">4596</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">recordCountLabel</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="1029840737"/> + </object> + <int key="connectionID">4597</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">stepRow:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="943423465"/> + </object> + <int key="connectionID">4598</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">stepRow:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="269606631"/> + </object> + <int key="connectionID">4599</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowUpButton</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="943423465"/> + </object> + <int key="connectionID">4600</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">rowDownButton</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="269606631"/> + </object> + <int key="connectionID">4601</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="134631251"/> + <reference key="destination" ref="225526897"/> + </object> + <int key="connectionID">4602</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">fieldMappingTableView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="134631251"/> + </object> + <int key="connectionID">4603</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">importFieldNamesSwitch</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="811369270"/> + </object> + <int key="connectionID">4604</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">changeTable:</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="874969464"/> + </object> + <int key="connectionID">4605</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">fieldMappingPopup</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="874969464"/> + </object> + <int key="connectionID">4606</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">fieldMappingSheet</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="176945499"/> + </object> + <int key="connectionID">4607</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="56014887"/> + <reference key="destination" ref="679946795"/> + </object> + <int key="connectionID">4666</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="810809856"/> + <reference key="destination" ref="103604544"/> + </object> + <int key="connectionID">4667</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="433607442"/> + <reference key="destination" ref="810809856"/> + </object> + <int key="connectionID">4668</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="481012484"/> + <reference key="destination" ref="835490741"/> + </object> + <int key="connectionID">4669</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="358689475"/> + <reference key="destination" ref="150715027"/> + </object> + <int key="connectionID">4670</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="137024971"/> + <reference key="destination" ref="56014887"/> + </object> + <int key="connectionID">4671</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="150715027"/> + <reference key="destination" ref="481012484"/> + </object> + <int key="connectionID">4672</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="835490741"/> + <reference key="destination" ref="433607442"/> + </object> + <int key="connectionID">4673</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBBindingConnection" key="connection"> + <string key="label">value: arrangedObjects.name</string> + <reference key="source" ref="611607474"/> + <reference key="destination" ref="302582105"/> + <object class="NSNibBindingConnector" key="connector"> + <reference key="NSSource" ref="611607474"/> + <reference key="NSDestination" ref="302582105"/> + <string key="NSLabel">value: arrangedObjects.name</string> + <string key="NSBinding">value</string> + <string key="NSKeyPath">arrangedObjects.name</string> + <object class="NSDictionary" key="NSOptions"> + <string key="NS.key.0">NSAllowsEditingMultipleValuesSelection</string> + <reference key="NS.object.0" ref="8"/> + </object> + <int key="NSNibBindingConnectorVersion">2</int> + </object> + </object> + <int key="connectionID">4674</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeFavorite:</string> + <reference key="source" ref="427689665"/> + <reference key="destination" ref="316876744"/> + </object> + <int key="connectionID">4675</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">filterTable:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="983589239"/> + </object> + <int key="connectionID">4678</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">filterTable:</string> + <reference key="source" ref="392169872"/> + <reference key="destination" ref="377771536"/> + </object> + <int key="connectionID">4680</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableList</string> + <reference key="source" ref="622219357"/> + <reference key="destination" ref="251040077"/> + </object> + <int key="connectionID">4681</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableListView</string> + <reference key="source" ref="225526897"/> + <reference key="destination" ref="251040077"/> + </object> + <int key="connectionID">4683</int> + </object> + </object> + <object class="IBMutableOrderedSet" key="objectRecords"> + <object class="NSArray" key="orderedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBObjectRecord"> + <int key="objectID">0</int> + <object class="NSArray" key="object" id="1043842561"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <reference key="children" ref="105205302"/> + <nil key="parent"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-2</int> + <reference key="object" ref="427689665"/> + <reference key="parent" ref="1043842561"/> + <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-1</int> + <reference key="object" ref="444826705"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">First Responder</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-3</int> + <reference key="object" ref="590348128"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">Application</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">5</int> + <reference key="object" ref="207157706"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="579726586"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">DBView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">6</int> + <reference key="object" ref="579726586"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1049088871"/> + </object> + <reference key="parent" ref="207157706"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">39</int> + <reference key="object" ref="456332212"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="586457094"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">connectSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">40</int> + <reference key="object" ref="586457094"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="632312830"/> + <reference ref="936229991"/> + <reference ref="514796180"/> + <reference ref="593089150"/> + <reference ref="718844584"/> + <reference ref="565663839"/> + <reference ref="725657385"/> + <reference ref="248896606"/> + </object> + <reference key="parent" ref="456332212"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">51</int> + <reference key="object" ref="632312830"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="492536988"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">52</int> + <reference key="object" ref="936229991"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1016292439"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">614</int> + <reference key="object" ref="514796180"/> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2260</int> + <reference key="object" ref="593089150"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="196685261"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2261</int> + <reference key="object" ref="718844584"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="706772332"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2264</int> + <reference key="object" ref="565663839"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1061790099"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2266</int> + <reference key="object" ref="725657385"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="4826163"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2268</int> + <reference key="object" ref="248896606"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="252686319"/> + <reference ref="317936232"/> + <reference ref="706801224"/> + <reference ref="591248388"/> + <reference ref="473901395"/> + <reference ref="719075675"/> + <reference ref="622703817"/> + <reference ref="387080032"/> + <reference ref="744530295"/> + <reference ref="452595742"/> + <reference ref="187305739"/> + <reference ref="112292194"/> + <reference ref="770654438"/> + <reference ref="223403285"/> + <reference ref="63622597"/> + <reference ref="799384073"/> + <reference ref="79322639"/> + </object> + <reference key="parent" ref="586457094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">67</int> + <reference key="object" ref="392169872"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">TableContent</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">68</int> + <reference key="object" ref="438574515"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">TablesList</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">69</int> + <reference key="object" ref="103234030"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">TableSource</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">134</int> + <reference key="object" ref="601471102"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">CustomQuery</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">320</int> + <reference key="object" ref="549044462"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="329225443"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">indexSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">321</int> + <reference key="object" ref="329225443"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="674179880"/> + <reference ref="391537792"/> + <reference ref="87472807"/> + <reference ref="442422811"/> + <reference ref="99078000"/> + <reference ref="451210077"/> + <reference ref="480365509"/> + <reference ref="121996550"/> + </object> + <reference key="parent" ref="549044462"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">323</int> + <reference key="object" ref="674179880"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="435559245"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">329</int> + <reference key="object" ref="391537792"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1006847405"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">330</int> + <reference key="object" ref="87472807"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="687348068"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">331</int> + <reference key="object" ref="442422811"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="715422036"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">332</int> + <reference key="object" ref="99078000"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="160513617"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">333</int> + <reference key="object" ref="451210077"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="195492476"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">334</int> + <reference key="object" ref="480365509"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="178381476"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">335</int> + <reference key="object" ref="121996550"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="824380696"/> + </object> + <reference key="parent" ref="329225443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">362</int> + <reference key="object" ref="225526897"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">TableDump</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">409</int> + <reference key="object" ref="734744289"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="234287744"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">keySheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">410</int> + <reference key="object" ref="234287744"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1064884678"/> + <reference ref="1068260884"/> + <reference ref="1033996434"/> + <reference ref="516472893"/> + </object> + <reference key="parent" ref="734744289"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">411</int> + <reference key="object" ref="1064884678"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="420541191"/> + </object> + <reference key="parent" ref="234287744"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">414</int> + <reference key="object" ref="1068260884"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1007861376"/> + </object> + <reference key="parent" ref="234287744"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">418</int> + <reference key="object" ref="1033996434"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="827163428"/> + </object> + <reference key="parent" ref="234287744"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">419</int> + <reference key="object" ref="516472893"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="125727271"/> + </object> + <reference key="parent" ref="234287744"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">501</int> + <reference key="object" ref="308103881"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="653204527"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">copyTableSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">500</int> + <reference key="object" ref="653204527"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="395811856"/> + <reference ref="709997101"/> + <reference ref="1044741319"/> + <reference ref="483283663"/> + <reference ref="78676089"/> + </object> + <reference key="parent" ref="308103881"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">512</int> + <reference key="object" ref="395811856"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="604072019"/> + </object> + <reference key="parent" ref="653204527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">513</int> + <reference key="object" ref="709997101"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="870160310"/> + </object> + <reference key="parent" ref="653204527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">514</int> + <reference key="object" ref="1044741319"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="575635343"/> + </object> + <reference key="parent" ref="653204527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">515</int> + <reference key="object" ref="483283663"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="834960254"/> + </object> + <reference key="parent" ref="653204527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">516</int> + <reference key="object" ref="78676089"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1048025876"/> + </object> + <reference key="parent" ref="653204527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">565</int> + <reference key="object" ref="554105051"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="70075497"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">databaseSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">557</int> + <reference key="object" ref="70075497"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="823440790"/> + <reference ref="839031135"/> + <reference ref="875952722"/> + <reference ref="681100483"/> + </object> + <reference key="parent" ref="554105051"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">579</int> + <reference key="object" ref="823440790"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="45988560"/> + </object> + <reference key="parent" ref="70075497"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">580</int> + <reference key="object" ref="839031135"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="212969926"/> + </object> + <reference key="parent" ref="70075497"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">581</int> + <reference key="object" ref="875952722"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="169260261"/> + </object> + <reference key="parent" ref="70075497"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">582</int> + <reference key="object" ref="681100483"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="994559297"/> + </object> + <reference key="parent" ref="70075497"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">604</int> + <reference key="object" ref="400229091"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="999543752"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">editSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">605</int> + <reference key="object" ref="999543752"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="253418976"/> + <reference ref="87722169"/> + <reference ref="473392579"/> + <reference ref="871440870"/> + <reference ref="938738159"/> + </object> + <reference key="parent" ref="400229091"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">608</int> + <reference key="object" ref="253418976"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="614204575"/> + </object> + <reference key="parent" ref="999543752"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">609</int> + <reference key="object" ref="87722169"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="888101847"/> + </object> + <reference key="parent" ref="999543752"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1215</int> + <reference key="object" ref="473392579"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="964355507"/> + <reference ref="413352462"/> + <reference ref="556753191"/> + </object> + <reference key="parent" ref="999543752"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1216</int> + <reference key="object" ref="964355507"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="375414526"/> + </object> + <reference key="parent" ref="473392579"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1217</int> + <reference key="object" ref="375414526"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1020679422"/> + </object> + <reference key="parent" ref="964355507"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1221</int> + <reference key="object" ref="1020679422"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1011820278"/> + <reference ref="435247014"/> + <reference ref="767953750"/> + </object> + <reference key="parent" ref="375414526"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1222</int> + <reference key="object" ref="1011820278"/> + <reference key="parent" ref="1020679422"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1218</int> + <reference key="object" ref="413352462"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="948951370"/> + </object> + <reference key="parent" ref="473392579"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1214</int> + <reference key="object" ref="948951370"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="976680482"/> + </object> + <reference key="parent" ref="413352462"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1227</int> + <reference key="object" ref="976680482"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="11045283"/> + </object> + <reference key="parent" ref="948951370"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1223</int> + <reference key="object" ref="556753191"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="813036786"/> + </object> + <reference key="parent" ref="473392579"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1224</int> + <reference key="object" ref="813036786"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="533559056"/> + </object> + <reference key="parent" ref="556753191"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1230</int> + <reference key="object" ref="533559056"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="283256023"/> + <reference ref="945638943"/> + <reference ref="685320182"/> + </object> + <reference key="parent" ref="813036786"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1231</int> + <reference key="object" ref="283256023"/> + <reference key="parent" ref="533559056"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1225</int> + <reference key="object" ref="871440870"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="46380971"/> + </object> + <reference key="parent" ref="999543752"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1226</int> + <reference key="object" ref="938738159"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="544799467"/> + </object> + <reference key="parent" ref="999543752"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">617</int> + <reference key="object" ref="607385798"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">KeyChain</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">714</int> + <reference key="object" ref="553728448"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1052076676"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">valueSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">713</int> + <reference key="object" ref="1052076676"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="534696980"/> + <reference ref="271089627"/> + </object> + <reference key="parent" ref="553728448"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">711</int> + <reference key="object" ref="534696980"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="660726210"/> + </object> + <reference key="parent" ref="1052076676"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">715</int> + <reference key="object" ref="271089627"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="405634773"/> + <reference ref="850107135"/> + <reference ref="937090729"/> + </object> + <reference key="parent" ref="1052076676"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">716</int> + <reference key="object" ref="405634773"/> + <reference key="parent" ref="271089627"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">724</int> + <reference key="object" ref="99553177"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="778680541"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">queryFavoritesSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">725</int> + <reference key="object" ref="778680541"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="768409455"/> + <reference ref="597878738"/> + <reference ref="1070571418"/> + <reference ref="32671958"/> + <reference ref="530386651"/> + </object> + <reference key="parent" ref="99553177"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">729</int> + <reference key="object" ref="768409455"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="149179114"/> + </object> + <reference key="parent" ref="778680541"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">730</int> + <reference key="object" ref="597878738"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="292088665"/> + <reference ref="4739239"/> + <reference ref="87044874"/> + <reference ref="318747409"/> + </object> + <reference key="parent" ref="778680541"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">735</int> + <reference key="object" ref="292088665"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="413853564"/> + </object> + <reference key="parent" ref="597878738"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">728</int> + <reference key="object" ref="413853564"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="180726999"/> + </object> + <reference key="parent" ref="292088665"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">731</int> + <reference key="object" ref="1070571418"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="836526182"/> + </object> + <reference key="parent" ref="778680541"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">733</int> + <reference key="object" ref="32671958"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="55531777"/> + </object> + <reference key="parent" ref="778680541"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">743</int> + <reference key="object" ref="530386651"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="376218475"/> + </object> + <reference key="parent" ref="778680541"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">815</int> + <reference key="object" ref="139279766"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="709448121"/> + <reference ref="813641675"/> + <reference ref="11176884"/> + <reference ref="79962558"/> + <reference ref="426426679"/> + <reference ref="981469533"/> + <reference ref="165873197"/> + <reference ref="783067094"/> + <reference ref="527909968"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">exportCSVView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1007</int> + <reference key="object" ref="709448121"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="879909476"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1008</int> + <reference key="object" ref="813641675"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="583262813"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1009</int> + <reference key="object" ref="11176884"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="682588210"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1010</int> + <reference key="object" ref="79962558"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="361704027"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1011</int> + <reference key="object" ref="426426679"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1020292311"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1012</int> + <reference key="object" ref="981469533"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="633331079"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1013</int> + <reference key="object" ref="165873197"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="332381582"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1014</int> + <reference key="object" ref="783067094"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="369790779"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1015</int> + <reference key="object" ref="527909968"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="708989084"/> + </object> + <reference key="parent" ref="139279766"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">821</int> + <reference key="object" ref="81457726"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">consoleDrawer</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">824</int> + <reference key="object" ref="236537518"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="509069545"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">consoleDrawerView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">828</int> + <reference key="object" ref="509069545"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="409075923"/> + <reference ref="23342417"/> + <reference ref="897393774"/> + </object> + <reference key="parent" ref="236537518"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">829</int> + <reference key="object" ref="409075923"/> + <reference key="parent" ref="509069545"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">839</int> + <reference key="object" ref="202784209"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="226131408"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">variablesSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">835</int> + <reference key="object" ref="226131408"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="294857516"/> + <reference ref="448933484"/> + </object> + <reference key="parent" ref="202784209"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">849</int> + <reference key="object" ref="294857516"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="460727716"/> + <reference ref="297298990"/> + <reference ref="857738313"/> + <reference ref="74674217"/> + </object> + <reference key="parent" ref="226131408"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">846</int> + <reference key="object" ref="460727716"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="210880604"/> + <reference ref="726991477"/> + </object> + <reference key="parent" ref="294857516"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">847</int> + <reference key="object" ref="210880604"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="404029620"/> + </object> + <reference key="parent" ref="460727716"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">848</int> + <reference key="object" ref="726991477"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="256868165"/> + </object> + <reference key="parent" ref="460727716"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">910</int> + <reference key="object" ref="774289419"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="27548452"/> + <reference ref="496993033"/> + <reference ref="947678838"/> + <reference ref="791847552"/> + <reference ref="27140235"/> + <reference ref="7792134"/> + <reference ref="178833443"/> + <reference ref="339042383"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">exportDumpView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">918</int> + <reference key="object" ref="27548452"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="29661959"/> + <reference ref="438736883"/> + <reference ref="721548430"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">921</int> + <reference key="object" ref="29661959"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="387646906"/> + <reference ref="591033103"/> + </object> + <reference key="parent" ref="27548452"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">919</int> + <reference key="object" ref="387646906"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1037173347"/> + </object> + <reference key="parent" ref="29661959"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">920</int> + <reference key="object" ref="591033103"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="398689191"/> + </object> + <reference key="parent" ref="29661959"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">923</int> + <reference key="object" ref="496993033"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="637413074"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">924</int> + <reference key="object" ref="947678838"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="508230989"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">925</int> + <reference key="object" ref="791847552"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="414556640"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">929</int> + <reference key="object" ref="27140235"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="224395461"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">930</int> + <reference key="object" ref="7792134"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="755853406"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">931</int> + <reference key="object" ref="178833443"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="563734754"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">935</int> + <reference key="object" ref="339042383"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="638248025"/> + </object> + <reference key="parent" ref="774289419"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">959</int> + <reference key="object" ref="466147946"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="860968037"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">errorSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">960</int> + <reference key="object" ref="860968037"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="413713602"/> + <reference ref="972781700"/> + <reference ref="92950801"/> + </object> + <reference key="parent" ref="466147946"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">961</int> + <reference key="object" ref="413713602"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="326519111"/> + </object> + <reference key="parent" ref="860968037"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">962</int> + <reference key="object" ref="972781700"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="347971361"/> + <reference ref="84024470"/> + <reference ref="761598270"/> + </object> + <reference key="parent" ref="860968037"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">963</int> + <reference key="object" ref="347971361"/> + <reference key="parent" ref="972781700"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">964</int> + <reference key="object" ref="92950801"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="693776804"/> + </object> + <reference key="parent" ref="860968037"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">969</int> + <reference key="object" ref="12594599"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="537060735"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">singleProgressSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">970</int> + <reference key="object" ref="537060735"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="915740486"/> + <reference ref="488280145"/> + </object> + <reference key="parent" ref="12594599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">971</int> + <reference key="object" ref="915740486"/> + <reference key="parent" ref="537060735"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">972</int> + <reference key="object" ref="488280145"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="239054058"/> + </object> + <reference key="parent" ref="537060735"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1058</int> + <reference key="object" ref="856973094"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="324053896"/> + <reference ref="509557498"/> + <reference ref="321310995"/> + <reference ref="78231563"/> + <reference ref="837019028"/> + <reference ref="711210375"/> + <reference ref="221005749"/> + <reference ref="636529381"/> + <reference ref="612007620"/> + <reference ref="810130423"/> + <reference ref="85155478"/> + <reference ref="428678017"/> + <reference ref="453791311"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">exportMultipleCSVView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1073</int> + <reference key="object" ref="324053896"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="723258166"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1074</int> + <reference key="object" ref="509557498"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="489276281"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1075</int> + <reference key="object" ref="321310995"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="668440736"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1076</int> + <reference key="object" ref="78231563"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="174663852"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1077</int> + <reference key="object" ref="837019028"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="893304901"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1078</int> + <reference key="object" ref="711210375"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="949011681"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1079</int> + <reference key="object" ref="221005749"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="925305903"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1080</int> + <reference key="object" ref="636529381"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1036481831"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1081</int> + <reference key="object" ref="612007620"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="961830943"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1087</int> + <reference key="object" ref="810130423"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="40880433"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1088</int> + <reference key="object" ref="85155478"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="392847962"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1089</int> + <reference key="object" ref="428678017"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="29245719"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1091</int> + <reference key="object" ref="453791311"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="830161156"/> + <reference ref="604433365"/> + <reference ref="908389721"/> + </object> + <reference key="parent" ref="856973094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1092</int> + <reference key="object" ref="830161156"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="521300588"/> + <reference ref="780493868"/> + </object> + <reference key="parent" ref="453791311"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1086</int> + <reference key="object" ref="521300588"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="620277822"/> + </object> + <reference key="parent" ref="830161156"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1090</int> + <reference key="object" ref="780493868"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="484732110"/> + </object> + <reference key="parent" ref="830161156"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1113</int> + <reference key="object" ref="757539703"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="241901916"/> + <reference ref="715618241"/> + <reference ref="856067573"/> + <reference ref="448100292"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">exportMultipleXMLView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1115</int> + <reference key="object" ref="241901916"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="183947073"/> + </object> + <reference key="parent" ref="757539703"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1116</int> + <reference key="object" ref="715618241"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="992960102"/> + </object> + <reference key="parent" ref="757539703"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1117</int> + <reference key="object" ref="856067573"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="519994876"/> + </object> + <reference key="parent" ref="757539703"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1118</int> + <reference key="object" ref="448100292"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="3329499"/> + <reference ref="947905899"/> + <reference ref="245849004"/> + </object> + <reference key="parent" ref="757539703"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1114</int> + <reference key="object" ref="3329499"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="408341534"/> + <reference ref="675069685"/> + </object> + <reference key="parent" ref="448100292"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1119</int> + <reference key="object" ref="408341534"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="9987805"/> + </object> + <reference key="parent" ref="3329499"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1120</int> + <reference key="object" ref="675069685"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1046588559"/> + </object> + <reference key="parent" ref="3329499"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1277</int> + <reference key="object" ref="936957743"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">TableStatus</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1907</int> + <reference key="object" ref="461189245"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">Shared User Defaults Controller</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1920</int> + <reference key="object" ref="302582105"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">Favorites</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3798</int> + <reference key="object" ref="492536988"/> + <reference key="parent" ref="632312830"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3799</int> + <reference key="object" ref="1016292439"/> + <reference key="parent" ref="936229991"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3800</int> + <reference key="object" ref="196685261"/> + <reference key="parent" ref="593089150"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3801</int> + <reference key="object" ref="706772332"/> + <reference key="parent" ref="718844584"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3802</int> + <reference key="object" ref="1061790099"/> + <reference key="parent" ref="565663839"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3803</int> + <reference key="object" ref="4826163"/> + <reference key="parent" ref="725657385"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3818</int> + <reference key="object" ref="435559245"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="899615778"/> + </object> + <reference key="parent" ref="674179880"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3819</int> + <reference key="object" ref="1006847405"/> + <reference key="parent" ref="391537792"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3820</int> + <reference key="object" ref="687348068"/> + <reference key="parent" ref="87472807"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3821</int> + <reference key="object" ref="715422036"/> + <reference key="parent" ref="442422811"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3822</int> + <reference key="object" ref="160513617"/> + <reference key="parent" ref="99078000"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3823</int> + <reference key="object" ref="195492476"/> + <reference key="parent" ref="451210077"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3824</int> + <reference key="object" ref="178381476"/> + <reference key="parent" ref="480365509"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3825</int> + <reference key="object" ref="824380696"/> + <reference key="parent" ref="121996550"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3826</int> + <reference key="object" ref="420541191"/> + <reference key="parent" ref="1064884678"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3827</int> + <reference key="object" ref="1007861376"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="392618957"/> + </object> + <reference key="parent" ref="1068260884"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3828</int> + <reference key="object" ref="827163428"/> + <reference key="parent" ref="1033996434"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3829</int> + <reference key="object" ref="125727271"/> + <reference key="parent" ref="516472893"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3830</int> + <reference key="object" ref="604072019"/> + <reference key="parent" ref="395811856"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3831</int> + <reference key="object" ref="870160310"/> + <reference key="parent" ref="709997101"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3832</int> + <reference key="object" ref="575635343"/> + <reference key="parent" ref="1044741319"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3833</int> + <reference key="object" ref="834960254"/> + <reference key="parent" ref="483283663"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3834</int> + <reference key="object" ref="1048025876"/> + <reference key="parent" ref="78676089"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3835</int> + <reference key="object" ref="45988560"/> + <reference key="parent" ref="823440790"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3836</int> + <reference key="object" ref="212969926"/> + <reference key="parent" ref="839031135"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3837</int> + <reference key="object" ref="169260261"/> + <reference key="parent" ref="875952722"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3838</int> + <reference key="object" ref="994559297"/> + <reference key="parent" ref="681100483"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3839</int> + <reference key="object" ref="614204575"/> + <reference key="parent" ref="253418976"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3840</int> + <reference key="object" ref="888101847"/> + <reference key="parent" ref="87722169"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3841</int> + <reference key="object" ref="11045283"/> + <reference key="parent" ref="976680482"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3842</int> + <reference key="object" ref="46380971"/> + <reference key="parent" ref="871440870"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3843</int> + <reference key="object" ref="544799467"/> + <reference key="parent" ref="938738159"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3844</int> + <reference key="object" ref="660726210"/> + <reference key="parent" ref="534696980"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3845</int> + <reference key="object" ref="149179114"/> + <reference key="parent" ref="768409455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3846</int> + <reference key="object" ref="836526182"/> + <reference key="parent" ref="1070571418"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3847</int> + <reference key="object" ref="55531777"/> + <reference key="parent" ref="32671958"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3848</int> + <reference key="object" ref="376218475"/> + <reference key="parent" ref="530386651"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3849</int> + <reference key="object" ref="879909476"/> + <reference key="parent" ref="709448121"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3850</int> + <reference key="object" ref="583262813"/> + <reference key="parent" ref="813641675"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3851</int> + <reference key="object" ref="682588210"/> + <reference key="parent" ref="11176884"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3852</int> + <reference key="object" ref="361704027"/> + <reference key="parent" ref="79962558"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3853</int> + <reference key="object" ref="1020292311"/> + <reference key="parent" ref="426426679"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3854</int> + <reference key="object" ref="633331079"/> + <reference key="parent" ref="981469533"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3855</int> + <reference key="object" ref="332381582"/> + <reference key="parent" ref="165873197"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3856</int> + <reference key="object" ref="369790779"/> + <reference key="parent" ref="783067094"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3857</int> + <reference key="object" ref="708989084"/> + <reference key="parent" ref="527909968"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3860</int> + <reference key="object" ref="637413074"/> + <reference key="parent" ref="496993033"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3861</int> + <reference key="object" ref="508230989"/> + <reference key="parent" ref="947678838"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3862</int> + <reference key="object" ref="414556640"/> + <reference key="parent" ref="791847552"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3863</int> + <reference key="object" ref="224395461"/> + <reference key="parent" ref="27140235"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3864</int> + <reference key="object" ref="755853406"/> + <reference key="parent" ref="7792134"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3865</int> + <reference key="object" ref="563734754"/> + <reference key="parent" ref="178833443"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3866</int> + <reference key="object" ref="638248025"/> + <reference key="parent" ref="339042383"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3867</int> + <reference key="object" ref="326519111"/> + <reference key="parent" ref="413713602"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3868</int> + <reference key="object" ref="693776804"/> + <reference key="parent" ref="92950801"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3869</int> + <reference key="object" ref="239054058"/> + <reference key="parent" ref="488280145"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3879</int> + <reference key="object" ref="723258166"/> + <reference key="parent" ref="324053896"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3880</int> + <reference key="object" ref="489276281"/> + <reference key="parent" ref="509557498"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3881</int> + <reference key="object" ref="668440736"/> + <reference key="parent" ref="321310995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3882</int> + <reference key="object" ref="174663852"/> + <reference key="parent" ref="78231563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3883</int> + <reference key="object" ref="893304901"/> + <reference key="parent" ref="837019028"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3884</int> + <reference key="object" ref="949011681"/> + <reference key="parent" ref="711210375"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3885</int> + <reference key="object" ref="925305903"/> + <reference key="parent" ref="221005749"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3886</int> + <reference key="object" ref="1036481831"/> + <reference key="parent" ref="636529381"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3887</int> + <reference key="object" ref="961830943"/> + <reference key="parent" ref="612007620"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3888</int> + <reference key="object" ref="40880433"/> + <reference key="parent" ref="810130423"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3889</int> + <reference key="object" ref="392847962"/> + <reference key="parent" ref="85155478"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3890</int> + <reference key="object" ref="29245719"/> + <reference key="parent" ref="428678017"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3891</int> + <reference key="object" ref="183947073"/> + <reference key="parent" ref="241901916"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3892</int> + <reference key="object" ref="992960102"/> + <reference key="parent" ref="715618241"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3893</int> + <reference key="object" ref="519994876"/> + <reference key="parent" ref="856067573"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3904</int> + <reference key="object" ref="180726999"/> + <reference key="parent" ref="413853564"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3905</int> + <reference key="object" ref="404029620"/> + <reference key="parent" ref="210880604"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3906</int> + <reference key="object" ref="256868165"/> + <reference key="parent" ref="726991477"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3907</int> + <reference key="object" ref="1037173347"/> + <reference key="parent" ref="387646906"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3908</int> + <reference key="object" ref="398689191"/> + <reference key="parent" ref="591033103"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3909</int> + <reference key="object" ref="620277822"/> + <reference key="parent" ref="521300588"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3910</int> + <reference key="object" ref="484732110"/> + <reference key="parent" ref="780493868"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3911</int> + <reference key="object" ref="9987805"/> + <reference key="parent" ref="408341534"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3912</int> + <reference key="object" ref="1046588559"/> + <reference key="parent" ref="675069685"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">325</int> + <reference key="object" ref="899615778"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="666224488"/> + <reference ref="189074292"/> + <reference ref="748289654"/> + <reference ref="193527205"/> + </object> + <reference key="parent" ref="435559245"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">328</int> + <reference key="object" ref="666224488"/> + <reference key="parent" ref="899615778"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">327</int> + <reference key="object" ref="189074292"/> + <reference key="parent" ref="899615778"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">326</int> + <reference key="object" ref="748289654"/> + <reference key="parent" ref="899615778"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">324</int> + <reference key="object" ref="193527205"/> + <reference key="parent" ref="899615778"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">415</int> + <reference key="object" ref="392618957"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="112475542"/> + <reference ref="597414827"/> + <reference ref="349617515"/> + <reference ref="104344125"/> + </object> + <reference key="parent" ref="1007861376"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">417</int> + <reference key="object" ref="112475542"/> + <reference key="parent" ref="392618957"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">416</int> + <reference key="object" ref="597414827"/> + <reference key="parent" ref="392618957"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">413</int> + <reference key="object" ref="349617515"/> + <reference key="parent" ref="392618957"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">412</int> + <reference key="object" ref="104344125"/> + <reference key="parent" ref="392618957"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3935</int> + <reference key="object" ref="435247014"/> + <reference key="parent" ref="1020679422"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3936</int> + <reference key="object" ref="767953750"/> + <reference key="parent" ref="1020679422"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3937</int> + <reference key="object" ref="945638943"/> + <reference key="parent" ref="533559056"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3938</int> + <reference key="object" ref="685320182"/> + <reference key="parent" ref="533559056"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3939</int> + <reference key="object" ref="850107135"/> + <reference key="parent" ref="271089627"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3940</int> + <reference key="object" ref="937090729"/> + <reference key="parent" ref="271089627"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3941</int> + <reference key="object" ref="4739239"/> + <reference key="parent" ref="597878738"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3942</int> + <reference key="object" ref="87044874"/> + <reference key="parent" ref="597878738"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3943</int> + <reference key="object" ref="318747409"/> + <reference key="parent" ref="597878738"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3944</int> + <reference key="object" ref="23342417"/> + <reference key="parent" ref="509069545"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3945</int> + <reference key="object" ref="897393774"/> + <reference key="parent" ref="509069545"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3946</int> + <reference key="object" ref="297298990"/> + <reference key="parent" ref="294857516"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3947</int> + <reference key="object" ref="857738313"/> + <reference key="parent" ref="294857516"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3948</int> + <reference key="object" ref="74674217"/> + <reference key="parent" ref="294857516"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3951</int> + <reference key="object" ref="438736883"/> + <reference key="parent" ref="27548452"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3952</int> + <reference key="object" ref="721548430"/> + <reference key="parent" ref="27548452"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3953</int> + <reference key="object" ref="84024470"/> + <reference key="parent" ref="972781700"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3954</int> + <reference key="object" ref="761598270"/> + <reference key="parent" ref="972781700"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3955</int> + <reference key="object" ref="604433365"/> + <reference key="parent" ref="453791311"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3956</int> + <reference key="object" ref="908389721"/> + <reference key="parent" ref="453791311"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3957</int> + <reference key="object" ref="947905899"/> + <reference key="parent" ref="448100292"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3958</int> + <reference key="object" ref="245849004"/> + <reference key="parent" ref="448100292"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">41</int> + <reference key="object" ref="252686319"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="959000443"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3804</int> + <reference key="object" ref="959000443"/> + <reference key="parent" ref="252686319"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">256</int> + <reference key="object" ref="317936232"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="435677462"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3812</int> + <reference key="object" ref="435677462"/> + <reference key="parent" ref="317936232"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">253</int> + <reference key="object" ref="706801224"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="217675313"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3809</int> + <reference key="object" ref="217675313"/> + <reference key="parent" ref="706801224"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">47</int> + <reference key="object" ref="591248388"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="343850840"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3807</int> + <reference key="object" ref="343850840"/> + <reference key="parent" ref="591248388"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">257</int> + <reference key="object" ref="473901395"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="780018727"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3813</int> + <reference key="object" ref="780018727"/> + <reference key="parent" ref="473901395"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">254</int> + <reference key="object" ref="719075675"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="778458567"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3810</int> + <reference key="object" ref="778458567"/> + <reference key="parent" ref="719075675"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">45</int> + <reference key="object" ref="622703817"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="348978059"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3806</int> + <reference key="object" ref="348978059"/> + <reference key="parent" ref="622703817"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">50</int> + <reference key="object" ref="387080032"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="535348279"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3808</int> + <reference key="object" ref="535348279"/> + <reference key="parent" ref="387080032"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">43</int> + <reference key="object" ref="744530295"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="370939232"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3805</int> + <reference key="object" ref="370939232"/> + <reference key="parent" ref="744530295"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1130</int> + <reference key="object" ref="452595742"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="538051351"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3814</int> + <reference key="object" ref="538051351"/> + <reference key="parent" ref="452595742"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1131</int> + <reference key="object" ref="187305739"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="209896109"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3815</int> + <reference key="object" ref="209896109"/> + <reference key="parent" ref="187305739"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1911</int> + <reference key="object" ref="112292194"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="975843240"/> + <reference ref="710690013"/> + <reference ref="785468991"/> + <reference ref="158332213"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3934</int> + <reference key="object" ref="975843240"/> + <reference key="parent" ref="112292194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3933</int> + <reference key="object" ref="710690013"/> + <reference key="parent" ref="112292194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3932</int> + <reference key="object" ref="785468991"/> + <reference key="parent" ref="112292194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1914</int> + <reference key="object" ref="158332213"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="611607474"/> + </object> + <reference key="parent" ref="112292194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1916</int> + <reference key="object" ref="611607474"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="483413774"/> + </object> + <reference key="parent" ref="158332213"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1919</int> + <reference key="object" ref="483413774"/> + <reference key="parent" ref="611607474"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">255</int> + <reference key="object" ref="770654438"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="61722355"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3811</int> + <reference key="object" ref="61722355"/> + <reference key="parent" ref="770654438"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2273</int> + <reference key="object" ref="223403285"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="605875122"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3817</int> + <reference key="object" ref="605875122"/> + <reference key="parent" ref="223403285"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3987</int> + <reference key="object" ref="135079060"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="661948784"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">createTableSyntaxWindow</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3988</int> + <reference key="object" ref="661948784"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="541887300"/> + <reference ref="1023944293"/> + </object> + <reference key="parent" ref="135079060"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3981</int> + <reference key="object" ref="541887300"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="142711676"/> + <reference ref="705947940"/> + <reference ref="798764405"/> + </object> + <reference key="parent" ref="661948784"/> + <string key="objectName">SyntaxView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3984</int> + <reference key="object" ref="142711676"/> + <reference key="parent" ref="541887300"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3983</int> + <reference key="object" ref="705947940"/> + <reference key="parent" ref="541887300"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3982</int> + <reference key="object" ref="798764405"/> + <reference key="parent" ref="541887300"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3990</int> + <reference key="object" ref="1023944293"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="304588954"/> + </object> + <reference key="parent" ref="661948784"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3991</int> + <reference key="object" ref="304588954"/> + <reference key="parent" ref="1023944293"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">850</int> + <reference key="object" ref="448933484"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="939960403"/> + </object> + <reference key="parent" ref="226131408"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3858</int> + <reference key="object" ref="939960403"/> + <reference key="parent" ref="448933484"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3994</int> + <reference key="object" ref="884983195"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="359419551"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">Select DB Toolbar View</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3995</int> + <reference key="object" ref="359419551"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="931032347"/> + </object> + <reference key="parent" ref="884983195"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3996</int> + <reference key="object" ref="931032347"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="280926998"/> + </object> + <reference key="parent" ref="359419551"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3997</int> + <reference key="object" ref="280926998"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="479250908"/> + <reference ref="83831690"/> + <reference ref="448279877"/> + <reference ref="714564766"/> + </object> + <reference key="parent" ref="931032347"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3998</int> + <reference key="object" ref="479250908"/> + <reference key="parent" ref="280926998"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4488</int> + <reference key="object" ref="622219357"/> + <reference key="parent" ref="1043842561"/> + <string key="objectName">SP Table Info</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4511</int> + <reference key="object" ref="79322639"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="745497435"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4512</int> + <reference key="object" ref="745497435"/> + <reference key="parent" ref="79322639"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4513</int> + <reference key="object" ref="63622597"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="316876744"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4514</int> + <reference key="object" ref="316876744"/> + <reference key="parent" ref="63622597"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4515</int> + <reference key="object" ref="799384073"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="151967533"/> + </object> + <reference key="parent" ref="248896606"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4516</int> + <reference key="object" ref="151967533"/> + <reference key="parent" ref="799384073"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4521</int> + <reference key="object" ref="83831690"/> + <reference key="parent" ref="280926998"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4522</int> + <reference key="object" ref="448279877"/> + <reference key="parent" ref="280926998"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4523</int> + <reference key="object" ref="714564766"/> + <reference key="parent" ref="280926998"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4529</int> + <reference key="object" ref="252777009"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="414413995"/> + <reference ref="650861736"/> + <reference ref="510547722"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">importCSVView</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4530</int> + <reference key="object" ref="414413995"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="122972701"/> + <reference ref="811369270"/> + <reference ref="858997304"/> + <reference ref="710366810"/> + <reference ref="902625058"/> + <reference ref="369372577"/> + <reference ref="536213240"/> + <reference ref="257542502"/> + <reference ref="316174557"/> + </object> + <reference key="parent" ref="252777009"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4531</int> + <reference key="object" ref="650861736"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="475421529"/> + </object> + <reference key="parent" ref="252777009"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4532</int> + <reference key="object" ref="510547722"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="689765086"/> + </object> + <reference key="parent" ref="252777009"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4533</int> + <reference key="object" ref="689765086"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="398085727"/> + </object> + <reference key="parent" ref="510547722"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4534</int> + <reference key="object" ref="398085727"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="388487184"/> + <reference ref="116284247"/> + </object> + <reference key="parent" ref="689765086"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4535</int> + <reference key="object" ref="388487184"/> + <reference key="parent" ref="398085727"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4536</int> + <reference key="object" ref="116284247"/> + <reference key="parent" ref="398085727"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4537</int> + <reference key="object" ref="475421529"/> + <reference key="parent" ref="650861736"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4538</int> + <reference key="object" ref="122972701"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="889431562"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4539</int> + <reference key="object" ref="811369270"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="728786534"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4540</int> + <reference key="object" ref="858997304"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="574462291"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4541</int> + <reference key="object" ref="710366810"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="948515439"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4542</int> + <reference key="object" ref="902625058"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="757128610"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4543</int> + <reference key="object" ref="369372577"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="152953107"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4544</int> + <reference key="object" ref="536213240"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="390150030"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4545</int> + <reference key="object" ref="257542502"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="541559911"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4546</int> + <reference key="object" ref="316174557"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="4124"/> + </object> + <reference key="parent" ref="414413995"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4547</int> + <reference key="object" ref="4124"/> + <reference key="parent" ref="316174557"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4548</int> + <reference key="object" ref="541559911"/> + <reference key="parent" ref="257542502"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4549</int> + <reference key="object" ref="390150030"/> + <reference key="parent" ref="536213240"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4550</int> + <reference key="object" ref="152953107"/> + <reference key="parent" ref="369372577"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4551</int> + <reference key="object" ref="757128610"/> + <reference key="parent" ref="902625058"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4552</int> + <reference key="object" ref="948515439"/> + <reference key="parent" ref="710366810"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4553</int> + <reference key="object" ref="574462291"/> + <reference key="parent" ref="858997304"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4554</int> + <reference key="object" ref="728786534"/> + <reference key="parent" ref="811369270"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4555</int> + <reference key="object" ref="889431562"/> + <reference key="parent" ref="122972701"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4565</int> + <reference key="object" ref="176945499"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1024486775"/> + </object> + <reference key="parent" ref="1043842561"/> + <string key="objectName">fieldMappingSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4566</int> + <reference key="object" ref="1024486775"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1029840737"/> + <reference ref="943423465"/> + <reference ref="269606631"/> + <reference ref="537769422"/> + <reference ref="322520441"/> + <reference ref="940196687"/> + <reference ref="908136938"/> + <reference ref="1041893843"/> + </object> + <reference key="parent" ref="176945499"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4567</int> + <reference key="object" ref="1029840737"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="179332122"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4568</int> + <reference key="object" ref="943423465"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="468691156"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4569</int> + <reference key="object" ref="269606631"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="249886123"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4570</int> + <reference key="object" ref="537769422"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="688110794"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4571</int> + <reference key="object" ref="322520441"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="469479462"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4572</int> + <reference key="object" ref="940196687"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="879803695"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4573</int> + <reference key="object" ref="908136938"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="874969464"/> + <reference ref="231180464"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4574</int> + <reference key="object" ref="1041893843"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="568493807"/> + <reference ref="1053700221"/> + <reference ref="99652168"/> + <reference ref="134631251"/> + </object> + <reference key="parent" ref="1024486775"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4575</int> + <reference key="object" ref="568493807"/> + <reference key="parent" ref="1041893843"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4576</int> + <reference key="object" ref="1053700221"/> + <reference key="parent" ref="1041893843"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4577</int> + <reference key="object" ref="99652168"/> + <reference key="parent" ref="1041893843"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4578</int> + <reference key="object" ref="134631251"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="611279908"/> + <reference ref="68154948"/> + </object> + <reference key="parent" ref="1041893843"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4579</int> + <reference key="object" ref="611279908"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="515758282"/> + </object> + <reference key="parent" ref="134631251"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4580</int> + <reference key="object" ref="68154948"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="209130090"/> + </object> + <reference key="parent" ref="134631251"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4581</int> + <reference key="object" ref="209130090"/> + <reference key="parent" ref="68154948"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4582</int> + <reference key="object" ref="515758282"/> + <reference key="parent" ref="611279908"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4583</int> + <reference key="object" ref="874969464"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="691314210"/> + </object> + <reference key="parent" ref="908136938"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4584</int> + <reference key="object" ref="231180464"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1059848808"/> + </object> + <reference key="parent" ref="908136938"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4585</int> + <reference key="object" ref="1059848808"/> + <reference key="parent" ref="231180464"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4586</int> + <reference key="object" ref="691314210"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="380312256"/> + </object> + <reference key="parent" ref="874969464"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4587</int> + <reference key="object" ref="380312256"/> + <reference key="parent" ref="691314210"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4588</int> + <reference key="object" ref="879803695"/> + <reference key="parent" ref="940196687"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4589</int> + <reference key="object" ref="469479462"/> + <reference key="parent" ref="322520441"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4590</int> + <reference key="object" ref="688110794"/> + <reference key="parent" ref="537769422"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4591</int> + <reference key="object" ref="249886123"/> + <reference key="parent" ref="269606631"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4592</int> + <reference key="object" ref="468691156"/> + <reference key="parent" ref="943423465"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4593</int> + <reference key="object" ref="179332122"/> + <reference key="parent" ref="1029840737"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4608</int> + <reference key="object" ref="1049088871"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="716453023"/> + <reference ref="809016255"/> + </object> + <reference key="parent" ref="579726586"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4609</int> + <reference key="object" ref="716453023"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="436537954"/> + </object> + <reference key="parent" ref="1049088871"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4610</int> + <reference key="object" ref="436537954"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="937377983"/> + </object> + <reference key="parent" ref="716453023"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4611</int> + <reference key="object" ref="809016255"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="339746181"/> + </object> + <reference key="parent" ref="1049088871"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4612</int> + <reference key="object" ref="339746181"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="56014887"/> + <reference ref="137024971"/> + <reference ref="9472191"/> + <reference ref="1036241617"/> + <reference ref="490875589"/> + <reference ref="1055960504"/> + <reference ref="263851579"/> + <reference ref="264072591"/> + </object> + <reference key="parent" ref="809016255"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">677</int> + <reference key="object" ref="937377983"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="604818293"/> + <reference ref="372294785"/> + </object> + <reference key="parent" ref="436537954"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">676</int> + <reference key="object" ref="604818293"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="714795046"/> + </object> + <reference key="parent" ref="937377983"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">675</int> + <reference key="object" ref="372294785"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="490380612"/> + <reference ref="355288374"/> + <reference ref="594056383"/> + <reference ref="606555256"/> + <reference ref="380552173"/> + <reference ref="581211969"/> + <reference ref="159563759"/> + </object> + <reference key="parent" ref="937377983"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4508</int> + <reference key="object" ref="490380612"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="298618497"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4487</int> + <reference key="object" ref="355288374"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="298226231"/> + <reference ref="233472824"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">2863</int> + <reference key="object" ref="594056383"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="146389080"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">495</int> + <reference key="object" ref="606555256"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="263990628"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">217</int> + <reference key="object" ref="380552173"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="157959112"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">206</int> + <reference key="object" ref="581211969"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="747162092"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">30</int> + <reference key="object" ref="159563759"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="740387478"/> + </object> + <reference key="parent" ref="372294785"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3746</int> + <reference key="object" ref="740387478"/> + <reference key="parent" ref="159563759"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3747</int> + <reference key="object" ref="747162092"/> + <reference key="parent" ref="581211969"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3748</int> + <reference key="object" ref="157959112"/> + <reference key="parent" ref="380552173"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3749</int> + <reference key="object" ref="263990628"/> + <reference key="parent" ref="606555256"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3751</int> + <reference key="object" ref="146389080"/> + <reference key="parent" ref="594056383"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4481</int> + <reference key="object" ref="298226231"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="353686052"/> + <reference ref="245346414"/> + <reference ref="347093764"/> + </object> + <reference key="parent" ref="355288374"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">21</int> + <reference key="object" ref="233472824"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="251040077"/> + <reference ref="693168867"/> + <reference ref="656188692"/> + </object> + <reference key="parent" ref="355288374"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">22</int> + <reference key="object" ref="251040077"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="544378883"/> + </object> + <reference key="parent" ref="233472824"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3915</int> + <reference key="object" ref="693168867"/> + <reference key="parent" ref="233472824"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3916</int> + <reference key="object" ref="656188692"/> + <reference key="parent" ref="233472824"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">23</int> + <reference key="object" ref="544378883"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="37718544"/> + </object> + <reference key="parent" ref="251040077"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4015</int> + <reference key="object" ref="37718544"/> + <reference key="parent" ref="544378883"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4482</int> + <reference key="object" ref="353686052"/> + <reference key="parent" ref="298226231"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4483</int> + <reference key="object" ref="245346414"/> + <reference key="parent" ref="298226231"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4484</int> + <reference key="object" ref="347093764"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="703008826"/> + </object> + <reference key="parent" ref="298226231"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4485</int> + <reference key="object" ref="703008826"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="371324917"/> + </object> + <reference key="parent" ref="347093764"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4486</int> + <reference key="object" ref="371324917"/> + <reference key="parent" ref="703008826"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4509</int> + <reference key="object" ref="298618497"/> + <reference key="parent" ref="490380612"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">25</int> + <reference key="object" ref="714795046"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="94659530"/> + <reference ref="105987292"/> + <reference ref="831053945"/> + <reference ref="624106058"/> + </object> + <reference key="parent" ref="604818293"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1245</int> + <reference key="object" ref="94659530"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="730602982"/> + </object> + <reference key="parent" ref="714795046"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">119</int> + <reference key="object" ref="105987292"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="746504912"/> + </object> + <reference key="parent" ref="714795046"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">28</int> + <reference key="object" ref="831053945"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="461236772"/> + </object> + <reference key="parent" ref="714795046"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">26</int> + <reference key="object" ref="624106058"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1013108064"/> + </object> + <reference key="parent" ref="714795046"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">27</int> + <reference key="object" ref="1013108064"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="440898411"/> + <reference ref="956558617"/> + <reference ref="572483755"/> + <reference ref="1051499117"/> + <reference ref="437174505"/> + <reference ref="976558465"/> + <reference ref="241402549"/> + <reference ref="262235013"/> + <reference ref="414284874"/> + <reference ref="526476900"/> + <reference ref="33038697"/> + <reference ref="905386082"/> + <reference ref="830088955"/> + <reference ref="744029762"/> + <reference ref="377771536"/> + <reference ref="983589239"/> + </object> + <reference key="parent" ref="624106058"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">858</int> + <reference key="object" ref="440898411"/> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3973</int> + <reference key="object" ref="956558617"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="174975366"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3971</int> + <reference key="object" ref="905386082"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="314592665"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3969</int> + <reference key="object" ref="572483755"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="752631171"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3967</int> + <reference key="object" ref="1051499117"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="300558868"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3963</int> + <reference key="object" ref="377771536"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="667596795"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">811</int> + <reference key="object" ref="437174505"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="320347598"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">602</int> + <reference key="object" ref="976558465"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="670273090"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">263</int> + <reference key="object" ref="241402549"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="27718122"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">261</int> + <reference key="object" ref="262235013"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="665575636"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">156</int> + <reference key="object" ref="744029762"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="105542136"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">146</int> + <reference key="object" ref="830088955"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="376863254"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">76</int> + <reference key="object" ref="414284874"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="310293723"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">75</int> + <reference key="object" ref="526476900"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="955984782"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">35</int> + <reference key="object" ref="33038697"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="457166030"/> + <reference ref="178353583"/> + <reference ref="398797698"/> + <reference ref="22576329"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3920</int> + <reference key="object" ref="457166030"/> + <reference key="parent" ref="33038697"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3919</int> + <reference key="object" ref="178353583"/> + <reference key="parent" ref="33038697"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3918</int> + <reference key="object" ref="398797698"/> + <reference key="parent" ref="33038697"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">36</int> + <reference key="object" ref="22576329"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="636699657"/> + </object> + <reference key="parent" ref="33038697"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">38</int> + <reference key="object" ref="636699657"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="173507854"/> + </object> + <reference key="parent" ref="22576329"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3903</int> + <reference key="object" ref="173507854"/> + <reference key="parent" ref="636699657"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3752</int> + <reference key="object" ref="955984782"/> + <reference key="parent" ref="526476900"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3753</int> + <reference key="object" ref="310293723"/> + <reference key="parent" ref="414284874"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3754</int> + <reference key="object" ref="376863254"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="747439187"/> + </object> + <reference key="parent" ref="830088955"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">147</int> + <reference key="object" ref="747439187"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1028844875"/> + </object> + <reference key="parent" ref="376863254"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">144</int> + <reference key="object" ref="1028844875"/> + <reference key="parent" ref="747439187"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3755</int> + <reference key="object" ref="105542136"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1000166734"/> + </object> + <reference key="parent" ref="744029762"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">157</int> + <reference key="object" ref="1000166734"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="129836593"/> + </object> + <reference key="parent" ref="105542136"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">154</int> + <reference key="object" ref="129836593"/> + <reference key="parent" ref="1000166734"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3759</int> + <reference key="object" ref="665575636"/> + <reference key="parent" ref="262235013"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3760</int> + <reference key="object" ref="27718122"/> + <reference key="parent" ref="241402549"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3761</int> + <reference key="object" ref="670273090"/> + <reference key="parent" ref="976558465"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3766</int> + <reference key="object" ref="320347598"/> + <reference key="parent" ref="437174505"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3964</int> + <reference key="object" ref="667596795"/> + <reference key="parent" ref="377771536"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3968</int> + <reference key="object" ref="300558868"/> + <reference key="parent" ref="1051499117"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3970</int> + <reference key="object" ref="752631171"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="281978966"/> + </object> + <reference key="parent" ref="572483755"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3976</int> + <reference key="object" ref="281978966"/> + <reference key="parent" ref="752631171"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3972</int> + <reference key="object" ref="314592665"/> + <reference key="parent" ref="905386082"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3974</int> + <reference key="object" ref="174975366"/> + <reference key="parent" ref="956558617"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">29</int> + <reference key="object" ref="461236772"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="628830973"/> + </object> + <reference key="parent" ref="831053945"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">674</int> + <reference key="object" ref="628830973"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="220777809"/> + <reference ref="1063281455"/> + </object> + <reference key="parent" ref="461236772"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">673</int> + <reference key="object" ref="220777809"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="929444095"/> + <reference ref="556517139"/> + <reference ref="474099473"/> + <reference ref="324870933"/> + <reference ref="398555609"/> + <reference ref="306936316"/> + <reference ref="22340145"/> + <reference ref="773499830"/> + <reference ref="515776460"/> + </object> + <reference key="parent" ref="628830973"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">672</int> + <reference key="object" ref="1063281455"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="933109901"/> + <reference ref="376224367"/> + <reference ref="985471352"/> + <reference ref="706172748"/> + <reference ref="714324452"/> + <reference ref="190397287"/> + </object> + <reference key="parent" ref="628830973"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3675</int> + <reference key="object" ref="933109901"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="617707076"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">287</int> + <reference key="object" ref="376224367"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="459548655"/> + <reference ref="328951385"/> + <reference ref="1019209947"/> + <reference ref="584834515"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">279</int> + <reference key="object" ref="985471352"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="749773740"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">277</int> + <reference key="object" ref="706172748"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="425551900"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">276</int> + <reference key="object" ref="714324452"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="515502959"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">275</int> + <reference key="object" ref="190397287"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="304948035"/> + </object> + <reference key="parent" ref="1063281455"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3767</int> + <reference key="object" ref="304948035"/> + <reference key="parent" ref="190397287"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3768</int> + <reference key="object" ref="515502959"/> + <reference key="parent" ref="714324452"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3769</int> + <reference key="object" ref="425551900"/> + <reference key="parent" ref="706172748"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3770</int> + <reference key="object" ref="749773740"/> + <reference key="parent" ref="985471352"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3923</int> + <reference key="object" ref="459548655"/> + <reference key="parent" ref="376224367"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3922</int> + <reference key="object" ref="328951385"/> + <reference key="parent" ref="376224367"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3921</int> + <reference key="object" ref="1019209947"/> + <reference key="parent" ref="376224367"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">289</int> + <reference key="object" ref="584834515"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="40213152"/> + <reference ref="1015114937"/> + <reference ref="980868899"/> + <reference ref="967567895"/> + <reference ref="751127306"/> + <reference ref="822910787"/> + <reference ref="220408800"/> + <reference ref="10740828"/> + <reference ref="32109262"/> + </object> + <reference key="parent" ref="376224367"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">297</int> + <reference key="object" ref="40213152"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="523867377"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">296</int> + <reference key="object" ref="1015114937"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1023225977"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">295</int> + <reference key="object" ref="980868899"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="404477694"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">294</int> + <reference key="object" ref="967567895"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="17112641"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">293</int> + <reference key="object" ref="751127306"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="220865260"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">292</int> + <reference key="object" ref="822910787"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="94186969"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">291</int> + <reference key="object" ref="220408800"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="134871682"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">290</int> + <reference key="object" ref="10740828"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="47358406"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">288</int> + <reference key="object" ref="32109262"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="531231135"/> + </object> + <reference key="parent" ref="584834515"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1314</int> + <reference key="object" ref="531231135"/> + <reference key="parent" ref="32109262"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1315</int> + <reference key="object" ref="47358406"/> + <reference key="parent" ref="10740828"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1316</int> + <reference key="object" ref="134871682"/> + <reference key="parent" ref="220408800"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1317</int> + <reference key="object" ref="94186969"/> + <reference key="parent" ref="822910787"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1323</int> + <reference key="object" ref="220865260"/> + <reference key="parent" ref="751127306"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1322</int> + <reference key="object" ref="17112641"/> + <reference key="parent" ref="967567895"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1318</int> + <reference key="object" ref="404477694"/> + <reference key="parent" ref="980868899"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1319</int> + <reference key="object" ref="1023225977"/> + <reference key="parent" ref="1015114937"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1320</int> + <reference key="object" ref="523867377"/> + <reference key="parent" ref="40213152"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3771</int> + <reference key="object" ref="617707076"/> + <reference key="parent" ref="933109901"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4503</int> + <reference key="object" ref="929444095"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="545156725"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3677</int> + <reference key="object" ref="556517139"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="230889234"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3673</int> + <reference key="object" ref="474099473"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="449911070"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1297</int> + <reference key="object" ref="324870933"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="42997882"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1294</int> + <reference key="object" ref="398555609"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="126755904"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">807</int> + <reference key="object" ref="306936316"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="183531828"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">231</int> + <reference key="object" ref="22340145"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="926883367"/> + <reference ref="456666876"/> + <reference ref="943144555"/> + <reference ref="715508012"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">74</int> + <reference key="object" ref="773499830"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="551584499"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">73</int> + <reference key="object" ref="515776460"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="615057790"/> + </object> + <reference key="parent" ref="220777809"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3772</int> + <reference key="object" ref="615057790"/> + <reference key="parent" ref="515776460"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3773</int> + <reference key="object" ref="551584499"/> + <reference key="parent" ref="773499830"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3926</int> + <reference key="object" ref="926883367"/> + <reference key="parent" ref="22340145"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3925</int> + <reference key="object" ref="456666876"/> + <reference key="parent" ref="22340145"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3924</int> + <reference key="object" ref="943144555"/> + <reference key="parent" ref="22340145"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">232</int> + <reference key="object" ref="715508012"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="962294682"/> + <reference ref="554037403"/> + <reference ref="230280632"/> + <reference ref="212523940"/> + <reference ref="128488500"/> + <reference ref="788521496"/> + <reference ref="981319728"/> + <reference ref="881882727"/> + <reference ref="45498659"/> + <reference ref="214236344"/> + </object> + <reference key="parent" ref="22340145"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">749</int> + <reference key="object" ref="962294682"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="992423758"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">748</int> + <reference key="object" ref="554037403"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="2785730"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">655</int> + <reference key="object" ref="230280632"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="242160714"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">654</int> + <reference key="object" ref="212523940"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="11555859"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">249</int> + <reference key="object" ref="128488500"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="462958080"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">248</int> + <reference key="object" ref="788521496"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="108959660"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">247</int> + <reference key="object" ref="981319728"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="564777231"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">246</int> + <reference key="object" ref="881882727"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="335366052"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">245</int> + <reference key="object" ref="45498659"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="904218650"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">233</int> + <reference key="object" ref="214236344"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="262388894"/> + </object> + <reference key="parent" ref="715508012"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1311</int> + <reference key="object" ref="262388894"/> + <reference key="parent" ref="214236344"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1304</int> + <reference key="object" ref="904218650"/> + <reference key="parent" ref="45498659"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1326</int> + <reference key="object" ref="335366052"/> + <reference key="parent" ref="881882727"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1312</int> + <reference key="object" ref="564777231"/> + <reference key="parent" ref="981319728"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1313</int> + <reference key="object" ref="108959660"/> + <reference key="parent" ref="788521496"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1309</int> + <reference key="object" ref="462958080"/> + <reference key="parent" ref="128488500"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1310</int> + <reference key="object" ref="11555859"/> + <reference key="parent" ref="212523940"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1305</int> + <reference key="object" ref="242160714"/> + <reference key="parent" ref="230280632"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1306</int> + <reference key="object" ref="2785730"/> + <reference key="parent" ref="554037403"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1307</int> + <reference key="object" ref="992423758"/> + <reference key="parent" ref="962294682"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3774</int> + <reference key="object" ref="183531828"/> + <reference key="parent" ref="306936316"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3775</int> + <reference key="object" ref="126755904"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="895670234"/> + </object> + <reference key="parent" ref="398555609"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1300</int> + <reference key="object" ref="895670234"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="344342265"/> + <reference ref="656221110"/> + <reference ref="458594219"/> + <reference ref="854036207"/> + <reference ref="896785499"/> + </object> + <reference key="parent" ref="126755904"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1293</int> + <reference key="object" ref="344342265"/> + <reference key="parent" ref="895670234"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1295</int> + <reference key="object" ref="656221110"/> + <reference key="parent" ref="895670234"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1296</int> + <reference key="object" ref="458594219"/> + <reference key="parent" ref="895670234"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1298</int> + <reference key="object" ref="854036207"/> + <reference key="parent" ref="895670234"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1299</int> + <reference key="object" ref="896785499"/> + <reference key="parent" ref="895670234"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3776</int> + <reference key="object" ref="42997882"/> + <reference key="parent" ref="324870933"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3777</int> + <reference key="object" ref="449911070"/> + <reference key="parent" ref="474099473"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3778</int> + <reference key="object" ref="230889234"/> + <reference key="parent" ref="556517139"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4504</int> + <reference key="object" ref="545156725"/> + <reference key="parent" ref="929444095"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">120</int> + <reference key="object" ref="746504912"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="894339536"/> + </object> + <reference key="parent" ref="105987292"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">670</int> + <reference key="object" ref="894339536"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="875002707"/> + <reference ref="345834048"/> + <reference ref="873437769"/> + </object> + <reference key="parent" ref="746504912"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">669</int> + <reference key="object" ref="875002707"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="910005271"/> + <reference ref="547765795"/> + <reference ref="89757399"/> + </object> + <reference key="parent" ref="894339536"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">663</int> + <reference key="object" ref="345834048"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="678281118"/> + </object> + <reference key="parent" ref="894339536"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">662</int> + <reference key="object" ref="873437769"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="872178320"/> + <reference ref="86760255"/> + <reference ref="811536132"/> + <reference ref="71560786"/> + </object> + <reference key="parent" ref="894339536"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1182</int> + <reference key="object" ref="872178320"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="416049103"/> + </object> + <reference key="parent" ref="873437769"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1175</int> + <reference key="object" ref="86760255"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="830957297"/> + </object> + <reference key="parent" ref="873437769"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">125</int> + <reference key="object" ref="811536132"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="177866566"/> + </object> + <reference key="parent" ref="873437769"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">121</int> + <reference key="object" ref="71560786"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="783638826"/> + <reference ref="413233170"/> + <reference ref="1055190999"/> + </object> + <reference key="parent" ref="873437769"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3928</int> + <reference key="object" ref="783638826"/> + <reference key="parent" ref="71560786"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3927</int> + <reference key="object" ref="413233170"/> + <reference key="parent" ref="71560786"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">122</int> + <reference key="object" ref="1055190999"/> + <reference key="parent" ref="71560786"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3779</int> + <reference key="object" ref="177866566"/> + <reference key="parent" ref="811536132"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3780</int> + <reference key="object" ref="830957297"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="766637184"/> + </object> + <reference key="parent" ref="86760255"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1183</int> + <reference key="object" ref="766637184"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="13183167"/> + </object> + <reference key="parent" ref="830957297"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1177</int> + <reference key="object" ref="13183167"/> + <reference key="parent" ref="766637184"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3781</int> + <reference key="object" ref="416049103"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="960790892"/> + </object> + <reference key="parent" ref="872178320"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1178</int> + <reference key="object" ref="960790892"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="923183582"/> + <reference ref="829073375"/> + <reference ref="5128219"/> + <reference ref="560786252"/> + </object> + <reference key="parent" ref="416049103"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1176</int> + <reference key="object" ref="923183582"/> + <reference key="parent" ref="960790892"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1179</int> + <reference key="object" ref="829073375"/> + <reference key="parent" ref="960790892"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1180</int> + <reference key="object" ref="5128219"/> + <reference key="parent" ref="960790892"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1181</int> + <reference key="object" ref="560786252"/> + <reference key="parent" ref="960790892"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">133</int> + <reference key="object" ref="678281118"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1038415606"/> + <reference ref="851610321"/> + <reference ref="472831765"/> + <reference ref="581095761"/> + </object> + <reference key="parent" ref="345834048"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3931</int> + <reference key="object" ref="1038415606"/> + <reference key="parent" ref="678281118"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3930</int> + <reference key="object" ref="851610321"/> + <reference key="parent" ref="678281118"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3929</int> + <reference key="object" ref="472831765"/> + <reference key="parent" ref="678281118"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">132</int> + <reference key="object" ref="581095761"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="544095042"/> + </object> + <reference key="parent" ref="678281118"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">131</int> + <reference key="object" ref="544095042"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="451753495"/> + </object> + <reference key="parent" ref="581095761"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1325</int> + <reference key="object" ref="451753495"/> + <reference key="parent" ref="544095042"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">298</int> + <reference key="object" ref="910005271"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="401235649"/> + </object> + <reference key="parent" ref="875002707"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">224</int> + <reference key="object" ref="547765795"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="948571736"/> + </object> + <reference key="parent" ref="875002707"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">222</int> + <reference key="object" ref="89757399"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="194978207"/> + </object> + <reference key="parent" ref="875002707"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3782</int> + <reference key="object" ref="194978207"/> + <reference key="parent" ref="89757399"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3783</int> + <reference key="object" ref="948571736"/> + <reference key="parent" ref="547765795"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3784</int> + <reference key="object" ref="401235649"/> + <reference key="parent" ref="910005271"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1246</int> + <reference key="object" ref="730602982"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="146059755"/> + <reference ref="903633749"/> + <reference ref="999259018"/> + <reference ref="963194168"/> + </object> + <reference key="parent" ref="94659530"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1272</int> + <reference key="object" ref="146059755"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="808590596"/> + <reference ref="627137778"/> + <reference ref="679980821"/> + <reference ref="843916815"/> + </object> + <reference key="parent" ref="730602982"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1267</int> + <reference key="object" ref="903633749"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="753075506"/> + </object> + <reference key="parent" ref="730602982"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1256</int> + <reference key="object" ref="999259018"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="986922460"/> + <reference ref="31458427"/> + <reference ref="12275451"/> + <reference ref="155966163"/> + </object> + <reference key="parent" ref="730602982"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1255</int> + <reference key="object" ref="963194168"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="69040626"/> + <reference ref="600770759"/> + <reference ref="215621192"/> + <reference ref="729551278"/> + </object> + <reference key="parent" ref="730602982"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1274</int> + <reference key="object" ref="69040626"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="255960453"/> + </object> + <reference key="parent" ref="963194168"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1270</int> + <reference key="object" ref="600770759"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1063149133"/> + </object> + <reference key="parent" ref="963194168"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1260</int> + <reference key="object" ref="215621192"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="590736286"/> + </object> + <reference key="parent" ref="963194168"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1271</int> + <reference key="object" ref="729551278"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="163139279"/> + </object> + <reference key="parent" ref="963194168"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3787</int> + <reference key="object" ref="163139279"/> + <reference key="parent" ref="729551278"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3785</int> + <reference key="object" ref="590736286"/> + <reference key="parent" ref="215621192"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3786</int> + <reference key="object" ref="1063149133"/> + <reference key="parent" ref="600770759"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3788</int> + <reference key="object" ref="255960453"/> + <reference key="parent" ref="69040626"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1262</int> + <reference key="object" ref="986922460"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1025610345"/> + </object> + <reference key="parent" ref="999259018"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1263</int> + <reference key="object" ref="31458427"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="408310340"/> + </object> + <reference key="parent" ref="999259018"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1273</int> + <reference key="object" ref="12275451"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="149233326"/> + </object> + <reference key="parent" ref="999259018"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1264</int> + <reference key="object" ref="155966163"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="42522837"/> + </object> + <reference key="parent" ref="999259018"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3791</int> + <reference key="object" ref="42522837"/> + <reference key="parent" ref="155966163"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3792</int> + <reference key="object" ref="149233326"/> + <reference key="parent" ref="12275451"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3790</int> + <reference key="object" ref="408310340"/> + <reference key="parent" ref="31458427"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3789</int> + <reference key="object" ref="1025610345"/> + <reference key="parent" ref="986922460"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1261</int> + <reference key="object" ref="753075506"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="830473542"/> + </object> + <reference key="parent" ref="903633749"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3793</int> + <reference key="object" ref="830473542"/> + <reference key="parent" ref="753075506"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1265</int> + <reference key="object" ref="808590596"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="437382929"/> + </object> + <reference key="parent" ref="146059755"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1269</int> + <reference key="object" ref="627137778"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="612635785"/> + </object> + <reference key="parent" ref="146059755"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1259</int> + <reference key="object" ref="679980821"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="529651943"/> + </object> + <reference key="parent" ref="146059755"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">1268</int> + <reference key="object" ref="843916815"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1049937507"/> + </object> + <reference key="parent" ref="146059755"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3796</int> + <reference key="object" ref="1049937507"/> + <reference key="parent" ref="843916815"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3794</int> + <reference key="object" ref="529651943"/> + <reference key="parent" ref="679980821"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3797</int> + <reference key="object" ref="612635785"/> + <reference key="parent" ref="627137778"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">3795</int> + <reference key="object" ref="437382929"/> + <reference key="parent" ref="808590596"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4613</int> + <reference key="object" ref="56014887"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="469429467"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4614</int> + <reference key="object" ref="137024971"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="513996797"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4615</int> + <reference key="object" ref="9472191"/> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4616</int> + <reference key="object" ref="1036241617"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="918986033"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4617</int> + <reference key="object" ref="490875589"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="517021795"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4618</int> + <reference key="object" ref="1055960504"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="847639430"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4619</int> + <reference key="object" ref="263851579"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="401083137"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4620</int> + <reference key="object" ref="264072591"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="673821105"/> + <reference ref="299513983"/> + <reference ref="993074984"/> + <reference ref="334075924"/> + <reference ref="127730482"/> + <reference ref="358689475"/> + <reference ref="526720859"/> + <reference ref="810809856"/> + <reference ref="481012484"/> + <reference ref="433607442"/> + <reference ref="835490741"/> + <reference ref="856195689"/> + <reference ref="519746463"/> + <reference ref="103604544"/> + <reference ref="426441911"/> + <reference ref="840837976"/> + <reference ref="150715027"/> + </object> + <reference key="parent" ref="339746181"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4621</int> + <reference key="object" ref="673821105"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="898691044"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4622</int> + <reference key="object" ref="299513983"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="26872399"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4623</int> + <reference key="object" ref="993074984"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="182693223"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4624</int> + <reference key="object" ref="334075924"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="880435578"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4625</int> + <reference key="object" ref="127730482"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="255193240"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4626</int> + <reference key="object" ref="358689475"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="679946795"/> + <reference ref="387182113"/> + <reference ref="902861850"/> + <reference ref="94396443"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4627</int> + <reference key="object" ref="526720859"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="400840264"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4628</int> + <reference key="object" ref="810809856"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="424757186"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4629</int> + <reference key="object" ref="481012484"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="441073813"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4630</int> + <reference key="object" ref="433607442"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="245630018"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4631</int> + <reference key="object" ref="835490741"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="869466286"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4632</int> + <reference key="object" ref="856195689"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="706312713"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4633</int> + <reference key="object" ref="519746463"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="941521334"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4634</int> + <reference key="object" ref="103604544"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="907916207"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4635</int> + <reference key="object" ref="426441911"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="403608030"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4636</int> + <reference key="object" ref="840837976"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="444634107"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4637</int> + <reference key="object" ref="150715027"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1059854410"/> + </object> + <reference key="parent" ref="264072591"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4638</int> + <reference key="object" ref="1059854410"/> + <reference key="parent" ref="150715027"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4639</int> + <reference key="object" ref="444634107"/> + <reference key="parent" ref="840837976"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4640</int> + <reference key="object" ref="403608030"/> + <reference key="parent" ref="426441911"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4641</int> + <reference key="object" ref="907916207"/> + <reference key="parent" ref="103604544"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4642</int> + <reference key="object" ref="941521334"/> + <reference key="parent" ref="519746463"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4643</int> + <reference key="object" ref="706312713"/> + <reference key="parent" ref="856195689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4644</int> + <reference key="object" ref="869466286"/> + <reference key="parent" ref="835490741"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4645</int> + <reference key="object" ref="245630018"/> + <reference key="parent" ref="433607442"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4646</int> + <reference key="object" ref="441073813"/> + <reference key="parent" ref="481012484"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4647</int> + <reference key="object" ref="424757186"/> + <reference key="parent" ref="810809856"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4648</int> + <reference key="object" ref="400840264"/> + <reference key="parent" ref="526720859"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4649</int> + <reference key="object" ref="679946795"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="389154451"/> + </object> + <reference key="parent" ref="358689475"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4650</int> + <reference key="object" ref="387182113"/> + <reference key="parent" ref="358689475"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4651</int> + <reference key="object" ref="902861850"/> + <reference key="parent" ref="358689475"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4652</int> + <reference key="object" ref="94396443"/> + <reference key="parent" ref="358689475"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4653</int> + <reference key="object" ref="389154451"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="664196905"/> + </object> + <reference key="parent" ref="679946795"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4654</int> + <reference key="object" ref="664196905"/> + <reference key="parent" ref="389154451"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4655</int> + <reference key="object" ref="255193240"/> + <reference key="parent" ref="127730482"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4656</int> + <reference key="object" ref="880435578"/> + <reference key="parent" ref="334075924"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4657</int> + <reference key="object" ref="182693223"/> + <reference key="parent" ref="993074984"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4658</int> + <reference key="object" ref="26872399"/> + <reference key="parent" ref="299513983"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4659</int> + <reference key="object" ref="898691044"/> + <reference key="parent" ref="673821105"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4660</int> + <reference key="object" ref="401083137"/> + <reference key="parent" ref="263851579"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4661</int> + <reference key="object" ref="847639430"/> + <reference key="parent" ref="1055960504"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4662</int> + <reference key="object" ref="517021795"/> + <reference key="parent" ref="490875589"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4663</int> + <reference key="object" ref="918986033"/> + <reference key="parent" ref="1036241617"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4664</int> + <reference key="object" ref="513996797"/> + <reference key="parent" ref="137024971"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4665</int> + <reference key="object" ref="469429467"/> + <reference key="parent" ref="56014887"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4676</int> + <reference key="object" ref="983589239"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="322691380"/> + </object> + <reference key="parent" ref="1013108064"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">4677</int> + <reference key="object" ref="322691380"/> + <reference key="parent" ref="983589239"/> + </object> + </object> + </object> + <object class="NSMutableDictionary" key="flattenedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>-1.IBPluginDependency</string> + <string>-2.IBPluginDependency</string> + <string>-3.IBPluginDependency</string> + <string>-3.ImportedFromIB2</string> + <string>1007.IBPluginDependency</string> + <string>1007.ImportedFromIB2</string> + <string>1008.IBPluginDependency</string> + <string>1008.ImportedFromIB2</string> + <string>1009.IBAttributePlaceholdersKey</string> + <string>1009.IBPluginDependency</string> + <string>1009.ImportedFromIB2</string> + <string>1010.IBPluginDependency</string> + <string>1010.ImportedFromIB2</string> + <string>1011.IBAttributePlaceholdersKey</string> + <string>1011.IBPluginDependency</string> + <string>1011.ImportedFromIB2</string> + <string>1012.IBPluginDependency</string> + <string>1012.ImportedFromIB2</string> + <string>1013.IBAttributePlaceholdersKey</string> + <string>1013.IBPluginDependency</string> + <string>1013.ImportedFromIB2</string> + <string>1014.IBAttributePlaceholdersKey</string> + <string>1014.IBPluginDependency</string> + <string>1014.ImportedFromIB2</string> + <string>1015.IBPluginDependency</string> + <string>1015.ImportedFromIB2</string> + <string>1058.IBEditorWindowLastContentRect</string> + <string>1058.IBPluginDependency</string> + <string>1058.ImportedFromIB2</string> + <string>1073.IBAttributePlaceholdersKey</string> + <string>1073.IBPluginDependency</string> + <string>1073.ImportedFromIB2</string> + <string>1074.IBPluginDependency</string> + <string>1074.ImportedFromIB2</string> + <string>1075.IBPluginDependency</string> + <string>1075.ImportedFromIB2</string> + <string>1076.IBPluginDependency</string> + <string>1076.ImportedFromIB2</string> + <string>1077.IBPluginDependency</string> + <string>1077.ImportedFromIB2</string> + <string>1078.IBAttributePlaceholdersKey</string> + <string>1078.IBPluginDependency</string> + <string>1078.ImportedFromIB2</string> + <string>1079.IBPluginDependency</string> + <string>1079.ImportedFromIB2</string> + <string>1080.IBAttributePlaceholdersKey</string> + <string>1080.IBPluginDependency</string> + <string>1080.ImportedFromIB2</string> + <string>1081.IBAttributePlaceholdersKey</string> + <string>1081.IBPluginDependency</string> + <string>1081.ImportedFromIB2</string> + <string>1086.IBPluginDependency</string> + <string>1086.ImportedFromIB2</string> + <string>1087.IBAttributePlaceholdersKey</string> + <string>1087.IBPluginDependency</string> + <string>1087.ImportedFromIB2</string> + <string>1088.IBAttributePlaceholdersKey</string> + <string>1088.IBPluginDependency</string> + <string>1088.ImportedFromIB2</string> + <string>1089.IBAttributePlaceholdersKey</string> + <string>1089.IBPluginDependency</string> + <string>1089.ImportedFromIB2</string> + <string>1090.IBPluginDependency</string> + <string>1090.ImportedFromIB2</string> + <string>1091.IBPluginDependency</string> + <string>1091.ImportedFromIB2</string> + <string>1092.IBPluginDependency</string> + <string>1092.ImportedFromIB2</string> + <string>1113.IBEditorWindowLastContentRect</string> + <string>1113.IBPluginDependency</string> + <string>1113.ImportedFromIB2</string> + <string>1114.IBPluginDependency</string> + <string>1114.ImportedFromIB2</string> + <string>1115.IBAttributePlaceholdersKey</string> + <string>1115.IBPluginDependency</string> + <string>1115.ImportedFromIB2</string> + <string>1116.IBAttributePlaceholdersKey</string> + <string>1116.IBPluginDependency</string> + <string>1116.ImportedFromIB2</string> + <string>1117.IBAttributePlaceholdersKey</string> + <string>1117.IBPluginDependency</string> + <string>1117.ImportedFromIB2</string> + <string>1118.IBPluginDependency</string> + <string>1118.ImportedFromIB2</string> + <string>1119.IBPluginDependency</string> + <string>1119.ImportedFromIB2</string> + <string>1120.IBPluginDependency</string> + <string>1120.ImportedFromIB2</string> + <string>1130.IBPluginDependency</string> + <string>1130.ImportedFromIB2</string> + <string>1131.IBPluginDependency</string> + <string>1131.ImportedFromIB2</string> + <string>1175.IBAttributePlaceholdersKey</string> + <string>1175.IBPluginDependency</string> + <string>1175.ImportedFromIB2</string> + <string>1176.IBPluginDependency</string> + <string>1176.ImportedFromIB2</string> + <string>1177.IBPluginDependency</string> + <string>1177.ImportedFromIB2</string> + <string>1178.IBPluginDependency</string> + <string>1178.ImportedFromIB2</string> + <string>1179.IBPluginDependency</string> + <string>1179.ImportedFromIB2</string> + <string>1180.IBPluginDependency</string> + <string>1180.ImportedFromIB2</string> + <string>1181.IBPluginDependency</string> + <string>1181.ImportedFromIB2</string> + <string>1182.IBAttributePlaceholdersKey</string> + <string>1182.IBPluginDependency</string> + <string>1182.ImportedFromIB2</string> + <string>1183.IBPluginDependency</string> + <string>1183.ImportedFromIB2</string> + <string>119.IBPluginDependency</string> + <string>119.ImportedFromIB2</string> + <string>120.IBPluginDependency</string> + <string>120.ImportedFromIB2</string> + <string>121.IBPluginDependency</string> + <string>121.ImportedFromIB2</string> + <string>1214.IBPluginDependency</string> + <string>1214.ImportedFromIB2</string> + <string>1215.IBPluginDependency</string> + <string>1215.ImportedFromIB2</string> + <string>1216.IBPluginDependency</string> + <string>1216.ImportedFromIB2</string> + <string>1217.IBPluginDependency</string> + <string>1217.ImportedFromIB2</string> + <string>1218.IBPluginDependency</string> + <string>1218.ImportedFromIB2</string> + <string>122.CustomClassName</string> + <string>122.IBPluginDependency</string> + <string>122.ImportedFromIB2</string> + <string>1221.IBPluginDependency</string> + <string>1221.ImportedFromIB2</string> + <string>1222.IBPluginDependency</string> + <string>1222.ImportedFromIB2</string> + <string>1223.IBPluginDependency</string> + <string>1223.ImportedFromIB2</string> + <string>1224.IBPluginDependency</string> + <string>1224.ImportedFromIB2</string> + <string>1225.IBPluginDependency</string> + <string>1225.ImportedFromIB2</string> + <string>1226.IBPluginDependency</string> + <string>1226.ImportedFromIB2</string> + <string>1227.CustomClassName</string> + <string>1227.IBPluginDependency</string> + <string>1227.ImportedFromIB2</string> + <string>1230.IBPluginDependency</string> + <string>1230.ImportedFromIB2</string> + <string>1231.IBPluginDependency</string> + <string>1231.ImportedFromIB2</string> + <string>1245.IBPluginDependency</string> + <string>1245.ImportedFromIB2</string> + <string>1246.IBPluginDependency</string> + <string>1246.ImportedFromIB2</string> + <string>125.IBAttributePlaceholdersKey</string> + <string>125.IBPluginDependency</string> + <string>125.ImportedFromIB2</string> + <string>1255.IBPluginDependency</string> + <string>1255.ImportedFromIB2</string> + <string>1256.IBPluginDependency</string> + <string>1256.ImportedFromIB2</string> + <string>1259.IBPluginDependency</string> + <string>1259.ImportedFromIB2</string> + <string>1260.IBPluginDependency</string> + <string>1260.ImportedFromIB2</string> + <string>1261.IBPluginDependency</string> + <string>1261.ImportedFromIB2</string> + <string>1262.IBPluginDependency</string> + <string>1262.ImportedFromIB2</string> + <string>1263.IBPluginDependency</string> + <string>1263.ImportedFromIB2</string> + <string>1264.IBPluginDependency</string> + <string>1264.ImportedFromIB2</string> + <string>1265.IBPluginDependency</string> + <string>1265.ImportedFromIB2</string> + <string>1267.IBPluginDependency</string> + <string>1267.ImportedFromIB2</string> + <string>1268.IBPluginDependency</string> + <string>1268.ImportedFromIB2</string> + <string>1269.IBPluginDependency</string> + <string>1269.ImportedFromIB2</string> + <string>1270.IBPluginDependency</string> + <string>1270.ImportedFromIB2</string> + <string>1271.IBPluginDependency</string> + <string>1271.ImportedFromIB2</string> + <string>1272.IBPluginDependency</string> + <string>1272.ImportedFromIB2</string> + <string>1273.IBPluginDependency</string> + <string>1273.ImportedFromIB2</string> + <string>1274.IBPluginDependency</string> + <string>1274.ImportedFromIB2</string> + <string>1277.IBPluginDependency</string> + <string>1277.ImportedFromIB2</string> + <string>1293.IBPluginDependency</string> + <string>1293.ImportedFromIB2</string> + <string>1294.IBPluginDependency</string> + <string>1294.ImportedFromIB2</string> + <string>1295.IBPluginDependency</string> + <string>1295.ImportedFromIB2</string> + <string>1296.IBPluginDependency</string> + <string>1296.ImportedFromIB2</string> + <string>1297.IBPluginDependency</string> + <string>1297.ImportedFromIB2</string> + <string>1298.IBPluginDependency</string> + <string>1298.ImportedFromIB2</string> + <string>1299.IBPluginDependency</string> + <string>1299.ImportedFromIB2</string> + <string>1300.IBPluginDependency</string> + <string>1300.ImportedFromIB2</string> + <string>1304.IBPluginDependency</string> + <string>1304.ImportedFromIB2</string> + <string>1305.IBPluginDependency</string> + <string>1305.ImportedFromIB2</string> + <string>1306.IBPluginDependency</string> + <string>1306.ImportedFromIB2</string> + <string>1307.IBPluginDependency</string> + <string>1307.ImportedFromIB2</string> + <string>1309.IBPluginDependency</string> + <string>1309.ImportedFromIB2</string> + <string>131.IBPluginDependency</string> + <string>131.ImportedFromIB2</string> + <string>1310.IBPluginDependency</string> + <string>1310.ImportedFromIB2</string> + <string>1311.IBPluginDependency</string> + <string>1311.ImportedFromIB2</string> + <string>1312.IBPluginDependency</string> + <string>1312.ImportedFromIB2</string> + <string>1313.IBPluginDependency</string> + <string>1313.ImportedFromIB2</string> + <string>1314.IBPluginDependency</string> + <string>1314.ImportedFromIB2</string> + <string>1315.IBPluginDependency</string> + <string>1315.ImportedFromIB2</string> + <string>1316.IBPluginDependency</string> + <string>1316.ImportedFromIB2</string> + <string>1317.IBPluginDependency</string> + <string>1317.ImportedFromIB2</string> + <string>1318.IBPluginDependency</string> + <string>1318.ImportedFromIB2</string> + <string>1319.IBPluginDependency</string> + <string>1319.ImportedFromIB2</string> + <string>132.CustomClassName</string> + <string>132.IBPluginDependency</string> + <string>132.ImportedFromIB2</string> + <string>1320.IBPluginDependency</string> + <string>1320.ImportedFromIB2</string> + <string>1322.IBPluginDependency</string> + <string>1322.ImportedFromIB2</string> + <string>1323.IBPluginDependency</string> + <string>1323.ImportedFromIB2</string> + <string>1325.IBPluginDependency</string> + <string>1325.ImportedFromIB2</string> + <string>1326.IBPluginDependency</string> + <string>1326.ImportedFromIB2</string> + <string>133.IBPluginDependency</string> + <string>133.ImportedFromIB2</string> + <string>134.IBPluginDependency</string> + <string>134.ImportedFromIB2</string> + <string>144.IBPluginDependency</string> + <string>144.ImportedFromIB2</string> + <string>146.IBAttributePlaceholdersKey</string> + <string>146.IBPluginDependency</string> + <string>146.ImportedFromIB2</string> + <string>147.IBPluginDependency</string> + <string>147.ImportedFromIB2</string> + <string>154.IBPluginDependency</string> + <string>154.ImportedFromIB2</string> + <string>156.IBAttributePlaceholdersKey</string> + <string>156.IBPluginDependency</string> + <string>156.ImportedFromIB2</string> + <string>157.IBPluginDependency</string> + <string>157.ImportedFromIB2</string> + <string>157.editorWindowContentRectSynchronizationRect</string> + <string>1907.IBPluginDependency</string> + <string>1907.ImportedFromIB2</string> + <string>1911.IBPluginDependency</string> + <string>1911.ImportedFromIB2</string> + <string>1914.IBPluginDependency</string> + <string>1914.ImportedFromIB2</string> + <string>1916.IBPluginDependency</string> + <string>1916.ImportedFromIB2</string> + <string>1919.IBPluginDependency</string> + <string>1919.ImportedFromIB2</string> + <string>1920.IBPluginDependency</string> + <string>1920.ImportedFromIB2</string> + <string>206.IBAttributePlaceholdersKey</string> + <string>206.IBPluginDependency</string> + <string>206.ImportedFromIB2</string> + <string>21.IBPluginDependency</string> + <string>21.ImportedFromIB2</string> + <string>217.IBAttributePlaceholdersKey</string> + <string>217.IBPluginDependency</string> + <string>217.ImportedFromIB2</string> + <string>22.IBPluginDependency</string> + <string>22.ImportedFromIB2</string> + <string>222.IBPluginDependency</string> + <string>222.ImportedFromIB2</string> + <string>224.IBPluginDependency</string> + <string>224.ImportedFromIB2</string> + <string>2260.IBPluginDependency</string> + <string>2260.ImportedFromIB2</string> + <string>2261.IBPluginDependency</string> + <string>2261.ImportedFromIB2</string> + <string>2264.IBPluginDependency</string> + <string>2264.ImportedFromIB2</string> + <string>2266.IBPluginDependency</string> + <string>2266.ImportedFromIB2</string> + <string>2268.IBPluginDependency</string> + <string>2268.ImportedFromIB2</string> + <string>2273.IBPluginDependency</string> + <string>2273.ImportedFromIB2</string> + <string>23.IBPluginDependency</string> + <string>23.ImportedFromIB2</string> + <string>231.IBPluginDependency</string> + <string>231.ImportedFromIB2</string> + <string>232.IBPluginDependency</string> + <string>232.ImportedFromIB2</string> + <string>233.IBPluginDependency</string> + <string>233.ImportedFromIB2</string> + <string>245.IBPluginDependency</string> + <string>245.ImportedFromIB2</string> + <string>246.IBPluginDependency</string> + <string>246.ImportedFromIB2</string> + <string>247.IBPluginDependency</string> + <string>247.ImportedFromIB2</string> + <string>248.IBPluginDependency</string> + <string>248.ImportedFromIB2</string> + <string>249.IBPluginDependency</string> + <string>249.ImportedFromIB2</string> + <string>25.IBPluginDependency</string> + <string>25.ImportedFromIB2</string> + <string>253.IBPluginDependency</string> + <string>253.ImportedFromIB2</string> + <string>254.IBPluginDependency</string> + <string>254.ImportedFromIB2</string> + <string>255.IBPluginDependency</string> + <string>255.ImportedFromIB2</string> + <string>256.IBPluginDependency</string> + <string>256.ImportedFromIB2</string> + <string>257.IBPluginDependency</string> + <string>257.ImportedFromIB2</string> + <string>26.IBPluginDependency</string> + <string>26.ImportedFromIB2</string> + <string>261.IBPluginDependency</string> + <string>261.ImportedFromIB2</string> + <string>263.IBAttributePlaceholdersKey</string> + <string>263.IBPluginDependency</string> + <string>263.ImportedFromIB2</string> + <string>27.IBPluginDependency</string> + <string>27.ImportedFromIB2</string> + <string>275.IBAttributePlaceholdersKey</string> + <string>275.IBPluginDependency</string> + <string>275.ImportedFromIB2</string> + <string>276.IBAttributePlaceholdersKey</string> + <string>276.IBPluginDependency</string> + <string>276.ImportedFromIB2</string> + <string>277.IBAttributePlaceholdersKey</string> + <string>277.IBPluginDependency</string> + <string>277.ImportedFromIB2</string> + <string>279.IBPluginDependency</string> + <string>279.ImportedFromIB2</string> + <string>28.IBPluginDependency</string> + <string>28.ImportedFromIB2</string> + <string>2863.IBPluginDependency</string> + <string>2863.ImportedFromIB2</string> + <string>287.IBPluginDependency</string> + <string>287.ImportedFromIB2</string> + <string>288.IBPluginDependency</string> + <string>288.ImportedFromIB2</string> + <string>289.IBPluginDependency</string> + <string>289.ImportedFromIB2</string> + <string>29.IBPluginDependency</string> + <string>29.ImportedFromIB2</string> + <string>290.IBPluginDependency</string> + <string>290.ImportedFromIB2</string> + <string>291.IBPluginDependency</string> + <string>291.ImportedFromIB2</string> + <string>292.IBPluginDependency</string> + <string>292.ImportedFromIB2</string> + <string>293.IBPluginDependency</string> + <string>293.ImportedFromIB2</string> + <string>294.IBPluginDependency</string> + <string>294.ImportedFromIB2</string> + <string>295.IBPluginDependency</string> + <string>295.ImportedFromIB2</string> + <string>296.IBPluginDependency</string> + <string>296.ImportedFromIB2</string> + <string>297.IBPluginDependency</string> + <string>297.ImportedFromIB2</string> + <string>298.IBPluginDependency</string> + <string>298.ImportedFromIB2</string> + <string>30.IBAttributePlaceholdersKey</string> + <string>30.IBPluginDependency</string> + <string>30.ImportedFromIB2</string> + <string>320.IBEditorWindowLastContentRect</string> + <string>320.IBWindowTemplateEditedContentRect</string> + <string>320.ImportedFromIB2</string> + <string>320.windowTemplate.hasMaxSize</string> + <string>320.windowTemplate.hasMinSize</string> + <string>320.windowTemplate.maxSize</string> + <string>320.windowTemplate.minSize</string> + <string>321.IBPluginDependency</string> + <string>321.ImportedFromIB2</string> + <string>323.IBAttributePlaceholdersKey</string> + <string>323.IBPluginDependency</string> + <string>323.ImportedFromIB2</string> + <string>324.IBPluginDependency</string> + <string>324.ImportedFromIB2</string> + <string>325.IBPluginDependency</string> + <string>325.ImportedFromIB2</string> + <string>326.IBPluginDependency</string> + <string>326.ImportedFromIB2</string> + <string>327.IBPluginDependency</string> + <string>327.ImportedFromIB2</string> + <string>328.IBPluginDependency</string> + <string>328.ImportedFromIB2</string> + <string>329.IBAttributePlaceholdersKey</string> + <string>329.IBPluginDependency</string> + <string>329.ImportedFromIB2</string> + <string>330.IBPluginDependency</string> + <string>330.ImportedFromIB2</string> + <string>331.IBPluginDependency</string> + <string>331.ImportedFromIB2</string> + <string>332.IBAttributePlaceholdersKey</string> + <string>332.IBPluginDependency</string> + <string>332.ImportedFromIB2</string> + <string>333.IBPluginDependency</string> + <string>333.ImportedFromIB2</string> + <string>334.IBPluginDependency</string> + <string>334.ImportedFromIB2</string> + <string>335.IBPluginDependency</string> + <string>335.ImportedFromIB2</string> + <string>35.IBPluginDependency</string> + <string>35.ImportedFromIB2</string> + <string>36.CustomClassName</string> + <string>36.IBPluginDependency</string> + <string>36.ImportedFromIB2</string> + <string>362.IBPluginDependency</string> + <string>362.ImportedFromIB2</string> + <string>3673.IBPluginDependency</string> + <string>3673.ImportedFromIB2</string> + <string>3675.IBPluginDependency</string> + <string>3675.ImportedFromIB2</string> + <string>3677.IBAttributePlaceholdersKey</string> + <string>3677.IBPluginDependency</string> + <string>3677.ImportedFromIB2</string> + <string>3746.IBPluginDependency</string> + <string>3747.IBPluginDependency</string> + <string>3748.IBPluginDependency</string> + <string>3749.IBPluginDependency</string> + <string>3751.IBPluginDependency</string> + <string>3752.IBPluginDependency</string> + <string>3753.IBPluginDependency</string> + <string>3754.IBPluginDependency</string> + <string>3755.IBPluginDependency</string> + <string>3759.IBPluginDependency</string> + <string>3760.IBPluginDependency</string> + <string>3761.IBPluginDependency</string> + <string>3766.IBPluginDependency</string> + <string>3767.IBPluginDependency</string> + <string>3768.IBPluginDependency</string> + <string>3769.IBPluginDependency</string> + <string>3770.IBPluginDependency</string> + <string>3771.IBPluginDependency</string> + <string>3772.IBPluginDependency</string> + <string>3773.IBPluginDependency</string> + <string>3774.IBPluginDependency</string> + <string>3775.IBPluginDependency</string> + <string>3776.IBPluginDependency</string> + <string>3777.IBPluginDependency</string> + <string>3778.IBPluginDependency</string> + <string>3779.IBPluginDependency</string> + <string>3780.IBPluginDependency</string> + <string>3781.IBPluginDependency</string> + <string>3782.IBPluginDependency</string> + <string>3783.IBPluginDependency</string> + <string>3784.IBPluginDependency</string> + <string>3785.IBPluginDependency</string> + <string>3786.IBPluginDependency</string> + <string>3787.IBPluginDependency</string> + <string>3788.IBPluginDependency</string> + <string>3789.IBPluginDependency</string> + <string>3790.IBPluginDependency</string> + <string>3791.IBPluginDependency</string> + <string>3792.IBPluginDependency</string> + <string>3793.IBPluginDependency</string> + <string>3794.IBPluginDependency</string> + <string>3795.IBPluginDependency</string> + <string>3796.IBPluginDependency</string> + <string>3797.IBPluginDependency</string> + <string>3798.IBPluginDependency</string> + <string>3799.IBPluginDependency</string> + <string>38.IBPluginDependency</string> + <string>38.ImportedFromIB2</string> + <string>3800.IBPluginDependency</string> + <string>3801.IBPluginDependency</string> + <string>3802.IBPluginDependency</string> + <string>3803.IBPluginDependency</string> + <string>3804.IBPluginDependency</string> + <string>3805.IBPluginDependency</string> + <string>3806.IBPluginDependency</string> + <string>3807.IBPluginDependency</string> + <string>3808.IBPluginDependency</string> + <string>3809.IBPluginDependency</string> + <string>3810.IBPluginDependency</string> + <string>3811.IBPluginDependency</string> + <string>3812.IBPluginDependency</string> + <string>3813.IBPluginDependency</string> + <string>3814.IBPluginDependency</string> + <string>3815.IBPluginDependency</string> + <string>3817.IBPluginDependency</string> + <string>3818.IBPluginDependency</string> + <string>3819.IBPluginDependency</string> + <string>3820.IBPluginDependency</string> + <string>3821.IBPluginDependency</string> + <string>3822.IBPluginDependency</string> + <string>3823.IBPluginDependency</string> + <string>3824.IBPluginDependency</string> + <string>3825.IBPluginDependency</string> + <string>3826.IBPluginDependency</string> + <string>3827.IBPluginDependency</string> + <string>3828.IBPluginDependency</string> + <string>3829.IBPluginDependency</string> + <string>3830.IBPluginDependency</string> + <string>3831.IBPluginDependency</string> + <string>3832.IBPluginDependency</string> + <string>3833.IBPluginDependency</string> + <string>3834.IBPluginDependency</string> + <string>3835.IBPluginDependency</string> + <string>3836.IBPluginDependency</string> + <string>3837.IBPluginDependency</string> + <string>3838.IBPluginDependency</string> + <string>3839.IBPluginDependency</string> + <string>3840.IBPluginDependency</string> + <string>3841.IBPluginDependency</string> + <string>3842.IBPluginDependency</string> + <string>3843.IBPluginDependency</string> + <string>3844.IBPluginDependency</string> + <string>3845.IBPluginDependency</string> + <string>3846.IBPluginDependency</string> + <string>3847.IBPluginDependency</string> + <string>3848.IBPluginDependency</string> + <string>3849.IBPluginDependency</string> + <string>3850.IBPluginDependency</string> + <string>3851.IBPluginDependency</string> + <string>3852.IBPluginDependency</string> + <string>3853.IBPluginDependency</string> + <string>3854.IBPluginDependency</string> + <string>3855.IBPluginDependency</string> + <string>3856.IBPluginDependency</string> + <string>3857.IBPluginDependency</string> + <string>3858.IBPluginDependency</string> + <string>3860.IBPluginDependency</string> + <string>3861.IBPluginDependency</string> + <string>3862.IBPluginDependency</string> + <string>3863.IBPluginDependency</string> + <string>3864.IBPluginDependency</string> + <string>3865.IBPluginDependency</string> + <string>3866.IBPluginDependency</string> + <string>3867.IBPluginDependency</string> + <string>3868.IBPluginDependency</string> + <string>3869.IBPluginDependency</string> + <string>3879.IBPluginDependency</string> + <string>3880.IBPluginDependency</string> + <string>3881.IBPluginDependency</string> + <string>3882.IBPluginDependency</string> + <string>3883.IBPluginDependency</string> + <string>3884.IBPluginDependency</string> + <string>3885.IBPluginDependency</string> + <string>3886.IBPluginDependency</string> + <string>3887.IBPluginDependency</string> + <string>3888.IBPluginDependency</string> + <string>3889.IBPluginDependency</string> + <string>3890.IBPluginDependency</string> + <string>3891.IBPluginDependency</string> + <string>3892.IBPluginDependency</string> + <string>3893.IBPluginDependency</string> + <string>39.IBEditorWindowLastContentRect</string> + <string>39.IBWindowTemplateEditedContentRect</string> + <string>39.ImportedFromIB2</string> + <string>39.editorWindowContentRectSynchronizationRect</string> + <string>39.windowTemplate.hasMaxSize</string> + <string>39.windowTemplate.hasMinSize</string> + <string>39.windowTemplate.maxSize</string> + <string>39.windowTemplate.minSize</string> + <string>3903.IBPluginDependency</string> + <string>3903.IBShouldRemoveOnLegacySave</string> + <string>3904.IBPluginDependency</string> + <string>3904.IBShouldRemoveOnLegacySave</string> + <string>3905.IBPluginDependency</string> + <string>3905.IBShouldRemoveOnLegacySave</string> + <string>3906.IBPluginDependency</string> + <string>3906.IBShouldRemoveOnLegacySave</string> + <string>3907.IBPluginDependency</string> + <string>3907.IBShouldRemoveOnLegacySave</string> + <string>3908.IBPluginDependency</string> + <string>3908.IBShouldRemoveOnLegacySave</string> + <string>3909.IBPluginDependency</string> + <string>3909.IBShouldRemoveOnLegacySave</string> + <string>3910.IBPluginDependency</string> + <string>3910.IBShouldRemoveOnLegacySave</string> + <string>3911.IBPluginDependency</string> + <string>3911.IBShouldRemoveOnLegacySave</string> + <string>3912.IBPluginDependency</string> + <string>3912.IBShouldRemoveOnLegacySave</string> + <string>3915.IBPluginDependency</string> + <string>3915.IBShouldRemoveOnLegacySave</string> + <string>3916.IBPluginDependency</string> + <string>3916.IBShouldRemoveOnLegacySave</string> + <string>3918.IBPluginDependency</string> + <string>3918.IBShouldRemoveOnLegacySave</string> + <string>3919.IBPluginDependency</string> + <string>3919.IBShouldRemoveOnLegacySave</string> + <string>3920.IBPluginDependency</string> + <string>3920.IBShouldRemoveOnLegacySave</string> + <string>3921.IBPluginDependency</string> + <string>3921.IBShouldRemoveOnLegacySave</string> + <string>3922.IBPluginDependency</string> + <string>3922.IBShouldRemoveOnLegacySave</string> + <string>3923.IBPluginDependency</string> + <string>3923.IBShouldRemoveOnLegacySave</string> + <string>3924.IBPluginDependency</string> + <string>3924.IBShouldRemoveOnLegacySave</string> + <string>3925.IBPluginDependency</string> + <string>3925.IBShouldRemoveOnLegacySave</string> + <string>3926.IBPluginDependency</string> + <string>3926.IBShouldRemoveOnLegacySave</string> + <string>3927.IBPluginDependency</string> + <string>3927.IBShouldRemoveOnLegacySave</string> + <string>3928.IBPluginDependency</string> + <string>3928.IBShouldRemoveOnLegacySave</string> + <string>3929.IBPluginDependency</string> + <string>3929.IBShouldRemoveOnLegacySave</string> + <string>3930.IBPluginDependency</string> + <string>3930.IBShouldRemoveOnLegacySave</string> + <string>3931.IBPluginDependency</string> + <string>3931.IBShouldRemoveOnLegacySave</string> + <string>3932.IBPluginDependency</string> + <string>3932.IBShouldRemoveOnLegacySave</string> + <string>3933.IBPluginDependency</string> + <string>3933.IBShouldRemoveOnLegacySave</string> + <string>3934.IBPluginDependency</string> + <string>3934.IBShouldRemoveOnLegacySave</string> + <string>3935.IBPluginDependency</string> + <string>3935.IBShouldRemoveOnLegacySave</string> + <string>3936.IBPluginDependency</string> + <string>3936.IBShouldRemoveOnLegacySave</string> + <string>3937.IBPluginDependency</string> + <string>3937.IBShouldRemoveOnLegacySave</string> + <string>3938.IBPluginDependency</string> + <string>3938.IBShouldRemoveOnLegacySave</string> + <string>3939.IBPluginDependency</string> + <string>3939.IBShouldRemoveOnLegacySave</string> + <string>3940.IBPluginDependency</string> + <string>3940.IBShouldRemoveOnLegacySave</string> + <string>3941.IBPluginDependency</string> + <string>3941.IBShouldRemoveOnLegacySave</string> + <string>3942.IBPluginDependency</string> + <string>3942.IBShouldRemoveOnLegacySave</string> + <string>3943.IBPluginDependency</string> + <string>3943.IBShouldRemoveOnLegacySave</string> + <string>3944.IBPluginDependency</string> + <string>3944.IBShouldRemoveOnLegacySave</string> + <string>3945.IBPluginDependency</string> + <string>3945.IBShouldRemoveOnLegacySave</string> + <string>3946.IBPluginDependency</string> + <string>3946.IBShouldRemoveOnLegacySave</string> + <string>3947.IBPluginDependency</string> + <string>3947.IBShouldRemoveOnLegacySave</string> + <string>3948.IBPluginDependency</string> + <string>3948.IBShouldRemoveOnLegacySave</string> + <string>3951.IBPluginDependency</string> + <string>3951.IBShouldRemoveOnLegacySave</string> + <string>3952.IBPluginDependency</string> + <string>3952.IBShouldRemoveOnLegacySave</string> + <string>3953.IBPluginDependency</string> + <string>3953.IBShouldRemoveOnLegacySave</string> + <string>3954.IBPluginDependency</string> + <string>3954.IBShouldRemoveOnLegacySave</string> + <string>3955.IBPluginDependency</string> + <string>3955.IBShouldRemoveOnLegacySave</string> + <string>3956.IBPluginDependency</string> + <string>3956.IBShouldRemoveOnLegacySave</string> + <string>3957.IBPluginDependency</string> + <string>3957.IBShouldRemoveOnLegacySave</string> + <string>3958.IBPluginDependency</string> + <string>3958.IBShouldRemoveOnLegacySave</string> + <string>3963.IBPluginDependency</string> + <string>3964.IBPluginDependency</string> + <string>3967.IBPluginDependency</string> + <string>3967.ImportedFromIB2</string> + <string>3968.IBPluginDependency</string> + <string>3969.IBPluginDependency</string> + <string>3970.IBPluginDependency</string> + <string>3971.IBPluginDependency</string> + <string>3972.IBPluginDependency</string> + <string>3973.IBPluginDependency</string> + <string>3974.IBPluginDependency</string> + <string>3976.IBPluginDependency</string> + <string>3981.IBPluginDependency</string> + <string>3981.IBViewIntegration.shadowBlurRadius</string> + <string>3981.IBViewIntegration.shadowColor</string> + <string>3981.IBViewIntegration.shadowOffsetHeight</string> + <string>3981.IBViewIntegration.shadowOffsetWidth</string> + <string>3981.editorWindowContentRectSynchronizationRect</string> + <string>3982.IBPluginDependency</string> + <string>3983.IBPluginDependency</string> + <string>3984.IBPluginDependency</string> + <string>3987.IBEditorWindowLastContentRect</string> + <string>3987.IBWindowTemplateEditedContentRect</string> + <string>3987.NSWindowTemplate.visibleAtLaunch</string> + <string>3987.editorWindowContentRectSynchronizationRect</string> + <string>3987.windowTemplate.hasMaxSize</string> + <string>3987.windowTemplate.maxSize</string> + <string>3988.IBPluginDependency</string> + <string>3990.IBPluginDependency</string> + <string>3991.IBPluginDependency</string> + <string>3994.IBEditorWindowLastContentRect</string> + <string>3994.IBPluginDependency</string> + <string>3994.WindowOrigin</string> + <string>3994.editorWindowContentRectSynchronizationRect</string> + <string>3995.IBPluginDependency</string> + <string>3996.IBPluginDependency</string> + <string>3997.IBEditorWindowLastContentRect</string> + <string>3997.IBPluginDependency</string> + <string>3997.editorWindowContentRectSynchronizationRect</string> + <string>3998.IBPluginDependency</string> + <string>40.IBPluginDependency</string> + <string>40.ImportedFromIB2</string> + <string>4015.CustomClassName</string> + <string>4015.IBPluginDependency</string> + <string>409.IBEditorWindowLastContentRect</string> + <string>409.IBWindowTemplateEditedContentRect</string> + <string>409.ImportedFromIB2</string> + <string>409.windowTemplate.hasMaxSize</string> + <string>409.windowTemplate.hasMinSize</string> + <string>409.windowTemplate.maxSize</string> + <string>409.windowTemplate.minSize</string> + <string>41.IBPluginDependency</string> + <string>41.ImportedFromIB2</string> + <string>410.IBPluginDependency</string> + <string>410.ImportedFromIB2</string> + <string>411.IBPluginDependency</string> + <string>411.ImportedFromIB2</string> + <string>412.IBPluginDependency</string> + <string>412.ImportedFromIB2</string> + <string>413.IBPluginDependency</string> + <string>413.ImportedFromIB2</string> + <string>414.IBAttributePlaceholdersKey</string> + <string>414.IBPluginDependency</string> + <string>414.ImportedFromIB2</string> + <string>415.IBPluginDependency</string> + <string>415.ImportedFromIB2</string> + <string>416.IBPluginDependency</string> + <string>416.ImportedFromIB2</string> + <string>417.IBPluginDependency</string> + <string>417.ImportedFromIB2</string> + <string>418.IBPluginDependency</string> + <string>418.ImportedFromIB2</string> + <string>419.IBPluginDependency</string> + <string>419.ImportedFromIB2</string> + <string>43.IBPluginDependency</string> + <string>43.ImportedFromIB2</string> + <string>4481.IBPluginDependency</string> + <string>4481.ImportedFromIB2</string> + <string>4482.IBPluginDependency</string> + <string>4482.IBShouldRemoveOnLegacySave</string> + <string>4483.IBPluginDependency</string> + <string>4483.IBShouldRemoveOnLegacySave</string> + <string>4484.IBPluginDependency</string> + <string>4484.ImportedFromIB2</string> + <string>4485.IBPluginDependency</string> + <string>4485.ImportedFromIB2</string> + <string>4486.CustomClassName</string> + <string>4486.IBPluginDependency</string> + <string>4487.IBPluginDependency</string> + <string>4488.IBPluginDependency</string> + <string>45.CustomClassName</string> + <string>45.IBPluginDependency</string> + <string>45.ImportedFromIB2</string> + <string>4503.IBPluginDependency</string> + <string>4504.IBPluginDependency</string> + <string>4508.IBPluginDependency</string> + <string>4509.IBPluginDependency</string> + <string>4511.IBPluginDependency</string> + <string>4512.IBPluginDependency</string> + <string>4513.IBPluginDependency</string> + <string>4514.IBPluginDependency</string> + <string>4515.IBPluginDependency</string> + <string>4516.IBPluginDependency</string> + <string>4521.IBPluginDependency</string> + <string>4522.IBPluginDependency</string> + <string>4523.IBPluginDependency</string> + <string>4529.IBEditorWindowLastContentRect</string> + <string>4529.IBPluginDependency</string> + <string>4529.ImportedFromIB2</string> + <string>4530.IBPluginDependency</string> + <string>4531.IBPluginDependency</string> + <string>4532.IBPluginDependency</string> + <string>4533.IBPluginDependency</string> + <string>4534.IBEditorWindowLastContentRect</string> + <string>4534.IBPluginDependency</string> + <string>4535.IBPluginDependency</string> + <string>4536.IBPluginDependency</string> + <string>4537.IBPluginDependency</string> + <string>4538.IBPluginDependency</string> + <string>4538.ImportedFromIB2</string> + <string>4539.IBPluginDependency</string> + <string>4539.ImportedFromIB2</string> + <string>4540.IBAttributePlaceholdersKey</string> + <string>4540.IBPluginDependency</string> + <string>4540.ImportedFromIB2</string> + <string>4541.IBPluginDependency</string> + <string>4541.ImportedFromIB2</string> + <string>4542.IBAttributePlaceholdersKey</string> + <string>4542.IBPluginDependency</string> + <string>4542.ImportedFromIB2</string> + <string>4543.IBAttributePlaceholdersKey</string> + <string>4543.IBPluginDependency</string> + <string>4543.ImportedFromIB2</string> + <string>4544.IBPluginDependency</string> + <string>4544.ImportedFromIB2</string> + <string>4545.IBAttributePlaceholdersKey</string> + <string>4545.IBPluginDependency</string> + <string>4545.ImportedFromIB2</string> + <string>4546.IBPluginDependency</string> + <string>4546.ImportedFromIB2</string> + <string>4547.IBPluginDependency</string> + <string>4548.IBPluginDependency</string> + <string>4549.IBPluginDependency</string> + <string>4550.IBPluginDependency</string> + <string>4551.IBPluginDependency</string> + <string>4552.IBPluginDependency</string> + <string>4553.IBPluginDependency</string> + <string>4554.IBPluginDependency</string> + <string>4555.IBPluginDependency</string> + <string>4565.IBEditorWindowLastContentRect</string> + <string>4565.IBWindowTemplateEditedContentRect</string> + <string>4565.ImportedFromIB2</string> + <string>4565.editorWindowContentRectSynchronizationRect</string> + <string>4565.windowTemplate.hasMaxSize</string> + <string>4565.windowTemplate.hasMinSize</string> + <string>4565.windowTemplate.maxSize</string> + <string>4565.windowTemplate.minSize</string> + <string>4566.IBPluginDependency</string> + <string>4566.ImportedFromIB2</string> + <string>4567.IBPluginDependency</string> + <string>4568.IBPluginDependency</string> + <string>4568.ImportedFromIB2</string> + <string>4569.IBPluginDependency</string> + <string>4569.ImportedFromIB2</string> + <string>4570.IBPluginDependency</string> + <string>4570.ImportedFromIB2</string> + <string>4571.IBPluginDependency</string> + <string>4571.ImportedFromIB2</string> + <string>4572.IBPluginDependency</string> + <string>4572.ImportedFromIB2</string> + <string>4573.IBPluginDependency</string> + <string>4574.IBPluginDependency</string> + <string>4574.ImportedFromIB2</string> + <string>4575.IBPluginDependency</string> + <string>4576.IBPluginDependency</string> + <string>4576.IBShouldRemoveOnLegacySave</string> + <string>4577.IBPluginDependency</string> + <string>4577.IBShouldRemoveOnLegacySave</string> + <string>4578.IBPluginDependency</string> + <string>4578.ImportedFromIB2</string> + <string>4579.IBPluginDependency</string> + <string>4579.ImportedFromIB2</string> + <string>4580.IBPluginDependency</string> + <string>4580.ImportedFromIB2</string> + <string>4581.IBPluginDependency</string> + <string>4581.IBShouldRemoveOnLegacySave</string> + <string>4582.IBPluginDependency</string> + <string>4582.IBShouldRemoveOnLegacySave</string> + <string>4583.IBPluginDependency</string> + <string>4584.IBPluginDependency</string> + <string>4585.IBPluginDependency</string> + <string>4586.IBPluginDependency</string> + <string>4587.IBEditorWindowLastContentRect</string> + <string>4587.IBPluginDependency</string> + <string>4588.IBPluginDependency</string> + <string>4589.IBPluginDependency</string> + <string>4590.IBPluginDependency</string> + <string>4591.IBPluginDependency</string> + <string>4592.IBPluginDependency</string> + <string>4593.IBPluginDependency</string> + <string>4608.IBAttributePlaceholdersKey</string> + <string>4608.IBPluginDependency</string> + <string>4609.IBPluginDependency</string> + <string>4610.IBPluginDependency</string> + <string>4611.IBPluginDependency</string> + <string>4612.IBPluginDependency</string> + <string>4613.IBPluginDependency</string> + <string>4613.ImportedFromIB2</string> + <string>4614.IBPluginDependency</string> + <string>4614.ImportedFromIB2</string> + <string>4615.IBPluginDependency</string> + <string>4615.ImportedFromIB2</string> + <string>4616.IBPluginDependency</string> + <string>4616.ImportedFromIB2</string> + <string>4617.IBPluginDependency</string> + <string>4617.ImportedFromIB2</string> + <string>4618.IBPluginDependency</string> + <string>4618.ImportedFromIB2</string> + <string>4619.IBPluginDependency</string> + <string>4619.ImportedFromIB2</string> + <string>4620.IBPluginDependency</string> + <string>4620.ImportedFromIB2</string> + <string>4621.IBPluginDependency</string> + <string>4622.IBPluginDependency</string> + <string>4623.IBPluginDependency</string> + <string>4624.IBPluginDependency</string> + <string>4624.ImportedFromIB2</string> + <string>4625.IBPluginDependency</string> + <string>4625.ImportedFromIB2</string> + <string>4626.IBPluginDependency</string> + <string>4626.ImportedFromIB2</string> + <string>4627.IBPluginDependency</string> + <string>4627.ImportedFromIB2</string> + <string>4628.IBPluginDependency</string> + <string>4628.ImportedFromIB2</string> + <string>4629.IBPluginDependency</string> + <string>4629.ImportedFromIB2</string> + <string>4630.IBPluginDependency</string> + <string>4630.ImportedFromIB2</string> + <string>4631.CustomClassName</string> + <string>4631.IBPluginDependency</string> + <string>4631.ImportedFromIB2</string> + <string>4632.IBPluginDependency</string> + <string>4632.ImportedFromIB2</string> + <string>4633.IBPluginDependency</string> + <string>4633.ImportedFromIB2</string> + <string>4634.IBPluginDependency</string> + <string>4634.ImportedFromIB2</string> + <string>4635.IBPluginDependency</string> + <string>4635.ImportedFromIB2</string> + <string>4636.IBPluginDependency</string> + <string>4636.ImportedFromIB2</string> + <string>4637.IBPluginDependency</string> + <string>4637.ImportedFromIB2</string> + <string>4638.IBPluginDependency</string> + <string>4639.IBPluginDependency</string> + <string>4640.IBPluginDependency</string> + <string>4641.IBPluginDependency</string> + <string>4642.IBPluginDependency</string> + <string>4643.IBPluginDependency</string> + <string>4644.IBPluginDependency</string> + <string>4645.IBPluginDependency</string> + <string>4646.IBPluginDependency</string> + <string>4647.IBPluginDependency</string> + <string>4648.IBPluginDependency</string> + <string>4649.IBPluginDependency</string> + <string>4649.ImportedFromIB2</string> + <string>4650.IBPluginDependency</string> + <string>4650.IBShouldRemoveOnLegacySave</string> + <string>4651.IBPluginDependency</string> + <string>4651.IBShouldRemoveOnLegacySave</string> + <string>4652.IBPluginDependency</string> + <string>4652.IBShouldRemoveOnLegacySave</string> + <string>4653.IBPluginDependency</string> + <string>4653.ImportedFromIB2</string> + <string>4654.IBPluginDependency</string> + <string>4654.ImportedFromIB2</string> + <string>4655.IBPluginDependency</string> + <string>4656.IBPluginDependency</string> + <string>4657.IBPluginDependency</string> + <string>4658.IBPluginDependency</string> + <string>4659.IBPluginDependency</string> + <string>4660.IBPluginDependency</string> + <string>4661.IBPluginDependency</string> + <string>4662.IBPluginDependency</string> + <string>4663.IBPluginDependency</string> + <string>4664.IBPluginDependency</string> + <string>4665.IBPluginDependency</string> + <string>4676.IBPluginDependency</string> + <string>4677.IBPluginDependency</string> + <string>47.IBPluginDependency</string> + <string>47.ImportedFromIB2</string> + <string>495.IBAttributePlaceholdersKey</string> + <string>495.IBPluginDependency</string> + <string>495.ImportedFromIB2</string> + <string>5.IBEditorWindowLastContentRect</string> + <string>5.IBWindowTemplateEditedContentRect</string> + <string>5.ImportedFromIB2</string> + <string>5.NSWindowTemplate.visibleAtLaunch</string> + <string>5.editorWindowContentRectSynchronizationRect</string> + <string>5.windowTemplate.hasMaxSize</string> + <string>5.windowTemplate.hasMinSize</string> + <string>5.windowTemplate.maxSize</string> + <string>5.windowTemplate.minSize</string> + <string>50.IBPluginDependency</string> + <string>50.ImportedFromIB2</string> + <string>500.IBPluginDependency</string> + <string>500.ImportedFromIB2</string> + <string>501.IBEditorWindowLastContentRect</string> + <string>501.IBWindowTemplateEditedContentRect</string> + <string>501.ImportedFromIB2</string> + <string>501.windowTemplate.hasMaxSize</string> + <string>501.windowTemplate.hasMinSize</string> + <string>501.windowTemplate.maxSize</string> + <string>501.windowTemplate.minSize</string> + <string>51.IBPluginDependency</string> + <string>51.ImportedFromIB2</string> + <string>512.IBPluginDependency</string> + <string>512.ImportedFromIB2</string> + <string>513.IBPluginDependency</string> + <string>513.ImportedFromIB2</string> + <string>514.IBPluginDependency</string> + <string>514.ImportedFromIB2</string> + <string>515.IBPluginDependency</string> + <string>515.ImportedFromIB2</string> + <string>516.IBPluginDependency</string> + <string>516.ImportedFromIB2</string> + <string>52.IBPluginDependency</string> + <string>52.ImportedFromIB2</string> + <string>557.IBPluginDependency</string> + <string>557.ImportedFromIB2</string> + <string>565.IBEditorWindowLastContentRect</string> + <string>565.IBWindowTemplateEditedContentRect</string> + <string>565.ImportedFromIB2</string> + <string>565.windowTemplate.hasMaxSize</string> + <string>565.windowTemplate.hasMinSize</string> + <string>565.windowTemplate.maxSize</string> + <string>565.windowTemplate.minSize</string> + <string>579.IBPluginDependency</string> + <string>579.ImportedFromIB2</string> + <string>580.IBPluginDependency</string> + <string>580.ImportedFromIB2</string> + <string>581.IBPluginDependency</string> + <string>581.ImportedFromIB2</string> + <string>582.IBPluginDependency</string> + <string>582.ImportedFromIB2</string> + <string>6.IBPluginDependency</string> + <string>6.ImportedFromIB2</string> + <string>602.IBAttributePlaceholdersKey</string> + <string>602.IBPluginDependency</string> + <string>602.ImportedFromIB2</string> + <string>604.IBEditorWindowLastContentRect</string> + <string>604.IBWindowTemplateEditedContentRect</string> + <string>604.ImportedFromIB2</string> + <string>604.windowTemplate.hasMaxSize</string> + <string>604.windowTemplate.hasMinSize</string> + <string>604.windowTemplate.maxSize</string> + <string>604.windowTemplate.minSize</string> + <string>605.IBPluginDependency</string> + <string>605.ImportedFromIB2</string> + <string>608.IBPluginDependency</string> + <string>608.ImportedFromIB2</string> + <string>609.IBPluginDependency</string> + <string>609.ImportedFromIB2</string> + <string>614.IBPluginDependency</string> + <string>614.ImportedFromIB2</string> + <string>617.IBPluginDependency</string> + <string>617.ImportedFromIB2</string> + <string>654.IBPluginDependency</string> + <string>654.ImportedFromIB2</string> + <string>655.IBPluginDependency</string> + <string>655.ImportedFromIB2</string> + <string>662.IBPluginDependency</string> + <string>662.ImportedFromIB2</string> + <string>663.IBPluginDependency</string> + <string>663.ImportedFromIB2</string> + <string>669.IBPluginDependency</string> + <string>669.ImportedFromIB2</string> + <string>67.IBPluginDependency</string> + <string>67.ImportedFromIB2</string> + <string>670.IBPluginDependency</string> + <string>670.ImportedFromIB2</string> + <string>672.IBPluginDependency</string> + <string>672.ImportedFromIB2</string> + <string>673.IBPluginDependency</string> + <string>673.ImportedFromIB2</string> + <string>674.IBPluginDependency</string> + <string>674.ImportedFromIB2</string> + <string>675.IBPluginDependency</string> + <string>675.ImportedFromIB2</string> + <string>676.IBPluginDependency</string> + <string>676.ImportedFromIB2</string> + <string>677.CustomClassName</string> + <string>677.IBPluginDependency</string> + <string>677.ImportedFromIB2</string> + <string>68.IBPluginDependency</string> + <string>68.ImportedFromIB2</string> + <string>69.IBPluginDependency</string> + <string>69.ImportedFromIB2</string> + <string>711.IBPluginDependency</string> + <string>711.ImportedFromIB2</string> + <string>713.IBPluginDependency</string> + <string>713.ImportedFromIB2</string> + <string>714.IBEditorWindowLastContentRect</string> + <string>714.IBWindowTemplateEditedContentRect</string> + <string>714.ImportedFromIB2</string> + <string>714.editorWindowContentRectSynchronizationRect</string> + <string>714.windowTemplate.hasMaxSize</string> + <string>714.windowTemplate.hasMinSize</string> + <string>714.windowTemplate.maxSize</string> + <string>714.windowTemplate.minSize</string> + <string>715.IBPluginDependency</string> + <string>715.ImportedFromIB2</string> + <string>716.IBPluginDependency</string> + <string>716.ImportedFromIB2</string> + <string>724.IBEditorWindowLastContentRect</string> + <string>724.IBWindowTemplateEditedContentRect</string> + <string>724.ImportedFromIB2</string> + <string>724.windowTemplate.hasMaxSize</string> + <string>724.windowTemplate.hasMinSize</string> + <string>724.windowTemplate.maxSize</string> + <string>724.windowTemplate.minSize</string> + <string>725.IBPluginDependency</string> + <string>725.ImportedFromIB2</string> + <string>728.IBPluginDependency</string> + <string>728.ImportedFromIB2</string> + <string>729.IBAttributePlaceholdersKey</string> + <string>729.IBPluginDependency</string> + <string>729.ImportedFromIB2</string> + <string>73.IBAttributePlaceholdersKey</string> + <string>73.IBPluginDependency</string> + <string>73.ImportedFromIB2</string> + <string>730.IBAttributePlaceholdersKey</string> + <string>730.IBPluginDependency</string> + <string>730.ImportedFromIB2</string> + <string>731.IBAttributePlaceholdersKey</string> + <string>731.IBPluginDependency</string> + <string>731.ImportedFromIB2</string> + <string>733.IBAttributePlaceholdersKey</string> + <string>733.IBPluginDependency</string> + <string>733.ImportedFromIB2</string> + <string>735.IBPluginDependency</string> + <string>735.ImportedFromIB2</string> + <string>74.IBAttributePlaceholdersKey</string> + <string>74.IBPluginDependency</string> + <string>74.ImportedFromIB2</string> + <string>743.IBPluginDependency</string> + <string>743.ImportedFromIB2</string> + <string>748.IBPluginDependency</string> + <string>748.ImportedFromIB2</string> + <string>749.IBPluginDependency</string> + <string>749.ImportedFromIB2</string> + <string>75.IBAttributePlaceholdersKey</string> + <string>75.IBPluginDependency</string> + <string>75.ImportedFromIB2</string> + <string>76.IBAttributePlaceholdersKey</string> + <string>76.IBPluginDependency</string> + <string>76.ImportedFromIB2</string> + <string>807.IBAttributePlaceholdersKey</string> + <string>807.IBPluginDependency</string> + <string>807.ImportedFromIB2</string> + <string>811.IBAttributePlaceholdersKey</string> + <string>811.IBPluginDependency</string> + <string>811.ImportedFromIB2</string> + <string>815.IBEditorWindowLastContentRect</string> + <string>815.IBPluginDependency</string> + <string>815.ImportedFromIB2</string> + <string>821.IBPluginDependency</string> + <string>821.ImportedFromIB2</string> + <string>824.IBEditorWindowLastContentRect</string> + <string>824.IBPluginDependency</string> + <string>824.ImportedFromIB2</string> + <string>828.IBPluginDependency</string> + <string>828.ImportedFromIB2</string> + <string>829.IBPluginDependency</string> + <string>829.ImportedFromIB2</string> + <string>835.IBPluginDependency</string> + <string>835.ImportedFromIB2</string> + <string>839.IBEditorWindowLastContentRect</string> + <string>839.IBWindowTemplateEditedContentRect</string> + <string>839.ImportedFromIB2</string> + <string>839.editorWindowContentRectSynchronizationRect</string> + <string>839.windowTemplate.hasMaxSize</string> + <string>839.windowTemplate.hasMinSize</string> + <string>839.windowTemplate.maxSize</string> + <string>839.windowTemplate.minSize</string> + <string>846.IBPluginDependency</string> + <string>846.ImportedFromIB2</string> + <string>847.IBPluginDependency</string> + <string>847.ImportedFromIB2</string> + <string>848.IBPluginDependency</string> + <string>848.ImportedFromIB2</string> + <string>849.IBPluginDependency</string> + <string>849.ImportedFromIB2</string> + <string>850.IBPluginDependency</string> + <string>850.ImportedFromIB2</string> + <string>858.IBPluginDependency</string> + <string>858.ImportedFromIB2</string> + <string>910.IBEditorWindowLastContentRect</string> + <string>910.IBPluginDependency</string> + <string>910.ImportedFromIB2</string> + <string>918.IBPluginDependency</string> + <string>918.ImportedFromIB2</string> + <string>919.IBPluginDependency</string> + <string>919.ImportedFromIB2</string> + <string>920.IBPluginDependency</string> + <string>920.ImportedFromIB2</string> + <string>921.IBPluginDependency</string> + <string>921.ImportedFromIB2</string> + <string>923.IBAttributePlaceholdersKey</string> + <string>923.IBPluginDependency</string> + <string>923.ImportedFromIB2</string> + <string>924.IBAttributePlaceholdersKey</string> + <string>924.IBPluginDependency</string> + <string>924.ImportedFromIB2</string> + <string>925.IBAttributePlaceholdersKey</string> + <string>925.IBPluginDependency</string> + <string>925.ImportedFromIB2</string> + <string>929.IBAttributePlaceholdersKey</string> + <string>929.IBPluginDependency</string> + <string>929.ImportedFromIB2</string> + <string>930.IBAttributePlaceholdersKey</string> + <string>930.IBPluginDependency</string> + <string>930.ImportedFromIB2</string> + <string>931.IBAttributePlaceholdersKey</string> + <string>931.IBPluginDependency</string> + <string>931.ImportedFromIB2</string> + <string>935.IBAttributePlaceholdersKey</string> + <string>935.IBPluginDependency</string> + <string>935.ImportedFromIB2</string> + <string>959.IBEditorWindowLastContentRect</string> + <string>959.IBWindowTemplateEditedContentRect</string> + <string>959.ImportedFromIB2</string> + <string>959.windowTemplate.hasMaxSize</string> + <string>959.windowTemplate.hasMinSize</string> + <string>959.windowTemplate.maxSize</string> + <string>959.windowTemplate.minSize</string> + <string>960.IBPluginDependency</string> + <string>960.ImportedFromIB2</string> + <string>961.IBPluginDependency</string> + <string>961.ImportedFromIB2</string> + <string>962.IBPluginDependency</string> + <string>962.ImportedFromIB2</string> + <string>963.IBPluginDependency</string> + <string>963.ImportedFromIB2</string> + <string>964.IBPluginDependency</string> + <string>964.ImportedFromIB2</string> + <string>969.IBEditorWindowLastContentRect</string> + <string>969.IBWindowTemplateEditedContentRect</string> + <string>969.ImportedFromIB2</string> + <string>969.windowTemplate.hasMaxSize</string> + <string>969.windowTemplate.hasMinSize</string> + <string>969.windowTemplate.maxSize</string> + <string>969.windowTemplate.minSize</string> + <string>970.IBPluginDependency</string> + <string>970.ImportedFromIB2</string> + <string>971.IBPluginDependency</string> + <string>971.ImportedFromIB2</string> + <string>972.IBPluginDependency</string> + <string>972.ImportedFromIB2</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="11176884"/> + <string key="toolTip">Character used to terminate lines</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="426426679"/> + <string key="toolTip">Character used to escape special characters</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="165873197"/> + <string key="toolTip">Character used to separate fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="783067094"/> + <string key="toolTip">Character used to enclose fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{63, 608}, {478, 157}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="324053896"/> + <string key="toolTip">Character used to escape special characters</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="711210375"/> + <string key="toolTip">Character used to terminate lines</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="636529381"/> + <string key="toolTip">Character used to enclose fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="612007620"/> + <string key="toolTip">Character used to separate fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="810130423"/> + <string key="toolTip">Mark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="85155478"/> + <string key="toolTip">Refresh list of tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="428678017"/> + <string key="toolTip">Unmark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{0, 677}, {281, 157}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="241901916"/> + <string key="toolTip">Mark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="715618241"/> + <string key="toolTip">Unmark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="856067573"/> + <string key="toolTip">Refresh list of tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="86760255"/> + <string key="toolTip">Choose a query out of the last 20 queries</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="872178320"/> + <string key="toolTip">Choose a favorite from the menu or save the current query to the favorites</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>CMTextView</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>CMImageView</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="811536132"/> + <string key="toolTip">Run the query (Enter)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>CMCopyTable</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="830088955"/> + <string key="toolTip">Choose a field you want to use for your search</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="744029762"/> + <string key="toolTip">Choose a search operator</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{535, 926}, {92, 23}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="581211969"/> + <string key="toolTip">Delete selected table</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="380552173"/> + <string key="toolTip">Refresh list of tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="241402549"/> + <string key="toolTip">Refresh table content (Cmd+R)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="190397287"/> + <string key="toolTip">Add index</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="714324452"/> + <string key="toolTip">Delete selected index</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="706172748"/> + <string key="toolTip">Refresh list of fields and indexes (Cmd+R)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="159563759"/> + <string key="toolTip">Add table</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{210, 465}, {262, 139}}</string> + <string>{{210, 465}, {262, 139}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="674179880"/> + <string key="toolTip">Choose the type of the index</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="391537792"/> + <string key="toolTip">Choose the name of the index or leave blank to use column name</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="99078000"/> + <string key="toolTip">Choose the column(s) to be indexed (enter multiple columns comma separated without space after comma)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>CMCopyTable</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="556517139"/> + <string key="toolTip">Refresh list of fields and indexes (Cmd+R)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{547, 388}, {519, 335}}</string> + <string>{{547, 388}, {519, 335}}</string> + <reference ref="9"/> + <string>{{136, 447}, {519, 335}}</string> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{256, 191}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="8"/> + <reference ref="304829493"/> + <reference ref="8"/> + <reference ref="8"/> + <string>{{343, 395}, {320, 180}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{369, 505}, {588, 350}}</string> + <string>{{369, 505}, {588, 350}}</string> + <reference ref="8"/> + <string>{{115, 214}, {588, 350}}</string> + <reference ref="8"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{0, 824}, {200, 32}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{628, 654}</string> + <string>{{284, 769}, {200, 32}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{-11, 1068}, {200, 63}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{273, 775}, {200, 23}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>ImageAndTextCell</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{231, 459}, {306, 122}}</string> + <string>{{231, 459}, {306, 122}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="1068260884"/> + <string key="toolTip">Choose the type of the index</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>ImageAndTextCell</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>NSSecureTextField</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{408, 721}, {417, 135}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{811, 884}, {100, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="858997304"/> + <string key="toolTip">Character used to enclose fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="902625058"/> + <string key="toolTip">Character used to escape special characters</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="369372577"/> + <string key="toolTip">Character used to terminate line</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="257542502"/> + <string key="toolTip">Character used to separate fields</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{560, 562}, {465, 294}}</string> + <string>{{560, 562}, {465, 294}}</string> + <reference ref="9"/> + <string>{{387, 725}, {432, 282}}</string> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{350, 250}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{611, 880}, {113, 4}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <object class="NSMutableDictionary"> + <string key="NS.key.0">InitialTabViewItem</string> + <object class="IBInitialTabViewItemAttribute" key="NS.object.0"> + <string key="name">InitialTabViewItem</string> + <reference key="object" ref="1049088871"/> + <reference key="initialTabViewItem" ref="716453023"/> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>NSSecureTextField</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="606555256"/> + <string key="toolTip">Duplicate selected table</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{774, 505}, {863, 550}}</string> + <string>{{774, 505}, {863, 550}}</string> + <reference ref="9"/> + <reference ref="9"/> + <string>{{62, 352}, {845, 504}}</string> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{780, 480}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{273, 408}, {262, 127}}</string> + <string>{{273, 408}, {262, 127}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{147, 561}, {220, 112}}</string> + <string>{{147, 561}, {220, 112}}</string> + <reference ref="9"/> + <reference ref="9"/> + <reference ref="9"/> + <string>{256, 191}</string> + <string>{162.05, 5}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="976558465"/> + <string key="toolTip">Open sheet by double-clicking on a field to edit values instead of spreadsheet-like editing</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{168, 225}, {667, 425}}</string> + <string>{{168, 225}, {667, 425}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{350, 200}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>TableDocumentSplitView</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{105, 472}, {381, 247}}</string> + <string>{{105, 472}, {381, 247}}</string> + <reference ref="9"/> + <string>{{321, 837}, {381, 247}}</string> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{252, 367}, {418, 191}}</string> + <string>{{252, 367}, {418, 191}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="768409455"/> + <string key="toolTip">Remove a query favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="515776460"/> + <string key="toolTip">Add field (Cmd+Option+A)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="597878738"/> + <string type="base64-UTF8" key="toolTip">RWRpdCBhIGZhdm9yaXRlIGJ5IGRvdWJsZS1jbGlja2luZyBvbiBpdCBvciBkcmFnJmRyb3AgaXQgdG8g +Y2hhbmdlIHRoZSBvcmRlcg</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="1070571418"/> + <string key="toolTip">Duplicate a query favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="32671958"/> + <string key="toolTip">Add a query favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="773499830"/> + <string key="toolTip">Delete selected field</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="526476900"/> + <string key="toolTip">Add row (Cmd+Option+A)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="414284874"/> + <string key="toolTip">Delete selected row(s)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="306936316"/> + <string key="toolTip">Duplicate selected row (Cmd+D)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="437174505"/> + <string key="toolTip">Duplicate selected row (Cmd+D)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{21, 695}, {424, 116}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{270, 683}, {800, 96}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{84, 401}, {411, 341}}</string> + <string>{{84, 401}, {411, 341}}</string> + <reference ref="9"/> + <string>{{321, 508}, {411, 341}}</string> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{300, 200}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{42, 639}, {457, 149}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="496993033"/> + <string key="toolTip">Refresh list of tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="947678838"/> + <string key="toolTip">Mark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="791847552"/> + <string key="toolTip">Unmark all tables</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="27140235"/> + <string key="toolTip">Write errors which occurred while dumping the database to the dump file</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="7792134"/> + <string key="toolTip">Add table content</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="178833443"/> + <string key="toolTip">Add create table syntax</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="339042383"/> + <string key="toolTip">Add a drop table- before the create table-command</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{189, 360}, {405, 267}}</string> + <string>{{189, 360}, {405, 267}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{126, 624}, {375, 72}}</string> + <string>{{126, 624}, {375, 72}}</string> + <reference ref="9"/> + <reference ref="8"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 50}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + </object> + </object> + <object class="NSMutableDictionary" key="unlocalizedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="activeLocalization"/> + <object class="NSMutableDictionary" key="localizations"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="sourceID"/> + <int key="maxID">4683</int> + </object> + <object class="IBClassDescriber" key="IBDocument.Classes"> + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">CMCopyTable</string> + <string key="superclassName">NSTableView</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">copy:</string> + <string key="NS.object.0">id</string> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">CMCopyTable.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CMCopyTable</string> + <string key="superclassName">NSTableView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CMImageView</string> + <string key="superclassName">NSImageView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">CMImageView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CMImageView</string> + <string key="superclassName">NSImageView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CMTextView</string> + <string key="superclassName">NSTextView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">CMTextView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CMTextView</string> + <string key="superclassName">NSTextView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CustomQuery</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addQueryFavorite:</string> + <string>chooseQueryFavorite:</string> + <string>chooseQueryHistory:</string> + <string>closeQueryFavoritesSheet:</string> + <string>closeSheet:</string> + <string>copyQueryFavorite:</string> + <string>performQuery:</string> + <string>removeQueryFavorite:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>affectedRowsText</string> + <string>customQueryView</string> + <string>errorText</string> + <string>queryFavoritesButton</string> + <string>queryFavoritesSheet</string> + <string>queryFavoritesView</string> + <string>queryHistoryButton</string> + <string>tableDumpInstance</string> + <string>tableWindow</string> + <string>textView</string> + <string>valueSheet</string> + <string>valueTextField</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>CMCopyTable</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">CustomQuery.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">CustomQuery</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">FirstResponder</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">copyCreateTableSyntax:</string> + <string key="NS.object.0">id</string> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">ImageAndTextCell</string> + <string key="superclassName">NSTextFieldCell</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">ImageAndTextCell.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">KeyChain</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">KeyChain.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">KeyChain</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">SPTableInfo</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>infoTable</string> + <string>tableDocumentInstance</string> + <string>tableList</string> + <string>tableListInstance</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">SPTableInfo.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableContent</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addRow:</string> + <string>closeEditSheet:</string> + <string>copyRow:</string> + <string>dropImage:</string> + <string>filterTable:</string> + <string>openEditSheet:</string> + <string>reloadTable:</string> + <string>reloadTableValues:</string> + <string>removeRow:</string> + <string>saveEditSheet:</string> + <string>setCompareTypes:</string> + <string>showAll:</string> + <string>stepLimitRows:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addButton</string> + <string>argumentField</string> + <string>compareField</string> + <string>copyButton</string> + <string>countText</string> + <string>editData</string> + <string>editImage</string> + <string>editSheet</string> + <string>editTextView</string> + <string>fieldField</string> + <string>filterButton</string> + <string>hexTextView</string> + <string>limitRowsButton</string> + <string>limitRowsField</string> + <string>limitRowsStepper</string> + <string>limitRowsText</string> + <string>multipleLineEditingButton</string> + <string>removeButton</string> + <string>tableContentView</string> + <string>tableDocumentInstance</string> + <string>tableSourceInstance</string> + <string>tableWindow</string> + <string>tablesListInstance</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>CMCopyTable</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableContent.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableContent</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDocument</string> + <string key="superclassName">NSDocument</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addDatabase:</string> + <string>analyzeTable:</string> + <string>cancelConnectSheet:</string> + <string>checkTable:</string> + <string>checksumTable:</string> + <string>chooseDatabase:</string> + <string>chooseEncoding:</string> + <string>chooseFavorite:</string> + <string>clearConsole:</string> + <string>closeDatabaseSheet:</string> + <string>closeSheet:</string> + <string>connect:</string> + <string>connectSheetAddToFavorites:</string> + <string>connectToDB:</string> + <string>copyCreateTableSyntax:</string> + <string>export:</string> + <string>exportMultipleTables:</string> + <string>exportTable:</string> + <string>flushPrivileges:</string> + <string>flushTable:</string> + <string>import:</string> + <string>optimizeTable:</string> + <string>removeDatabase:</string> + <string>removeFavorite:</string> + <string>repairTable:</string> + <string>setDatabases:</string> + <string>showCreateTableSyntax:</string> + <string>showVariables:</string> + <string>toggleConsole:</string> + <string>viewContent:</string> + <string>viewQuery:</string> + <string>viewStatus:</string> + <string>viewStructure:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>chooseDatabaseButton</string> + <string>connectFavoritesTableView</string> + <string>connectProgressBar</string> + <string>connectProgressStatusText</string> + <string>connectSheet</string> + <string>consoleDrawer</string> + <string>consoleTextView</string> + <string>createTableSyntaxWindow</string> + <string>customQueryInstance</string> + <string>databaseField</string> + <string>databaseNameField</string> + <string>databaseSheet</string> + <string>dbTablesTableView</string> + <string>favoritesButton</string> + <string>favoritesController</string> + <string>hostField</string> + <string>keyChainInstance</string> + <string>passwordField</string> + <string>portField</string> + <string>queryProgressBar</string> + <string>sidebarGrabber</string> + <string>socketField</string> + <string>syntaxView</string> + <string>syntaxViewContent</string> + <string>tableContentInstance</string> + <string>tableDumpInstance</string> + <string>tableSourceInstance</string> + <string>tableStatusInstance</string> + <string>tableTabView</string> + <string>tableWindow</string> + <string>tablesListInstance</string> + <string>userField</string> + <string>variablesSheet</string> + <string>variablesTableView</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>NSTableView</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSWindow</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSTableView</string> + <string>id</string> + <string>NSArrayController</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSTabView</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableDocument.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDocument</string> + <string key="superclassName">NSDocument</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">toggleUseSSH:</string> + <string key="NS.object.0">id</string> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>sshCheckbox</string> + <string>sshHostField</string> + <string>sshPasswordField</string> + <string>sshPortField</string> + <string>sshUserField</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDocumentSplitView</string> + <string key="superclassName">NSSplitView</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableDocumentSplitView.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDump</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>changeFormat:</string> + <string>changeTable:</string> + <string>closeSheet:</string> + <string>reloadTables:</string> + <string>selectTables:</string> + <string>stepRow:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addCreateTableSwitch</string> + <string>addDropTableSwitch</string> + <string>addErrorsSwitch</string> + <string>addTableContentSwitch</string> + <string>customQueryInstance</string> + <string>errorsSheet</string> + <string>errorsView</string> + <string>exportCSVView</string> + <string>exportDumpTableView</string> + <string>exportDumpView</string> + <string>exportFieldNamesSwitch</string> + <string>exportFieldsEnclosedField</string> + <string>exportFieldsEscapedField</string> + <string>exportFieldsTerminatedField</string> + <string>exportLinesTerminatedField</string> + <string>exportMultipleCSVTableView</string> + <string>exportMultipleCSVView</string> + <string>exportMultipleFieldNamesSwitch</string> + <string>exportMultipleFieldsEnclosedField</string> + <string>exportMultipleFieldsEscapedField</string> + <string>exportMultipleFieldsTerminatedField</string> + <string>exportMultipleLinesTerminatedField</string> + <string>exportMultipleXMLTableView</string> + <string>exportMultipleXMLView</string> + <string>fieldMappingPopup</string> + <string>fieldMappingSheet</string> + <string>fieldMappingTableView</string> + <string>importCSVBox</string> + <string>importCSVView</string> + <string>importFieldNamesSwitch</string> + <string>importFieldsEnclosedField</string> + <string>importFieldsEscapedField</string> + <string>importFieldsTerminatedField</string> + <string>importFormatPopup</string> + <string>importLinesTerminatedField</string> + <string>recordCountLabel</string> + <string>rowDownButton</string> + <string>rowUpButton</string> + <string>singleProgressBar</string> + <string>singleProgressSheet</string> + <string>singleProgressText</string> + <string>tableContentInstance</string> + <string>tableDocumentInstance</string> + <string>tableListView</string> + <string>tableSourceInstance</string> + <string>tableWindow</string> + <string>tablesListInstance</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableDump.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDump</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableSource</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addField:</string> + <string>addIndex:</string> + <string>chooseIndexType:</string> + <string>closeIndexSheet:</string> + <string>closeKeySheet:</string> + <string>copyField:</string> + <string>openIndexSheet:</string> + <string>reloadTable:</string> + <string>removeField:</string> + <string>removeIndex:</string> + <string>typeChanged:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addFieldButton</string> + <string>addIndexButton</string> + <string>chooseKeyButton</string> + <string>copyFieldButton</string> + <string>indexNameField</string> + <string>indexSheet</string> + <string>indexTypeField</string> + <string>indexView</string> + <string>indexedColumnsField</string> + <string>keySheet</string> + <string>removeFieldButton</string> + <string>removeIndexButton</string> + <string>structureGrabber</string> + <string>tableSourceView</string> + <string>tableTypeButton</string> + <string>tableWindow</string> + <string>tablesListInstance</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableSource.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableSource</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableStatus</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">reloadTable:</string> + <string key="NS.object.0">id</string> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>commentsBox</string> + <string>rowsAutoIncrement</string> + <string>rowsAvgLength</string> + <string>rowsFormat</string> + <string>rowsNumber</string> + <string>sizeData</string> + <string>sizeFree</string> + <string>sizeIndex</string> + <string>sizeMaxData</string> + <string>tableCreatedAt</string> + <string>tableName</string> + <string>tableType</string> + <string>tableUpdatedAt</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableStatus.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableStatus</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TablesList</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addTable:</string> + <string>closeCopyTableSheet:</string> + <string>copyTable:</string> + <string>removeTable:</string> + <string>updateTables:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>copyTableContentSwitch</string> + <string>copyTableNameField</string> + <string>copyTableSheet</string> + <string>customQueryInstance</string> + <string>tabView</string> + <string>tableContentInstance</string> + <string>tableDocumentInstance</string> + <string>tableDumpInstance</string> + <string>tableSourceInstance</string> + <string>tableStatusInstance</string> + <string>tableWindow</string> + <string>tablesListView</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TablesList.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TablesList</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + </object> + </object> + <int key="IBDocument.localizationMode">0</int> + <string key="IBDocument.LastKnownRelativeProjectPath">../sequel-pro.xcodeproj</string> + <int key="IBDocument.defaultPropertyAccessControl">3</int> + </data> +</archive> diff --git a/trunk/English.lproj/InfoPlist.strings b/trunk/English.lproj/InfoPlist.strings Binary files differnew file mode 100644 index 00000000..9a4a3751 --- /dev/null +++ b/trunk/English.lproj/InfoPlist.strings diff --git a/trunk/English.lproj/Localizable.strings b/trunk/English.lproj/Localizable.strings Binary files differnew file mode 100644 index 00000000..5b76de27 --- /dev/null +++ b/trunk/English.lproj/Localizable.strings diff --git a/trunk/English.lproj/MainMenu.xib b/trunk/English.lproj/MainMenu.xib new file mode 100644 index 00000000..92e6195d --- /dev/null +++ b/trunk/English.lproj/MainMenu.xib @@ -0,0 +1,7511 @@ +<?xml version="1.0" encoding="UTF-8"?> +<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03"> + <data> + <int key="IBDocument.SystemTarget">1050</int> + <string key="IBDocument.SystemVersion">9F33</string> + <string key="IBDocument.InterfaceBuilderVersion">677</string> + <string key="IBDocument.AppKitVersion">949.34</string> + <string key="IBDocument.HIToolboxVersion">352.00</string> + <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> + <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="81"/> + </object> + <object class="NSArray" key="IBDocument.PluginDependencies"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + </object> + <object class="NSMutableDictionary" key="IBDocument.Metadata"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <object class="NSMutableArray" key="IBDocument.RootObjects" id="549353383"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSCustomObject" id="515727999"> + <object class="NSMutableString" key="NSClassName"> + <characters key="NS.bytes">NSApplication</characters> + </object> + </object> + <object class="NSCustomObject" id="63651044"> + <string key="NSClassName">FirstResponder</string> + </object> + <object class="NSCustomObject" id="506939842"> + <string key="NSClassName">NSApplication</string> + </object> + <object class="NSMenu" id="171386461"> + <string key="NSTitle">MainMenu</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="928644695"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Sequel Pro</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <object class="NSCustomResource" key="NSOnImage" id="625762401"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSMenuCheckmark</string> + </object> + <object class="NSCustomResource" key="NSMixedImage" id="315854375"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSMenuMixedState</string> + </object> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="90185757"> + <string key="NSTitle">Sequel Pro</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="962420073"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">About Sequel Pro</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="635312828"> + <reference key="NSMenu" ref="90185757"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="24975751"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Preferences...</string> + <string key="NSKeyEquiv">,</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="520611831"> + <reference key="NSMenu" ref="90185757"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="615940863"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Check for Updates...</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="683151301"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Make a Donation...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="257632548"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Visit Website...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="1022411839"> + <reference key="NSMenu" ref="90185757"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="941312301"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Services</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="383764627"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">Services</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <string key="NSName">_NSServicesMenu</string> + </object> + </object> + <object class="NSMenuItem" id="935928930"> + <reference key="NSMenu" ref="90185757"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="639001571"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Hide Sequel Pro</string> + <string key="NSKeyEquiv">h</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="778958493"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Hide Others</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="640346474"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Show All</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="140438033"> + <reference key="NSMenu" ref="90185757"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="867125855"> + <reference key="NSMenu" ref="90185757"/> + <string key="NSTitle">Quit Sequel Pro</string> + <string key="NSKeyEquiv">q</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + <string key="NSName">_NSAppleMenu</string> + </object> + </object> + <object class="NSMenuItem" id="86447006"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">File</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="709725194"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">File</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="617509313"> + <reference key="NSMenu" ref="709725194"/> + <string key="NSTitle">New Connection</string> + <string key="NSKeyEquiv">n</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="3878246"> + <reference key="NSMenu" ref="709725194"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="390057667"> + <reference key="NSMenu" ref="709725194"/> + <string key="NSTitle">Close</string> + <string key="NSKeyEquiv">w</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="985746359"> + <reference key="NSMenu" ref="709725194"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="867960923"> + <reference key="NSMenu" ref="709725194"/> + <string type="base64-UTF8" key="NSTitle">SW1wb3J04oCmA</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="258329286"> + <reference key="NSMenu" ref="709725194"/> + <string key="NSTitle">Export</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="277457689"> + <string key="NSTitle">Export</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="183322562"> + <reference key="NSMenu" ref="277457689"/> + <string type="base64-UTF8" key="NSTitle">TXlTUUwgZHVtcOKApg</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">5</int> + </object> + <object class="NSMenuItem" id="497310196"> + <reference key="NSMenu" ref="277457689"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="233286683"> + <reference key="NSMenu" ref="277457689"/> + <string key="NSTitle">Current Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="933751314"> + <string key="NSTitle">Current Table</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="146976252"> + <reference key="NSMenu" ref="933751314"/> + <string key="NSTitle">CSV file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">6</int> + </object> + <object class="NSMenuItem" id="609924406"> + <reference key="NSMenu" ref="933751314"/> + <string key="NSTitle">XML file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">7</int> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="586592608"> + <reference key="NSMenu" ref="277457689"/> + <string key="NSTitle">Current Browse View</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="246588402"> + <string key="NSTitle">Current Browse View</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="423106625"> + <reference key="NSMenu" ref="246588402"/> + <string key="NSTitle">CSV file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">8</int> + </object> + <object class="NSMenuItem" id="499136806"> + <reference key="NSMenu" ref="246588402"/> + <string key="NSTitle">XML file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">9</int> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="44352296"> + <reference key="NSMenu" ref="277457689"/> + <string key="NSTitle">Custom Query Result</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="983024930"> + <string key="NSTitle">Custom Query Result</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="167426300"> + <reference key="NSMenu" ref="983024930"/> + <string key="NSTitle">CSV file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">10</int> + </object> + <object class="NSMenuItem" id="6397208"> + <reference key="NSMenu" ref="983024930"/> + <string key="NSTitle">XML file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">11</int> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="1004249038"> + <reference key="NSMenu" ref="277457689"/> + <string key="NSTitle">Multiple Tables</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="703407521"> + <string key="NSTitle">Multiple Tables</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="564863492"> + <reference key="NSMenu" ref="703407521"/> + <string key="NSTitle">CSV file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">12</int> + </object> + <object class="NSMenuItem" id="1048701220"> + <reference key="NSMenu" ref="703407521"/> + <string key="NSTitle">XML file...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <int key="NSTag">13</int> + </object> + </object> + </object> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="239138731"> + <reference key="NSMenu" ref="709725194"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <bool key="NSIsHidden">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="946601370"> + <reference key="NSMenu" ref="709725194"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsHidden">YES</bool> + <string key="NSTitle">Page Setup...</string> + <string key="NSKeyEquiv">P</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="197057557"> + <reference key="NSMenu" ref="709725194"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsHidden">YES</bool> + <string key="NSTitle">Print...</string> + <string key="NSKeyEquiv">p</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="119995921"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Edit</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="71086556"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">Edit</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="345362865"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Undo</string> + <string key="NSKeyEquiv">z</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="394802420"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Redo</string> + <string key="NSKeyEquiv">Z</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="465877627"> + <reference key="NSMenu" ref="71086556"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="489223599"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Cut</string> + <string key="NSKeyEquiv">x</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="959544562"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Copy</string> + <string key="NSKeyEquiv">c</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="892596559"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Paste</string> + <string key="NSKeyEquiv">v</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="736016769"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Clear</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="849404241"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Select All</string> + <string key="NSKeyEquiv">a</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="329733140"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Duplicate</string> + <string key="NSKeyEquiv">d</string> + <int key="NSKeyEquivModMask">1048840</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="16954220"> + <reference key="NSMenu" ref="71086556"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="972995992"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Find</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="302471527"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">Find</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="19248090"> + <reference key="NSMenu" ref="302471527"/> + <string key="NSTitle">Find...</string> + <string key="NSKeyEquiv">f</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="334958124"> + <reference key="NSMenu" ref="302471527"/> + <string key="NSTitle">Find Next</string> + <string key="NSKeyEquiv">g</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="567667222"> + <reference key="NSMenu" ref="302471527"/> + <string key="NSTitle">Find Previous</string> + <string key="NSKeyEquiv">d</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="921138658"> + <reference key="NSMenu" ref="302471527"/> + <string key="NSTitle">Use Selection for Find</string> + <string key="NSKeyEquiv">e</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="418923160"> + <reference key="NSMenu" ref="302471527"/> + <string key="NSTitle">Scroll to Selection</string> + <string key="NSKeyEquiv">j</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="227719162"> + <reference key="NSMenu" ref="71086556"/> + <string key="NSTitle">Spelling</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="574641885"> + <string key="NSTitle">Spelling</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="328585548"> + <reference key="NSMenu" ref="574641885"/> + <string key="NSTitle">Spelling...</string> + <string key="NSKeyEquiv">:</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="163333159"> + <reference key="NSMenu" ref="574641885"/> + <string key="NSTitle">Check Spelling</string> + <string key="NSKeyEquiv">;</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="272286913"> + <reference key="NSMenu" ref="574641885"/> + <string key="NSTitle">Check Spelling As You Type</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="401969940"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">View</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="466354362"> + <string key="NSTitle">View</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="417888240"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Table Structure</string> + <string key="NSKeyEquiv">1</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="388367969"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Table Content</string> + <string key="NSKeyEquiv">2</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="438779812"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Custom Query</string> + <string key="NSKeyEquiv">3</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="1058233714"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Table Status</string> + <string key="NSKeyEquiv">4</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="510805568"> + <reference key="NSMenu" ref="466354362"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="924530602"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Toggle Console</string> + <string key="NSKeyEquiv">K</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="551338335"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Clear Console</string> + <string key="NSKeyEquiv">k</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="761247690"> + <reference key="NSMenu" ref="466354362"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="358795349"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Hide Toolbar</string> + <string key="NSKeyEquiv">T</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="173454563"> + <reference key="NSMenu" ref="466354362"/> + <string key="NSTitle">Customize Toolbar...</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="693420496"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Database</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <int key="NSTag">1</int> + <object class="NSMenu" key="NSSubmenu" id="172963563"> + <string key="NSTitle">Database</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="653250987"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Add Database...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="602994413"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Remove Database...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="788707136"> + <reference key="NSMenu" ref="172963563"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="265095049"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Refresh Databases</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="14535230"> + <reference key="NSMenu" ref="172963563"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="197143231"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Database Encoding</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <int key="NSTag">1</int> + <object class="NSMenu" key="NSSubmenu" id="487618540"> + <string key="NSTitle">Database Encoding</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="315523933"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">UCS-2 Unicode (ucs2)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="428425210"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">UTF-8 Unicode (utf8)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="649847059"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="587809847"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">US ASCII (ascii)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="247892805"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">ISO Latin 1 (latin1)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="1045933524"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Mac Roman (macroman)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="929144169"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="1019891968"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Windows Latin 2 (cp1250)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="272867556"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">ISO Latin 2 (latin2)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="831843460"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="114701997"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Windows Arabic (cp1256)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="86485907"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">ISO Greek (greek)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="243329592"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">ISO Hebrew (hebrew)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="620428396"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">ISO Turkish (latin5)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="145813245"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="290468717"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Windows Baltic (cp1257)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="384948978"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="537895346"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Windows Cyrillic (cp1251)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="239164973"> + <reference key="NSMenu" ref="487618540"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="803749958"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Big5 Traditional Chinese (big5)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="691508085"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">Shift-JIS Japanese (sjis)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + <object class="NSMenuItem" id="705318648"> + <reference key="NSMenu" ref="487618540"/> + <string key="NSTitle">EUC-JP Japanese (ujis)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="822553772"> + <reference key="NSMenu" ref="172963563"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="7204100"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Flush Privileges</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="973684327"> + <reference key="NSMenu" ref="172963563"/> + <string key="NSTitle">Show Server Variables...</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + <object class="NSAttributedString" key="NSAttributedTitle"> + <string key="NSString"/> + </object> + </object> + <object class="NSMenuItem" id="228261277"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="1056168652"> + <string key="NSTitle">Table</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="449401330"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Copy Create Table Syntax</string> + <string key="NSKeyEquiv">C</string> + <int key="NSKeyEquivModMask">1179914</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="638185532"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Show Create Table Syntax</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="336993056"> + <reference key="NSMenu" ref="1056168652"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="785987636"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Check Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="587676764"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Analyze Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="384546710"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Optimize Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="149240322"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Repair Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="309258449"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Flush Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="712078058"> + <reference key="NSMenu" ref="1056168652"/> + <string key="NSTitle">Checksum Table</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + <object class="NSMenuItem" id="232591944"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Window</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="850647710"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">Window</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="324106717"> + <reference key="NSMenu" ref="850647710"/> + <string key="NSTitle">Minimize</string> + <string key="NSKeyEquiv">m</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="989778787"> + <reference key="NSMenu" ref="850647710"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="751336988"> + <reference key="NSMenu" ref="850647710"/> + <string key="NSTitle">Bring All to Front</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + <string key="NSName">_NSWindowsMenu</string> + </object> + </object> + <object class="NSMenuItem" id="835585357"> + <reference key="NSMenu" ref="171386461"/> + <string key="NSTitle">Help</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">submenuAction:</string> + <object class="NSMenu" key="NSSubmenu" id="1021151289"> + <object class="NSMutableString" key="NSTitle"> + <characters key="NS.bytes">Help</characters> + </object> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMenuItem" id="896818469"> + <reference key="NSMenu" ref="1021151289"/> + <string key="NSTitle">Sequel Pro Help</string> + <string key="NSKeyEquiv">?</string> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + <object class="NSMenuItem" id="379292312"> + <reference key="NSMenu" ref="1021151289"/> + <string key="NSTitle">Online Help</string> + <string key="NSKeyEquiv"/> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + </object> + </object> + </object> + </object> + </object> + <string key="NSName">_NSMainMenu</string> + </object> + <object class="NSWindowTemplate" id="142512296"> + <int key="NSWindowStyleMask">3</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{119, 773}, {710, 292}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">Preferences</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="577801299"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSButton" id="98546574"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 237}, {190, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="640312923"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Reload table after adding a row</string> + <object class="NSFont" key="NSSupport" id="26"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.100000e+01</double> + <int key="NSfFlags">3100</int> + </object> + <reference key="NSControlView" ref="98546574"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage" id="541574380"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSSwitch</string> + </object> + <object class="NSButtonImageSource" key="NSAlternateImage" id="808268770"> + <string key="NSImageName">NSSwitch</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="168178889"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 217}, {190, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="743845997"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Reload table after editing a row</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="168178889"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="404675813"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 197}, {203, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="241850972"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Reload table after removing a row</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="404675813"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSScrollView" id="1003742956"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSClipView" id="44813966"> + <reference key="NSNextResponder" ref="1003742956"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableView" id="207456822"> + <reference key="NSNextResponder" ref="44813966"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{414, 169}</string> + <reference key="NSSuperview" ref="44813966"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTableHeaderView" key="NSHeaderView" id="733755652"> + <reference key="NSNextResponder" ref="175827989"/> + <int key="NSvFlags">256</int> + <string key="NSFrameSize">{414, 17}</string> + <reference key="NSSuperview" ref="175827989"/> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="_NSCornerView" key="NSCornerView" id="1024004993"> + <reference key="NSNextResponder" ref="1003742956"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{415, 0}, {12, 17}}</string> + <reference key="NSSuperview" ref="1003742956"/> + </object> + <object class="NSMutableArray" key="NSTableColumns"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTableColumn" id="245728218"> + <string key="NSIdentifier">name</string> + <double key="NSWidth">8.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Name</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="67464314"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC4zMzMzMzI5OQA</bytes> + </object> + <object class="NSColor" key="NSTextColor" id="31684012"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">headerTextColor</string> + <object class="NSColor" key="NSColor" id="850238404"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MAA</bytes> + </object> + </object> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="858819253"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="207456822"/> + <object class="NSColor" key="NSBackgroundColor" id="1050488244"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">textBackgroundColor</string> + <object class="NSColor" key="NSColor" id="900413395"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MQA</bytes> + </object> + </object> + <object class="NSColor" key="NSTextColor" id="88029211"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlTextColor</string> + <reference key="NSColor" ref="850238404"/> + </object> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="NSTableColumn" id="392250876"> + <string key="NSIdentifier">host</string> + <double key="NSWidth">8.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">75628032</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Host</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="67464314"/> + <reference key="NSTextColor" ref="31684012"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="883862848"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="207456822"/> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="NSTableColumn" id="434530023"> + <string key="NSIdentifier">user</string> + <double key="NSWidth">8.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">User</string> + <reference key="NSSupport" ref="26"/> + <object class="NSColor" key="NSBackgroundColor" id="680151942"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">headerColor</string> + <reference key="NSColor" ref="900413395"/> + </object> + <reference key="NSTextColor" ref="31684012"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="862346433"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="207456822"/> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="NSTableColumn" id="650577164"> + <string key="NSIdentifier">port</string> + <double key="NSWidth">3.200000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Port</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="680151942"/> + <reference key="NSTextColor" ref="31684012"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="275996652"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="207456822"/> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="NSTableColumn" id="814467956"> + <string key="NSIdentifier">database</string> + <double key="NSWidth">8.000000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">Database</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="680151942"/> + <reference key="NSTextColor" ref="31684012"/> + </object> + <object class="NSTextFieldCell" key="NSDataCell" id="758071422"> + <int key="NSCellFlags">337772096</int> + <int key="NSCellFlags2">133120</int> + <string key="NSContents">Text Cell</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="207456822"/> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + <object class="NSTableColumn" id="931839220"> + <string key="NSIdentifier">useSSH</string> + <double key="NSWidth">4.400000e+01</double> + <double key="NSMinWidth">1.000000e+01</double> + <double key="NSMaxWidth">1.000000e+03</double> + <object class="NSTableHeaderCell" key="NSHeaderCell"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">0</int> + <string key="NSContents">use SSH</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSBackgroundColor" ref="680151942"/> + <reference key="NSTextColor" ref="31684012"/> + </object> + <object class="NSButtonCell" key="NSDataCell" id="879297655"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents"/> + <object class="NSFont" key="NSSupport"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.200000e+01</double> + <int key="NSfFlags">16</int> + </object> + <reference key="NSControlView" ref="207456822"/> + <int key="NSButtonFlags">1215582719</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + </object> + <int key="NSResizingMask">3</int> + <bool key="NSIsResizeable">YES</bool> + <bool key="NSIsEditable">YES</bool> + <reference key="NSTableView" ref="207456822"/> + </object> + </object> + <double key="NSIntercellSpacingWidth">3.000000e+00</double> + <double key="NSIntercellSpacingHeight">2.000000e+00</double> + <object class="NSColor" key="NSBackgroundColor" id="129141099"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlBackgroundColor</string> + <object class="NSColor" key="NSColor" id="621534883"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC42NjY2NjY2OQA</bytes> + </object> + </object> + <object class="NSColor" key="NSGridColor"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">gridColor</string> + <object class="NSColor" key="NSColor"> + <int key="NSColorSpace">3</int> + <bytes key="NSWhite">MC41AA</bytes> + </object> + </object> + <double key="NSRowHeight">1.500000e+01</double> + <int key="NSTvFlags">-222298112</int> + <int key="NSColumnAutoresizingStyle">4</int> + <int key="NSDraggingSourceMaskForLocal">15</int> + <int key="NSDraggingSourceMaskForNonLocal">0</int> + <bool key="NSAllowsTypeSelect">YES</bool> + </object> + </object> + <string key="NSFrame">{{1, 17}, {414, 169}}</string> + <reference key="NSSuperview" ref="1003742956"/> + <reference key="NSNextKeyView" ref="207456822"/> + <reference key="NSDocView" ref="207456822"/> + <reference key="NSBGColor" ref="129141099"/> + <int key="NScvFlags">4</int> + </object> + <object class="NSScroller" id="257545235"> + <reference key="NSNextResponder" ref="1003742956"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{415, 17}, {11, 169}}</string> + <reference key="NSSuperview" ref="1003742956"/> + <int key="NSsFlags">256</int> + <reference key="NSTarget" ref="1003742956"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">9.941176e-01</double> + </object> + <object class="NSScroller" id="1049987731"> + <reference key="NSNextResponder" ref="1003742956"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{1, 186}, {414, 11}}</string> + <reference key="NSSuperview" ref="1003742956"/> + <int key="NSsFlags">257</int> + <reference key="NSTarget" ref="1003742956"/> + <string key="NSAction">_doScroller:</string> + <double key="NSPercent">2.315789e-01</double> + </object> + <object class="NSClipView" id="175827989"> + <reference key="NSNextResponder" ref="1003742956"/> + <int key="NSvFlags">2304</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="733755652"/> + </object> + <string key="NSFrame">{{1, 0}, {414, 17}}</string> + <reference key="NSSuperview" ref="1003742956"/> + <reference key="NSNextKeyView" ref="733755652"/> + <reference key="NSDocView" ref="733755652"/> + <reference key="NSBGColor" ref="129141099"/> + <int key="NScvFlags">4</int> + </object> + <reference ref="1024004993"/> + </object> + <string key="NSFrame">{{263, 52}, {427, 198}}</string> + <reference key="NSSuperview" ref="577801299"/> + <reference key="NSNextKeyView" ref="44813966"/> + <int key="NSsFlags">50</int> + <reference key="NSVScroller" ref="257545235"/> + <reference key="NSHScroller" ref="1049987731"/> + <reference key="NSContentView" ref="44813966"/> + <reference key="NSHeaderClipView" ref="175827989"/> + <reference key="NSCornerView" ref="1024004993"/> + <bytes key="NSScrollAmts">QSAAAEEgAABBiAAAQYgAAA</bytes> + </object> + <object class="NSTextField" id="123224733"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{260, 258}, {52, 14}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="503714814"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Favorites</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="123224733"/> + <object class="NSColor" key="NSBackgroundColor" id="623648594"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">controlColor</string> + <reference key="NSColor" ref="621534883"/> + </object> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSButton" id="463862448"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{664, 16}, {28, 30}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="777318512"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Add</string> + <object class="NSFont" key="NSSupport" id="568942350"> + <string key="NSName">LucidaGrande</string> + <double key="NSSize">1.300000e+01</double> + <int key="NSfFlags">1044</int> + </object> + <reference key="NSControlView" ref="463862448"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">402653186</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">connectionadd</string> + </object> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent">a</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="1041662747"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{632, 16}, {28, 30}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="224476992"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Remove</string> + <reference key="NSSupport" ref="568942350"/> + <reference key="NSControlView" ref="1041662747"/> + <int key="NSButtonFlags">113524991</int> + <int key="NSButtonFlags2">2</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">connectiondelete</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="737120239"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{600, 16}, {28, 30}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="351109649"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134217728</int> + <string key="NSContents">Copy</string> + <reference key="NSSupport" ref="568942350"/> + <reference key="NSControlView" ref="737120239"/> + <int key="NSButtonFlags">-2033958657</int> + <int key="NSButtonFlags2">34</int> + <object class="NSCustomResource" key="NSNormalImage"> + <string key="NSClassName">NSImage</string> + <string key="NSResourceName">NSRemoveTemplate</string> + </object> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">fw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="806941966"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{22, 75}, {51, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="271241912"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents">NULL</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="806941966"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <object class="NSColor" key="NSTextColor" id="20373800"> + <int key="NSColorSpace">6</int> + <string key="NSCatalogName">System</string> + <string key="NSColorName">textColor</string> + <reference key="NSColor" ref="850238404"/> + </object> + </object> + </object> + <object class="NSTextField" id="68052230"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{78, 76}, {168, 14}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="559434116"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">String to display NULL-Values</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="68052230"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSButton" id="851752934"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 177}, {225, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="66072963"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Show error when no rows are affected</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="851752934"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="243879219"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 157}, {185, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="285776142"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string type="base64-UTF8" key="NSContents">RG9uJ3QgbG9hZCBibG9iIGFuZCB0ZXh0IGZpZWxkcw</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="243879219"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="831104417"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 97}, {100, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="756576347"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Limit result to</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="831104417"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="871452374"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{123, 98}, {76, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="995216132"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">71435264</int> + <string key="NSContents">100</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="871452374"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="898567731"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{204, 99}, {30, 14}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="935622201"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">rows</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="898567731"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="903135386"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{162, 52}, {98, 14}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="902388592"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Default Encoding</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="903135386"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSButton" id="694106864"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 137}, {185, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="160637283"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Use monospaced fonts</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="694106864"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSNormalImage" ref="541574380"/> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSPopUpButton" id="875312152"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">258</int> + <string key="NSFrame">{{19, 46}, {141, 22}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSPopUpButtonCell" key="NSCell" id="520776436"> + <int key="NSCellFlags">-2076049856</int> + <int key="NSCellFlags2">132096</int> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="875312152"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <object class="NSMutableString" key="NSKeyEquivalent"> + <characters key="NS.bytes"/> + </object> + <int key="NSPeriodicDelay">400</int> + <int key="NSPeriodicInterval">75</int> + <object class="NSMenuItem" key="NSMenuItem" id="481722270"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Autodetect</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <int key="NSState">1</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <bool key="NSMenuItemRespectAlignment">YES</bool> + <object class="NSMenu" key="NSMenu" id="991161599"> + <string key="NSTitle">OtherViews</string> + <object class="NSMutableArray" key="NSMenuItems"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="481722270"/> + <object class="NSMenuItem" id="1070199592"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="661522009"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">UCS-2 Unicode (ucs2)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="961786925"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">UTF-8 Unicode (utf8)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="32802552"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="292921352"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">US ASCII (ascii)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="410282019"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">ISO Latin 1 (latin1)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="595997512"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Mac Roman (macroman)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="175827808"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="766008473"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Windows Latin 2 (cp1250)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="734815424"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">ISO Latin 2 (latin2)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="17568253"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="873084026"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Windows Arabic (cp1256)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="594848717"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">ISO Greek (greek)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="487957815"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">ISO Hebrew (hebrew)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="773639144"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">ISO Turkish (latin5)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="348282105"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="659097547"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Windows Baltic (cp1257)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="443840617"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="665492238"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Windows Cyrillic (cp1251)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="288134736"> + <reference key="NSMenu" ref="991161599"/> + <bool key="NSIsDisabled">YES</bool> + <bool key="NSIsSeparator">YES</bool> + <string key="NSTitle"/> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="362589377"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Big5 Traditional Chinese (big5)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="210049517"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">Shift-JIS Japanese (sjis)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + <object class="NSMenuItem" id="727488063"> + <reference key="NSMenu" ref="991161599"/> + <string key="NSTitle">EUC-JP Japanese (ujis)</string> + <string key="NSKeyEquiv"/> + <int key="NSKeyEquivModMask">1048576</int> + <int key="NSMnemonicLoc">2147483647</int> + <reference key="NSOnImage" ref="625762401"/> + <reference key="NSMixedImage" ref="315854375"/> + <string key="NSAction">_popUpItemAction:</string> + <reference key="NSTarget" ref="520776436"/> + </object> + </object> + </object> + <int key="NSPreferredEdge">3</int> + <bool key="NSUsesItemFromMenu">YES</bool> + <bool key="NSAltersState">YES</bool> + <int key="NSArrowPosition">1</int> + </object> + </object> + <object class="NSButton" id="355398401"> + <reference key="NSNextResponder" ref="577801299"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{19, 117}, {194, 18}}</string> + <reference key="NSSuperview" ref="577801299"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="693721839"> + <int key="NSCellFlags">-2080244224</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Fetch correct row count (slower)</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="355398401"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + </object> + <string key="NSFrameSize">{710, 292}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSCustomObject" id="432083121"> + <string key="NSClassName">MainController</string> + </object> + <object class="NSCustomObject" id="140335764"> + <string key="NSClassName">KeyChain</string> + </object> + <object class="NSWindowTemplate" id="505727398"> + <int key="NSWindowStyleMask">1</int> + <int key="NSWindowBacking">2</int> + <string key="NSWindowRect">{{828, 556}, {278, 365}}</string> + <int key="NSWTFlags">1886912512</int> + <string key="NSWindowTitle">favoriteSheet</string> + <string key="NSWindowClass">NSWindow</string> + <object class="NSMutableString" key="NSViewClass"> + <characters key="NS.bytes">View</characters> + </object> + <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> + <string key="NSWindowContentMinSize">{213, 107}</string> + <object class="NSView" key="NSWindowView" id="388121886"> + <nil key="NSNextResponder"/> + <int key="NSvFlags">256</int> + <object class="NSMutableArray" key="NSSubviews"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSTextField" id="133407513"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 223}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="363824013"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="133407513"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSSecureTextField" id="622497651"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 249}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSSecureTextFieldCell" key="NSCell" id="455443720"> + <int key="NSCellFlags">341966336</int> + <int key="NSCellFlags2">4325376</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="622497651"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + <object class="NSArray" key="NSAllowedInputLocales"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>NSAllRomanInputSourcesLocaleIdentifier</string> + </object> + </object> + </object> + <object class="NSTextField" id="1004858887"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 302}, {29, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="888028330"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Host</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1004858887"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="642868453"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 276}, {29, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="756071891"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">VXNlcgo</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="642868453"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="1044049211"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 224}, {63, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="701170939"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Database *</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1044049211"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="834250450"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 275}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="248816528"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="834250450"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSButton" id="263233492"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{97, 13}, {84, 28}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="332907231"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Cancel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="263233492"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">Gw</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSButton" id="751668226"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{179, 13}, {84, 28}}</string> + <reference key="NSSuperview" ref="388121886"/> + <int key="NSTag">1</int> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="441897070"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">134348800</int> + <string key="NSContents">Save</string> + <reference key="NSSupport" ref="26"/> + <int key="NSTag">1</int> + <reference key="NSControlView" ref="751668226"/> + <int key="NSButtonFlags">-2038284033</int> + <int key="NSButtonFlags2">1</int> + <reference key="NSAlternateImage" ref="26"/> + <string key="NSAlternateContents"/> + <string type="base64-UTF8" key="NSKeyEquivalent">DQ</string> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="784008929"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 250}, {55, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="106911925"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">UGFzc3dvcmQKA</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="784008929"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="253597986"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 172}, {35, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="143026256"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Port *</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="253597986"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="828199769"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 171}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="226972500"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="828199769"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="360181642"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 301}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="969257359"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="360181642"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="526510128"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 328}, {35, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="419021908"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">TmFtZQo</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="526510128"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="564743141"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 327}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="985040924"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="564743141"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="960356350"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 198}, {48, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="774811191"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Socket *</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="960356350"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="1056966506"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 197}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="922735723"> + <int key="NSCellFlags">-1804468671</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1056966506"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="277530422"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 21}, {57, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="688615614"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">* optional</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="277530422"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSButton" id="610013967"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{17, 147}, {118, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSButtonCell" key="NSCell" id="999287184"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">131072</int> + <string key="NSContents">Use SSH tunnel</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="610013967"/> + <int key="NSButtonFlags">1211912703</int> + <int key="NSButtonFlags2">2</int> + <reference key="NSAlternateImage" ref="808268770"/> + <string key="NSAlternateContents"/> + <string key="NSKeyEquivalent"/> + <int key="NSPeriodicDelay">200</int> + <int key="NSPeriodicInterval">25</int> + </object> + </object> + <object class="NSTextField" id="61473119"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 97}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="200101549"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="61473119"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="454179152"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 71}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="959856526"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="454179152"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="159797207"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 97}, {55, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="484979475"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">U1NIIFVzZXIKA</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="159797207"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="708661907"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{183, 71}, {78, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="266173512"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string type="base64-UTF8" key="NSContents">U1NIIFBhc3N3b3JkCg</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="708661907"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="598744808"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 123}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="171890843"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents"/> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="598744808"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="781996466"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 124}, {55, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="167812000"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">SSH Host</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="781996466"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + <object class="NSTextField" id="1019229109"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{20, 45}, {159, 18}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="187645822"> + <int key="NSCellFlags">-1267597759</int> + <int key="NSCellFlags2">4326400</int> + <string key="NSContents">8888</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="1019229109"/> + <bool key="NSDrawsBackground">YES</bool> + <reference key="NSBackgroundColor" ref="1050488244"/> + <reference key="NSTextColor" ref="20373800"/> + </object> + </object> + <object class="NSTextField" id="363218100"> + <reference key="NSNextResponder" ref="388121886"/> + <int key="NSvFlags">256</int> + <string key="NSFrame">{{184, 46}, {63, 14}}</string> + <reference key="NSSuperview" ref="388121886"/> + <bool key="NSEnabled">YES</bool> + <object class="NSTextFieldCell" key="NSCell" id="33769222"> + <int key="NSCellFlags">67239424</int> + <int key="NSCellFlags2">4194304</int> + <string key="NSContents">Local Port</string> + <reference key="NSSupport" ref="26"/> + <reference key="NSControlView" ref="363218100"/> + <reference key="NSBackgroundColor" ref="623648594"/> + <reference key="NSTextColor" ref="88029211"/> + </object> + </object> + </object> + <string key="NSFrameSize">{278, 365}</string> + </object> + <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string> + <string key="NSMinSize">{213, 129}</string> + <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> + </object> + <object class="NSCustomObject" id="138191718"> + <string key="NSClassName">SUUpdater</string> + </object> + </object> + <object class="IBObjectContainer" key="IBDocument.Objects"> + <object class="NSMutableArray" key="connectionRecords"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">performMiniaturize:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="324106717"/> + </object> + <int key="connectionID">37</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">arrangeInFront:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="751336988"/> + </object> + <int key="connectionID">39</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">runPageLayout:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="946601370"/> + </object> + <int key="connectionID">87</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">showHelp:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="896818469"/> + </object> + <int key="connectionID">122</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">orderFrontStandardAboutPanel:</string> + <reference key="source" ref="515727999"/> + <reference key="destination" ref="962420073"/> + </object> + <int key="connectionID">142</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">hideOtherApplications:</string> + <reference key="source" ref="515727999"/> + <reference key="destination" ref="778958493"/> + </object> + <int key="connectionID">146</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">hide:</string> + <reference key="source" ref="515727999"/> + <reference key="destination" ref="639001571"/> + </object> + <int key="connectionID">152</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">unhideAllApplications:</string> + <reference key="source" ref="515727999"/> + <reference key="destination" ref="640346474"/> + </object> + <int key="connectionID">153</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">cut:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="489223599"/> + </object> + <int key="connectionID">175</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">paste:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="892596559"/> + </object> + <int key="connectionID">176</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">redo:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="394802420"/> + </object> + <int key="connectionID">178</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">selectAll:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="849404241"/> + </object> + <int key="connectionID">179</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">undo:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="345362865"/> + </object> + <int key="connectionID">180</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copy:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="959544562"/> + </object> + <int key="connectionID">181</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">clear:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="736016769"/> + </object> + <int key="connectionID">183</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">showGuessPanel:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="328585548"/> + </object> + <int key="connectionID">188</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">checkSpelling:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="163333159"/> + </object> + <int key="connectionID">190</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">toggleContinuousSpellChecking:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="272286913"/> + </object> + <int key="connectionID">192</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">performClose:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="390057667"/> + </object> + <int key="connectionID">193</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">newDocument:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="617509313"/> + </object> + <int key="connectionID">194</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">reloadAfterAddingSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="98546574"/> + </object> + <int key="connectionID">214</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">reloadAfterEditingSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="168178889"/> + </object> + <int key="connectionID">215</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">reloadAfterRemovingSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="404675813"/> + </object> + <int key="connectionID">216</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">openPreferences:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="24975751"/> + </object> + <int key="connectionID">218</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">preferencesWindow</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="142512296"/> + </object> + <int key="connectionID">219</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dataSource</string> + <reference key="source" ref="207456822"/> + <reference key="destination" ref="432083121"/> + </object> + <int key="connectionID">235</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addFavorite:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="463862448"/> + </object> + <int key="connectionID">236</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeFavorite:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="1041662747"/> + </object> + <int key="connectionID">237</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">tableView</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="207456822"/> + </object> + <int key="connectionID">238</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyFavorite:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="737120239"/> + </object> + <int key="connectionID">241</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nullValueField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="806941966"/> + </object> + <int key="connectionID">245</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">keyChainInstance</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="140335764"/> + </object> + <int key="connectionID">248</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nameField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="564743141"/> + </object> + <int key="connectionID">274</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">hostField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="360181642"/> + </object> + <int key="connectionID">276</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">userField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="834250450"/> + </object> + <int key="connectionID">277</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">passwordField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="622497651"/> + </object> + <int key="connectionID">278</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">portField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="828199769"/> + </object> + <int key="connectionID">279</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">databaseField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="133407513"/> + </object> + <int key="connectionID">280</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">favoriteSheet</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="505727398"/> + </object> + <int key="connectionID">281</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeFavoriteSheet:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="751668226"/> + </object> + <int key="connectionID">282</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">closeFavoriteSheet:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="263233492"/> + </object> + <int key="connectionID">283</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="207456822"/> + <reference key="destination" ref="432083121"/> + </object> + <int key="connectionID">285</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">showErrorSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="851752934"/> + </object> + <int key="connectionID">287</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">dontShowBlobSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="243879219"/> + </object> + <int key="connectionID">292</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">limitRowsField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="871452374"/> + </object> + <int key="connectionID">316</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">limitRowsSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="831104417"/> + </object> + <int key="connectionID">317</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseLimitRows:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="831104417"/> + </object> + <int key="connectionID">321</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="183322562"/> + </object> + <int key="connectionID">427</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="167426300"/> + </object> + <int key="connectionID">430</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="6397208"/> + </object> + <int key="connectionID">434</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">donate:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="683151301"/> + </object> + <int key="connectionID">440</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">delegate</string> + <reference key="source" ref="142512296"/> + <reference key="destination" ref="432083121"/> + </object> + <int key="connectionID">481</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">useMonospacedFontsSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="694106864"/> + </object> + <int key="connectionID">482</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">socketField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="1056966506"/> + </object> + <int key="connectionID">486</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">viewStructure:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="417888240"/> + </object> + <int key="connectionID">501</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">viewContent:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="388367969"/> + </object> + <int key="connectionID">502</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">viewQuery:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="438779812"/> + </object> + <int key="connectionID">503</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">viewStatus:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="1058233714"/> + </object> + <int key="connectionID">506</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">initialFirstResponder</string> + <reference key="source" ref="505727398"/> + <reference key="destination" ref="564743141"/> + </object> + <int key="connectionID">507</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="564743141"/> + <reference key="destination" ref="360181642"/> + </object> + <int key="connectionID">508</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="360181642"/> + <reference key="destination" ref="834250450"/> + </object> + <int key="connectionID">509</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="834250450"/> + <reference key="destination" ref="622497651"/> + </object> + <int key="connectionID">510</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="622497651"/> + <reference key="destination" ref="133407513"/> + </object> + <int key="connectionID">511</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="133407513"/> + <reference key="destination" ref="1056966506"/> + </object> + <int key="connectionID">512</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="1056966506"/> + <reference key="destination" ref="828199769"/> + </object> + <int key="connectionID">513</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="828199769"/> + <reference key="destination" ref="564743141"/> + </object> + <int key="connectionID">514</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">visitWebsite:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="257632548"/> + </object> + <int key="connectionID">517</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">visitHelpWebsite:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="379292312"/> + </object> + <int key="connectionID">520</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="61473119"/> + <reference key="destination" ref="454179152"/> + </object> + <int key="connectionID">530</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="598744808"/> + <reference key="destination" ref="61473119"/> + </object> + <int key="connectionID">531</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="454179152"/> + <reference key="destination" ref="1019229109"/> + </object> + <int key="connectionID">532</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">nextKeyView</string> + <reference key="source" ref="1019229109"/> + <reference key="destination" ref="598744808"/> + </object> + <int key="connectionID">533</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">toggleUseSSH:</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="610013967"/> + </object> + <int key="connectionID">534</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sshCheckbox</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="610013967"/> + </object> + <int key="connectionID">535</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sshHostField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="598744808"/> + </object> + <int key="connectionID">536</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sshUserField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="61473119"/> + </object> + <int key="connectionID">537</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sshPasswordField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="454179152"/> + </object> + <int key="connectionID">538</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">sshPortField</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="1019229109"/> + </object> + <int key="connectionID">539</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">encodingPopUpButton</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="875312152"/> + </object> + <int key="connectionID">575</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">fetchRowCountSwitch</string> + <reference key="source" ref="432083121"/> + <reference key="destination" ref="355398401"/> + </object> + <int key="connectionID">578</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">addDatabase:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="653250987"/> + </object> + <int key="connectionID">630</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">removeDatabase:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="602994413"/> + </object> + <int key="connectionID">659</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">setDatabases:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="265095049"/> + </object> + <int key="connectionID">660</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="315523933"/> + </object> + <int key="connectionID">662</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="428425210"/> + </object> + <int key="connectionID">663</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="587809847"/> + </object> + <int key="connectionID">664</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="247892805"/> + </object> + <int key="connectionID">665</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="1045933524"/> + </object> + <int key="connectionID">666</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="1019891968"/> + </object> + <int key="connectionID">667</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="272867556"/> + </object> + <int key="connectionID">668</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="114701997"/> + </object> + <int key="connectionID">669</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="86485907"/> + </object> + <int key="connectionID">670</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="243329592"/> + </object> + <int key="connectionID">671</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="620428396"/> + </object> + <int key="connectionID">672</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="290468717"/> + </object> + <int key="connectionID">673</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="537895346"/> + </object> + <int key="connectionID">674</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="803749958"/> + </object> + <int key="connectionID">675</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="691508085"/> + </object> + <int key="connectionID">676</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">chooseEncoding:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="705318648"/> + </object> + <int key="connectionID">677</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">exportMultipleTables:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="564863492"/> + </object> + <int key="connectionID">681</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">exportMultipleTables:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="1048701220"/> + </object> + <int key="connectionID">682</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">checkTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="785987636"/> + </object> + <int key="connectionID">767</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">analyzeTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="587676764"/> + </object> + <int key="connectionID">768</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">optimizeTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="384546710"/> + </object> + <int key="connectionID">769</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">repairTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="149240322"/> + </object> + <int key="connectionID">770</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">flushTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="309258449"/> + </object> + <int key="connectionID">771</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">showCreateTableSyntax:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="638185532"/> + </object> + <int key="connectionID">780</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyCreateTableSyntax:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="449401330"/> + </object> + <int key="connectionID">781</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">showVariables:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="973684327"/> + </object> + <int key="connectionID">784</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">flushPrivileges:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="7204100"/> + </object> + <int key="connectionID">786</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">copyTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="329733140"/> + </object> + <int key="connectionID">788</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">toggleConsole:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="924530602"/> + </object> + <int key="connectionID">792</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">clearConsole:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="551338335"/> + </object> + <int key="connectionID">793</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">checkForUpdates:</string> + <reference key="source" ref="138191718"/> + <reference key="destination" ref="615940863"/> + </object> + <int key="connectionID">796</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">checksumTable:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="712078058"/> + </object> + <int key="connectionID">798</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">runToolbarCustomizationPalette:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="173454563"/> + </object> + <int key="connectionID">808</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">toggleToolbarShown:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="358795349"/> + </object> + <int key="connectionID">809</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">terminate:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="867125855"/> + </object> + <int key="connectionID">810</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">import:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="867960923"/> + </object> + <int key="connectionID">811</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">printDocument:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="197057557"/> + </object> + <int key="connectionID">813</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="146976252"/> + </object> + <int key="connectionID">825</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="609924406"/> + </object> + <int key="connectionID">826</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="423106625"/> + </object> + <int key="connectionID">827</int> + </object> + <object class="IBConnectionRecord"> + <object class="IBActionConnection" key="connection"> + <string key="label">export:</string> + <reference key="source" ref="63651044"/> + <reference key="destination" ref="499136806"/> + </object> + <int key="connectionID">828</int> + </object> + </object> + <object class="IBMutableOrderedSet" key="objectRecords"> + <object class="NSArray" key="orderedObjects"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBObjectRecord"> + <int key="objectID">0</int> + <object class="NSArray" key="object" id="201414690"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <reference key="children" ref="549353383"/> + <nil key="parent"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-2</int> + <reference key="object" ref="515727999"/> + <reference key="parent" ref="201414690"/> + <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-1</int> + <reference key="object" ref="63651044"/> + <reference key="parent" ref="201414690"/> + <string key="objectName">First Responder</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">-3</int> + <reference key="object" ref="506939842"/> + <reference key="parent" ref="201414690"/> + <string key="objectName">Application</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">29</int> + <reference key="object" ref="171386461"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="232591944"/> + <reference ref="928644695"/> + <reference ref="86447006"/> + <reference ref="835585357"/> + <reference ref="119995921"/> + <reference ref="401969940"/> + <reference ref="693420496"/> + <reference ref="228261277"/> + </object> + <reference key="parent" ref="201414690"/> + <string key="objectName">MainMenu</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">19</int> + <reference key="object" ref="232591944"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="850647710"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">24</int> + <reference key="object" ref="850647710"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="751336988"/> + <reference ref="324106717"/> + <reference ref="989778787"/> + </object> + <reference key="parent" ref="232591944"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">5</int> + <reference key="object" ref="751336988"/> + <reference key="parent" ref="850647710"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">23</int> + <reference key="object" ref="324106717"/> + <reference key="parent" ref="850647710"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">92</int> + <reference key="object" ref="989778787"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <reference key="parent" ref="850647710"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">56</int> + <reference key="object" ref="928644695"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="90185757"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">57</int> + <reference key="object" ref="90185757"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="962420073"/> + <reference ref="24975751"/> + <reference ref="941312301"/> + <reference ref="639001571"/> + <reference ref="867125855"/> + <reference ref="520611831"/> + <reference ref="935928930"/> + <reference ref="778958493"/> + <reference ref="140438033"/> + <reference ref="640346474"/> + <reference ref="635312828"/> + <reference ref="1022411839"/> + <reference ref="683151301"/> + <reference ref="257632548"/> + <reference ref="615940863"/> + </object> + <reference key="parent" ref="928644695"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">58</int> + <reference key="object" ref="962420073"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">129</int> + <reference key="object" ref="24975751"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">131</int> + <reference key="object" ref="941312301"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="383764627"/> + </object> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">130</int> + <reference key="object" ref="383764627"/> + <reference key="parent" ref="941312301"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">134</int> + <reference key="object" ref="639001571"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">136</int> + <reference key="object" ref="867125855"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">143</int> + <reference key="object" ref="520611831"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">144</int> + <reference key="object" ref="935928930"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">145</int> + <reference key="object" ref="778958493"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">149</int> + <reference key="object" ref="140438033"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">150</int> + <reference key="object" ref="640346474"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">199</int> + <reference key="object" ref="635312828"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">435</int> + <reference key="object" ref="1022411839"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">438</int> + <reference key="object" ref="683151301"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">516</int> + <reference key="object" ref="257632548"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">83</int> + <reference key="object" ref="86447006"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="709725194"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">81</int> + <reference key="object" ref="709725194"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="239138731"/> + <reference ref="946601370"/> + <reference ref="197057557"/> + <reference ref="985746359"/> + <reference ref="617509313"/> + <reference ref="867960923"/> + <reference ref="258329286"/> + <reference ref="390057667"/> + <reference ref="3878246"/> + </object> + <reference key="parent" ref="86447006"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">73</int> + <reference key="object" ref="390057667"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">74</int> + <reference key="object" ref="239138731"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">77</int> + <reference key="object" ref="946601370"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">78</int> + <reference key="object" ref="197057557"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">79</int> + <reference key="object" ref="985746359"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">82</int> + <reference key="object" ref="617509313"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">324</int> + <reference key="object" ref="3878246"/> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">369</int> + <reference key="object" ref="867960923"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">372</int> + <reference key="object" ref="258329286"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="277457689"/> + </object> + <reference key="parent" ref="709725194"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">373</int> + <reference key="object" ref="277457689"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="183322562"/> + <reference ref="497310196"/> + <reference ref="233286683"/> + <reference ref="44352296"/> + <reference ref="1004249038"/> + <reference ref="586592608"/> + </object> + <reference key="parent" ref="258329286"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">377</int> + <reference key="object" ref="183322562"/> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">378</int> + <reference key="object" ref="497310196"/> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">385</int> + <reference key="object" ref="233286683"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="933751314"/> + </object> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">394</int> + <reference key="object" ref="44352296"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="983024930"/> + </object> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">395</int> + <reference key="object" ref="983024930"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="167426300"/> + <reference ref="6397208"/> + </object> + <reference key="parent" ref="44352296"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">405</int> + <reference key="object" ref="167426300"/> + <reference key="parent" ref="983024930"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">433</int> + <reference key="object" ref="6397208"/> + <reference key="parent" ref="983024930"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">400</int> + <reference key="object" ref="1004249038"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="703407521"/> + </object> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">401</int> + <reference key="object" ref="703407521"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="564863492"/> + <reference ref="1048701220"/> + </object> + <reference key="parent" ref="1004249038"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">407</int> + <reference key="object" ref="564863492"/> + <reference key="parent" ref="703407521"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">408</int> + <reference key="object" ref="1048701220"/> + <reference key="parent" ref="703407521"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">103</int> + <reference key="object" ref="835585357"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1021151289"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">106</int> + <reference key="object" ref="1021151289"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="896818469"/> + <reference ref="379292312"/> + </object> + <reference key="parent" ref="835585357"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">111</int> + <reference key="object" ref="896818469"/> + <reference key="parent" ref="1021151289"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">518</int> + <reference key="object" ref="379292312"/> + <reference key="parent" ref="1021151289"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">163</int> + <reference key="object" ref="119995921"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="71086556"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">169</int> + <reference key="object" ref="71086556"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="465877627"/> + <reference ref="959544562"/> + <reference ref="345362865"/> + <reference ref="489223599"/> + <reference ref="736016769"/> + <reference ref="972995992"/> + <reference ref="892596559"/> + <reference ref="849404241"/> + <reference ref="394802420"/> + <reference ref="16954220"/> + <reference ref="227719162"/> + <reference ref="329733140"/> + </object> + <reference key="parent" ref="119995921"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">156</int> + <reference key="object" ref="465877627"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">157</int> + <reference key="object" ref="959544562"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">158</int> + <reference key="object" ref="345362865"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">160</int> + <reference key="object" ref="489223599"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">164</int> + <reference key="object" ref="736016769"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">168</int> + <reference key="object" ref="972995992"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="302471527"/> + </object> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">159</int> + <reference key="object" ref="302471527"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="19248090"/> + <reference ref="418923160"/> + <reference ref="921138658"/> + <reference ref="567667222"/> + <reference ref="334958124"/> + </object> + <reference key="parent" ref="972995992"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">154</int> + <reference key="object" ref="19248090"/> + <reference key="parent" ref="302471527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">155</int> + <reference key="object" ref="418923160"/> + <reference key="parent" ref="302471527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">161</int> + <reference key="object" ref="921138658"/> + <reference key="parent" ref="302471527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">162</int> + <reference key="object" ref="567667222"/> + <reference key="parent" ref="302471527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">167</int> + <reference key="object" ref="334958124"/> + <reference key="parent" ref="302471527"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">171</int> + <reference key="object" ref="892596559"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">172</int> + <reference key="object" ref="849404241"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">173</int> + <reference key="object" ref="394802420"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">174</int> + <reference key="object" ref="16954220"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">184</int> + <reference key="object" ref="227719162"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="574641885"/> + </object> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">185</int> + <reference key="object" ref="574641885"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="328585548"/> + <reference ref="163333159"/> + <reference ref="272286913"/> + </object> + <reference key="parent" ref="227719162"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">187</int> + <reference key="object" ref="328585548"/> + <reference key="parent" ref="574641885"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">189</int> + <reference key="object" ref="163333159"/> + <reference key="parent" ref="574641885"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">191</int> + <reference key="object" ref="272286913"/> + <reference key="parent" ref="574641885"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">496</int> + <reference key="object" ref="401969940"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="466354362"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">498</int> + <reference key="object" ref="466354362"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="417888240"/> + <reference ref="388367969"/> + <reference ref="438779812"/> + <reference ref="1058233714"/> + <reference ref="510805568"/> + <reference ref="551338335"/> + <reference ref="924530602"/> + <reference ref="761247690"/> + <reference ref="173454563"/> + <reference ref="358795349"/> + </object> + <reference key="parent" ref="401969940"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">497</int> + <reference key="object" ref="417888240"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">499</int> + <reference key="object" ref="388367969"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">500</int> + <reference key="object" ref="438779812"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">504</int> + <reference key="object" ref="1058233714"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">627</int> + <reference key="object" ref="693420496"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="172963563"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">628</int> + <reference key="object" ref="172963563"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="653250987"/> + <reference ref="602994413"/> + <reference ref="788707136"/> + <reference ref="265095049"/> + <reference ref="14535230"/> + <reference ref="197143231"/> + <reference ref="822553772"/> + <reference ref="973684327"/> + <reference ref="7204100"/> + </object> + <reference key="parent" ref="693420496"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">629</int> + <reference key="object" ref="653250987"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">631</int> + <reference key="object" ref="602994413"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">632</int> + <reference key="object" ref="788707136"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">633</int> + <reference key="object" ref="265095049"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">634</int> + <reference key="object" ref="14535230"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">658</int> + <reference key="object" ref="197143231"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="487618540"/> + </object> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">635</int> + <reference key="object" ref="487618540"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="929144169"/> + <reference ref="272867556"/> + <reference ref="587809847"/> + <reference ref="537895346"/> + <reference ref="1019891968"/> + <reference ref="1045933524"/> + <reference ref="428425210"/> + <reference ref="620428396"/> + <reference ref="86485907"/> + <reference ref="691508085"/> + <reference ref="705318648"/> + <reference ref="649847059"/> + <reference ref="247892805"/> + <reference ref="315523933"/> + <reference ref="145813245"/> + <reference ref="239164973"/> + <reference ref="831843460"/> + <reference ref="114701997"/> + <reference ref="243329592"/> + <reference ref="384948978"/> + <reference ref="290468717"/> + <reference ref="803749958"/> + </object> + <reference key="parent" ref="197143231"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">636</int> + <reference key="object" ref="929144169"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">637</int> + <reference key="object" ref="272867556"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">638</int> + <reference key="object" ref="587809847"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">639</int> + <reference key="object" ref="537895346"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">640</int> + <reference key="object" ref="1019891968"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">641</int> + <reference key="object" ref="1045933524"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">642</int> + <reference key="object" ref="428425210"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">643</int> + <reference key="object" ref="620428396"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">644</int> + <reference key="object" ref="86485907"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">645</int> + <reference key="object" ref="691508085"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">646</int> + <reference key="object" ref="705318648"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">647</int> + <reference key="object" ref="649847059"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">648</int> + <reference key="object" ref="247892805"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">649</int> + <reference key="object" ref="315523933"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">650</int> + <reference key="object" ref="145813245"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">651</int> + <reference key="object" ref="239164973"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">652</int> + <reference key="object" ref="831843460"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">653</int> + <reference key="object" ref="114701997"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">654</int> + <reference key="object" ref="243329592"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">655</int> + <reference key="object" ref="384948978"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">656</int> + <reference key="object" ref="290468717"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">657</int> + <reference key="object" ref="803749958"/> + <reference key="parent" ref="487618540"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">204</int> + <reference key="object" ref="142512296"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="577801299"/> + </object> + <reference key="parent" ref="201414690"/> + <string key="objectName">preferencesWindow</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">205</int> + <reference key="object" ref="577801299"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="168178889"/> + <reference ref="404675813"/> + <reference ref="98546574"/> + <reference ref="1003742956"/> + <reference ref="123224733"/> + <reference ref="463862448"/> + <reference ref="1041662747"/> + <reference ref="737120239"/> + <reference ref="806941966"/> + <reference ref="68052230"/> + <reference ref="851752934"/> + <reference ref="243879219"/> + <reference ref="831104417"/> + <reference ref="871452374"/> + <reference ref="898567731"/> + <reference ref="903135386"/> + <reference ref="694106864"/> + <reference ref="875312152"/> + <reference ref="355398401"/> + </object> + <reference key="parent" ref="142512296"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">202</int> + <reference key="object" ref="168178889"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="743845997"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">203</int> + <reference key="object" ref="404675813"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="241850972"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">206</int> + <reference key="object" ref="98546574"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="640312923"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">227</int> + <reference key="object" ref="1003742956"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="207456822"/> + <reference ref="257545235"/> + <reference ref="1049987731"/> + <reference ref="733755652"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">225</int> + <reference key="object" ref="207456822"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="392250876"/> + <reference ref="245728218"/> + <reference ref="434530023"/> + <reference ref="650577164"/> + <reference ref="814467956"/> + <reference ref="931839220"/> + </object> + <reference key="parent" ref="1003742956"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">226</int> + <reference key="object" ref="392250876"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="883862848"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">544</int> + <reference key="object" ref="883862848"/> + <reference key="parent" ref="392250876"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">228</int> + <reference key="object" ref="245728218"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="858819253"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">543</int> + <reference key="object" ref="858819253"/> + <reference key="parent" ref="245728218"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">229</int> + <reference key="object" ref="434530023"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="862346433"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">545</int> + <reference key="object" ref="862346433"/> + <reference key="parent" ref="434530023"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">230</int> + <reference key="object" ref="650577164"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="275996652"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">546</int> + <reference key="object" ref="275996652"/> + <reference key="parent" ref="650577164"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">231</int> + <reference key="object" ref="814467956"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="758071422"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">547</int> + <reference key="object" ref="758071422"/> + <reference key="parent" ref="814467956"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">540</int> + <reference key="object" ref="931839220"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="879297655"/> + </object> + <reference key="parent" ref="207456822"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">542</int> + <reference key="object" ref="879297655"/> + <reference key="parent" ref="931839220"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">232</int> + <reference key="object" ref="123224733"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="503714814"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">233</int> + <reference key="object" ref="463862448"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="777318512"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">234</int> + <reference key="object" ref="1041662747"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="224476992"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">240</int> + <reference key="object" ref="737120239"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="351109649"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">243</int> + <reference key="object" ref="806941966"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="271241912"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">244</int> + <reference key="object" ref="68052230"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="559434116"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">286</int> + <reference key="object" ref="851752934"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="66072963"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">288</int> + <reference key="object" ref="243879219"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="285776142"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">289</int> + <reference key="object" ref="831104417"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="756576347"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">290</int> + <reference key="object" ref="871452374"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="995216132"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">291</int> + <reference key="object" ref="898567731"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="935622201"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">441</int> + <reference key="object" ref="903135386"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="902388592"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">479</int> + <reference key="object" ref="694106864"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="160637283"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">549</int> + <reference key="object" ref="875312152"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="520776436"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">576</int> + <reference key="object" ref="355398401"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="693721839"/> + </object> + <reference key="parent" ref="577801299"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">213</int> + <reference key="object" ref="432083121"/> + <reference key="parent" ref="201414690"/> + <string key="objectName">MainController</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">247</int> + <reference key="object" ref="140335764"/> + <reference key="parent" ref="201414690"/> + <string key="objectName">KeyChain</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">249</int> + <reference key="object" ref="505727398"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="388121886"/> + </object> + <reference key="parent" ref="201414690"/> + <string key="objectName">favoriteSheet</string> + </object> + <object class="IBObjectRecord"> + <int key="objectID">250</int> + <reference key="object" ref="388121886"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="133407513"/> + <reference ref="622497651"/> + <reference ref="1004858887"/> + <reference ref="642868453"/> + <reference ref="1044049211"/> + <reference ref="834250450"/> + <reference ref="263233492"/> + <reference ref="751668226"/> + <reference ref="784008929"/> + <reference ref="253597986"/> + <reference ref="828199769"/> + <reference ref="360181642"/> + <reference ref="526510128"/> + <reference ref="564743141"/> + <reference ref="960356350"/> + <reference ref="1056966506"/> + <reference ref="277530422"/> + <reference ref="610013967"/> + <reference ref="61473119"/> + <reference ref="454179152"/> + <reference ref="159797207"/> + <reference ref="708661907"/> + <reference ref="598744808"/> + <reference ref="781996466"/> + <reference ref="1019229109"/> + <reference ref="363218100"/> + </object> + <reference key="parent" ref="505727398"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">251</int> + <reference key="object" ref="133407513"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="363824013"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">252</int> + <reference key="object" ref="622497651"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="455443720"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">253</int> + <reference key="object" ref="1004858887"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="888028330"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">255</int> + <reference key="object" ref="642868453"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="756071891"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">256</int> + <reference key="object" ref="1044049211"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="701170939"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">257</int> + <reference key="object" ref="834250450"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="248816528"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">258</int> + <reference key="object" ref="263233492"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="332907231"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">260</int> + <reference key="object" ref="751668226"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="441897070"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">261</int> + <reference key="object" ref="784008929"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="106911925"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">262</int> + <reference key="object" ref="253597986"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="143026256"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">264</int> + <reference key="object" ref="828199769"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="226972500"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">266</int> + <reference key="object" ref="360181642"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="969257359"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">272</int> + <reference key="object" ref="526510128"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="419021908"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">273</int> + <reference key="object" ref="564743141"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="985040924"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">483</int> + <reference key="object" ref="960356350"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="774811191"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">484</int> + <reference key="object" ref="1056966506"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="922735723"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">485</int> + <reference key="object" ref="277530422"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="688615614"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">521</int> + <reference key="object" ref="610013967"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="999287184"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">522</int> + <reference key="object" ref="61473119"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="200101549"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">523</int> + <reference key="object" ref="454179152"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="959856526"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">524</int> + <reference key="object" ref="159797207"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="484979475"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">525</int> + <reference key="object" ref="708661907"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="266173512"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">526</int> + <reference key="object" ref="598744808"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="171890843"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">527</int> + <reference key="object" ref="781996466"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="167812000"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">528</int> + <reference key="object" ref="1019229109"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="187645822"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">529</int> + <reference key="object" ref="363218100"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="33769222"/> + </object> + <reference key="parent" ref="388121886"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">700</int> + <reference key="object" ref="743845997"/> + <reference key="parent" ref="168178889"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">701</int> + <reference key="object" ref="241850972"/> + <reference key="parent" ref="404675813"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">702</int> + <reference key="object" ref="640312923"/> + <reference key="parent" ref="98546574"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">703</int> + <reference key="object" ref="503714814"/> + <reference key="parent" ref="123224733"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">704</int> + <reference key="object" ref="777318512"/> + <reference key="parent" ref="463862448"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">705</int> + <reference key="object" ref="224476992"/> + <reference key="parent" ref="1041662747"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">706</int> + <reference key="object" ref="351109649"/> + <reference key="parent" ref="737120239"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">707</int> + <reference key="object" ref="271241912"/> + <reference key="parent" ref="806941966"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">708</int> + <reference key="object" ref="559434116"/> + <reference key="parent" ref="68052230"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">709</int> + <reference key="object" ref="66072963"/> + <reference key="parent" ref="851752934"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">710</int> + <reference key="object" ref="285776142"/> + <reference key="parent" ref="243879219"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">711</int> + <reference key="object" ref="756576347"/> + <reference key="parent" ref="831104417"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">712</int> + <reference key="object" ref="995216132"/> + <reference key="parent" ref="871452374"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">713</int> + <reference key="object" ref="935622201"/> + <reference key="parent" ref="898567731"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">714</int> + <reference key="object" ref="902388592"/> + <reference key="parent" ref="903135386"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">715</int> + <reference key="object" ref="160637283"/> + <reference key="parent" ref="694106864"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">716</int> + <reference key="object" ref="520776436"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="991161599"/> + </object> + <reference key="parent" ref="875312152"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">717</int> + <reference key="object" ref="693721839"/> + <reference key="parent" ref="355398401"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">718</int> + <reference key="object" ref="363824013"/> + <reference key="parent" ref="133407513"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">719</int> + <reference key="object" ref="455443720"/> + <reference key="parent" ref="622497651"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">720</int> + <reference key="object" ref="888028330"/> + <reference key="parent" ref="1004858887"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">721</int> + <reference key="object" ref="756071891"/> + <reference key="parent" ref="642868453"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">722</int> + <reference key="object" ref="701170939"/> + <reference key="parent" ref="1044049211"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">723</int> + <reference key="object" ref="248816528"/> + <reference key="parent" ref="834250450"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">724</int> + <reference key="object" ref="332907231"/> + <reference key="parent" ref="263233492"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">725</int> + <reference key="object" ref="441897070"/> + <reference key="parent" ref="751668226"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">726</int> + <reference key="object" ref="106911925"/> + <reference key="parent" ref="784008929"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">727</int> + <reference key="object" ref="143026256"/> + <reference key="parent" ref="253597986"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">728</int> + <reference key="object" ref="226972500"/> + <reference key="parent" ref="828199769"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">729</int> + <reference key="object" ref="969257359"/> + <reference key="parent" ref="360181642"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">730</int> + <reference key="object" ref="419021908"/> + <reference key="parent" ref="526510128"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">731</int> + <reference key="object" ref="985040924"/> + <reference key="parent" ref="564743141"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">732</int> + <reference key="object" ref="774811191"/> + <reference key="parent" ref="960356350"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">733</int> + <reference key="object" ref="922735723"/> + <reference key="parent" ref="1056966506"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">734</int> + <reference key="object" ref="688615614"/> + <reference key="parent" ref="277530422"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">735</int> + <reference key="object" ref="999287184"/> + <reference key="parent" ref="610013967"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">736</int> + <reference key="object" ref="200101549"/> + <reference key="parent" ref="61473119"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">737</int> + <reference key="object" ref="959856526"/> + <reference key="parent" ref="454179152"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">738</int> + <reference key="object" ref="484979475"/> + <reference key="parent" ref="159797207"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">739</int> + <reference key="object" ref="266173512"/> + <reference key="parent" ref="708661907"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">740</int> + <reference key="object" ref="171890843"/> + <reference key="parent" ref="598744808"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">741</int> + <reference key="object" ref="167812000"/> + <reference key="parent" ref="781996466"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">742</int> + <reference key="object" ref="187645822"/> + <reference key="parent" ref="1019229109"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">743</int> + <reference key="object" ref="33769222"/> + <reference key="parent" ref="363218100"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">550</int> + <reference key="object" ref="991161599"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="481722270"/> + <reference ref="1070199592"/> + <reference ref="348282105"/> + <reference ref="727488063"/> + <reference ref="210049517"/> + <reference ref="595997512"/> + <reference ref="17568253"/> + <reference ref="665492238"/> + <reference ref="410282019"/> + <reference ref="773639144"/> + <reference ref="292921352"/> + <reference ref="659097547"/> + <reference ref="32802552"/> + <reference ref="734815424"/> + <reference ref="766008473"/> + <reference ref="175827808"/> + <reference ref="961786925"/> + <reference ref="661522009"/> + <reference ref="594848717"/> + <reference ref="873084026"/> + <reference ref="362589377"/> + <reference ref="443840617"/> + <reference ref="487957815"/> + <reference ref="288134736"/> + </object> + <reference key="parent" ref="520776436"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">574</int> + <reference key="object" ref="481722270"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">573</int> + <reference key="object" ref="1070199592"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">572</int> + <reference key="object" ref="348282105"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">571</int> + <reference key="object" ref="727488063"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">570</int> + <reference key="object" ref="210049517"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">569</int> + <reference key="object" ref="595997512"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">568</int> + <reference key="object" ref="17568253"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">567</int> + <reference key="object" ref="665492238"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">566</int> + <reference key="object" ref="410282019"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">565</int> + <reference key="object" ref="773639144"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">564</int> + <reference key="object" ref="292921352"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">563</int> + <reference key="object" ref="659097547"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">562</int> + <reference key="object" ref="32802552"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">561</int> + <reference key="object" ref="734815424"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">560</int> + <reference key="object" ref="766008473"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">559</int> + <reference key="object" ref="175827808"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">558</int> + <reference key="object" ref="961786925"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">557</int> + <reference key="object" ref="661522009"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">556</int> + <reference key="object" ref="594848717"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">555</int> + <reference key="object" ref="873084026"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">554</int> + <reference key="object" ref="362589377"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">553</int> + <reference key="object" ref="443840617"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">552</int> + <reference key="object" ref="487957815"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">551</int> + <reference key="object" ref="288134736"/> + <reference key="parent" ref="991161599"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">744</int> + <reference key="object" ref="257545235"/> + <reference key="parent" ref="1003742956"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">745</int> + <reference key="object" ref="1049987731"/> + <reference key="parent" ref="1003742956"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">746</int> + <reference key="object" ref="733755652"/> + <reference key="parent" ref="1003742956"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">757</int> + <reference key="object" ref="228261277"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="1056168652"/> + </object> + <reference key="parent" ref="171386461"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">758</int> + <reference key="object" ref="1056168652"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="449401330"/> + <reference ref="785987636"/> + <reference ref="587676764"/> + <reference ref="384546710"/> + <reference ref="149240322"/> + <reference ref="309258449"/> + <reference ref="336993056"/> + <reference ref="638185532"/> + <reference ref="712078058"/> + </object> + <reference key="parent" ref="228261277"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">759</int> + <reference key="object" ref="449401330"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">760</int> + <reference key="object" ref="785987636"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">761</int> + <reference key="object" ref="587676764"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">762</int> + <reference key="object" ref="384546710"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">763</int> + <reference key="object" ref="149240322"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">764</int> + <reference key="object" ref="309258449"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">765</int> + <reference key="object" ref="336993056"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">778</int> + <reference key="object" ref="638185532"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">782</int> + <reference key="object" ref="822553772"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">783</int> + <reference key="object" ref="973684327"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">785</int> + <reference key="object" ref="7204100"/> + <reference key="parent" ref="172963563"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">787</int> + <reference key="object" ref="329733140"/> + <reference key="parent" ref="71086556"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">789</int> + <reference key="object" ref="510805568"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">790</int> + <reference key="object" ref="551338335"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">791</int> + <reference key="object" ref="924530602"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">794</int> + <reference key="object" ref="615940863"/> + <reference key="parent" ref="90185757"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">795</int> + <reference key="object" ref="138191718"/> + <reference key="parent" ref="201414690"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">797</int> + <reference key="object" ref="712078058"/> + <reference key="parent" ref="1056168652"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">805</int> + <reference key="object" ref="761247690"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">806</int> + <reference key="object" ref="173454563"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">807</int> + <reference key="object" ref="358795349"/> + <reference key="parent" ref="466354362"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">386</int> + <reference key="object" ref="933751314"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="609924406"/> + <reference ref="146976252"/> + </object> + <reference key="parent" ref="233286683"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">404</int> + <reference key="object" ref="609924406"/> + <reference key="parent" ref="933751314"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">403</int> + <reference key="object" ref="146976252"/> + <reference key="parent" ref="933751314"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">821</int> + <reference key="object" ref="586592608"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="246588402"/> + </object> + <reference key="parent" ref="277457689"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">822</int> + <reference key="object" ref="246588402"/> + <object class="NSMutableArray" key="children"> + <bool key="EncodedWithXMLCoder">YES</bool> + <reference ref="423106625"/> + <reference ref="499136806"/> + </object> + <reference key="parent" ref="586592608"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">823</int> + <reference key="object" ref="423106625"/> + <reference key="parent" ref="246588402"/> + </object> + <object class="IBObjectRecord"> + <int key="objectID">824</int> + <reference key="object" ref="499136806"/> + <reference key="parent" ref="246588402"/> + </object> + </object> + </object> + <object class="NSMutableDictionary" key="flattenedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>-1.IBPluginDependency</string> + <string>-2.IBPluginDependency</string> + <string>-3.IBPluginDependency</string> + <string>-3.ImportedFromIB2</string> + <string>103.IBPluginDependency</string> + <string>103.ImportedFromIB2</string> + <string>106.IBEditorWindowLastContentRect</string> + <string>106.IBPluginDependency</string> + <string>106.ImportedFromIB2</string> + <string>106.editorWindowContentRectSynchronizationRect</string> + <string>111.IBPluginDependency</string> + <string>111.ImportedFromIB2</string> + <string>129.IBPluginDependency</string> + <string>129.ImportedFromIB2</string> + <string>130.IBPluginDependency</string> + <string>130.ImportedFromIB2</string> + <string>131.IBPluginDependency</string> + <string>131.ImportedFromIB2</string> + <string>134.IBPluginDependency</string> + <string>134.ImportedFromIB2</string> + <string>136.IBPluginDependency</string> + <string>136.ImportedFromIB2</string> + <string>143.IBPluginDependency</string> + <string>143.ImportedFromIB2</string> + <string>144.IBPluginDependency</string> + <string>144.ImportedFromIB2</string> + <string>145.IBPluginDependency</string> + <string>145.ImportedFromIB2</string> + <string>149.IBPluginDependency</string> + <string>149.ImportedFromIB2</string> + <string>150.IBPluginDependency</string> + <string>150.ImportedFromIB2</string> + <string>154.IBPluginDependency</string> + <string>154.ImportedFromIB2</string> + <string>155.IBPluginDependency</string> + <string>155.ImportedFromIB2</string> + <string>156.IBPluginDependency</string> + <string>156.ImportedFromIB2</string> + <string>157.IBPluginDependency</string> + <string>157.ImportedFromIB2</string> + <string>158.IBPluginDependency</string> + <string>158.ImportedFromIB2</string> + <string>159.IBEditorWindowLastContentRect</string> + <string>159.IBPluginDependency</string> + <string>159.ImportedFromIB2</string> + <string>160.IBPluginDependency</string> + <string>160.ImportedFromIB2</string> + <string>161.IBPluginDependency</string> + <string>161.ImportedFromIB2</string> + <string>162.IBPluginDependency</string> + <string>162.ImportedFromIB2</string> + <string>163.IBPluginDependency</string> + <string>163.ImportedFromIB2</string> + <string>164.IBPluginDependency</string> + <string>164.ImportedFromIB2</string> + <string>167.IBPluginDependency</string> + <string>167.ImportedFromIB2</string> + <string>168.IBPluginDependency</string> + <string>168.ImportedFromIB2</string> + <string>169.IBEditorWindowLastContentRect</string> + <string>169.IBPluginDependency</string> + <string>169.ImportedFromIB2</string> + <string>169.editorWindowContentRectSynchronizationRect</string> + <string>171.IBPluginDependency</string> + <string>171.ImportedFromIB2</string> + <string>172.IBPluginDependency</string> + <string>172.ImportedFromIB2</string> + <string>173.IBPluginDependency</string> + <string>173.ImportedFromIB2</string> + <string>174.IBPluginDependency</string> + <string>174.ImportedFromIB2</string> + <string>184.IBPluginDependency</string> + <string>184.ImportedFromIB2</string> + <string>185.IBEditorWindowLastContentRect</string> + <string>185.IBPluginDependency</string> + <string>185.ImportedFromIB2</string> + <string>187.IBPluginDependency</string> + <string>187.ImportedFromIB2</string> + <string>189.IBPluginDependency</string> + <string>189.ImportedFromIB2</string> + <string>19.IBPluginDependency</string> + <string>19.ImportedFromIB2</string> + <string>191.IBPluginDependency</string> + <string>191.ImportedFromIB2</string> + <string>199.IBPluginDependency</string> + <string>199.ImportedFromIB2</string> + <string>202.IBAttributePlaceholdersKey</string> + <string>202.IBPluginDependency</string> + <string>202.ImportedFromIB2</string> + <string>203.IBAttributePlaceholdersKey</string> + <string>203.IBPluginDependency</string> + <string>203.ImportedFromIB2</string> + <string>204.IBWindowTemplateEditedContentRect</string> + <string>204.ImportedFromIB2</string> + <string>204.editorWindowContentRectSynchronizationRect</string> + <string>204.windowTemplate.hasMaxSize</string> + <string>204.windowTemplate.hasMinSize</string> + <string>204.windowTemplate.maxSize</string> + <string>204.windowTemplate.minSize</string> + <string>205.IBPluginDependency</string> + <string>205.ImportedFromIB2</string> + <string>206.IBAttributePlaceholdersKey</string> + <string>206.IBPluginDependency</string> + <string>206.ImportedFromIB2</string> + <string>213.IBPluginDependency</string> + <string>213.ImportedFromIB2</string> + <string>225.IBPluginDependency</string> + <string>225.ImportedFromIB2</string> + <string>226.IBPluginDependency</string> + <string>226.ImportedFromIB2</string> + <string>227.IBAttributePlaceholdersKey</string> + <string>227.IBPluginDependency</string> + <string>227.ImportedFromIB2</string> + <string>228.IBPluginDependency</string> + <string>228.ImportedFromIB2</string> + <string>229.IBPluginDependency</string> + <string>229.ImportedFromIB2</string> + <string>23.IBPluginDependency</string> + <string>23.ImportedFromIB2</string> + <string>230.IBPluginDependency</string> + <string>230.ImportedFromIB2</string> + <string>231.IBPluginDependency</string> + <string>231.ImportedFromIB2</string> + <string>232.IBPluginDependency</string> + <string>232.ImportedFromIB2</string> + <string>233.IBAttributePlaceholdersKey</string> + <string>233.IBPluginDependency</string> + <string>233.ImportedFromIB2</string> + <string>234.IBAttributePlaceholdersKey</string> + <string>234.IBPluginDependency</string> + <string>234.ImportedFromIB2</string> + <string>24.IBEditorWindowLastContentRect</string> + <string>24.IBPluginDependency</string> + <string>24.ImportedFromIB2</string> + <string>24.editorWindowContentRectSynchronizationRect</string> + <string>240.IBAttributePlaceholdersKey</string> + <string>240.IBPluginDependency</string> + <string>240.ImportedFromIB2</string> + <string>243.IBAttributePlaceholdersKey</string> + <string>243.IBPluginDependency</string> + <string>243.ImportedFromIB2</string> + <string>244.IBPluginDependency</string> + <string>244.ImportedFromIB2</string> + <string>247.IBPluginDependency</string> + <string>247.ImportedFromIB2</string> + <string>249.IBWindowTemplateEditedContentRect</string> + <string>249.ImportedFromIB2</string> + <string>249.editorWindowContentRectSynchronizationRect</string> + <string>249.windowTemplate.hasMaxSize</string> + <string>249.windowTemplate.hasMinSize</string> + <string>249.windowTemplate.maxSize</string> + <string>249.windowTemplate.minSize</string> + <string>250.IBPluginDependency</string> + <string>250.ImportedFromIB2</string> + <string>251.IBPluginDependency</string> + <string>251.ImportedFromIB2</string> + <string>252.IBPluginDependency</string> + <string>252.ImportedFromIB2</string> + <string>253.IBPluginDependency</string> + <string>253.ImportedFromIB2</string> + <string>255.IBPluginDependency</string> + <string>255.ImportedFromIB2</string> + <string>256.IBPluginDependency</string> + <string>256.ImportedFromIB2</string> + <string>257.IBPluginDependency</string> + <string>257.ImportedFromIB2</string> + <string>258.IBPluginDependency</string> + <string>258.ImportedFromIB2</string> + <string>260.IBPluginDependency</string> + <string>260.ImportedFromIB2</string> + <string>261.IBPluginDependency</string> + <string>261.ImportedFromIB2</string> + <string>262.IBPluginDependency</string> + <string>262.ImportedFromIB2</string> + <string>264.IBPluginDependency</string> + <string>264.ImportedFromIB2</string> + <string>266.IBPluginDependency</string> + <string>266.ImportedFromIB2</string> + <string>272.IBPluginDependency</string> + <string>272.ImportedFromIB2</string> + <string>273.IBPluginDependency</string> + <string>273.ImportedFromIB2</string> + <string>286.IBAttributePlaceholdersKey</string> + <string>286.IBPluginDependency</string> + <string>286.ImportedFromIB2</string> + <string>288.IBAttributePlaceholdersKey</string> + <string>288.IBPluginDependency</string> + <string>288.ImportedFromIB2</string> + <string>289.IBAttributePlaceholdersKey</string> + <string>289.IBPluginDependency</string> + <string>289.ImportedFromIB2</string> + <string>29.IBEditorWindowLastContentRect</string> + <string>29.IBPluginDependency</string> + <string>29.ImportedFromIB2</string> + <string>29.editorWindowContentRectSynchronizationRect</string> + <string>290.IBAttributePlaceholdersKey</string> + <string>290.IBPluginDependency</string> + <string>290.ImportedFromIB2</string> + <string>291.IBAttributePlaceholdersKey</string> + <string>291.IBPluginDependency</string> + <string>291.ImportedFromIB2</string> + <string>324.IBPluginDependency</string> + <string>324.ImportedFromIB2</string> + <string>369.IBPluginDependency</string> + <string>369.ImportedFromIB2</string> + <string>372.IBPluginDependency</string> + <string>372.ImportedFromIB2</string> + <string>373.IBEditorWindowLastContentRect</string> + <string>373.IBPluginDependency</string> + <string>373.ImportedFromIB2</string> + <string>373.editorWindowContentRectSynchronizationRect</string> + <string>377.IBPluginDependency</string> + <string>377.ImportedFromIB2</string> + <string>378.IBPluginDependency</string> + <string>378.ImportedFromIB2</string> + <string>385.IBPluginDependency</string> + <string>385.ImportedFromIB2</string> + <string>386.IBEditorWindowLastContentRect</string> + <string>386.IBPluginDependency</string> + <string>386.ImportedFromIB2</string> + <string>394.IBPluginDependency</string> + <string>394.ImportedFromIB2</string> + <string>395.IBEditorWindowLastContentRect</string> + <string>395.IBPluginDependency</string> + <string>395.ImportedFromIB2</string> + <string>400.IBPluginDependency</string> + <string>400.ImportedFromIB2</string> + <string>401.IBEditorWindowLastContentRect</string> + <string>401.IBPluginDependency</string> + <string>401.ImportedFromIB2</string> + <string>403.IBPluginDependency</string> + <string>403.ImportedFromIB2</string> + <string>404.IBPluginDependency</string> + <string>404.ImportedFromIB2</string> + <string>405.IBPluginDependency</string> + <string>405.ImportedFromIB2</string> + <string>407.IBPluginDependency</string> + <string>407.ImportedFromIB2</string> + <string>408.IBPluginDependency</string> + <string>408.ImportedFromIB2</string> + <string>433.IBPluginDependency</string> + <string>433.ImportedFromIB2</string> + <string>435.IBPluginDependency</string> + <string>435.ImportedFromIB2</string> + <string>438.IBPluginDependency</string> + <string>438.ImportedFromIB2</string> + <string>441.IBPluginDependency</string> + <string>441.ImportedFromIB2</string> + <string>479.IBAttributePlaceholdersKey</string> + <string>479.IBPluginDependency</string> + <string>479.ImportedFromIB2</string> + <string>483.IBPluginDependency</string> + <string>483.ImportedFromIB2</string> + <string>484.IBPluginDependency</string> + <string>484.ImportedFromIB2</string> + <string>485.IBPluginDependency</string> + <string>485.ImportedFromIB2</string> + <string>496.IBPluginDependency</string> + <string>496.ImportedFromIB2</string> + <string>497.IBPluginDependency</string> + <string>497.ImportedFromIB2</string> + <string>498.IBEditorWindowLastContentRect</string> + <string>498.IBPluginDependency</string> + <string>498.ImportedFromIB2</string> + <string>498.editorWindowContentRectSynchronizationRect</string> + <string>499.IBPluginDependency</string> + <string>499.ImportedFromIB2</string> + <string>5.IBPluginDependency</string> + <string>5.ImportedFromIB2</string> + <string>500.IBPluginDependency</string> + <string>500.ImportedFromIB2</string> + <string>504.IBPluginDependency</string> + <string>504.ImportedFromIB2</string> + <string>516.IBPluginDependency</string> + <string>516.ImportedFromIB2</string> + <string>518.IBPluginDependency</string> + <string>518.ImportedFromIB2</string> + <string>521.IBPluginDependency</string> + <string>521.ImportedFromIB2</string> + <string>522.IBPluginDependency</string> + <string>522.ImportedFromIB2</string> + <string>523.CustomClassName</string> + <string>523.IBPluginDependency</string> + <string>523.ImportedFromIB2</string> + <string>524.IBPluginDependency</string> + <string>524.ImportedFromIB2</string> + <string>525.IBPluginDependency</string> + <string>525.ImportedFromIB2</string> + <string>526.IBPluginDependency</string> + <string>526.ImportedFromIB2</string> + <string>527.IBPluginDependency</string> + <string>527.ImportedFromIB2</string> + <string>528.IBPluginDependency</string> + <string>528.ImportedFromIB2</string> + <string>529.IBPluginDependency</string> + <string>529.ImportedFromIB2</string> + <string>540.IBPluginDependency</string> + <string>540.ImportedFromIB2</string> + <string>542.IBPluginDependency</string> + <string>542.ImportedFromIB2</string> + <string>543.IBPluginDependency</string> + <string>543.ImportedFromIB2</string> + <string>544.IBPluginDependency</string> + <string>544.ImportedFromIB2</string> + <string>545.IBPluginDependency</string> + <string>545.ImportedFromIB2</string> + <string>546.IBPluginDependency</string> + <string>546.ImportedFromIB2</string> + <string>547.IBPluginDependency</string> + <string>547.ImportedFromIB2</string> + <string>549.IBPluginDependency</string> + <string>549.ImportedFromIB2</string> + <string>550.IBPluginDependency</string> + <string>550.ImportedFromIB2</string> + <string>550.editorWindowContentRectSynchronizationRect</string> + <string>551.IBPluginDependency</string> + <string>551.ImportedFromIB2</string> + <string>552.IBPluginDependency</string> + <string>552.ImportedFromIB2</string> + <string>553.IBPluginDependency</string> + <string>553.ImportedFromIB2</string> + <string>554.IBPluginDependency</string> + <string>554.ImportedFromIB2</string> + <string>555.IBPluginDependency</string> + <string>555.ImportedFromIB2</string> + <string>556.IBPluginDependency</string> + <string>556.ImportedFromIB2</string> + <string>557.IBPluginDependency</string> + <string>557.ImportedFromIB2</string> + <string>558.IBPluginDependency</string> + <string>558.ImportedFromIB2</string> + <string>559.IBPluginDependency</string> + <string>559.ImportedFromIB2</string> + <string>56.IBPluginDependency</string> + <string>56.ImportedFromIB2</string> + <string>560.IBPluginDependency</string> + <string>560.ImportedFromIB2</string> + <string>561.IBPluginDependency</string> + <string>561.ImportedFromIB2</string> + <string>562.IBPluginDependency</string> + <string>562.ImportedFromIB2</string> + <string>563.IBPluginDependency</string> + <string>563.ImportedFromIB2</string> + <string>564.IBPluginDependency</string> + <string>564.ImportedFromIB2</string> + <string>565.IBPluginDependency</string> + <string>565.ImportedFromIB2</string> + <string>566.IBPluginDependency</string> + <string>566.ImportedFromIB2</string> + <string>567.IBPluginDependency</string> + <string>567.ImportedFromIB2</string> + <string>568.IBPluginDependency</string> + <string>568.ImportedFromIB2</string> + <string>569.IBPluginDependency</string> + <string>569.ImportedFromIB2</string> + <string>57.IBEditorWindowLastContentRect</string> + <string>57.IBPluginDependency</string> + <string>57.ImportedFromIB2</string> + <string>57.editorWindowContentRectSynchronizationRect</string> + <string>570.IBPluginDependency</string> + <string>570.ImportedFromIB2</string> + <string>571.IBPluginDependency</string> + <string>571.ImportedFromIB2</string> + <string>572.IBPluginDependency</string> + <string>572.ImportedFromIB2</string> + <string>573.IBPluginDependency</string> + <string>573.ImportedFromIB2</string> + <string>574.IBPluginDependency</string> + <string>574.ImportedFromIB2</string> + <string>576.IBAttributePlaceholdersKey</string> + <string>576.IBPluginDependency</string> + <string>576.ImportedFromIB2</string> + <string>58.IBPluginDependency</string> + <string>58.ImportedFromIB2</string> + <string>627.IBPluginDependency</string> + <string>627.ImportedFromIB2</string> + <string>628.IBEditorWindowLastContentRect</string> + <string>628.IBPluginDependency</string> + <string>628.ImportedFromIB2</string> + <string>628.editorWindowContentRectSynchronizationRect</string> + <string>629.IBPluginDependency</string> + <string>629.ImportedFromIB2</string> + <string>631.IBPluginDependency</string> + <string>631.ImportedFromIB2</string> + <string>632.IBPluginDependency</string> + <string>632.ImportedFromIB2</string> + <string>633.IBPluginDependency</string> + <string>633.ImportedFromIB2</string> + <string>634.IBPluginDependency</string> + <string>634.ImportedFromIB2</string> + <string>635.IBPluginDependency</string> + <string>635.ImportedFromIB2</string> + <string>635.editorWindowContentRectSynchronizationRect</string> + <string>636.IBPluginDependency</string> + <string>636.ImportedFromIB2</string> + <string>637.IBPluginDependency</string> + <string>637.ImportedFromIB2</string> + <string>638.IBPluginDependency</string> + <string>638.ImportedFromIB2</string> + <string>639.IBPluginDependency</string> + <string>639.ImportedFromIB2</string> + <string>640.IBPluginDependency</string> + <string>640.ImportedFromIB2</string> + <string>641.IBPluginDependency</string> + <string>641.ImportedFromIB2</string> + <string>642.IBPluginDependency</string> + <string>642.ImportedFromIB2</string> + <string>643.IBPluginDependency</string> + <string>643.ImportedFromIB2</string> + <string>644.IBPluginDependency</string> + <string>644.ImportedFromIB2</string> + <string>645.IBPluginDependency</string> + <string>645.ImportedFromIB2</string> + <string>646.IBPluginDependency</string> + <string>646.ImportedFromIB2</string> + <string>647.IBPluginDependency</string> + <string>647.ImportedFromIB2</string> + <string>648.IBPluginDependency</string> + <string>648.ImportedFromIB2</string> + <string>649.IBPluginDependency</string> + <string>649.ImportedFromIB2</string> + <string>650.IBPluginDependency</string> + <string>650.ImportedFromIB2</string> + <string>651.IBPluginDependency</string> + <string>651.ImportedFromIB2</string> + <string>652.IBPluginDependency</string> + <string>652.ImportedFromIB2</string> + <string>653.IBPluginDependency</string> + <string>653.ImportedFromIB2</string> + <string>654.IBPluginDependency</string> + <string>654.ImportedFromIB2</string> + <string>655.IBPluginDependency</string> + <string>655.ImportedFromIB2</string> + <string>656.IBPluginDependency</string> + <string>656.ImportedFromIB2</string> + <string>657.IBPluginDependency</string> + <string>657.ImportedFromIB2</string> + <string>658.IBPluginDependency</string> + <string>658.ImportedFromIB2</string> + <string>700.IBPluginDependency</string> + <string>701.IBPluginDependency</string> + <string>702.IBPluginDependency</string> + <string>703.IBPluginDependency</string> + <string>704.IBPluginDependency</string> + <string>705.IBPluginDependency</string> + <string>706.IBPluginDependency</string> + <string>707.IBPluginDependency</string> + <string>708.IBPluginDependency</string> + <string>709.IBPluginDependency</string> + <string>710.IBPluginDependency</string> + <string>711.IBPluginDependency</string> + <string>712.IBPluginDependency</string> + <string>713.IBPluginDependency</string> + <string>714.IBPluginDependency</string> + <string>715.IBPluginDependency</string> + <string>716.IBPluginDependency</string> + <string>717.IBPluginDependency</string> + <string>718.IBPluginDependency</string> + <string>719.IBPluginDependency</string> + <string>720.IBPluginDependency</string> + <string>721.IBPluginDependency</string> + <string>722.IBPluginDependency</string> + <string>723.IBPluginDependency</string> + <string>724.IBPluginDependency</string> + <string>725.IBPluginDependency</string> + <string>726.IBPluginDependency</string> + <string>727.IBPluginDependency</string> + <string>728.IBPluginDependency</string> + <string>729.IBPluginDependency</string> + <string>73.IBPluginDependency</string> + <string>73.ImportedFromIB2</string> + <string>730.IBPluginDependency</string> + <string>731.IBPluginDependency</string> + <string>732.IBPluginDependency</string> + <string>733.IBPluginDependency</string> + <string>734.IBPluginDependency</string> + <string>735.IBPluginDependency</string> + <string>736.IBPluginDependency</string> + <string>737.IBPluginDependency</string> + <string>738.IBPluginDependency</string> + <string>739.IBPluginDependency</string> + <string>74.IBPluginDependency</string> + <string>74.ImportedFromIB2</string> + <string>740.IBPluginDependency</string> + <string>741.IBPluginDependency</string> + <string>742.IBPluginDependency</string> + <string>743.IBPluginDependency</string> + <string>744.IBPluginDependency</string> + <string>744.IBShouldRemoveOnLegacySave</string> + <string>745.IBPluginDependency</string> + <string>745.IBShouldRemoveOnLegacySave</string> + <string>746.IBPluginDependency</string> + <string>746.IBShouldRemoveOnLegacySave</string> + <string>757.IBPluginDependency</string> + <string>758.IBEditorWindowLastContentRect</string> + <string>758.IBPluginDependency</string> + <string>758.editorWindowContentRectSynchronizationRect</string> + <string>759.IBPluginDependency</string> + <string>760.IBPluginDependency</string> + <string>761.IBPluginDependency</string> + <string>762.IBPluginDependency</string> + <string>763.IBPluginDependency</string> + <string>764.IBPluginDependency</string> + <string>765.IBPluginDependency</string> + <string>77.IBPluginDependency</string> + <string>77.ImportedFromIB2</string> + <string>778.IBPluginDependency</string> + <string>78.IBPluginDependency</string> + <string>78.ImportedFromIB2</string> + <string>782.IBPluginDependency</string> + <string>783.IBPluginDependency</string> + <string>785.IBPluginDependency</string> + <string>787.IBPluginDependency</string> + <string>789.IBPluginDependency</string> + <string>79.IBPluginDependency</string> + <string>79.ImportedFromIB2</string> + <string>790.IBPluginDependency</string> + <string>791.IBPluginDependency</string> + <string>794.IBPluginDependency</string> + <string>795.IBPluginDependency</string> + <string>797.IBPluginDependency</string> + <string>805.IBPluginDependency</string> + <string>806.IBPluginDependency</string> + <string>807.IBPluginDependency</string> + <string>81.IBEditorWindowLastContentRect</string> + <string>81.IBPluginDependency</string> + <string>81.ImportedFromIB2</string> + <string>81.editorWindowContentRectSynchronizationRect</string> + <string>82.IBPluginDependency</string> + <string>82.ImportedFromIB2</string> + <string>821.IBPluginDependency</string> + <string>821.ImportedFromIB2</string> + <string>822.IBEditorWindowLastContentRect</string> + <string>822.IBPluginDependency</string> + <string>822.ImportedFromIB2</string> + <string>823.IBPluginDependency</string> + <string>823.ImportedFromIB2</string> + <string>824.IBPluginDependency</string> + <string>824.ImportedFromIB2</string> + <string>83.IBPluginDependency</string> + <string>83.ImportedFromIB2</string> + <string>92.IBPluginDependency</string> + <string>92.ImportedFromIB2</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <integer value="1" id="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{581, 440}, {181, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{561, 605}, {181, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{436, 200}, {227, 103}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{279, 260}, {157, 223}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{654, 613}, {157, 223}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{436, 220}, {262, 63}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="168178889"/> + <string key="toolTip">Reload table content after a row has been edited</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="404675813"/> + <string key="toolTip">Reload table content after a row has been removed</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{59, 583}, {710, 292}}</string> + <reference ref="9"/> + <string>{{59, 583}, {710, 292}}</string> + <integer value="0" id="6"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="98546574"/> + <string key="toolTip">Reload table content after a row has been added</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="1003742956"/> + <string type="base64-UTF8" key="toolTip">RWRpdCBhIGZhdm9yaXRlIGJ5IGRvdWJsZS1jbGlja2luZyBvbiBpdCBvciBkcmFnJmRyb3AgaXQgdG8g +Y2hhbmdlIHRoZSBvcmRlcg</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="463862448"/> + <string key="toolTip">Add favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="1041662747"/> + <string key="toolTip">Remove favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{510, 430}, {197, 53}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{449, 1007}, {197, 53}}</string> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="737120239"/> + <string key="toolTip">Duplicate favorite</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="806941966"/> + <string key="toolTip">String that is used to display a field with a NULL-Value</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{828, 556}, {278, 365}}</string> + <reference ref="9"/> + <string>{{828, 556}, {278, 365}}</string> + <reference ref="6"/> + <reference ref="9"/> + <string>{3.40282e+38, 3.40282e+38}</string> + <string>{213, 107}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="851752934"/> + <string key="toolTip">Show an error when a row has been added or edited but MySQL says that no rows are affected</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="243879219"/> + <string key="toolTip">Load blob and text fields only when editing the row to speed up interface</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="831104417"/> + <string key="toolTip">Limit result to a given number of rows to speed up interface</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{245, 265}, {511, 20}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{506, 836}, {511, 20}}</string> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="871452374"/> + <string key="toolTip">Limit result to a given number of rows to speed up interface</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="898567731"/> + <string key="toolTip">Limit result to a given number of rows to speed up interface</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{555, 231}, {213, 113}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{399, 465}, {213, 93}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{768, 271}, {136, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{768, 231}, {136, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{768, 211}, {136, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="694106864"/> + <string key="toolTip">Use monospaced fonts in the interface</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{436, 241}, {235, 183}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{698, 703}, {184, 133}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>NSSecureTextField</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{67, 289}, {228, 362}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{256, 171}, {218, 253}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{518, 583}, {218, 253}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <object class="NSMutableDictionary"> + <string key="NS.key.0">ToolTip</string> + <object class="IBToolTipAttribute" key="NS.object.0"> + <string key="name">ToolTip</string> + <reference key="object" ref="355398401"/> + <string key="toolTip">Fetch the correct row count even if result is limited (may slow down interface when selecting large tables)</string> + </object> + </object> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{486, 271}, {231, 153}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{312, 683}, {231, 153}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{556, 185}, {279, 383}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{454, 310}, {268, 173}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{829, 663}, {268, 173}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <string>{{351, 112}, {205, 153}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{180, 535}, {182, 253}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>{{768, 251}, {136, 43}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> + <reference ref="9"/> + </object> + </object> + <object class="NSMutableDictionary" key="unlocalizedProperties"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="activeLocalization"/> + <object class="NSMutableDictionary" key="localizations"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + </object> + </object> + <nil key="sourceID"/> + <int key="maxID">828</int> + </object> + <object class="IBClassDescriber" key="IBDocument.Classes"> + <object class="NSMutableArray" key="referencedPartialClassDescriptions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">CMCopyTable</string> + <string key="superclassName">NSTableView</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">copy:</string> + <string key="NS.object.0">id</string> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">CMCopyTable.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">FirstResponder</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addDatabase:</string> + <string>analyzeTable:</string> + <string>checkTable:</string> + <string>checksumTable:</string> + <string>chooseEncoding:</string> + <string>clearConsole:</string> + <string>copyCreateTableSyntax:</string> + <string>copyTable:</string> + <string>export:</string> + <string>exportMultipleTables:</string> + <string>exportTable:</string> + <string>flushPrivileges:</string> + <string>flushTable:</string> + <string>import:</string> + <string>importCSV:</string> + <string>optimizeTable:</string> + <string>removeDatabase:</string> + <string>repairTable:</string> + <string>setDatabases:</string> + <string>showCreateTableSyntax:</string> + <string>showVariables:</string> + <string>toggleConsole:</string> + <string>viewContent:</string> + <string>viewQuery:</string> + <string>viewStatus:</string> + <string>viewStructure:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">KeyChain</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">KeyChain.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">KeyChain</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">MainController</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addFavorite:</string> + <string>checkForUpdates:</string> + <string>chooseLimitRows:</string> + <string>closeFavoriteSheet:</string> + <string>copyFavorite:</string> + <string>donate:</string> + <string>openPreferences:</string> + <string>removeFavorite:</string> + <string>toggleUseSSH:</string> + <string>visitHelpWebsite:</string> + <string>visitWebsite:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>databaseField</string> + <string>dontShowBlobSwitch</string> + <string>encodingPopUpButton</string> + <string>favoriteSheet</string> + <string>fetchRowCountSwitch</string> + <string>hostField</string> + <string>keyChainInstance</string> + <string>limitRowsField</string> + <string>limitRowsSwitch</string> + <string>nameField</string> + <string>nullValueField</string> + <string>passwordField</string> + <string>portField</string> + <string>preferencesWindow</string> + <string>reloadAfterAddingSwitch</string> + <string>reloadAfterEditingSwitch</string> + <string>reloadAfterRemovingSwitch</string> + <string>showErrorSwitch</string> + <string>socketField</string> + <string>sshCheckbox</string> + <string>sshHostField</string> + <string>sshPasswordField</string> + <string>sshPortField</string> + <string>sshUserField</string> + <string>tableView</string> + <string>useMonospacedFontsSwitch</string> + <string>userField</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">MainController.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">MainController</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">closePreferences:</string> + <string key="NS.object.0">id</string> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">NSMenu</string> + <string key="superclassName">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBUserSource</string> + <string key="minorKey"/> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TableDocument</string> + <string key="superclassName">NSDocument</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addDatabase:</string> + <string>analyzeTable:</string> + <string>cancelConnectSheet:</string> + <string>checkTable:</string> + <string>checksumTable:</string> + <string>chooseDatabase:</string> + <string>chooseEncoding:</string> + <string>chooseFavorite:</string> + <string>clearConsole:</string> + <string>closeDatabaseSheet:</string> + <string>closeSheet:</string> + <string>connect:</string> + <string>connectSheetAddToFavorites:</string> + <string>connectToDB:</string> + <string>copyCreateTableSyntax:</string> + <string>export:</string> + <string>exportMultipleTables:</string> + <string>exportTable:</string> + <string>flushPrivileges:</string> + <string>flushTable:</string> + <string>import:</string> + <string>optimizeTable:</string> + <string>removeDatabase:</string> + <string>removeFavorite:</string> + <string>repairTable:</string> + <string>setDatabases:</string> + <string>showCreateTableSyntax:</string> + <string>showVariables:</string> + <string>toggleConsole:</string> + <string>viewContent:</string> + <string>viewQuery:</string> + <string>viewStatus:</string> + <string>viewStructure:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>chooseDatabaseButton</string> + <string>connectFavoritesTableView</string> + <string>connectProgressBar</string> + <string>connectProgressStatusText</string> + <string>connectSheet</string> + <string>consoleDrawer</string> + <string>consoleTextView</string> + <string>createTableSyntaxWindow</string> + <string>customQueryInstance</string> + <string>databaseField</string> + <string>databaseNameField</string> + <string>databaseSheet</string> + <string>dbTablesTableView</string> + <string>favoritesButton</string> + <string>favoritesController</string> + <string>hostField</string> + <string>keyChainInstance</string> + <string>passwordField</string> + <string>portField</string> + <string>queryProgressBar</string> + <string>sidebarGrabber</string> + <string>socketField</string> + <string>syntaxView</string> + <string>syntaxViewContent</string> + <string>tableContentInstance</string> + <string>tableDumpInstance</string> + <string>tableSourceInstance</string> + <string>tableStatusInstance</string> + <string>tableTabView</string> + <string>tableWindow</string> + <string>tablesListInstance</string> + <string>userField</string> + <string>variablesSheet</string> + <string>variablesTableView</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>NSTableView</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSWindow</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSTableView</string> + <string>id</string> + <string>NSArrayController</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>NSTabView</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TableDocument.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">TablesList</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>addTable:</string> + <string>closeCopyTableSheet:</string> + <string>copyTable:</string> + <string>removeTable:</string> + <string>updateTables:</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>copyTableContentSwitch</string> + <string>copyTableNameField</string> + <string>copyTableSheet</string> + <string>customQueryInstance</string> + <string>tabView</string> + <string>tableContentInstance</string> + <string>tableDocumentInstance</string> + <string>tableDumpInstance</string> + <string>tableSourceInstance</string> + <string>tableStatusInstance</string> + <string>tableWindow</string> + <string>tablesListView</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">TablesList.h</string> + </object> + </object> + </object> + <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="IBPartialClassDescription"> + <string key="className">NSObject</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier" id="534766002"> + <string key="majorKey">IBDocumentRelativeSource</string> + <string key="minorKey">../Sparkle.framework/Versions/A/Headers/SUUpdater.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> + <string key="className">SUUpdater</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="actions"> + <string key="NS.key.0">checkForUpdates:</string> + <string key="NS.object.0">id</string> + </object> + <object class="NSMutableDictionary" key="outlets"> + <string key="NS.key.0">delegate</string> + <string key="NS.object.0">id</string> + </object> + <reference key="sourceIdentifier" ref="534766002"/> + </object> + </object> + </object> + <int key="IBDocument.localizationMode">0</int> + <string key="IBDocument.LastKnownRelativeProjectPath">../sequel-pro.xcodeproj</string> + <int key="IBDocument.defaultPropertyAccessControl">3</int> + </data> +</archive> diff --git a/trunk/English.lproj/english_help/bar.gif b/trunk/English.lproj/english_help/bar.gif Binary files differnew file mode 100644 index 00000000..f716f3f9 --- /dev/null +++ b/trunk/English.lproj/english_help/bar.gif diff --git a/trunk/English.lproj/english_help/english_help idx b/trunk/English.lproj/english_help/english_help idx Binary files differnew file mode 100644 index 00000000..beac9c4d --- /dev/null +++ b/trunk/English.lproj/english_help/english_help idx diff --git a/trunk/English.lproj/english_help/icon.gif b/trunk/English.lproj/english_help/icon.gif Binary files differnew file mode 100644 index 00000000..70f30b35 --- /dev/null +++ b/trunk/English.lproj/english_help/icon.gif diff --git a/trunk/English.lproj/english_help/index.html b/trunk/English.lproj/english_help/index.html new file mode 100755 index 00000000..265dd630 --- /dev/null +++ b/trunk/English.lproj/english_help/index.html @@ -0,0 +1,99 @@ +<html> +<head> +<title>Sequel Pro Help</title> +<meta name="AppleTitle" content="Sequel Pro Help"> +<meta NAME="AppleIcon" CONTENT="icon.gif"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial" size="-1"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="70"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"> + <h1>Sequel Pro Help</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> + +<table border="0" cellpadding="2" cellspacing="2" width="100%"> + <tr> + <td width="50%" valign="top"> + <font face="Lucida Grande,Geneva,Arial"> + <b>Topics</b> + <br> + <font size="-1"> + <a href="topics/connect.html">Connecting to a Database</a> + <br> + <a href="topics/tables.html">Managing Tables (Creation, Deletion, Changes)</a> + <br> + <a href="topics/data.html">Data Management</a> + <br> + <a href="topics/query.html">Performing Custom Queries</a> + <br> + <a href="topics/dump.html">Data Dumps (CSV, XML)</a> + <br> + <a href="topics/preferences.html">Setting Preferences</a> + <br> + <a href="topics/console.html">Console</a> + <br> + <a href="topics/encoding.html">Encoding</a> + <br> + <a href="topics/syntax.html">Table Syntax Generation</a> + <br> + <a href="topics/sample_tables.html">SQL Table examples</a> + <br> + <a href="topics/sample_query.html">SQL Query examples</a> + <br> + <a href="topics/reference.html">MySQL SQL Reference</a> + <br> + </font> + </font> + </td> + <td width="50%" valign="top"> + <font face="Lucida Grande,Geneva,Arial"> + <b>Sequel Pro Website</b> + <br> + <font size="-1"> + <a href="http://code.google.com/p/sequel-pro/">http://code.google.com/p/sequel-pro/</a> + </font> + <br> + <br> + <hr> + <b>Developers and Contributors</b> + <br> + <font size="-1">Abhi Beckert, Matt Langtree, Lorenz Textor, Jeff Skrysak, Walter Lee Davis, Tristan O'Tierney, Kotaro Funakoshi, David Buxton, Stuart B. Glenn, Jason Hallford, <a href="http://www.snowhouse.co.uk/">snowhouse</a>, <a href="http://mysql-cocoa.sourceforge.net/">MySQL Cocoa project</a></font> + <br> + <br> + <hr> + <b>MySQL Websites</b> + <br> + <font size="-1"> + <a href="http://www.mysql.com/">http://www.mysql.com/</a> + <br> + <a href="http://www.serverlogistics.com/mysql.php">http://www.serverlogistics.com/mysql.php</a> + </font> + <br> + </font> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/sequel-pro_logo.jpg b/trunk/English.lproj/english_help/sequel-pro_logo.jpg Binary files differnew file mode 100644 index 00000000..18d9f2da --- /dev/null +++ b/trunk/English.lproj/english_help/sequel-pro_logo.jpg diff --git a/trunk/English.lproj/english_help/topics/bar.gif b/trunk/English.lproj/english_help/topics/bar.gif Binary files differnew file mode 100644 index 00000000..f716f3f9 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/bar.gif diff --git a/trunk/English.lproj/english_help/topics/connect.html b/trunk/English.lproj/english_help/topics/connect.html new file mode 100755 index 00000000..2fbe0864 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/connect.html @@ -0,0 +1,59 @@ +<html> +<head> +<title>Sequel Pro Help - Connecting to a Database</title> +<meta name="AppleTitle" content="Connecting to a Database"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Connecting to a Database</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + In order to work with a database and its tables, you must first be connected to it. The database connection screen appears at the start of the program. +<br> +<br> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Enter at least the host (IP or domain name). To connect to a local database, enter localhost or 127.0.0.1 as host.</li> + <li>If you enter a database, it will be selected when the connection to the server is established. Otherwise you can select one of the databases on the server afterwards.</li> + <li>If you enter no port, Sequel Pro uses the default port.</li> + <li>Choose "Save to favorites..." in the favorites popup-button to save a connection. Passwords are stored in the Keychain. To edit favorites open the Preferences.</li> + <li>You can connect to multiple databases by opening a new window (Menu File > New)</li> + </ul> + </td> + <td width="255" valign="top" align="center"> + <img src="connect.jpg" width="220" height="199" border="0"> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/connect.jpg b/trunk/English.lproj/english_help/topics/connect.jpg Binary files differnew file mode 100644 index 00000000..e9c1ab6e --- /dev/null +++ b/trunk/English.lproj/english_help/topics/connect.jpg diff --git a/trunk/English.lproj/english_help/topics/console.html b/trunk/English.lproj/english_help/topics/console.html new file mode 100755 index 00000000..1269dc38 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/console.html @@ -0,0 +1,48 @@ +<html> +<head> +<title>Sequel Pro Help - Actions Console</title> +<meta name="AppleTitle" content="Actions Console"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Console</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + The Console at the bottom of Sequel Pro lists all of the actions you made in the current session accompanied by a timestamp. +It can be shown or hidden using the toolbar icon at the top that says "Show/Hide Console". You can also clear +the console by using the "Clear Console" button. If those two icons are not located in your toolbar then right-click +in the toolbar area and select "Customize Toolbar..." from the menu. You should then see a window +of icons which you can add to your Sequel Pro toolbar including the two mentioned above. +<br> +<br> + +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/data.html b/trunk/English.lproj/english_help/topics/data.html new file mode 100755 index 00000000..14aaeb9f --- /dev/null +++ b/trunk/English.lproj/english_help/topics/data.html @@ -0,0 +1,92 @@ +<html> +<head> +<title>Sequel Pro Help - Data Management</title> +<meta name="AppleTitle" content="Data Management"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Data Management</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + In order to view, add, modify, or change data (rows) in your database tables you must either be in the "Content" tab or the "Custom Query" tab. +<br> +<br> +<b>Adding and editing fields</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Add or remove entries with the plus- and minus-buttons. You can select more than one entry and remove them together.</li> + <li>Edit entries by double-clicking on the value you want to change. If the button with the three lines on it is clicked, double clicking on a value opens a sheet where you can edit it. This is preferred to edit large entries or entries with multiple lines.</li> + <li>Use the value specified in the preferences (NULL by default) to enter NULL-values.</li> + <li><font color="red">Changes aren't written to the database until you deselect the row!</font></li> + <li>It is recommended that you edit only tables which have a primary key.</li> + </ul> + </td> + </tr> +</table> + +<br> +<br> +<b>Sorting and filtering the table content</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>To sort a table by a field, click on the header of the appropriate column in the content-view.</li> + <li>Click on it twice to sort the table in descending order.</li> + <li>Select a field and operator and enter a keyword to filter a table. Click on the Show All-button to disable filtering.</li> + <li>As wildcards use % and _ (% matches any number of characters, even zero characters; _ matches exactly one character)</li> + <li>If you have selected "Limit result..." in the Preferences, you can specify the first row to be returned and hit "Go".</li> + </ul> + </td> + </tr> +</table> + +<br> +<br> +<b>Binary Data (Images, Strings, Hex Representations)</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Field type should be Blob or Longblob</li> + <li>To edit/enter the data, double select the field in the Content tab</li> + <li>Click on Open and load an image</li> + <li>Change to image and hex view</li> + </ul> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/dump.html b/trunk/English.lproj/english_help/topics/dump.html new file mode 100755 index 00000000..99123b69 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/dump.html @@ -0,0 +1,93 @@ +<html> +<head> +<title>Sequel Pro Help - Data Dumps</title> +<meta name="AppleTitle" content="Data Dumps"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Data Dumps</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + In order to perform actions with data dumps, you must use the "File->Import; File->Export" menu options of Sequel Pro. A variety +of exports/dumps can be performed: Sequel Pro dump, Export of Table Content Results (csv or xml format), Export of Custom +Query Results (csv or xml format), or Export of Multiple Table data (csv or xml format). On the other hand, you can only import a +Sequel Pro dump or a CSV file. +<br> +<br> +<b>CSV File Format Information</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>You can choose the following characters: fields enclosed, fields terminated, escaped and line ends</li> + <li>The following characters are escaped: the escaped-character itself, the line ends character, the enclosed character (if given) and the fields terminated character if no enclosed character is given</li> + <li>NULL values are written without enclosed character. If it is enclosed, it is interpreted as a string.</li> + <li>When importing a csv, unenclosed \N is also interpreted as NULL (this format is used by mysqldump)</li> + <li>The recommended formats should work best. When importing, enclosed/terminated/escaped characters should be all only one character long (line ends may be longer). </li> + </ul> + </td> + </tr> +</table> + +<br> +<b>Importing Dumps</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Choose "File->Import" from the Sequel Pro Menu</li> + <li>You must choose to import a CSV file (table data) or a Sequel Pro dump (varied information)</li> + </ul> + </td> + </tr> +</table> + + +<br> +<b>Excel CSV Formatting Options</b> +<br> +If you wish to export data to a CSV file for use in Excel, use the following settings: +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Enclosed by: " (single quote)</li> + <li>Escaped by: " (single quote)</li> + <li>Line ends: \r (for Macs)</li> + <li>Delimiter: , (comma)</li> + </ul> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/encoding.html b/trunk/English.lproj/english_help/topics/encoding.html new file mode 100755 index 00000000..adaed683 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/encoding.html @@ -0,0 +1,73 @@ +<html> +<head> +<title>Sequel Pro Help - Text Encoding</title> +<meta name="AppleTitle" content="Text Encoding"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Text Encoding</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + You may choose the type of encoding for the data (text) that is stored in your MySQL database. There are two +places to choose the encoding: the Preferences pane or the encoding pull-down bar at the bottom left of the application window. There +are over 20 encodings for you to choose from. +<br> +<br> +<b>In the Preferences Pane</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Open up the "Preferences Pane" of Sequel Pro</li> + <li>From the pull-down at the bottom left of the preferences window, labelled "Default Encoding", choose an option.</li> + <li>The encoding you choose will be the default encoding for all future databases</li> + </ul> + </td> + </tr> +</table> +<br> +<b>In the Application Window</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>In the main application window there will be a pull-down at the bottom left of the window labelled "Encoding".</li> + <li>From the pull-down choose an encoding option.</li> + <li>The encoding you choose will be the default encoding for all future databases</li> + </ul> + </td> + </tr> +</table> + +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/preferences.html b/trunk/English.lproj/english_help/topics/preferences.html new file mode 100755 index 00000000..0350d76b --- /dev/null +++ b/trunk/English.lproj/english_help/topics/preferences.html @@ -0,0 +1,58 @@ +<html> +<head> +<title>Sequel Pro Help - Setting Preferences</title> +<meta name="AppleTitle" content="Setting Preferences"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Setting Preferences</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + +<br> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Choose if you want to reload the table after adding, editing or removing a row. If you reload it, you will be sure that the entries showed by Sequel Pro correspond to the entries in the MySQL database, but editing tables will become slow with big tables.</li> + <li>Choose if you want Sequel Pro to show an error message if no rows have been affected after adding or editing a row.</li> + <li>Choose if you want to display the values of blob and text fields (especially with big tables this can speed up the interface significantly because Sequel Pro will load only the blob and text fields of the rows you will be editing).</li> + <li>Choose if you want to limit the rows returned by the MySQL server. You can limit the result to a given number of rows to speed up the interface.</li> + <li>Select a value that is displayed and used to enter NULL-values.</li> + <li>Add favorites used to quickly connect to a MySQL database. Drag&drop them to change their order. Double-click to edit a favorite. Passwords are stored in the Keychain.</li> + </ul> + </td> + <td width="350" valign="top" align="center"> + <img src="preferences.jpg" width="350" height="160" border="0"> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/preferences.jpg b/trunk/English.lproj/english_help/topics/preferences.jpg Binary files differnew file mode 100644 index 00000000..64ae8e10 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/preferences.jpg diff --git a/trunk/English.lproj/english_help/topics/query.html b/trunk/English.lproj/english_help/topics/query.html new file mode 100755 index 00000000..bb628047 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/query.html @@ -0,0 +1,58 @@ +<html> +<head> +<title>Sequel Pro Help - Performing Custom Queries</title> +<meta name="AppleTitle" content="Performing Custom Queries"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Performing Custom Queries</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + In order to perform a SQL query you must first choose the "Custom Query" tab. +<br> +<br> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Enter your query and click on the "Run Query" button.</li> + <li>The result, if there is one, is displayed in the bottom view.</li> + <li>Under "Last Error Message" you can see the last error message returned by MySQL, if there is one.</li> + <li>Add your query to the favorites or select a favorite query with the favorites pop-up-button.</li> + <li>Select one of the last 20 queries with the history pop-up-button.</li> + <li>You can perform custom queries out of your favorite text editor by using the services menu (Services > Sequel Pro > Perform selection as MySQL query). Sequel Pro uses the last opened window to perform the query.</li> + <li>If you perferm a query out of a different text editor, be sure that Sequel Pro is already loaded and has at least one window open.</li> + </ul> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/reference.html b/trunk/English.lproj/english_help/topics/reference.html new file mode 100755 index 00000000..b746bed9 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/reference.html @@ -0,0 +1,212 @@ +<html> +<head> +<title>Sequel Pro Help - MySQL SQL Referernce</title> +<meta name="AppleTitle" content="SQL Reference"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>MySQL SQL Reference</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> +<table border="0" width="95%"> + <tr> + <td> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + In the following commands and functions, any italicized text should be replaced by a variable + or name of your choice. Any text within brackets ( [ and ] ) is optional. This is only a short reference + of the SQL commands supported in MySQL. It is NOT the full list and also may not be complete + nor up-to-date. + </font> + </td> + </tr> +</table> + +<br> +<table border="0" cellpadding="5" cellspacing="2" width="100%"> + <tr> + <td width="60%" valign="top"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Commands</b> + <br> + CREATE DATABASE [IF NOT EXISTS] <i>name</i> + <br> + CREATE [UNIQUE|FULLTEXT] INDEX <i>name</i> ON <i>table</i> (<i>column</i>,..) + <br> + CREATE TABLE [IF NOT EXISTS] <i>name</i> + <br> + DELETE FROM <i>table</i> [WHERE <i>clause</i>] [LIMIT <i>n</i>] + <br> + DROP DATABASE [IF EXISTS] <i>name</i> + <br> + DROP TABLE [IF EXISTS] <i>name</i> + <br> + GRANT <i>privilege</i> ON <i>table</i> TO <i>user</i> + <br> + INSERT [INTO] <i>table</i> [ (column, ...) ] VALUES (values, ...) + <br> + LOAD DATA INFILE <i>file</i> INTO TABLE <i>name</i> + <br> + SELECT [DISTINCT|ALL| |] FROM <i>table</i> [WHERE <i>clause</i> ] + <br> + UPDATE <i>table</i> SET <i>column=value,...</i> [WHERE <i>clause</i>] [LIMIT <i>n</i>] + <br> + <br> + <b>Logical Operators</b> + <br> + NOT <i>or</i> ! - performs a logical not + <br> + OR <i>or</i> | | - performs a logical or + <br> + XOR - performs a logical exclusive or + <br> + AND <i>or</i> && - performs a logical and + </font> + </td> + <td width="40%" valign="top"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Aggregate Functions</b> + <br> + AVG(<i>expression</i>) + <br> + BIT_AND(<i>expression</i>) + <br> + BIT_OR(<i>expression</i>) + <br> + COUNT(<i>expression</i>) + <br> + MAX(<i>expression</i>) + <br> + MIN(<i>expression</i>) + <br> + STD(<i>expression</i>)/STDDEV(<i>expression</i>) + <br> + SUM(<i>expression</i>) + <br> + <br> + <b>General Functions</b> + <br> + ABS(<i>number</i>) + <br> + ACOS(<i>number</i>) + <br> + ADDDATE(<i>date</i>, INTERVAL, <i>amount</i>, <i>type</i>) + <br> + ASCII(<i>char</i>) + <br> + ASIN(<i>number</i>) + <br> + ATAN(<i>number</i>) + <br> + ATAN2(x, y) + <br> + BENCHMARK(<i>num</i>, <i>function</i>) + <br> + BIN((<i>decimal</i>) + <br> + BIT_COUNT(<i>number</i>) + <br> + BIT_LENGTH(<i>number</i>) + <br> + CEILING(<i>number</i>) + <br> + CHAR_LENGTH(<i>string</i>) + <br> + COS(<i>radians</i>) + <br> + COT(<i>radians</i>) + <br> + CURDATE() + <br> + CURTIME() + <br> + DATABASE() + <br> + DATE_FORMAT(<i>date</i>, <i>format</i>) + <br> + DAYNAME(<i>date</i>) + <br> + DAYOFMONTH(<i>date</i>) + <br> + DAYOFWEEK(<i>date</i>) + <br> + DAYOFYEAR(<i>date</i>) + <br> + EXP(<i>power</i>) + <br> + FLOOR(<i>number</i>) + <br> + FORMAT(<i>number</i>, <i>decimals</i>) + <br> + HOUR(<i>time</i>) + <br> + LENGTH(<i>string</i>) + <br> + LOG(<i>number</i>) + <br> + LOWER(<i>number</i>) + <br> + MD5(<i>string</i>) + <br> + MINUTE(<i>time</i>) + <br> + MONTH(<i>date</i>) + <br> + MONTHNAME(<i>date</i>) + <br> + NOW() + <br> + PASSWORD(<i>string</i>) + <br> + QUARTER(<i>date</i>) + <br> + REVERSE(<i>string</i>) + <br> + SECOND(<i>time</i>) + <br> + SIGN(<i>number</i>) + <br> + SPACE(<i>number</i>) + <br> + SQRT(<i>number</i>) + <br> + UPPER(<i>string</i>) + <br> + VERSION() + <br> + WEEK(<i>date</i>) + <br> + WEEKDAY(<i>date</i>) + <br> + YEAR(<i>date</i>) + </font> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/sample_query.html b/trunk/English.lproj/english_help/topics/sample_query.html new file mode 100755 index 00000000..66b249fd --- /dev/null +++ b/trunk/English.lproj/english_help/topics/sample_query.html @@ -0,0 +1,81 @@ +<html> +<head> +<title>Sequel Pro Help - SQL Query Examples</title> +<meta name="AppleTitle" content="SQL Query Examples"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>SQL Query Examples</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> +<table border="0" width="95%"> + <tr> + <td> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + The following queries are only examples and any use of these queries in a company or critical environment + signifies the prior knowledge and acceptance, on behalf of the implentor, that the authors of this software are not liable for damages or losses in use of these queries. + No guarantees are made as to the quality or reliabity of the queries listed below. They are listed to help database designers/creators in their + work by showing an example. + </font> + </td> + </tr> +</table> +<br> +<br> +<table border="0" cellpadding="5" cellspacing="10" width="100%" align="center"> + <tr> + <td valign="top" bgcolor="#EAEAEA"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Example SELECT Query</b> + <hr> + This obtains information an account table and only returns the accounts with logins of 1 or more, + ordered alphabetically by the person's name. + <br> + <br> + <b>SELECT * FROM accounts WHERE LoginCount > 1 ORDER BY Name</b> + <br> + </font> + </td> + </tr> + <tr> + <td valign="top" bgcolor="#EAEAEA"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Example DELETE Query</b> + <hr> + This query deletes one row of data from a product table. + <br> + <br> + <b>DELETE FROM products WHERE ProductID=5 LIMIT 1</b> + <br> + </font> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/sample_tables.html b/trunk/English.lproj/english_help/topics/sample_tables.html new file mode 100755 index 00000000..ba61c094 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/sample_tables.html @@ -0,0 +1,374 @@ +<html> +<head> +<title>Sequel Pro Help - SQL Table Examples</title> +<meta name="AppleTitle" content="SQL Table Examples"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>SQL Table Examples</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> +<table border="0" width="95%"> + <tr> + <td> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + The following tables are only examples and any use of these tables in a company or critical environment + signifies the prior knowledge and acceptance, on behalf of the implentor, that the authors of this software are not liable for damages or losses in use of these tables. + No guarantees are made as to the quality or reliabity of the table designs listed below. They are listed to help database designers/creators in their + work by showing an example. + <br> + The schema used is non-standard. It shows the table name above three columns. The first is the name of the variable, the second + is the type of that variable, and the third is the size (if necessary). + </font> + </td> + </tr> +</table> +<br> +<br> +<table border="0" cellpadding="5" cellspacing="10" width="100%" align="center"> + <tr> + <td width="50%" valign="top" bgcolor="#EAEAEA"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Example Accounts Database Table</b> + <hr> + This table was designed for a custom system needing user accounts where they + could have a login and password to a website. It tracks logins, modifications to + the data and who created the account. It also allows the account to be locked out. + The password should be MD5 encrypted and stored in the database that way. + <br> + <br> + <center> + <table width="80%" bgcolor="black" cellspacing="2" border="1" align="center"> + <tr> + <td bgcolor="white" align="center" colspan="3"><font size="-1"> + tblAccounts + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + AccountID + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + INTEGER + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 11 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Name + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Login + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 12 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Password + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 32 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Locked + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + TINYINT + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + LoginCount + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + INTEGER + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 11 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + LastLogin + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Created + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + CreatedBy + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Updated + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + UpdatedBy + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + </table> + </center> + <br> + * The AccountID is a PRIMARY KEY (also UNIQUE) + <br> + * The Password is MD5 encrypted, hence the length of 32 + <br> + * The Locked value is either zero (0) or one (1) + </font> + </td> + <td width="50%" valign="top" bgcolor="#EAEAEA"> + <font face="Lucida Grande,Geneva,Arial" size="-1"> + <b>Example Products Database Table</b> + <hr> + This table was designed to store basic production information, possibly in a + small business database or online shopping cart. It is highly recommended + that this table be customized to your needs. + <br> + <br> + <center> + <table width="80%" bgcolor="black" cellspacing="2" border="1" align="center"> + <tr> + <td bgcolor="white" align="center" colspan="3"><font size="-1"> + tblProducts + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + ProductID + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + INTEGER + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 11 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Name + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + ShortDescription + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 250 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + LongDescription + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + TEXT + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Price + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DECIMAL(9,2) + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + ImageURL + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 250 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Locked + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + TINYINT + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + ViewCount + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + INTEGER + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 11 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + LastViewed + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Created + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + CreatedBy + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + Updated + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + DATETIME + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + </font></td> + </tr> + <tr> + <td width="50%" bgcolor="white"><font size="-1"> + UpdatedBy + </font></td> + <td width="35%" bgcolor="white" align="center"><font size="-1"> + VARCHAR + </font></td> + <td width="15%" bgcolor="white" align="center"><font size="-1"> + 200 + </font></td> + </tr> + </table> + </center> + <br> + * The ProductID is a PRIMARY KEY (also UNIQUE) + <br> + * The ImageURL points to an image of the product + <br> + * The Locked value is either zero (0) or one (1) + </font> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/sequel-pro_logo.jpg b/trunk/English.lproj/english_help/topics/sequel-pro_logo.jpg Binary files differnew file mode 100644 index 00000000..18d9f2da --- /dev/null +++ b/trunk/English.lproj/english_help/topics/sequel-pro_logo.jpg diff --git a/trunk/English.lproj/english_help/topics/syntax.html b/trunk/English.lproj/english_help/topics/syntax.html new file mode 100755 index 00000000..39c4da72 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/syntax.html @@ -0,0 +1,49 @@ +<html> +<head> +<title>Sequel Pro Help - Table Syntax Generation</title> +<meta name="AppleTitle" content="Table Syntax Generation"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Table Syntax Generation</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + If you would like to generate a SQL output of your table's syntax (column types, sizes, keys, table name, etc..) use +the "Create Table Syntax" icon at the top of the application in the Sequel Pro Toolbar area. You can then use that text to +create a copy of the table in another database or it may also serve as a backup of the table's schema. If the "Create Table Syntax" icon is +not located in your toolbar then right-click +in the toolbar area and select "Customize Toolbar..." from the menu. You should then see a window +of icons which you can add to your Sequel Pro toolbar including the one mentioned above. +<br> +<br> + +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/English.lproj/english_help/topics/tables.html b/trunk/English.lproj/english_help/topics/tables.html new file mode 100755 index 00000000..3840bb26 --- /dev/null +++ b/trunk/English.lproj/english_help/topics/tables.html @@ -0,0 +1,89 @@ +<html> +<head> +<title>Sequel Pro Help - Managing Tables</title> +<meta name="AppleTitle" content="Managing Tables"> +<meta name="AppleFont" content="Lucida Grande"> +<meta ROBOTS="robots" CONTENT="anchors"> +</head> +<body text="#000000" link="#0000FF" alink="#0000FF" vlink="#0000FF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> + +<font face="Lucida Grande,Geneva,Arial"> + +<br> + +<table border="0" cellpadding="0" cellspacing="0" width="100%" height="80"> + <tr> + <td align="left" valign="top" width="70"> + <img src="sequel-pro_logo.jpg" width="60" height="60" border="0"> + </td> + <td align="left"><h1>Managing Tables</h1> + </td> + </tr> + <tr> + <td colspan="2"> + <img src="bar.gif" width="100%" height="20"> + </td> + </tr> +</table> + +<br> +<font size="-1"> + <a href="../index.html">Back to the main menu</a> +<br> +<br> + + In order to perform actions with tables, you must first choose the "Structure" tab. +<br> +<br> +<b>Adding and Editing Fields</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Add fields with the plus-button and drop them with the minus-button.</li> + <li>Edit fields by double-click on the value you want to change. To cancel editing hit the esc-key.</li> + <li><font color="red">Changes aren't written to the database until you deselect the row!</font></li> + <li>You can also drag & drop fields to change their order (if they are not indexed).</li> + </ul> + </td> + </tr> +</table> + +<br> +<br> +<b>Adding, editing, removing and copying tables</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Add or remove tables with the plus- and minus-buttons.</li> + <li>If you add a table, Sequel Pro creates a field called "id" because a table must have at least one column. You can change or delete this field afterwards.</li> + <li>Change the name of a table by double-clicking on it. Hit the esc-key to cancel editing.</li> + <li>Select a table and hit the copy button under the list of tables to copy it. If you mark "Copy table content", the new table will also contain all entries of the old table.</li> + </ul> + </td> + </tr> +</table> + +<br> +<br> +<b>Adding and editing indexes</b> +<table border="0" cellpadding="5" cellspacing="0" width="100%"> + <tr> + <td bgcolor="#fff8dc" valign="top"> + <font size="-1" face="Lucida Grande,Geneva,Arial"> + <ul> + <li>Add indexes with the plus-button and drop them with the minus-button.</li> + <li>Select "Key Type", "Key Name" and "Indexed Columns" in the sheet. If you don't specify a key name, the column name is used as name.</li> + <li>If you want to make an index of more than one column, enter them in the appropriated field separated by commas (without whitespace after the comma!).</li> + </ul> + </td> + </tr> +</table> + +</font> + +</body> +</html>
\ No newline at end of file diff --git a/trunk/Growl Registration Ticket.growlRegDict b/trunk/Growl Registration Ticket.growlRegDict new file mode 100644 index 00000000..e2992404 --- /dev/null +++ b/trunk/Growl Registration Ticket.growlRegDict @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AllNotifications</key> + <array> + <string>Connected</string> + <string>Disconnected</string> + <string>Import Finished</string> + <string>Export Finished</string> + <string>Table Syntax Copied</string> + <string>Query Finished</string> + </array> + <key>DefaultNotifications</key> + <array> + <string>Connected</string> + <string>Disconnected</string> + <string>Import Finished</string> + <string>Export Finished</string> + <string>Table Syntax Copied</string> + <string>Query Finished</string> + </array> + <key>TicketVersion</key> + <integer>1</integer> +</dict> +</plist> diff --git a/trunk/Growl.framework/Growl b/trunk/Growl.framework/Growl new file mode 120000 index 00000000..85956e2d --- /dev/null +++ b/trunk/Growl.framework/Growl @@ -0,0 +1 @@ +Versions/Current/Growl
\ No newline at end of file diff --git a/trunk/Growl.framework/Headers b/trunk/Growl.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/trunk/Growl.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers
\ No newline at end of file diff --git a/trunk/Growl.framework/Resources b/trunk/Growl.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/trunk/Growl.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources
\ No newline at end of file diff --git a/trunk/Growl.framework/Versions/A/Growl b/trunk/Growl.framework/Versions/A/Growl Binary files differnew file mode 100755 index 00000000..cfe458fd --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Growl diff --git a/trunk/Growl.framework/Versions/A/Headers/Growl.h b/trunk/Growl.framework/Versions/A/Headers/Growl.h new file mode 100644 index 00000000..e2a44255 --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Headers/Growl.h @@ -0,0 +1,6 @@ +#include "GrowlDefines.h" + +#ifdef __OBJC__ +# include "GrowlApplicationBridge.h" +#endif +#include "GrowlApplicationBridge-Carbon.h" diff --git a/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge-Carbon.h b/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge-Carbon.h new file mode 100644 index 00000000..e35663f6 --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge-Carbon.h @@ -0,0 +1,780 @@ +// +// GrowlApplicationBridge-Carbon.h +// Growl +// +// Created by Mac-arena the Bored Zo on Wed Jun 18 2004. +// Based on GrowlApplicationBridge.h by Evan Schoenberg. +// This source code is in the public domain. You may freely link it into any +// program. +// + +#ifndef _GROWLAPPLICATIONBRIDGE_CARBON_H_ +#define _GROWLAPPLICATIONBRIDGE_CARBON_H_ + +#include <sys/cdefs.h> +#include <Carbon/Carbon.h> + +#ifndef GROWL_EXPORT +#define GROWL_EXPORT __attribute__((visibility("default"))) +#endif + +/*! @header GrowlApplicationBridge-Carbon.h + * @abstract Declares an API that Carbon applications can use to interact with Growl. + * @discussion GrowlApplicationBridge uses a delegate to provide information //XXX + * to Growl (such as your application's name and what notifications it may + * post) and to provide information to your application (such as that Growl + * is listening for notifications or that a notification has been clicked). + * + * You can set the Growldelegate with Growl_SetDelegate and find out the + * current delegate with Growl_GetDelegate. See struct Growl_Delegate for more + * information about the delegate. + */ + +__BEGIN_DECLS + +/*! @struct Growl_Delegate + * @abstract Delegate to supply GrowlApplicationBridge with information and respond to events. + * @discussion The Growl delegate provides your interface to + * GrowlApplicationBridge. When GrowlApplicationBridge needs information about + * your application, it looks for it in the delegate; when Growl or the user + * does something that you might be interested in, GrowlApplicationBridge + * looks for a callback in the delegate and calls it if present + * (meaning, if it is not <code>NULL</code>). + * XXX on all of that + * @field size The size of the delegate structure. + * @field applicationName The name of your application. + * @field registrationDictionary A dictionary describing your application and the notifications it can send out. + * @field applicationIconData Your application's icon. + * @field growlInstallationWindowTitle The title of the installation window. + * @field growlInstallationInformation Text to display in the installation window. + * @field growlUpdateWindowTitle The title of the update window. + * @field growlUpdateInformation Text to display in the update window. + * @field referenceCount A count of owners of the delegate. + * @field retain Called when GrowlApplicationBridge receives this delegate. + * @field release Called when GrowlApplicationBridge no longer needs this delegate. + * @field growlIsReady Called when GrowlHelperApp is listening for notifications. + * @field growlNotificationWasClicked Called when a Growl notification is clicked. + * @field growlNotificationTimedOut Called when a Growl notification timed out. + */ +struct Growl_Delegate { + /* @discussion This should be sizeof(struct Growl_Delegate). + */ + size_t size; + + /*All of these attributes are optional. + *Optional attributes can be NULL; required attributes that + * are NULL cause setting the Growl delegate to fail. + *XXX - move optional/required status into the discussion for each field + */ + + /* This name is used both internally and in the Growl preferences. + * + * This should remain stable between different versions and incarnations of + * your application. + * For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and + * "SurfWriter Lite" are not. + * + * This can be <code>NULL</code> if it is provided elsewhere, namely in an + * auto-discoverable plist file in your app bundle + * (XXX refer to more information on that) or in registrationDictionary. + */ + CFStringRef applicationName; + + /* + * Must contain at least these keys: + * GROWL_NOTIFICATIONS_ALL (CFArray): + * Contains the names of all notifications your application may post. + * + * Can also contain these keys: + * GROWL_NOTIFICATIONS_DEFAULT (CFArray): + * Names of notifications that should be enabled by default. + * If omitted, GROWL_NOTIFICATIONS_ALL will be used. + * GROWL_APP_NAME (CFString): + * Same as the applicationName member of this structure. + * If both are present, the applicationName member shall prevail. + * If this key is present, you may omit applicationName (set it to <code>NULL</code>). + * GROWL_APP_ICON (CFData): + * Same as the iconData member of this structure. + * If both are present, the iconData member shall prevail. + * If this key is present, you may omit iconData (set it to <code>NULL</code>). + * + * If you change the contents of this dictionary after setting the delegate, + * be sure to call Growl_Reregister. + * + * This can be <code>NULL</code> if you have an auto-discoverable plist file in your app + * bundle. (XXX refer to more information on that) + */ + CFDictionaryRef registrationDictionary; + + /* The data can be in any format supported by NSImage. As of + * Mac OS X 10.3, this includes the .icns, TIFF, JPEG, GIF, PNG, PDF, and + * PICT formats. + * + * If this is not supplied, Growl will look up your application's icon by + * its application name. + */ + CFDataRef applicationIconData; + + /* Installer display attributes + * + * These four attributes are used by the Growl installer, if this framework + * supports it. + * For any of these being <code>NULL</code>, a localised default will be + * supplied. + */ + + /* If this is <code>NULL</code>, Growl will use a default, + * localized title. + * + * Only used if you're using Growl-WithInstaller.framework. Otherwise, + * this member is ignored. + */ + CFStringRef growlInstallationWindowTitle; + /* This information may be as long or short as desired (the + * window will be sized to fit it). If Growl is not installed, it will + * be displayed to the user as an explanation of what Growl is and what + * it can do in your application. + * It should probably note that no download is required to install. + * + * If this is <code>NULL</code>, Growl will use a default, localized + * explanation. + * + * Only used if you're using Growl-WithInstaller.framework. Otherwise, + * this member is ignored. + */ + CFStringRef growlInstallationInformation; + /* If this is <code>NULL</code>, Growl will use a default, + * localized title. + * + * Only used if you're using Growl-WithInstaller.framework. Otherwise, + * this member is ignored. + */ + CFStringRef growlUpdateWindowTitle; + /* This information may be as long or short as desired (the + * window will be sized to fit it). If an older version of Growl is + * installed, it will be displayed to the user as an explanation that an + * updated version of Growl is included in your application and + * no download is required. + * + * If this is <code>NULL</code>, Growl will use a default, localized + * explanation. + * + * Only used if you're using Growl-WithInstaller.framework. Otherwise, + * this member is ignored. + */ + CFStringRef growlUpdateInformation; + + /* This member is provided for use by your retain and release + * callbacks (see below). + * + * GrowlApplicationBridge never directly uses this member. Instead, it + * calls your retain callback (if non-<code>NULL</code>) and your release + * callback (if non-<code>NULL</code>). + */ + unsigned referenceCount; + + //Functions. Currently all of these are optional (any of them can be NULL). + + /* When you call Growl_SetDelegate(newDelegate), it will call + * oldDelegate->release(oldDelegate), and then it will call + * newDelegate->retain(newDelegate), and the return value from retain + * is what will be set as the delegate. + * (This means that this member works like CFRetain and -[NSObject retain].) + * This member is optional (it can be <code>NULL</code>). + * For a delegate allocated with malloc, this member would be + * <code>NULL</code>. + * @result A delegate to which GrowlApplicationBridge holds a reference. + */ + void *(*retain)(void *); + /* When you call Growl_SetDelegate(newDelegate), it will call + * oldDelegate->release(oldDelegate), and then it will call + * newDelegate->retain(newDelegate), and the return value from retain + * is what will be set as the delegate. + * (This means that this member works like CFRelease and + * -[NSObject release].) + * This member is optional (it can be NULL). + * For a delegate allocated with malloc, this member might be + * <code>free</code>(3). + */ + void (*release)(void *); + + /* Informs the delegate that Growl (specifically, the GrowlHelperApp) was + * launched successfully (or was already running). The application can + * take actions with the knowledge that Growl is installed and functional. + */ + void (*growlIsReady)(void); + + /* Informs the delegate that a Growl notification was clicked. It is only + * sent for notifications sent with a non-<code>NULL</code> clickContext, + * so if you want to receive a message when a notification is clicked, + * clickContext must not be <code>NULL</code> when calling + * Growl_PostNotification or + * Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext. + */ + void (*growlNotificationWasClicked)(CFPropertyListRef clickContext); + + /* Informs the delegate that a Growl notification timed out. It is only + * sent for notifications sent with a non-<code>NULL</code> clickContext, + * so if you want to receive a message when a notification is clicked, + * clickContext must not be <code>NULL</code> when calling + * Growl_PostNotification or + * Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext. + */ + void (*growlNotificationTimedOut)(CFPropertyListRef clickContext); +}; + +/*! @struct Growl_Notification + * @abstract Structure describing a Growl notification. + * @discussion XXX + * @field size The size of the notification structure. + * @field name Identifies the notification. + * @field title Short synopsis of the notification. + * @field description Additional text. + * @field iconData An icon for the notification. + * @field priority An indicator of the notification's importance. + * @field reserved Bits reserved for future usage. + * @field isSticky Requests that a notification stay on-screen until dismissed explicitly. + * @field clickContext An identifier to be passed to your click callback when a notification is clicked. + * @field clickCallback A callback to call when the notification is clicked. + */ +struct Growl_Notification { + /* This should be sizeof(struct Growl_Notification). + */ + size_t size; + + /* The notification name distinguishes one type of + * notification from another. The name should be human-readable, as it + * will be displayed in the Growl preference pane. + * + * The name is used in the GROWL_NOTIFICATIONS_ALL and + * GROWL_NOTIFICATIONS_DEFAULT arrays in the registration dictionary, and + * in this member of the Growl_Notification structure. + */ + CFStringRef name; + + /* A notification's title describes the notification briefly. + * It should be easy to read quickly by the user. + */ + CFStringRef title; + + /* The description supplements the title with more + * information. It is usually longer and sometimes involves a list of + * subjects. For example, for a 'Download complete' notification, the + * description might have one filename per line. GrowlMail in Growl 0.6 + * uses a description of '%d new mail(s)' (formatted with the number of + * messages). + */ + CFStringRef description; + + /* The notification icon usually indicates either what + * happened (it may have the same icon as e.g. a toolbar item that + * started the process that led to the notification), or what it happened + * to (e.g. a document icon). + * + * The icon data is optional, so it can be <code>NULL</code>. In that + * case, the application icon is used alone. Not all displays support + * icons. + * + * The data can be in any format supported by NSImage. As of Mac OS X + * 10.3, this includes the .icns, TIFF, JPEG, GIF, PNG, PDF, and PICT form + * ats. + */ + CFDataRef iconData; + + /* Priority is new in Growl 0.6, and is represented as a + * signed integer from -2 to +2. 0 is Normal priority, -2 is Very Low + * priority, and +2 is Very High priority. + * + * Not all displays support priority. If you do not wish to assign a + * priority to your notification, assign 0. + */ + signed int priority; + + /* These bits are not used in Growl 0.6. Set them to 0. + */ + unsigned reserved: 31; + + /* When the sticky bit is clear, in most displays, + * notifications disappear after a certain amount of time. Sticky + * notifications, however, remain on-screen until the user dismisses them + * explicitly, usually by clicking them. + * + * Sticky notifications were introduced in Growl 0.6. Most notifications + * should not be sticky. Not all displays support sticky notifications, + * and the user may choose in Growl's preference pane to force the + * notification to be sticky or non-sticky, in which case the sticky bit + * in the notification will be ignored. + */ + unsigned isSticky: 1; + + /* If this is not <code>NULL</code>, and your click callback + * is not <code>NULL</code> either, this will be passed to the callback + * when your notification is clicked by the user. + * + * Click feedback was introduced in Growl 0.6, and it is optional. Not + * all displays support click feedback. + */ + CFPropertyListRef clickContext; + + /* If this is not <code>NULL</code>, it will be called instead + * of the Growl delegate's click callback when clickContext is + * non-<code>NULL</code> and the notification is clicked on by the user. + * + * Click feedback was introduced in Growl 0.6, and it is optional. Not + * all displays support click feedback. + * + * The per-notification click callback is not yet supported as of Growl + * 0.7. + */ + void (*clickCallback)(CFPropertyListRef clickContext); + + CFStringRef identifier; +}; + +#pragma mark - +#pragma mark Easy initialisers + +/*! @defined InitGrowlDelegate + * @abstract Callable macro. Initializes a Growl delegate structure to defaults. + * @discussion Call with a pointer to a struct Growl_Delegate. All of the + * members of the structure will be set to 0 or <code>NULL</code>, except for + * size (which will be set to <code>sizeof(struct Growl_Delegate)</code>) and + * referenceCount (which will be set to 1). + */ +#define InitGrowlDelegate(delegate) \ + do { \ + if (delegate) { \ + (delegate)->size = sizeof(struct Growl_Delegate); \ + (delegate)->applicationName = NULL; \ + (delegate)->registrationDictionary = NULL; \ + (delegate)->applicationIconData = NULL; \ + (delegate)->growlInstallationWindowTitle = NULL; \ + (delegate)->growlInstallationInformation = NULL; \ + (delegate)->growlUpdateWindowTitle = NULL; \ + (delegate)->growlUpdateInformation = NULL; \ + (delegate)->referenceCount = 1U; \ + (delegate)->retain = NULL; \ + (delegate)->release = NULL; \ + (delegate)->growlIsReady = NULL; \ + (delegate)->growlNotificationWasClicked = NULL; \ + (delegate)->growlNotificationTimedOut = NULL; \ + } \ + } while(0) + +/*! @defined InitGrowlNotification + * @abstract Callable macro. Initializes a Growl notification structure to defaults. + * @discussion Call with a pointer to a struct Growl_Notification. All of + * the members of the structure will be set to 0 or <code>NULL</code>, except + * for size (which will be set to + * <code>sizeof(struct Growl_Notification)</code>). + */ +#define InitGrowlNotification(notification) \ + do { \ + if (notification) { \ + (notification)->size = sizeof(struct Growl_Notification); \ + (notification)->name = NULL; \ + (notification)->title = NULL; \ + (notification)->description = NULL; \ + (notification)->iconData = NULL; \ + (notification)->priority = 0; \ + (notification)->reserved = 0U; \ + (notification)->isSticky = false; \ + (notification)->clickContext = NULL; \ + (notification)->clickCallback = NULL; \ + (notification)->identifier = NULL; \ + } \ + } while(0) + +#pragma mark - +#pragma mark Public API + +// @functiongroup Managing the Growl delegate + +/*! @function Growl_SetDelegate + * @abstract Replaces the current Growl delegate with a new one, or removes + * the Growl delegate. + * @param newDelegate + * @result Returns false and does nothing else if a pointer that was passed in + * is unsatisfactory (because it is non-<code>NULL</code>, but at least one + * required member of it is <code>NULL</code>). Otherwise, sets or unsets the + * delegate and returns true. + * @discussion When <code>newDelegate</code> is non-<code>NULL</code>, sets + * the delegate to <code>newDelegate</code>. When it is <code>NULL</code>, + * the current delegate will be unset, and no delegate will be in place. + * + * It is legal for <code>newDelegate</code> to be the current delegate; + * nothing will happen, and Growl_SetDelegate will return true. It is also + * legal for it to be <code>NULL</code>, as described above; again, it will + * return true. + * + * If there was a delegate in place before the call, Growl_SetDelegate will + * call the old delegate's release member if it was non-<code>NULL</code>. If + * <code>newDelegate</code> is non-<code>NULL</code>, Growl_SetDelegate will + * call <code>newDelegate->retain</code>, and set the delegate to its return + * value. + * + * If you are using Growl-WithInstaller.framework, and an older version of + * Growl is installed on the user's system, the user will automatically be + * prompted to update. + * + * GrowlApplicationBridge currently does not copy this structure, nor does it + * retain any of the CF objects in the structure (it regards the structure as + * a container that retains the objects when they are added and releases them + * when they are removed or the structure is destroyed). Also, + * GrowlApplicationBridge currently does not modify any member of the + * structure, except possibly the referenceCount by calling the retain and + * release members. + */ +GROWL_EXPORT Boolean Growl_SetDelegate(struct Growl_Delegate *newDelegate); + +/*! @function Growl_GetDelegate + * @abstract Returns the current Growl delegate, if any. + * @result The current Growl delegate. + * @discussion Returns the last pointer passed into Growl_SetDelegate, or + * <code>NULL</code> if no such call has been made. + * + * This function follows standard Core Foundation reference-counting rules. + * Because it is a Get function, not a Copy function, it will not retain the + * delegate on your behalf. You are responsible for retaining and releasing + * the delegate as needed. + */ +GROWL_EXPORT struct Growl_Delegate *Growl_GetDelegate(void); + +#pragma mark - + +// @functiongroup Posting Growl notifications + +/*! @function Growl_PostNotification + * @abstract Posts a Growl notification. + * @param notification The notification to post. + * @discussion This is the preferred means for sending a Growl notification. + * The notification name and at least one of the title and description are + * required (all three are preferred). All other parameters may be + * <code>NULL</code> (or 0 or false as appropriate) to accept default values. + * + * If using the Growl-WithInstaller framework, if Growl is not installed the + * user will be prompted to install Growl. + * If the user cancels, this function will have no effect until the next + * application session, at which time when it is called the user will be + * prompted again. The user is also given the option to not be prompted again. + * If the user does choose to install Growl, the requested notification will + * be displayed once Growl is installed and running. + */ +GROWL_EXPORT void Growl_PostNotification(const struct Growl_Notification *notification); + +/*! @function Growl_PostNotificationWithDictionary +* @abstract Notifies using a userInfo dictionary suitable for passing to +* CFDistributedNotificationCenter. +* @param userInfo The dictionary to notify with. +* @discussion Before Growl 0.6, your application would have posted +* notifications using CFDistributedNotificationCenter by creating a userInfo +* dictionary with the notification data. This had the advantage of allowing +* you to add other data to the dictionary for programs besides Growl that +* might be listening. +* +* This function allows you to use such dictionaries without being restricted +* to using CFDistributedNotificationCenter. The keys for this dictionary + * can be found in GrowlDefines.h. +*/ +GROWL_EXPORT void Growl_PostNotificationWithDictionary(CFDictionaryRef userInfo); + +/*! @function Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext + * @abstract Posts a Growl notification using parameter values. + * @param title The title of the notification. + * @param description The description of the notification. + * @param notificationName The name of the notification as listed in the + * registration dictionary. + * @param iconData Data representing a notification icon. Can be <code>NULL</code>. + * @param priority The priority of the notification (-2 to +2, with -2 + * being Very Low and +2 being Very High). + * @param isSticky If true, requests that this notification wait for a + * response from the user. + * @param clickContext An object to pass to the clickCallback, if any. Can + * be <code>NULL</code>, in which case the clickCallback is not called. + * @discussion Creates a temporary Growl_Notification, fills it out with the + * supplied information, and calls Growl_PostNotification on it. + * See struct Growl_Notification and Growl_PostNotification for more + * information. + * + * The icon data can be in any format supported by NSImage. As of Mac OS X + * 10.3, this includes the .icns, TIFF, JPEG, GIF, PNG, PDF, and PICT formats. + */ +GROWL_EXPORT void Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext( + /*inhale*/ + CFStringRef title, + CFStringRef description, + CFStringRef notificationName, + CFDataRef iconData, + signed int priority, + Boolean isSticky, + CFPropertyListRef clickContext); + +#pragma mark - + +// @functiongroup Registering + +/*! @function Growl_RegisterWithDictionary + * @abstract Register your application with Growl without setting a delegate. + * @discussion When you call this function with a dictionary, + * GrowlApplicationBridge registers your application using that dictionary. + * If you pass <code>NULL</code>, GrowlApplicationBridge will ask the delegate + * (if there is one) for a dictionary, and if that doesn't work, it will look + * in your application's bundle for an auto-discoverable plist. + * (XXX refer to more information on that) + * + * If you pass a dictionary to this function, it must include the + * <code>GROWL_APP_NAME</code> key, unless a delegate is set. + * + * This function is mainly an alternative to the delegate system introduced + * with Growl 0.6. Without a delegate, you cannot receive callbacks such as + * <code>growlIsReady</code> (since they are sent to the delegate). You can, + * however, set a delegate after registering without one. + * + * This function was introduced in Growl.framework 0.7. + * @result <code>false</code> if registration failed (e.g. if Growl isn't installed). + */ +GROWL_EXPORT Boolean Growl_RegisterWithDictionary(CFDictionaryRef regDict); + +/*! @function Growl_Reregister + * @abstract Updates your registration with Growl. + * @discussion If your application changes the contents of the + * GROWL_NOTIFICATIONS_ALL key in the registrationDictionary member of the + * Growl delegate, or if it changes the value of that member, or if it + * changes the contents of its auto-discoverable plist, call this function + * to have Growl update its registration information for your application. + * + * Otherwise, this function does not normally need to be called. If you're + * using a delegate, your application will be registered when you set the + * delegate if both the delegate and its registrationDictionary member are + * non-<code>NULL</code>. + * + * This function is now implemented using + * <code>Growl_RegisterWithDictionary</code>. + */ +GROWL_EXPORT void Growl_Reregister(void); + +#pragma mark - + +/*! @function Growl_SetWillRegisterWhenGrowlIsReady + * @abstract Tells GrowlApplicationBridge to register with Growl when Growl + * launches (or not). + * @discussion When Growl has started listening for notifications, it posts a + * <code>GROWL_IS_READY</code> notification on the Distributed Notification + * Center. GrowlApplicationBridge listens for this notification, using it to + * perform various tasks (such as calling your delegate's + * <code>growlIsReady</code> callback, if it has one). If this function is + * called with <code>true</code>, one of those tasks will be to reregister + * with Growl (in the manner of <code>Growl_Reregister</code>). + * + * This attribute is automatically set back to <code>false</code> + * (the default) after every <code>GROWL_IS_READY</code> notification. + * @param flag <code>true</code> if you want GrowlApplicationBridge to register with + * Growl when next it is ready; <code>false</code> if not. + */ +GROWL_EXPORT void Growl_SetWillRegisterWhenGrowlIsReady(Boolean flag); +/*! @function Growl_WillRegisterWhenGrowlIsReady + * @abstract Reports whether GrowlApplicationBridge will register with Growl + * when Growl next launches. + * @result <code>true</code> if GrowlApplicationBridge will register with + * Growl when next it posts GROWL_IS_READY; <code>false</code> if not. + */ +GROWL_EXPORT Boolean Growl_WillRegisterWhenGrowlIsReady(void); + +#pragma mark - + +// @functiongroup Obtaining registration dictionaries + +/*! @function Growl_CopyRegistrationDictionaryFromDelegate + * @abstract Asks the delegate for a registration dictionary. + * @discussion If no delegate is set, or if the delegate's + * <code>registrationDictionary</code> member is <code>NULL</code>, this + * function returns <code>NULL</code>. + * + * This function does not attempt to clean up the dictionary in any way - for + * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result + * will be missing it too. Use + * <code>Growl_CreateRegistrationDictionaryByFillingInDictionary</code> or + * <code>Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys</code> + * to try to fill in missing keys. + * + * This function was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ +GROWL_EXPORT CFDictionaryRef Growl_CopyRegistrationDictionaryFromDelegate(void); + +/*! @function Growl_CopyRegistrationDictionaryFromBundle + * @abstract Looks in a bundle for a registration dictionary. + * @discussion This function looks in a bundle for an auto-discoverable + * registration dictionary file using <code>CFBundleCopyResourceURL</code>. + * If it finds one, it loads the file using <code>CFPropertyList</code> and + * returns the result. + * + * If you pass <code>NULL</code> as the bundle, the main bundle is examined. + * + * This function does not attempt to clean up the dictionary in any way - for + * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result + * will be missing it too. Use + * <code>Growl_CreateRegistrationDictionaryByFillingInDictionary:</code> or + * <code>Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys</code> + * to try to fill in missing keys. + * + * This function was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ +GROWL_EXPORT CFDictionaryRef Growl_CopyRegistrationDictionaryFromBundle(CFBundleRef bundle); + +/*! @function Growl_CreateBestRegistrationDictionary + * @abstract Obtains a registration dictionary, filled out to the best of + * GrowlApplicationBridge's knowledge. + * @discussion This function creates a registration dictionary as best + * GrowlApplicationBridge knows how. + * + * First, GrowlApplicationBridge examines the Growl delegate (if there is + * one) and gets the registration dictionary from that. If no such dictionary + * was obtained, GrowlApplicationBridge looks in your application's main + * bundle for an auto-discoverable registration dictionary file. If that + * doesn't exist either, this function returns <code>NULL</code>. + * + * Second, GrowlApplicationBridge calls + * <code>Growl_CreateRegistrationDictionaryByFillingInDictionary</code> with + * whatever dictionary was obtained. The result of that function is the + * result of this function. + * + * GrowlApplicationBridge uses this function when you call + * <code>Growl_SetDelegate</code>, or when you call + * <code>Growl_RegisterWithDictionary</code> with <code>NULL</code>. + * + * This function was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ +GROWL_EXPORT CFDictionaryRef Growl_CreateBestRegistrationDictionary(void); + +#pragma mark - + +// @functiongroup Filling in registration dictionaries + +/*! @function Growl_CreateRegistrationDictionaryByFillingInDictionary + * @abstract Tries to fill in missing keys in a registration dictionary. + * @param regDict The dictionary to fill in. + * @result The dictionary with the keys filled in. + * @discussion This function examines the passed-in dictionary for missing keys, + * and tries to work out correct values for them. As of 0.7, it uses: + * + * Key Value + * --- ----- + * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code> + * <code>GROWL_APP_ICON</code> The icon of the application. + * <code>GROWL_APP_LOCATION</code> The location of the application. + * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code> + * + * Keys are only filled in if missing; if a key is present in the dictionary, + * its value will not be changed. + * + * This function was introduced in Growl.framework 0.7. + */ +GROWL_EXPORT CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionary(CFDictionaryRef regDict); +/*! @function Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys + * @abstract Tries to fill in missing keys in a registration dictionary. + * @param regDict The dictionary to fill in. + * @param keys The keys to fill in. If <code>NULL</code>, any missing keys are filled in. + * @result The dictionary with the keys filled in. + * @discussion This function examines the passed-in dictionary for missing keys, + * and tries to work out correct values for them. As of 0.7, it uses: + * + * Key Value + * --- ----- + * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code> + * <code>GROWL_APP_ICON</code> The icon of the application. + * <code>GROWL_APP_LOCATION</code> The location of the application. + * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code> + * + * Only those keys that are listed in <code>keys</code> will be filled in. + * Other missing keys are ignored. Also, keys are only filled in if missing; + * if a key is present in the dictionary, its value will not be changed. + * + * This function was introduced in Growl.framework 0.7. + */ +GROWL_EXPORT CFDictionaryRef Growl_CreateRegistrationDictionaryByFillingInDictionaryRestrictedToKeys(CFDictionaryRef regDict, CFSetRef keys); + +/*! @brief Tries to fill in missing keys in a notification dictionary. + * @param notifDict The dictionary to fill in. + * @return The dictionary with the keys filled in. This will be a separate instance from \a notifDict. + * @discussion This function examines the \a notifDict for missing keys, and + * tries to get them from the last known registration dictionary. As of 1.1, + * the keys that it will look for are: + * + * \li <code>GROWL_APP_NAME</code> + * \li <code>GROWL_APP_ICON</code> + * + * @since Growl.framework 1.1 + */ +GROWL_EXPORT CFDictionaryRef Growl_CreateNotificationDictionaryByFillingInDictionary(CFDictionaryRef notifDict); + +#pragma mark - + +// @functiongroup Querying Growl's status + +/*! @function Growl_IsInstalled + * @abstract Determines whether the Growl prefpane and its helper app are + * installed. + * @result Returns true if Growl is installed, false otherwise. + */ +GROWL_EXPORT Boolean Growl_IsInstalled(void); + +/*! @function Growl_IsRunning + * @abstract Cycles through the process list to find whether GrowlHelperApp + * is running. + * @result Returns true if Growl is running, false otherwise. + */ +GROWL_EXPORT Boolean Growl_IsRunning(void); + +#pragma mark - + +// @functiongroup Launching Growl + +/*! @typedef GrowlLaunchCallback + * @abstract Callback to notify you that Growl is running. + * @param context The context pointer passed to Growl_LaunchIfInstalled. + * @discussion Growl_LaunchIfInstalled calls this callback function if Growl + * was already running or if it launched Growl successfully. + */ +typedef void (*GrowlLaunchCallback)(void *context); + +/*! @function Growl_LaunchIfInstalled + * @abstract Launches GrowlHelperApp if it is not already running. + * @param callback A callback function which will be called if Growl was successfully + * launched or was already running. Can be <code>NULL</code>. + * @param context The context pointer to pass to the callback. Can be <code>NULL</code>. + * @result Returns true if Growl was successfully launched or was already + * running; returns false and does not call the callback otherwise. + * @discussion Returns true and calls the callback (if the callback is not + * <code>NULL</code>) if the Growl helper app began launching or was already + * running. Returns false and performs no other action if Growl could not be + * launched (e.g. because the Growl preference pane is not properly installed). + * + * If <code>Growl_CreateBestRegistrationDictionary</code> returns + * non-<code>NULL</code>, this function will register with Growl atomically. + * + * The callback should take a single argument; this is to allow applications + * to have context-relevant information passed back. It is perfectly + * acceptable for context to be <code>NULL</code>. The callback itself can be + * <code>NULL</code> if you don't want one. + */ +GROWL_EXPORT Boolean Growl_LaunchIfInstalled(GrowlLaunchCallback callback, void *context); + +#pragma mark - +#pragma mark Constants + +/*! @defined GROWL_PREFPANE_BUNDLE_IDENTIFIER + * @abstract The CFBundleIdentifier of the Growl preference pane bundle. + * @discussion GrowlApplicationBridge uses this to determine whether Growl is + * currently installed, by searching for the Growl preference pane. Your + * application probably does not need to use this macro itself. + */ +#ifndef GROWL_PREFPANE_BUNDLE_IDENTIFIER +#define GROWL_PREFPANE_BUNDLE_IDENTIFIER CFSTR("com.growl.prefpanel") +#endif + +__END_DECLS + +#endif /* _GROWLAPPLICATIONBRIDGE_CARBON_H_ */ diff --git a/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h b/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h new file mode 100644 index 00000000..4341f3fb --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h @@ -0,0 +1,609 @@ +// +// GrowlApplicationBridge.h +// Growl +// +// Created by Evan Schoenberg on Wed Jun 16 2004. +// Copyright 2004-2006 The Growl Project. All rights reserved. +// + +/*! + * @header GrowlApplicationBridge.h + * @abstract Defines the GrowlApplicationBridge class. + * @discussion This header defines the GrowlApplicationBridge class as well as + * the GROWL_PREFPANE_BUNDLE_IDENTIFIER constant. + */ + +#ifndef __GrowlApplicationBridge_h__ +#define __GrowlApplicationBridge_h__ + +#import <Foundation/Foundation.h> +#import <AppKit/AppKit.h> +#import "GrowlDefines.h" + +//Forward declarations +@protocol GrowlApplicationBridgeDelegate; + +//Internal notification when the user chooses not to install (to avoid continuing to cache notifications awaiting installation) +#define GROWL_USER_CHOSE_NOT_TO_INSTALL_NOTIFICATION @"User chose not to install" + +//------------------------------------------------------------------------------ +#pragma mark - + +/*! + * @class GrowlApplicationBridge + * @abstract A class used to interface with Growl. + * @discussion This class provides a means to interface with Growl. + * + * Currently it provides a way to detect if Growl is installed and launch the + * GrowlHelperApp if it's not already running. + */ +@interface GrowlApplicationBridge : NSObject { + +} + +/*! + * @method isGrowlInstalled + * @abstract Detects whether Growl is installed. + * @discussion Determines if the Growl prefpane and its helper app are installed. + * @result Returns YES if Growl is installed, NO otherwise. + */ ++ (BOOL) isGrowlInstalled; + +/*! + * @method isGrowlRunning + * @abstract Detects whether GrowlHelperApp is currently running. + * @discussion Cycles through the process list to find whether GrowlHelperApp is running and returns its findings. + * @result Returns YES if GrowlHelperApp is running, NO otherwise. + */ ++ (BOOL) isGrowlRunning; + +#pragma mark - + +/*! + * @method setGrowlDelegate: + * @abstract Set the object which will be responsible for providing and receiving Growl information. + * @discussion This must be called before using GrowlApplicationBridge. + * + * The methods in the GrowlApplicationBridgeDelegate protocol are required + * and return the basic information needed to register with Growl. + * + * The methods in the GrowlApplicationBridgeDelegate_InformalProtocol + * informal protocol are individually optional. They provide a greater + * degree of interaction between the application and growl such as informing + * the application when one of its Growl notifications is clicked by the user. + * + * The methods in the GrowlApplicationBridgeDelegate_Installation_InformalProtocol + * informal protocol are individually optional and are only applicable when + * using the Growl-WithInstaller.framework which allows for automated Growl + * installation. + * + * When this method is called, data will be collected from inDelegate, Growl + * will be launched if it is not already running, and the application will be + * registered with Growl. + * + * If using the Growl-WithInstaller framework, if Growl is already installed + * but this copy of the framework has an updated version of Growl, the user + * will be prompted to update automatically. + * + * @param inDelegate The delegate for the GrowlApplicationBridge. It must conform to the GrowlApplicationBridgeDelegate protocol. + */ ++ (void) setGrowlDelegate:(NSObject<GrowlApplicationBridgeDelegate> *)inDelegate; + +/*! + * @method growlDelegate + * @abstract Return the object responsible for providing and receiving Growl information. + * @discussion See setGrowlDelegate: for details. + * @result The Growl delegate. + */ ++ (NSObject<GrowlApplicationBridgeDelegate> *) growlDelegate; + +#pragma mark - + +/*! + * @method notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext: + * @abstract Send a Growl notification. + * @discussion This is the preferred means for sending a Growl notification. + * The notification name and at least one of the title and description are + * required (all three are preferred). All other parameters may be + * <code>nil</code> (or 0 or NO as appropriate) to accept default values. + * + * If using the Growl-WithInstaller framework, if Growl is not installed the + * user will be prompted to install Growl. If the user cancels, this method + * will have no effect until the next application session, at which time when + * it is called the user will be prompted again. The user is also given the + * option to not be prompted again. If the user does choose to install Growl, + * the requested notification will be displayed once Growl is installed and + * running. + * + * @param title The title of the notification displayed to the user. + * @param description The full description of the notification displayed to the user. + * @param notifName The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane. + * @param iconData <code>NSData</code> object to show with the notification as its icon. If <code>nil</code>, the application's icon will be used instead. + * @param priority The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority. + * @param isSticky If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications. + * @param clickContext A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of <code>NSString</code>, <code>NSArray</code>, <code>NSNumber</code>, <code>NSDictionary</code>, and <code>NSData</code> types). + */ ++ (void) notifyWithTitle:(NSString *)title + description:(NSString *)description + notificationName:(NSString *)notifName + iconData:(NSData *)iconData + priority:(signed int)priority + isSticky:(BOOL)isSticky + clickContext:(id)clickContext; + +/*! + * @method notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:identifier: + * @abstract Send a Growl notification. + * @discussion This is the preferred means for sending a Growl notification. + * The notification name and at least one of the title and description are + * required (all three are preferred). All other parameters may be + * <code>nil</code> (or 0 or NO as appropriate) to accept default values. + * + * If using the Growl-WithInstaller framework, if Growl is not installed the + * user will be prompted to install Growl. If the user cancels, this method + * will have no effect until the next application session, at which time when + * it is called the user will be prompted again. The user is also given the + * option to not be prompted again. If the user does choose to install Growl, + * the requested notification will be displayed once Growl is installed and + * running. + * + * @param title The title of the notification displayed to the user. + * @param description The full description of the notification displayed to the user. + * @param notifName The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane. + * @param iconData <code>NSData</code> object to show with the notification as its icon. If <code>nil</code>, the application's icon will be used instead. + * @param priority The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority. + * @param isSticky If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications. + * @param clickContext A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of <code>NSString</code>, <code>NSArray</code>, <code>NSNumber</code>, <code>NSDictionary</code>, and <code>NSData</code> types). + * @param identifier An identifier for this notification. Notifications with equal identifiers are coalesced. + */ ++ (void) notifyWithTitle:(NSString *)title + description:(NSString *)description + notificationName:(NSString *)notifName + iconData:(NSData *)iconData + priority:(signed int)priority + isSticky:(BOOL)isSticky + clickContext:(id)clickContext + identifier:(NSString *)identifier; + +/*! + * @method notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:identifier: + * @abstract Send a Growl notification. + * @discussion This is the preferred means for sending a Growl notification. + * The notification name and at least one of the title and description are + * required (all three are preferred). All other parameters may be + * <code>nil</code> (or 0 or NO as appropriate) to accept default values. + * + * If using the Growl-WithInstaller framework, if Growl is not installed the + * user will be prompted to install Growl. If the user cancels, this method + * will have no effect until the next application session, at which time when + * it is called the user will be prompted again. The user is also given the + * option to not be prompted again. If the user does choose to install Growl, + * the requested notification will be displayed once Growl is installed and + * running. + * + * @param title The title of the notification displayed to the user. + * @param description The full description of the notification displayed to the user. + * @param notifName The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane. + * @param iconData <code>NSData</code> object to show with the notification as its icon. If <code>nil</code>, the application's icon will be used instead. + * @param priority The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority. + * @param isSticky If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications. + * @param clickContext A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of <code>NSString</code>, <code>NSArray</code>, <code>NSNumber</code>, <code>NSDictionary</code>, and <code>NSData</code> types). + * @param identifier An identifier for this notification. Notifications with equal identifiers are coalesced. + */ ++ (void) notifyWithTitle:(NSString *)title + description:(NSString *)description + notificationName:(NSString *)notifName + iconData:(NSData *)iconData + priority:(signed int)priority + isSticky:(BOOL)isSticky + clickContext:(id)clickContext + identifier:(NSString *)identifier; + +/*! @method notifyWithDictionary: + * @abstract Notifies using a userInfo dictionary suitable for passing to + * <code>NSDistributedNotificationCenter</code>. + * @param userInfo The dictionary to notify with. + * @discussion Before Growl 0.6, your application would have posted + * notifications using <code>NSDistributedNotificationCenter</code> by + * creating a userInfo dictionary with the notification data. This had the + * advantage of allowing you to add other data to the dictionary for programs + * besides Growl that might be listening. + * + * This method allows you to use such dictionaries without being restricted + * to using <code>NSDistributedNotificationCenter</code>. The keys for this dictionary + * can be found in GrowlDefines.h. + */ ++ (void) notifyWithDictionary:(NSDictionary *)userInfo; + +#pragma mark - + +/*! @method registerWithDictionary: + * @abstract Register your application with Growl without setting a delegate. + * @discussion When you call this method with a dictionary, + * GrowlApplicationBridge registers your application using that dictionary. + * If you pass <code>nil</code>, GrowlApplicationBridge will ask the delegate + * (if there is one) for a dictionary, and if that doesn't work, it will look + * in your application's bundle for an auto-discoverable plist. + * (XXX refer to more information on that) + * + * If you pass a dictionary to this method, it must include the + * <code>GROWL_APP_NAME</code> key, unless a delegate is set. + * + * This method is mainly an alternative to the delegate system introduced + * with Growl 0.6. Without a delegate, you cannot receive callbacks such as + * <code>-growlIsReady</code> (since they are sent to the delegate). You can, + * however, set a delegate after registering without one. + * + * This method was introduced in Growl.framework 0.7. + */ ++ (BOOL) registerWithDictionary:(NSDictionary *)regDict; + +/*! @method reregisterGrowlNotifications + * @abstract Reregister the notifications for this application. + * @discussion This method does not normally need to be called. If your + * application changes what notifications it is registering with Growl, call + * this method to have the Growl delegate's + * <code>-registrationDictionaryForGrowl</code> method called again and the + * Growl registration information updated. + * + * This method is now implemented using <code>-registerWithDictionary:</code>. + */ ++ (void) reregisterGrowlNotifications; + +#pragma mark - + +/*! @method setWillRegisterWhenGrowlIsReady: + * @abstract Tells GrowlApplicationBridge to register with Growl when Growl + * launches (or not). + * @discussion When Growl has started listening for notifications, it posts a + * <code>GROWL_IS_READY</code> notification on the Distributed Notification + * Center. GrowlApplicationBridge listens for this notification, using it to + * perform various tasks (such as calling your delegate's + * <code>-growlIsReady</code> method, if it has one). If this method is + * called with <code>YES</code>, one of those tasks will be to reregister + * with Growl (in the manner of <code>-reregisterGrowlNotifications</code>). + * + * This attribute is automatically set back to <code>NO</code> (the default) + * after every <code>GROWL_IS_READY</code> notification. + * @param flag <code>YES</code> if you want GrowlApplicationBridge to register with + * Growl when next it is ready; <code>NO</code> if not. + */ ++ (void) setWillRegisterWhenGrowlIsReady:(BOOL)flag; +/*! @method willRegisterWhenGrowlIsReady + * @abstract Reports whether GrowlApplicationBridge will register with Growl + * when Growl next launches. + * @result <code>YES</code> if GrowlApplicationBridge will register with Growl + * when next it posts GROWL_IS_READY; <code>NO</code> if not. + */ ++ (BOOL) willRegisterWhenGrowlIsReady; + +#pragma mark - + +/*! @method registrationDictionaryFromDelegate + * @abstract Asks the delegate for a registration dictionary. + * @discussion If no delegate is set, or if the delegate's + * <code>-registrationDictionaryForGrowl</code> method returns + * <code>nil</code>, this method returns <code>nil</code>. + * + * This method does not attempt to clean up the dictionary in any way - for + * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result + * will be missing it too. Use <code>+[GrowlApplicationBridge + * registrationDictionaryByFillingInDictionary:]</code> or + * <code>+[GrowlApplicationBridge + * registrationDictionaryByFillingInDictionary:restrictToKeys:]</code> to try + * to fill in missing keys. + * + * This method was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ ++ (NSDictionary *) registrationDictionaryFromDelegate; + +/*! @method registrationDictionaryFromBundle: + * @abstract Looks in a bundle for a registration dictionary. + * @discussion This method looks in a bundle for an auto-discoverable + * registration dictionary file using <code>-[NSBundle + * pathForResource:ofType:]</code>. If it finds one, it loads the file using + * <code>+[NSDictionary dictionaryWithContentsOfFile:]</code> and returns the + * result. + * + * If you pass <code>nil</code> as the bundle, the main bundle is examined. + * + * This method does not attempt to clean up the dictionary in any way - for + * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result + * will be missing it too. Use <code>+[GrowlApplicationBridge + * registrationDictionaryByFillingInDictionary:]</code> or + * <code>+[GrowlApplicationBridge + * registrationDictionaryByFillingInDictionary:restrictToKeys:]</code> to try + * to fill in missing keys. + * + * This method was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ ++ (NSDictionary *) registrationDictionaryFromBundle:(NSBundle *)bundle; + +/*! @method bestRegistrationDictionary + * @abstract Obtains a registration dictionary, filled out to the best of + * GrowlApplicationBridge's knowledge. + * @discussion This method creates a registration dictionary as best + * GrowlApplicationBridge knows how. + * + * First, GrowlApplicationBridge contacts the Growl delegate (if there is + * one) and gets the registration dictionary from that. If no such dictionary + * was obtained, GrowlApplicationBridge looks in your application's main + * bundle for an auto-discoverable registration dictionary file. If that + * doesn't exist either, this method returns <code>nil</code>. + * + * Second, GrowlApplicationBridge calls + * <code>+registrationDictionaryByFillingInDictionary:</code> with whatever + * dictionary was obtained. The result of that method is the result of this + * method. + * + * GrowlApplicationBridge uses this method when you call + * <code>+setGrowlDelegate:</code>, or when you call + * <code>+registerWithDictionary:</code> with <code>nil</code>. + * + * This method was introduced in Growl.framework 0.7. + * @result A registration dictionary. + */ ++ (NSDictionary *) bestRegistrationDictionary; + +#pragma mark - + +/*! @method registrationDictionaryByFillingInDictionary: + * @abstract Tries to fill in missing keys in a registration dictionary. + * @discussion This method examines the passed-in dictionary for missing keys, + * and tries to work out correct values for them. As of 0.7, it uses: + * + * Key Value + * --- ----- + * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code> + * <code>GROWL_APP_ICON</code> The icon of the application. + * <code>GROWL_APP_LOCATION</code> The location of the application. + * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code> + * + * Keys are only filled in if missing; if a key is present in the dictionary, + * its value will not be changed. + * + * This method was introduced in Growl.framework 0.7. + * @param regDict The dictionary to fill in. + * @result The dictionary with the keys filled in. This is an autoreleased + * copy of <code>regDict</code>. + */ ++ (NSDictionary *) registrationDictionaryByFillingInDictionary:(NSDictionary *)regDict; +/*! @method registrationDictionaryByFillingInDictionary:restrictToKeys: + * @abstract Tries to fill in missing keys in a registration dictionary. + * @discussion This method examines the passed-in dictionary for missing keys, + * and tries to work out correct values for them. As of 0.7, it uses: + * + * Key Value + * --- ----- + * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code> + * <code>GROWL_APP_ICON</code> The icon of the application. + * <code>GROWL_APP_LOCATION</code> The location of the application. + * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code> + * + * Only those keys that are listed in <code>keys</code> will be filled in. + * Other missing keys are ignored. Also, keys are only filled in if missing; + * if a key is present in the dictionary, its value will not be changed. + * + * This method was introduced in Growl.framework 0.7. + * @param regDict The dictionary to fill in. + * @param keys The keys to fill in. If <code>nil</code>, any missing keys are filled in. + * @result The dictionary with the keys filled in. This is an autoreleased + * copy of <code>regDict</code>. + */ ++ (NSDictionary *) registrationDictionaryByFillingInDictionary:(NSDictionary *)regDict restrictToKeys:(NSSet *)keys; + +/*! @brief Tries to fill in missing keys in a notification dictionary. + * @param notifDict The dictionary to fill in. + * @return The dictionary with the keys filled in. This will be a separate instance from \a notifDict. + * @discussion This function examines the \a notifDict for missing keys, and + * tries to get them from the last known registration dictionary. As of 1.1, + * the keys that it will look for are: + * + * \li <code>GROWL_APP_NAME</code> + * \li <code>GROWL_APP_ICON</code> + * + * @since Growl.framework 1.1 + */ ++ (NSDictionary *) notificationDictionaryByFillingInDictionary:(NSDictionary *)regDict; + ++ (NSDictionary *) frameworkInfoDictionary; +@end + +//------------------------------------------------------------------------------ +#pragma mark - + +/*! + * @protocol GrowlApplicationBridgeDelegate + * @abstract Required protocol for the Growl delegate. + * @discussion The methods in this protocol are required and are called + * automatically as needed by GrowlApplicationBridge. See + * <code>+[GrowlApplicationBridge setGrowlDelegate:]</code>. + * See also <code>GrowlApplicationBridgeDelegate_InformalProtocol</code>. + */ + +@protocol GrowlApplicationBridgeDelegate + +// -registrationDictionaryForGrowl has moved to the informal protocol as of 0.7. + +@end + +//------------------------------------------------------------------------------ +#pragma mark - + +/*! + * @category NSObject(GrowlApplicationBridgeDelegate_InformalProtocol) + * @abstract Methods which may be optionally implemented by the GrowlDelegate. + * @discussion The methods in this informal protocol will only be called if implemented by the delegate. + */ +@interface NSObject (GrowlApplicationBridgeDelegate_InformalProtocol) + +/*! + * @method registrationDictionaryForGrowl + * @abstract Return the dictionary used to register this application with Growl. + * @discussion The returned dictionary gives Growl the complete list of + * notifications this application will ever send, and it also specifies which + * notifications should be enabled by default. Each is specified by an array + * of <code>NSString</code> objects. + * + * For most applications, these two arrays can be the same (if all sent + * notifications should be displayed by default). + * + * The <code>NSString</code> objects of these arrays will correspond to the + * <code>notificationName:</code> parameter passed in + * <code>+[GrowlApplicationBridge + * notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:]</code> calls. + * + * The dictionary should have the required key object pairs: + * key: GROWL_NOTIFICATIONS_ALL object: <code>NSArray</code> of <code>NSString</code> objects + * key: GROWL_NOTIFICATIONS_DEFAULT object: <code>NSArray</code> of <code>NSString</code> objects + * + * The dictionary may have the following key object pairs: + * key: GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES object: <code>NSDictionary</code> of key: notification name object: human-readable notification name + * + * You do not need to implement this method if you have an auto-discoverable + * plist file in your app bundle. (XXX refer to more information on that) + * + * @result The <code>NSDictionary</code> to use for registration. + */ +- (NSDictionary *) registrationDictionaryForGrowl; + +/*! + * @method applicationNameForGrowl + * @abstract Return the name of this application which will be used for Growl bookkeeping. + * @discussion This name is used both internally and in the Growl preferences. + * + * This should remain stable between different versions and incarnations of + * your application. + * For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and + * "SurfWriter Lite" are not. + * + * You do not need to implement this method if you are providing the + * application name elsewhere, meaning in an auto-discoverable plist file in + * your app bundle (XXX refer to more information on that) or in the result + * of -registrationDictionaryForGrowl. + * + * @result The name of the application using Growl. + */ +- (NSString *) applicationNameForGrowl; + +/*! + * @method applicationIconForGrowl + * @abstract Return the <code>NSImage</code> to treat as the application icon. + * @discussion The delegate may optionally return an <code>NSImage</code> + * object to use as the application icon. If this method is not implemented, + * {{{-applicationIconDataForGrowl}}} is tried. If that method is not + * implemented, the application's own icon is used. Neither method is + * generally needed. + * @result The <code>NSImage</code> to treat as the application icon. + */ +- (NSImage *) applicationIconForGrowl; + +/*! + * @method applicationIconDataForGrowl + * @abstract Return the <code>NSData</code> to treat as the application icon. + * @discussion The delegate may optionally return an <code>NSData</code> + * object to use as the application icon; if this is not implemented, the + * application's own icon is used. This is not generally needed. + * @result The <code>NSData</code> to treat as the application icon. + * @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}. + */ +- (NSData *) applicationIconDataForGrowl; + +/*! + * @method growlIsReady + * @abstract Informs the delegate that Growl has launched. + * @discussion Informs the delegate that Growl (specifically, the + * GrowlHelperApp) was launched successfully. The application can take actions + * with the knowledge that Growl is installed and functional. + */ +- (void) growlIsReady; + +/*! + * @method growlNotificationWasClicked: + * @abstract Informs the delegate that a Growl notification was clicked. + * @discussion Informs the delegate that a Growl notification was clicked. It + * is only sent for notifications sent with a non-<code>nil</code> + * clickContext, so if you want to receive a message when a notification is + * clicked, clickContext must not be <code>nil</code> when calling + * <code>+[GrowlApplicationBridge notifyWithTitle: description:notificationName:iconData:priority:isSticky:clickContext:]</code>. + * @param clickContext The clickContext passed when displaying the notification originally via +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:]. + */ +- (void) growlNotificationWasClicked:(id)clickContext; + +/*! + * @method growlNotificationTimedOut: + * @abstract Informs the delegate that a Growl notification timed out. + * @discussion Informs the delegate that a Growl notification timed out. It + * is only sent for notifications sent with a non-<code>nil</code> + * clickContext, so if you want to receive a message when a notification is + * clicked, clickContext must not be <code>nil</code> when calling + * <code>+[GrowlApplicationBridge notifyWithTitle: description:notificationName:iconData:priority:isSticky:clickContext:]</code>. + * @param clickContext The clickContext passed when displaying the notification originally via +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:]. + */ +- (void) growlNotificationTimedOut:(id)clickContext; + +@end + +#pragma mark - +/*! + * @category NSObject(GrowlApplicationBridgeDelegate_Installation_InformalProtocol) + * @abstract Methods which may be optionally implemented by the Growl delegate when used with Growl-WithInstaller.framework. + * @discussion The methods in this informal protocol will only be called if + * implemented by the delegate. They allow greater control of the information + * presented to the user when installing or upgrading Growl from within your + * application when using Growl-WithInstaller.framework. + */ +@interface NSObject (GrowlApplicationBridgeDelegate_Installation_InformalProtocol) + +/*! + * @method growlInstallationWindowTitle + * @abstract Return the title of the installation window. + * @discussion If not implemented, Growl will use a default, localized title. + * @result An NSString object to use as the title. + */ +- (NSString *)growlInstallationWindowTitle; + +/*! + * @method growlUpdateWindowTitle + * @abstract Return the title of the upgrade window. + * @discussion If not implemented, Growl will use a default, localized title. + * @result An NSString object to use as the title. + */ +- (NSString *)growlUpdateWindowTitle; + +/*! + * @method growlInstallationInformation + * @abstract Return the information to display when installing. + * @discussion This information may be as long or short as desired (the window + * will be sized to fit it). It will be displayed to the user as an + * explanation of what Growl is and what it can do in your application. It + * should probably note that no download is required to install. + * + * If this is not implemented, Growl will use a default, localized explanation. + * @result An NSAttributedString object to display. + */ +- (NSAttributedString *)growlInstallationInformation; + +/*! + * @method growlUpdateInformation + * @abstract Return the information to display when upgrading. + * @discussion This information may be as long or short as desired (the window + * will be sized to fit it). It will be displayed to the user as an + * explanation that an updated version of Growl is included in your + * application and no download is required. + * + * If this is not implemented, Growl will use a default, localized explanation. + * @result An NSAttributedString object to display. + */ +- (NSAttributedString *)growlUpdateInformation; + +@end + +//private +@interface GrowlApplicationBridge (GrowlInstallationPrompt_private) ++ (void) _userChoseNotToInstallGrowl; +@end + +#endif /* __GrowlApplicationBridge_h__ */ diff --git a/trunk/Growl.framework/Versions/A/Headers/GrowlDefines.h b/trunk/Growl.framework/Versions/A/Headers/GrowlDefines.h new file mode 100644 index 00000000..2b971cfe --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Headers/GrowlDefines.h @@ -0,0 +1,348 @@ +// +// GrowlDefines.h +// + +#ifndef _GROWLDEFINES_H +#define _GROWLDEFINES_H + +#ifdef __OBJC__ +#define XSTR(x) (@x) +#define STRING_TYPE NSString * +#else +#define XSTR CFSTR +#define STRING_TYPE CFStringRef +#endif + +/*! @header GrowlDefines.h + * @abstract Defines all the notification keys. + * @discussion Defines all the keys used for registration with Growl and for + * Growl notifications. + * + * Most applications should use the functions or methods of Growl.framework + * instead of posting notifications such as those described here. + * @updated 2004-01-25 + */ + +// UserInfo Keys for Registration +#pragma mark UserInfo Keys for Registration + +/*! @group Registration userInfo keys */ +/* @abstract Keys for the userInfo dictionary of a GROWL_APP_REGISTRATION distributed notification. + * @discussion The values of these keys describe the application and the + * notifications it may post. + * + * Your application must register with Growl before it can post Growl + * notifications (and have them not be ignored). However, as of Growl 0.6, + * posting GROWL_APP_REGISTRATION notifications directly is no longer the + * preferred way to register your application. Your application should instead + * use Growl.framework's delegate system. + * See +[GrowlApplicationBridge setGrowlDelegate:] or Growl_SetDelegate for + * more information. + */ + +/*! @defined GROWL_APP_NAME + * @abstract The name of your application. + * @discussion The name of your application. This should remain stable between + * different versions and incarnations of your application. + * For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and + * "SurfWriter Lite" are not. + */ +#define GROWL_APP_NAME XSTR("ApplicationName") +/*! @defined GROWL_APP_ID + * @abstract The bundle identifier of your application. + * @discussion The bundle identifier of your application. This key should + * be unique for your application while there may be several applications + * with the same GROWL_APP_NAME. + * This key is optional. + */ +#define GROWL_APP_ID XSTR("ApplicationId") +/*! @defined GROWL_APP_ICON + * @abstract The image data for your application's icon. + * @discussion Image data representing your application's icon. This may be + * superimposed on a notification icon as a badge, used as the notification + * icon when a notification-specific icon is not supplied, or ignored + * altogether, depending on the display. Must be in a format supported by + * NSImage, such as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_APP_ICON XSTR("ApplicationIcon") +/*! @defined GROWL_NOTIFICATIONS_DEFAULT + * @abstract The array of notifications to turn on by default. + * @discussion These are the names of the notifications that should be enabled + * by default when your application registers for the first time. If your + * application reregisters, Growl will look here for any new notification + * names found in GROWL_NOTIFICATIONS_ALL, but ignore any others. + */ +#define GROWL_NOTIFICATIONS_DEFAULT XSTR("DefaultNotifications") +/*! @defined GROWL_NOTIFICATIONS_ALL + * @abstract The array of all notifications your application can send. + * @discussion These are the names of all of the notifications that your + * application may post. See GROWL_NOTIFICATION_NAME for a discussion of good + * notification names. + */ +#define GROWL_NOTIFICATIONS_ALL XSTR("AllNotifications") +/*! @defined GROWL_NOTIFICATIONS_HUMAN_READABLE_DESCRIPTIONS + * @abstract A dictionary of human-readable names for your notifications. + * @discussion By default, the Growl UI will display notifications by the names given in GROWL_NOTIFICATIONS_ALL + * which correspond to the GROWL_NOTIFICATION_NAME. This dictionary specifies the human-readable name to display. + * The keys of the dictionary are GROWL_NOTIFICATION_NAME strings; the objects are the human-readable versions. + * For any GROWL_NOTIFICATION_NAME not specific in this dictionary, the GROWL_NOTIFICATION_NAME will be displayed. + * + * This key is optional. + */ +#define GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES XSTR("HumanReadableNames") +/*! @defined GROWL_NOTIFICATIONS_DESCRIPTIONS +* @abstract A dictionary of descriptions of _when_ each notification occurs +* @discussion This is an NSDictionary whose keys are GROWL_NOTIFICATION_NAME strings and whose objects are +* descriptions of _when_ each notification occurs, such as "You received a new mail message" or +* "A file finished downloading". +* +* This key is optional. +*/ +#define GROWL_NOTIFICATIONS_DESCRIPTIONS XSTR("NotificationDescriptions") + +/*! @defined GROWL_TICKET_VERSION + * @abstract The version of your registration ticket. + * @discussion Include this key in a ticket plist file that you put in your + * application bundle for auto-discovery. The current ticket version is 1. + */ +#define GROWL_TICKET_VERSION XSTR("TicketVersion") +// UserInfo Keys for Notifications +#pragma mark UserInfo Keys for Notifications + +/*! @group Notification userInfo keys */ +/* @abstract Keys for the userInfo dictionary of a GROWL_NOTIFICATION distributed notification. + * @discussion The values of these keys describe the content of a Growl + * notification. + * + * Not all of these keys are supported by all displays. Only the name, title, + * and description of a notification are universal. Most of the built-in + * displays do support all of these keys, and most other visual displays + * probably will also. But, as of 0.6, the Log, MailMe, and Speech displays + * support only textual data. + */ + +/*! @defined GROWL_NOTIFICATION_NAME + * @abstract The name of the notification. + * @discussion The name of the notification. Note that if you do not define + * GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES when registering your ticket originally this name + * will the one displayed within the Growl preference pane and should be human-readable. + */ +#define GROWL_NOTIFICATION_NAME XSTR("NotificationName") +/*! @defined GROWL_NOTIFICATION_TITLE + * @abstract The title to display in the notification. + * @discussion The title of the notification. Should be very brief. + * The title usually says what happened, e.g. "Download complete". + */ +#define GROWL_NOTIFICATION_TITLE XSTR("NotificationTitle") +/*! @defined GROWL_NOTIFICATION_DESCRIPTION + * @abstract The description to display in the notification. + * @discussion The description should be longer and more verbose than the title. + * The description usually tells the subject of the action, + * e.g. "Growl-0.6.dmg downloaded in 5.02 minutes". + */ +#define GROWL_NOTIFICATION_DESCRIPTION XSTR("NotificationDescription") +/*! @defined GROWL_NOTIFICATION_ICON + * @discussion Image data for the notification icon. Must be in a format + * supported by NSImage, such as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_ICON XSTR("NotificationIcon") +/*! @defined GROWL_NOTIFICATION_APP_ICON + * @discussion Image data for the application icon, in case GROWL_APP_ICON does + * not apply for some reason. Must be in a format supported by NSImage, such + * as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_APP_ICON XSTR("NotificationAppIcon") +/*! @defined GROWL_NOTIFICATION_PRIORITY + * @discussion The priority of the notification as an integer number from + * -2 to +2 (+2 being highest). + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_PRIORITY XSTR("NotificationPriority") +/*! @defined GROWL_NOTIFICATION_STICKY + * @discussion A Boolean number controlling whether the notification is sticky. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_STICKY XSTR("NotificationSticky") +/*! @defined GROWL_NOTIFICATION_CLICK_CONTEXT + * @abstract Identifies which notification was clicked. + * @discussion An identifier for the notification for clicking purposes. + * + * This will be passed back to the application when the notification is + * clicked. It must be plist-encodable (a data, dictionary, array, number, or + * string object), and it should be unique for each notification you post. + * A good click context would be a UUID string returned by NSProcessInfo or + * CFUUID. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_CLICK_CONTEXT XSTR("NotificationClickContext") + +/*! @defined GROWL_DISPLAY_PLUGIN + * @discussion The name of a display plugin which should be used for this notification. + * Optional. If this key is not set or the specified display plugin does not + * exist, the display plugin stored in the application ticket is used. This key + * allows applications to use different default display plugins for their + * notifications. The user can still override those settings in the preference + * pane. + */ +#define GROWL_DISPLAY_PLUGIN XSTR("NotificationDisplayPlugin") + +/*! @defined GROWL_NOTIFICATION_IDENTIFIER + * @abstract An identifier for the notification for coalescing purposes. + * Notifications with the same identifier fall into the same class; only + * the last notification of a class is displayed on the screen. If a + * notification of the same class is currently being displayed, it is + * replaced by this notification. + * + * Optional. Not supported by all display plugins. + */ +#define GROWL_NOTIFICATION_IDENTIFIER XSTR("GrowlNotificationIdentifier") + +/*! @defined GROWL_APP_PID + * @abstract The process identifier of the process which sends this + * notification. If this field is set, the application will only receive + * clicked and timed out notifications which originate from this process. + * + * Optional. + */ +#define GROWL_APP_PID XSTR("ApplicationPID") + +/*! @defined GROWL_NOTIFICATION_PROGRESS +* @abstract If this key is set, it should contain a double value wrapped +* in a NSNumber which describes some sort of progress (from 0.0 to 100.0). +* If this is key is not set, no progress bar is shown. +* +* Optional. Not supported by all display plugins. +*/ +#define GROWL_NOTIFICATION_PROGRESS XSTR("NotificationProgress") + +// Notifications +#pragma mark Notifications + +/*! @group Notification names */ +/* @abstract Names of distributed notifications used by Growl. + * @discussion These are notifications used by applications (directly or + * indirectly) to interact with Growl, and by Growl for interaction between + * its components. + * + * Most of these should no longer be used in Growl 0.6 and later, in favor of + * Growl.framework's GrowlApplicationBridge APIs. + */ + +/*! @defined GROWL_APP_REGISTRATION + * @abstract The distributed notification for registering your application. + * @discussion This is the name of the distributed notification that can be + * used to register applications with Growl. + * + * The userInfo dictionary for this notification can contain these keys: + * <ul> + * <li>GROWL_APP_NAME</li> + * <li>GROWL_APP_ICON</li> + * <li>GROWL_NOTIFICATIONS_ALL</li> + * <li>GROWL_NOTIFICATIONS_DEFAULT</li> + * </ul> + * + * No longer recommended as of Growl 0.6. An alternate method of registering + * is to use Growl.framework's delegate system. + * See +[GrowlApplicationBridge setGrowlDelegate:] or Growl_SetDelegate for + * more information. + */ +#define GROWL_APP_REGISTRATION XSTR("GrowlApplicationRegistrationNotification") +/*! @defined GROWL_APP_REGISTRATION_CONF + * @abstract The distributed notification for confirming registration. + * @discussion The name of the distributed notification sent to confirm the + * registration. Used by the Growl preference pane. Your application probably + * does not need to use this notification. + */ +#define GROWL_APP_REGISTRATION_CONF XSTR("GrowlApplicationRegistrationConfirmationNotification") +/*! @defined GROWL_NOTIFICATION + * @abstract The distributed notification for Growl notifications. + * @discussion This is what it all comes down to. This is the name of the + * distributed notification that your application posts to actually send a + * Growl notification. + * + * The userInfo dictionary for this notification can contain these keys: + * <ul> + * <li>GROWL_NOTIFICATION_NAME (required)</li> + * <li>GROWL_NOTIFICATION_TITLE (required)</li> + * <li>GROWL_NOTIFICATION_DESCRIPTION (required)</li> + * <li>GROWL_NOTIFICATION_ICON</li> + * <li>GROWL_NOTIFICATION_APP_ICON</li> + * <li>GROWL_NOTIFICATION_PRIORITY</li> + * <li>GROWL_NOTIFICATION_STICKY</li> + * <li>GROWL_NOTIFICATION_CLICK_CONTEXT</li> + * <li>GROWL_APP_NAME (required)</li> + * </ul> + * + * No longer recommended as of Growl 0.6. Three alternate methods of posting + * notifications are +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:], + * Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext, and + * Growl_PostNotification. + */ +#define GROWL_NOTIFICATION XSTR("GrowlNotification") +/*! @defined GROWL_SHUTDOWN +* @abstract The distributed notification name that tells Growl to shutdown. +* @discussion The Growl preference pane posts this notification when the +* "Stop Growl" button is clicked. +*/ +#define GROWL_SHUTDOWN XSTR("GrowlShutdown") +/*! @defined GROWL_PING + * @abstract A distributed notification to check whether Growl is running. + * @discussion This is used by the Growl preference pane. If it receives a + * GROWL_PONG, the preference pane takes this to mean that Growl is running. + */ +#define GROWL_PING XSTR("Honey, Mind Taking Out The Trash") +/*! @defined GROWL_PONG + * @abstract The distributed notification sent in reply to GROWL_PING. + * @discussion GrowlHelperApp posts this in reply to GROWL_PING. + */ +#define GROWL_PONG XSTR("What Do You Want From Me, Woman") +/*! @defined GROWL_IS_READY + * @abstract The distributed notification sent when Growl starts up. + * @discussion GrowlHelperApp posts this when it has begin listening on all of + * its sources for new notifications. GrowlApplicationBridge (in + * Growl.framework), upon receiving this notification, reregisters using the + * registration dictionary supplied by its delegate. + */ +#define GROWL_IS_READY XSTR("Lend Me Some Sugar; I Am Your Neighbor!") +/*! @defined GROWL_NOTIFICATION_CLICKED + * @abstract The distributed notification sent when a supported notification is clicked. + * @discussion When a Growl notification with a click context is clicked on by + * the user, Growl posts this distributed notification. + * The GrowlApplicationBridge responds to this notification by calling a + * callback in its delegate. + */ +#define GROWL_NOTIFICATION_CLICKED XSTR("GrowlClicked!") +#define GROWL_NOTIFICATION_TIMED_OUT XSTR("GrowlTimedOut!") + +/*! @group Other symbols */ +/* Symbols which don't fit into any of the other categories. */ + +/*! @defined GROWL_KEY_CLICKED_CONTEXT + * @abstract Used internally as the key for the clickedContext passed over DNC. + * @discussion This key is used in GROWL_NOTIFICATION_CLICKED, and contains the + * click context that was supplied in the original notification. + */ +#define GROWL_KEY_CLICKED_CONTEXT XSTR("ClickedContext") +/*! @defined GROWL_REG_DICT_EXTENSION + * @abstract The filename extension for registration dictionaries. + * @discussion The GrowlApplicationBridge in Growl.framework registers with + * Growl by creating a file with the extension of .(GROWL_REG_DICT_EXTENSION) + * and opening it in the GrowlHelperApp. This happens whether or not Growl is + * running; if it was stopped, it quits immediately without listening for + * notifications. + */ +#define GROWL_REG_DICT_EXTENSION XSTR("growlRegDict") + + +#define GROWL_POSITION_PREFERENCE_KEY @"GrowlSelectedPosition" + +#endif //ndef _GROWLDEFINES_H diff --git a/trunk/Growl.framework/Versions/A/Resources/Info.plist b/trunk/Growl.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..38bfb237 --- /dev/null +++ b/trunk/Growl.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>Growl</string> + <key>CFBundleIdentifier</key> + <string>com.growl.growlframework</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleShortVersionString</key> + <string>1.1.4</string> + <key>CFBundleSignature</key> + <string>GRRR</string> + <key>CFBundleVersion</key> + <string>1.1.4</string> + <key>NSPrincipalClass</key> + <string>GrowlApplicationBridge</string> +</dict> +</plist> diff --git a/trunk/Growl.framework/Versions/Current b/trunk/Growl.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/trunk/Growl.framework/Versions/Current @@ -0,0 +1 @@ +A
\ No newline at end of file diff --git a/trunk/ImageAndTextCell.h b/trunk/ImageAndTextCell.h new file mode 100755 index 00000000..bf0ef753 --- /dev/null +++ b/trunk/ImageAndTextCell.h @@ -0,0 +1,59 @@ +// +// ImageAndTextCell.h +// +// Copyright © 2006, Apple. All rights reserved. +// + +/* + IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in + consideration of your agreement to the following terms, and your use, installation, + modification or redistribution of this Apple software constitutes acceptance of these + terms. If you do not agree with these terms, please do not use, install, modify or + redistribute this Apple software. + + In consideration of your agreement to abide by the following terms, and subject to these + terms, Apple grants you a personal, non-exclusive license, under Apple’s copyrights in + this original Apple software (the "Apple Software"), to use, reproduce, modify and + redistribute the Apple Software, with or without modifications, in source and/or binary + forms; provided that if you redistribute the Apple Software in its entirety and without + modifications, you must retain this notice and the following text and disclaimers in all + such redistributions of the Apple Software. Neither the name, trademarks, service marks + or logos of Apple Computer, Inc. may be used to endorse or promote products derived from + the Apple Software without specific prior written permission from Apple. Except as expressly + stated in this notice, no other rights or licenses, express or implied, are granted by Apple + herein, including but not limited to any patent rights that may be infringed by your + derivative works or by other works in which the Apple Software may be incorporated. + + The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES NO WARRANTIES, + EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS + USE AND OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + + IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, + REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND + WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR + OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#import <Cocoa/Cocoa.h> + +#define INDENT_AMOUNT 17 + +@interface ImageAndTextCell : NSTextFieldCell +{ +@private + NSImage *image; + int _indentationLevel; +} + +- (void)setImage:(NSImage *)anImage; +- (NSImage *)image; + +- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView; +- (NSSize)cellSize; + +- (void)setIndentationLevel:(int)level; +- (int)IndentationLevel; +@end diff --git a/trunk/ImageAndTextCell.m b/trunk/ImageAndTextCell.m new file mode 100755 index 00000000..a8165f85 --- /dev/null +++ b/trunk/ImageAndTextCell.m @@ -0,0 +1,135 @@ +/* + ImageAndTextCell.m + Copyright © 2006, Apple Computer, Inc., all rights reserved. + + Subclass of NSTextFieldCell which can display text and an image simultaneously. +*/ + +#import "ImageAndTextCell.h" + +@implementation ImageAndTextCell + +- (void)dealloc { + [image release]; + image = nil; + [super dealloc]; +} + +- copyWithZone:(NSZone *)zone +{ + ImageAndTextCell *cell = (ImageAndTextCell *)[super copyWithZone:zone]; + cell->image = [image retain]; + return cell; +} + +- (void)setImage:(NSImage *)anImage +{ + if (anImage != image) + { + [image release]; + image = [anImage retain]; + } +} + +- (NSImage *)image +{ + return image; +} + +- (NSRect)imageFrameForCellFrame:(NSRect)cellFrame +{ + if (image != nil) + { + NSRect imageFrame; + imageFrame.size = [image size]; + imageFrame.origin = cellFrame.origin; + imageFrame.origin.x += ((1 - MIN(1,INDENT_AMOUNT)) * 3) + (INDENT_AMOUNT * _indentationLevel); + imageFrame.origin.y += ceil((cellFrame.size.height - imageFrame.size.height) / 2); + return imageFrame; + } + else + return NSZeroRect; +} + +- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent +{ + if (_indentationLevel != 0) { + NSRect indentationFrame; + NSDivideRect(aRect, &indentationFrame, &aRect, (INDENT_AMOUNT * _indentationLevel), NSMinXEdge); + } + + if (image != nil) { + NSRect imageFrame; + NSDivideRect (aRect, &imageFrame, &aRect, 3 + [image size].width, NSMinXEdge); + } + + [super editWithFrame:aRect inView: controlView editor:textObj delegate:anObject event:theEvent]; +} + +- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView editor:(NSText *)textObj delegate:(id)anObject start:(int)selStart length:(int)selLength +{ + if (_indentationLevel != 0) { + NSRect indentationFrame; + NSDivideRect(aRect, &indentationFrame, &aRect, (INDENT_AMOUNT * _indentationLevel), NSMinXEdge); + } + + if (image != nil) { + NSRect imageFrame; + NSDivideRect (aRect, &imageFrame, &aRect, 3 + [image size].width, NSMinXEdge); + } + + [super selectWithFrame:aRect inView: controlView editor:textObj delegate:anObject start:selStart length:selLength]; +} + +- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView +{ + if (_indentationLevel != 0) + { + NSRect indentationFrame; + NSDivideRect(cellFrame, &indentationFrame, &cellFrame, (INDENT_AMOUNT * _indentationLevel), NSMinXEdge); + } + + if (image != nil) + { + NSSize imageSize; + NSRect imageFrame; + + imageSize = [image size]; + NSDivideRect(cellFrame, &imageFrame, &cellFrame, 3 + imageSize.width, NSMinXEdge); + if ([self drawsBackground]) + { + [[self backgroundColor] set]; + NSRectFill(imageFrame); + } + imageFrame.origin.x += 3; + imageFrame.size = imageSize; + + if ([controlView isFlipped]) + imageFrame.origin.y += ceil((cellFrame.size.height + imageFrame.size.height) / 2); + else + imageFrame.origin.y += ceil((cellFrame.size.height - imageFrame.size.height) / 2); + + [image compositeToPoint:imageFrame.origin operation:NSCompositeSourceOver]; + } + [super drawWithFrame:cellFrame inView:controlView]; +} + +- (NSSize)cellSize +{ + NSSize cellSize = [super cellSize]; + cellSize.width += (image ? [image size].width : 0) + ((1 - MIN(1,INDENT_AMOUNT)) * 3) + (INDENT_AMOUNT * _indentationLevel); + return cellSize; +} + +- (void)setIndentationLevel:(int)level +{ + _indentationLevel = MAX(0,level); +} + +- (int)IndentationLevel +{ + return _indentationLevel; +} + +@end + diff --git a/trunk/Info.plist b/trunk/Info.plist new file mode 100644 index 00000000..e3851dd8 --- /dev/null +++ b/trunk/Info.plist @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleDocumentTypes</key> + <array> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>????</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>appicon.icns</string> + <key>CFBundleTypeName</key> + <string>DocumentType</string> + <key>CFBundleTypeOSTypes</key> + <array> + <string>????</string> + </array> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>NSDocumentClass</key> + <string>TableDocument</string> + </dict> + </array> + <key>CFBundleExecutable</key> + <string>${EXECUTABLE_NAME}</string> + <key>CFBundleHelpBookFolder</key> + <string>english_help</string> + <key>CFBundleHelpBookName</key> + <string>Sequel Pro Help</string> + <key>CFBundleIconFile</key> + <string>appicon.icns</string> + <key>CFBundleIdentifier</key> + <string>com.google.code.sequel-pro</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>${PRODUCT_NAME}</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>0.9.3</string> + <key>CFBundleVersion</key> + <string>238</string> + <key>NSAppleScriptEnabled</key> + <string>YES</string> + <key>NSHumanReadableCopyright</key> + <string>0.9.3 (238)</string> + <key>NSMainNibFile</key> + <string>MainMenu</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSServices</key> + <array> + <dict> + <key>NSKeyEquivalent</key> + <dict> + <key>default</key> + <string>M</string> + </dict> + <key>NSMenuItem</key> + <dict> + <key>default</key> + <string>Sequel Pro/Perform selection as MySQL query</string> + </dict> + <key>NSMessage</key> + <string>doPerformQueryService</string> + <key>NSPortName</key> + <string>Sequel Pro</string> + <key>NSSendTypes</key> + <array> + <string>NSStringPboardType</string> + </array> + </dict> + </array> + <key>SUFeedURL</key> + <string>http://sequelpro.com/appcast/app-releases.xml</string> +</dict> +</plist> diff --git a/trunk/KeyChain.h b/trunk/KeyChain.h new file mode 100644 index 00000000..8b4a4e1d --- /dev/null +++ b/trunk/KeyChain.h @@ -0,0 +1,35 @@ +// +// KeyChain.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Dec 25 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Foundation/Foundation.h> +#import <Cocoa/Cocoa.h> + +@interface KeyChain : NSObject + +- (void)addPassword:(NSString *)password forName:(NSString *)name account:(NSString *)account; +- (NSString *)getPasswordForName:(NSString *)name account:(NSString *)account; +- (void)deletePasswordForName:(NSString *)name account:(NSString *)account; +- (BOOL)passwordExistsForName:(NSString *)name account:(NSString *)account; + +@end diff --git a/trunk/KeyChain.m b/trunk/KeyChain.m new file mode 100644 index 00000000..23ead937 --- /dev/null +++ b/trunk/KeyChain.m @@ -0,0 +1,161 @@ +// +// KeyChain.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed Dec 25 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "KeyChain.h" +#include <CoreFoundation/CoreFoundation.h> +#include <Security/Security.h> + +@implementation KeyChain + +/** + * Add the supplied password to the user's Keychain using the supplied name and account. + */ +- (void)addPassword:(NSString *)password forName:(NSString *)name account:(NSString *)account +{ + OSStatus status; + + // Check if password already exists before adding + if (![self passwordExistsForName:name account:account]) { + status = SecKeychainAddGenericPassword( + NULL, // default keychain + [name cStringLength], // length of service name + [name cString], // service name + [account cStringLength], // length of account name + [account cString], // account name + [password cStringLength], // length of password + [password cString], // pointer to password data + NULL // the item reference + ); + + if (status != noErr) { + NSLog(@"Error (%i) while trying to add password for name: %@ account: %@", status, name, account); + } + } +} + +/** + * Get a password from the user's Keychain for the supplied name and account. + */ +- (NSString *)getPasswordForName:(NSString *)name account:(NSString *)account +{ + OSStatus status; + + void *passwordData = nil; + UInt32 passwordLength = nil; + SecKeychainItemRef itemRef = nil; + NSString *password = @""; + + status = SecKeychainFindGenericPassword( + NULL, // default keychain + [name cStringLength], // length of service name + [name cString], // service name + [account cStringLength], // length of account name + [account cString], // account name + &passwordLength, // length of password + &passwordData, // pointer to password data + &itemRef // the item reference + ); + + if (status == noErr) { + password = [NSString stringWithCString:passwordData length:passwordLength]; + + // Free the data allocated by SecKeychainFindGenericPassword: + status = SecKeychainItemFreeContent( + NULL, // No attribute data to release + passwordData // Release data + ); + } + + return password; +} + +/** + * Delete a password from the user's Keychain for the supplied name and account. + */ +- (void)deletePasswordForName:(NSString *)name account:(NSString *)account +{ + OSStatus status; + SecKeychainItemRef itemRef = nil; + + // Check if password already exists before deleting + if ([self passwordExistsForName:name account:account]) { + status = SecKeychainFindGenericPassword( + NULL, // default keychain + [name cStringLength], // length of service name + [name cString], // service name + [account cStringLength], // length of account name + [account cString], // account name + nil, // length of password + nil, // pointer to password data + &itemRef // the item reference + ); + + if (status == noErr) { + status = SecKeychainItemDelete(itemRef); + + if (status != noErr) { + NSLog(@"Error (%i) while trying to delete password for name: %@ account: %@", status, name, account); + } + } + + CFRelease(itemRef); + } +} + +/** + * Checks the user's Keychain to see if a password for the supplied name and account exists. + */ +- (BOOL)passwordExistsForName:(NSString *)name account:(NSString *)account +{ + SecKeychainItemRef item; + SecKeychainSearchRef search; + int numberOfItemsFound = 0; + + SecKeychainAttributeList list; + SecKeychainAttribute attributes[2]; + + attributes[0].tag = kSecAccountItemAttr; + attributes[0].data = (void *)[account UTF8String]; + attributes[0].length = [account length]; + + attributes[1].tag = kSecLabelItemAttr; + attributes[1].data = (void *)[name UTF8String]; + attributes[1].length = [name length]; + + list.count = 2; + list.attr = attributes; + + if (SecKeychainSearchCreateFromAttributes(NULL, kSecGenericPasswordItemClass, &list, &search) == noErr) { + while (SecKeychainSearchCopyNext(search, &item) == noErr) { + CFRelease(item); + numberOfItemsFound++; + } + } + + CFRelease(search); + + return (numberOfItemsFound > 0); +} + +@end diff --git a/trunk/MCPKit_bundled.framework/Headers b/trunk/MCPKit_bundled.framework/Headers new file mode 120000 index 00000000..fc757d7c --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers/
\ No newline at end of file diff --git a/trunk/MCPKit_bundled.framework/MCPKit_bundled b/trunk/MCPKit_bundled.framework/MCPKit_bundled new file mode 120000 index 00000000..88bf2d87 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/MCPKit_bundled @@ -0,0 +1 @@ +Versions/Current/MCPKit_bundled
\ No newline at end of file diff --git a/trunk/MCPKit_bundled.framework/PrivateHeaders b/trunk/MCPKit_bundled.framework/PrivateHeaders new file mode 120000 index 00000000..834d4c04 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/PrivateHeaders @@ -0,0 +1 @@ +Versions/Current/PrivateHeaders/
\ No newline at end of file diff --git a/trunk/MCPKit_bundled.framework/Resources b/trunk/MCPKit_bundled.framework/Resources new file mode 120000 index 00000000..089faccc --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources/
\ No newline at end of file diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPAttribute.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPAttribute.h new file mode 100644 index 00000000..7044718d --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPAttribute.h @@ -0,0 +1,104 @@ +// +// MCPAttribute.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + + +#import <Foundation/Foundation.h> + +@class MCPModel; +@class MCPClassDescription; +@class MCPRelation; +@class MCPJoin; + + +@interface MCPAttribute : NSObject < NSCoding > { +@protected + MCPClassDescription *classDescription; // ClassDescription of which the attribute is attribute + NSString *name; // Name of the attribute (Obj-C side) + Class valueClass; // Class used by the attribute (or NULL if the internal type is not an object) + NSString *internalType; // Name of the class, or type used for the class definition + NSString *externalName; // Name of the corresponding column in the DB + NSString *externalType; // Type used to store the attribute (in the DB) + unsigned int width; // Width (for storing by the DB) + BOOL allowsNull; // Attribute can be null + BOOL autoGenerated; // Attribute is auto generated by the DB + BOOL isPartOfKey; // Attribute is part of theprimary key of the class description + BOOL isPartOfIdentity; // Attribute is part of the idclass description of the class description + BOOL hasAccessor; // Does this attribute have an accessor + id defaultValue; // Default value of the attribute + NSMutableArray *joins; // An array of the joins using this attribute +// NSMutableArray *relations; // An array of the relations (MCPRelation) that use this attribue as join +} + +#pragma mark Class methods ++ (void) initialize; + +#pragma mark Life cycle +- (id) initForClassDescription:(MCPClassDescription *) iClassDescription withName:(NSString *) iName; +- (void) dealloc; + +#pragma mark NSCoding protocol +- (id) initWithCoder:(NSCoder *) decoder; +- (void) encodeWithCoder:(NSCoder *) encoder; + +#pragma mark Setters +- (void) setName:(NSString *) iName; +- (void) setValueClass:(Class) iValueClass; +- (void) setInternalType:(NSString *) iInternalType; +- (void) setExternalType:(NSString *) iExternalType; +- (void) setExternalName:(NSString *) iExternalName; +- (void) setWidth:(unsigned int) iWidth; +- (void) setAllowsNull:(BOOL) iAllowsNull; +- (void) setAutoGenerated:(BOOL) iAutoGenerated; +- (void) setIsPartOfKey:(BOOL) iIsPartOfKey; +- (void) setIsPartOfIdentity:(BOOL) iIsPartOfIdentity; +- (void) setHasAccessor:(BOOL) iHasAccessor; +- (void) setDefaultValue:(id) iDefaultValue; +- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index; +- (void) removeObjectFromJoinsAtIndex:(unsigned int) index; +//- (void) addRelation:(MCPRelation *) iRelation; +//- (void) removeRelation:(MCPRelation *) iRelation; + +#pragma mark Getters +- (MCPClassDescription *) classDescription; +- (NSString *) name; +- (Class) valueClass; +- (NSString *) valueClassName; +- (NSString *) internalType; +- (NSString *) externalName; +- (NSString *) externalType; +- (unsigned int) width; +- (BOOL) allowsNull; +- (BOOL) autoGenerated; +- (BOOL) isPartOfKey; +- (BOOL) isPartOfIdentity; +- (BOOL) hasAccessor; +- (id) defaultValue; +- (unsigned int) countOfJoins; +- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index; +- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin; + +#pragma mark Some general methods: +- (BOOL) isEqual:(id) iObject; + + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription+MCPEntreprise.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription+MCPEntreprise.h new file mode 100644 index 00000000..a41a4617 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription+MCPEntreprise.h @@ -0,0 +1,42 @@ +// +// MCPClassDescription+MCPEntreprise.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 01/11/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import <Foundation/Foundation.h> +#import "MCPClassDescription.h" + +@interface MCPClassDescription (MCPEntreprise) + +#pragma mark Pseudo getters (for NSClassDescription overload) +- (NSArray *) attributeKeys; +- (NSString *) inverseRelationshipKey:(NSString *) relationshipKey; +- (NSArray *) toManyRelationshipKeys; +- (NSArray *) toOneRelationshipKeys; + +#pragma mark Specifics for MCPObject +- (NSArray *) primaryKeyAttributes; +- (NSArray *) identityAttributes; +- (MCPAttribute *) attributeWithName: (NSString *) iName; +- (MCPRelation *) relationWithName:(NSString *) iRelationName; +- (BOOL) singleIntAutoGenKey; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription.h new file mode 100644 index 00000000..26ca382e --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPClassDescription.h @@ -0,0 +1,91 @@ +// +// MCPClassDescription.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + + +#import <Foundation/Foundation.h> + +@class MCPModel; +@class MCPAttribute; +@class MCPRelation; +@class MCPRelation; + +@interface MCPClassDescription : NSClassDescription < NSCoding > { +@protected + MCPModel *model; // The model where we stand + NSString *name; // Name of the class (can not use className, as it is already used by NSObject). + NSString *externalName; // Name of the table for storage + NSMutableArray *attributes; // array of the attributes of the class description + NSMutableArray *relations; // array of the relations of the class description (both origin and destination) + NSMutableArray *incomings; // array if the INCOMMING relation (just to be sure we are able to invalidate those if necessary) + Class representedClass; // the class object that the description represents. +} + +#warning hasSingleIntAutoGenKey should be a method returning the obvious (from the name). +// This correspond to the method singleIntAutoGenKey in the category MCPEntreprise... which name should I change... + +#pragma mark Class methods ++ (void) initialize; + +#pragma mark Life cycle +- (id) initInModel:(MCPModel *) iModel withName:(NSString *) iName; +- (void) dealloc; + +#pragma mark NSCoding protocol +- (id) initWithCoder:(NSCoder *) decoder; +- (void) encodeWithCoder:(NSCoder *) encoder; + +#pragma mark Making new attributes and relations +- (MCPAttribute *) addNewAttributeWithName:(NSString *) iName inPosition:(int) index; +- (MCPRelation *) addNewRelationTo:(MCPClassDescription *) iTo name:(NSString *) iName inPostion:(int) index; + +#pragma mark Setters +- (void) setName:(NSString *) iName; +- (void) setExternalName:(NSString *) iExternalName; +- (void) insertObject:(MCPAttribute *) iAttribute inAttributesAtIndex:(unsigned int) index; +- (void) removeObjectFromAttributesAtIndex:(unsigned int) index; +- (void) insertObject:(MCPRelation *) iRelation inRelationsAtIndex:(unsigned int) index; +- (void) removeObjectFromRelationsAtIndex:(unsigned int) index; + +#pragma mark Getters +- (MCPModel *) model; +- (NSString *) name; +- (NSString *) externalName; +- (NSArray *) attributes; +- (unsigned int) countOfAttributes; +- (MCPAttribute *) objectInAttributesAtIndex:(unsigned int) index; +- (unsigned int) indexOfAttribute:(id) iAttribute; +- (NSArray *) relations; +- (unsigned int) countOfRelations; +- (MCPRelation *) objectInRelationsAtIndex:(unsigned int) index; +- (unsigned int) indexOfRelation:(id) iRelation; +- (Class) representedClass; + +#pragma mark Some general methods: +- (BOOL) isEqual:(id) iObject; + +#pragma mark Output for logging +- (NSString *) descriptionWithLocale:(NSDictionary *) locale; +//- (NSString *) descriptionWithLocale:(NSDictionary *) locale; +//- (NSString *) description; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnection.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnection.h new file mode 100644 index 00000000..5b2f2eaf --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnection.h @@ -0,0 +1,158 @@ +// +// MCPConnection.h +// SMySQL +// +// Created by serge cohen (serge.cohen@m4x.org) on Sat Dec 08 2001. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPConnection.h 335 2006-01-08 21:14:07Z serge $ +// $Author: serge $ + + +#import <Foundation/Foundation.h> +#import "mysql.h" +#import "MCPConstants.h" + + +@class MCPResult; + +// Deafult connection option +extern const unsigned int kMCPConnectionDefaultOption; + +// Default socket (from the mysql.h used at compile time) +extern const char *kMCPConnectionDefaultSocket; + +// Added to mysql error code +extern const unsigned int kMCPConnectionNotInited; + +// The length of the truncation if required: +extern const unsigned int kLengthOfTruncationForLog; + +@interface MCPConnection : NSObject { +@protected + MYSQL *mConnection; /*"The inited MySQL connection."*/ + BOOL mConnected; /*"Reflect the fact that the connection is already in place or not."*/ + NSStringEncoding mEncoding; /*"The encoding used by MySQL server, to ISO-1 default."*/ + NSTimeZone *mTimeZone; /*"The time zone of the session."*/ + unsigned int mConnectionFlags; /*"The flags to be used for the connection to the database."*/ +} +/*" +Getting default of MySQL +"*/ ++ (NSDictionary *) getMySQLLocales; ++ (NSStringEncoding) encodingForMySQLEncoding:(const char *) mysqlEncoding; ++ (NSStringEncoding) defaultMySQLEncoding; + +/*" +Class maintenance +"*/ ++ (void) initialize; ++ (void) setLogQueries:(BOOL) iLogFlag; ++ (void) setTruncateLongFieldInLogs:(BOOL) iTruncFlag; ++ (BOOL) truncateLongField; + +/*" +Initialisation +"*/ +- (id) init; +// Port to 0 to use the default port +- (id) initToHost:(NSString *) host withLogin:(NSString *) login password:(NSString *) pass usingPort:(int) port; +- (id) initToSocket:(NSString *) socket withLogin:(NSString *) login password:(NSString *) pass; + +- (BOOL) setConnectionOption:(int) option toValue:(BOOL) value; +// Port to 0 to use the default port +- (BOOL) connectWithLogin:(NSString *) login password:(NSString *) pass host:(NSString *) host port:(int) port socket:(NSString *) socket; + +- (BOOL) selectDB:(NSString *) dbName; + +/*" +Errors information +"*/ + +- (NSString *) getLastErrorMessage; +- (unsigned int) getLastErrorID; +- (BOOL) isConnected; +- (BOOL) checkConnection; + +/*" +Queries +"*/ + +- (NSString *) prepareBinaryData:(NSData *) theData; +- (NSString *) prepareString:(NSString *) theString; +- (NSString *) quoteObject:(id) theObject; + +- (MCPResult *) queryString:(NSString *) query; + +- (my_ulonglong) affectedRows; +- (my_ulonglong) insertId; + + +/*" +Getting description of the database structure +"*/ +- (MCPResult *) listDBs; +- (MCPResult *) listDBsLike:(NSString *) dbsName; +- (MCPResult *) listTables; +- (MCPResult *) listTablesLike:(NSString *) tablesName; +// Next method uses SHOW TABLES FROM db to be sure that the db is not changed during this call. +- (MCPResult *) listTablesFromDB:(NSString *) dbName like:(NSString *) tablesName; +- (MCPResult *) listFieldsFromTable:(NSString *) tableName; +- (MCPResult *) listFieldsFromTable:(NSString *) tableName like:(NSString *) fieldsName; + + +/*" +Server information and control +"*/ + +- (NSString *) clientInfo; +- (NSString *) hostInfo; +- (NSString *) serverInfo; +- (NSNumber *) protoInfo; +- (MCPResult *) listProcesses; +- (BOOL) killProcess:(unsigned long) pid; + +//- (BOOL)createDBWithName:(NSString *)dbName; +//- (BOOL)dropDBWithName:(NSString *)dbName; + +/*" +Disconnection +"*/ +- (void) disconnect; +- (void) dealloc; + +/*" +String encoding concerns (C string type to NSString). +It's unlikely that users of the framework needs to use these methods which are used internally +"*/ +- (void) setEncoding:(NSStringEncoding) theEncoding; +- (NSStringEncoding) encoding; + +- (const char *) cStringFromString:(NSString *) theString; +- (NSString *) stringWithCString:(const char *) theCString; + +/*" +Text data convertion to string +"*/ +- (NSString *) stringWithText:(NSData *) theTextData; + +/*" Time Zone handling ."*/ +- (void) setTimeZone:(NSTimeZone *) iTimeZone; +- (NSTimeZone *) timeZone; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnectionWinCont.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnectionWinCont.h new file mode 100644 index 00000000..98195e9f --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConnectionWinCont.h @@ -0,0 +1,52 @@ +// +// MCPConnectionWinCont.h +// Vacations +// +// Created by Serge Cohen on Mon May 26 2003. +// Copyright (c) 2003 ARP/wARP. All rights reserved. +// + +#import <AppKit/AppKit.h> + +// External classes, forward reference. +@class MCPDocument; + + +@interface MCPConnectionWinCont : NSWindowController +{ + IBOutlet NSTextField *mHostField; + IBOutlet NSTextField *mLoginField; + IBOutlet NSTextField *mDatabaseField; + IBOutlet NSTextField *mPortField; + + IBOutlet NSPanel *mPasswordSheet; + IBOutlet NSTextField *mPasswordField; + + IBOutlet NSButton *mCreateButton; +// MCPDocument *mMCPDocument; +} + + +/*" Actions for Interface Builder "*/ +/*" For the clear text information. "*/ +- (IBAction) doGo:(id) sender; +- (IBAction) doCancel:(id) sender; +- (IBAction) doCreate:(id) sender; +- (IBAction) modifyInstance:(id) sender; + + +/*" For the password. "*/ +- (IBAction) passwordClick:(id) sender; +- (IBAction) askPassword:(id) sender; +- (NSString *) Password; + + +/*" Overrides of NSWindowController method, to adapt to this Window Controller. "*/ +- (id) init; +- (void) dealloc; +- (void) windowDidLoad; + +/*" Getting the button for creating a DB. "*/ +- (NSButton*) getCreateButton; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConstants.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConstants.h new file mode 100644 index 00000000..cccdfe8c --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPConstants.h @@ -0,0 +1,33 @@ +// +// MCPConstants.h +// SMySQL +// +// Created by Serge Cohen (serge.cohen@m4x.org) on Mon Jun 03 2002. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPConstants.h 335 2006-01-08 21:14:07Z serge $ +// $Author: serge $ + + +typedef enum { + MCPTypeArray = 1, + MCPTypeDictionary = 2, + MCPTypeFlippedArray = 3, + MCPTypeFlippedDictionary = 4 +} MCPReturnType; + diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h new file mode 100644 index 00000000..28f375da --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h @@ -0,0 +1,95 @@ +// +// MCPDocument.h +// Vacations +// +// Created by Serge Cohen on Sat May 24 2003. +// Copyright (c) 2003 ARP/wARP. All rights reserved. +// + + +#import <Cocoa/Cocoa.h> + +// External classes, forward reference. +@class MCPConnection; +@class MCPResult; + + +@interface MCPDocument : NSDocument +{ + BOOL MCPConInfoNeeded, MCPPassNeeded; + NSString *MCPHost, *MCPLogin, *MCPDatabase; + unsigned int MCPPort; + MCPConnection *MCPConnect; + +// Handling of windows. + NSWindowController *MCPMainWinCont; + Class MCPConnectedWinCont; /*" Window controller used once the connection is established (As a class). "*/ +// Handling the DB creation state. + NSString *MCPModelName; + BOOL MCPWillCreateNewDB; +} + +/*" Class Maintenance "*/ ++ (void) initialize; + +// Standards +/*" Initialisation and deallocation "*/ +- (id) init; +- (void) dealloc; + +/*" Connection to the databse related "*/ +- (MCPResult *) MCPqueryString:(NSString *) query; +- (unsigned int) MCPinsertRow:(NSString *) insert; +- (MCPConnection *) MCPgetConnection; + +// Accessors +/*" Accessors to the parameters of the connection "*/ +- (void) setMCPHost:(NSString *) theHost; +- (void) setMCPLogin:(NSString *) theLogin; +- (void) setMCPDatabase:(NSString *) theDatabase; +- (void) setMCPPort:(unsigned int) thePort; +- (void) setMCPConInfoNeeded:(BOOL) theConInfoNeeded; + +- (NSString *) MCPHost; +- (NSString *) MCPLogin; +- (NSString *) MCPDatabase; +- (unsigned int) MCPPort; +- (BOOL) MCPConInfoNeeded; +- (BOOL) MCPPassNeeded; + +- (BOOL) MCPisConnected; +- (MCPConnection *) MCPConnect; + +/*" Accessor to the window generated once the connection is established "*/ +- (void) setMCPConnectedWinCont:(Class) theConnectedWinCont; + +- (Class) MCPConnectedWinCont; + +/*" Accessors to the main window (connection or connected window), through their window controller. "*/ +- (NSWindowController *) MCPMainWinCont; + +/*" Accessors to the DB creation instances. "*/ +- (void) setMCPModelName:(NSString *) theModelName; +- (void) setMCPWillCreateNewDB:(BOOL) theWillCreateNewDB; + +- (NSString *) MCPModelName; +- (BOOL) MCPWillCreateNewDB; + +/*" Practical creation of the database, from a model file. "*/ +- (BOOL) createModelDB; + +/*" Overrides of NSDocument methods. "*/ +// Managing the document in file format +- (NSData *) dataRepresentationOfType:(NSString *) aType; +- (BOOL)loadDataRepresentation:(NSData *) data ofType:(NSString *)aType; + +// Managing NSWindowController(s) +- (NSArray *) makeWindowControllers; +- (void) windowControllerDidLoadNib:(NSWindowController *) aController; + +/*" Method to take care of the password sheet. "*/ +// Callback from sheet +- (void) MCPPasswordSheetDidEnd:(NSWindow *) sheet returnCode:(int) returnCode contextInfo:(void *) contextInfo; + + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPEntrepriseNotifications.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPEntrepriseNotifications.h new file mode 100644 index 00000000..824051e6 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPEntrepriseNotifications.h @@ -0,0 +1,35 @@ +// +// MCPEntrepriseNotifications.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + + +#import <Foundation/Foundation.h> + +// The instance are defined in MMDocument.h + +#pragma mark Name for notification + +extern NSString *MCPModelChangedNotification; +extern NSString *MCPClassDescriptionChangedNotification; +extern NSString *MCPAttributeChangedNotification; +extern NSString *MCPRelationChangedNotification; + diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPFastQueries.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPFastQueries.h new file mode 100644 index 00000000..cea22a11 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPFastQueries.h @@ -0,0 +1,47 @@ +// +// MCPFastQueries.h +// SMySQL +// +// Created by Serge Cohen (serge.cohen@m4x.org) on Mon Jun 03 2002. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPFastQueries.h 334 2006-01-08 20:32:38Z serge $ +// $Author: serge $ + +#import <Foundation/Foundation.h> + +#import "MCPConnection.h" + +@interface MCPConnection (MCPFastQueries) +/*" +For insert queries, get directly the Id of the newly inserted row +"*/ +- (my_ulonglong) insertQuery:(NSString *) aQuery; +- (my_ulonglong) updateQuery:(NSString *) aQuery; + + +/*" +Returns directly a proper NS object, or a collection (NSArray, NSDictionary...). +"*/ +- (id) getFirstFieldFromQuery:(NSString *) aQuery; +- (id) getFirstRowFromQuery:(NSString *) aQuery asType:(MCPReturnType) aType; +- (id) getAllRowsFromQuery:(NSString *) aQuery asType:(MCPReturnType) aType; +- (NSArray *) getQuery:(NSString *) aQuery colWithIndex:(unsigned int) aCol; +- (NSArray *) getQuery:(NSString *) aQuery colWithName:(NSString *) aColName; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPJoin.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPJoin.h new file mode 100644 index 00000000..4784a30b --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPJoin.h @@ -0,0 +1,68 @@ +// +// MCPJoin.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 18/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import <Foundation/Foundation.h> + +@class MCPModel; +@class MCPClassDescription; +@class MCPAttribute; +@class MCPRelation; +@class MCPRelation; + +@interface MCPJoin : NSObject < NSCoding > { +@protected +// Note that NONE of these attributes are retained!!! +// Instead all these objects are notified of the existence of the join +// and are responsible to invalidate/delete it if necessary. + MCPRelation *relation; + MCPAttribute *origin; + MCPAttribute *destination; +} + +#pragma mark Class methods ++ (void) initialize; + +#pragma mark Life cycle +- (id) initForRelation:(MCPRelation *) iRelation from:(MCPAttribute *) iOrigin to:(MCPAttribute *) iDestination; +- (void) invalidate; +- (void) dealloc; + +#pragma mark NSCoding protocol +- (id) initWithCoder:(NSCoder *) decoder; +- (void) encodeWithCoder:(NSCoder *) encoder; + +#pragma mark Setters +// No setter for relation : should be set at init time! +- (void) setOrigin:(MCPAttribute *) iOrigin; +- (void) setDestination:(MCPAttribute *) iDestination; + +#pragma mark Getters +- (MCPRelation *) relation; +- (MCPAttribute *) origin; +- (MCPAttribute *) destination; +- (unsigned int) index; + +#pragma mark Some general methods: +- (BOOL) isEqual:(id) iObject; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPKit_bundled.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPKit_bundled.h new file mode 100644 index 00000000..3242a9dd --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPKit_bundled.h @@ -0,0 +1,38 @@ +/* + * MCPKit_bundled.h + * MCPKit + * + * Created by serge cohen (serge.cohen@m4x.org) on Sat Dec 08 2001. + * Copyright (c) 2001 Serge Cohen. + * + * This code is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or any later version. + * + * This code is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * For a copy of the GNU General Public License, visit <http://www.gnu.org/> or + * write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, + * Boston, MA 02111-1307, USA. + * + * More info at <http://mysql-cocoa.sourceforge.net/> + * + * + * $Id: MCPKit_bundled.h 335 2006-01-08 21:14:07Z serge $ + * $Author: serge $ + */ + +#import <Foundation/Foundation.h> + +#import <MCPKit_bundled/MCPConstants.h> +#import <MCPKit_bundled/MCPNull.h> +#import <MCPKit_bundled/MCPResult.h> +#import <MCPKit_bundled/MCPConnection.h> +#import <MCPKit_bundled/MCPNumber.h> +#import <MCPKit_bundled/MCPResultPlus.h> +#import <MCPKit_bundled/MCPFastQueries.h> +#import "mysql.h" +//#import <SMySQL/mysql.h> diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel+MCPEntreprise.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel+MCPEntreprise.h new file mode 100644 index 00000000..069c9862 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel+MCPEntreprise.h @@ -0,0 +1,32 @@ +// +// MCPModel+MCPEntreprise.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 01/11/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import "MCPModel.h" + +@interface MCPModel (MCPEntreprise) + +#pragma mark Work as a class description server +- (void) registerAsClassDescriptionServer; +- (void) registerDescriptionForClass:(NSNotification *) notification; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel.h new file mode 100644 index 00000000..362fed72 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPModel.h @@ -0,0 +1,78 @@ +// +// MCPModel.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import <Foundation/Foundation.h> + +@class MCPClassDescription; +@class MCPAttribute; +@class MCPRelation; + +@interface MCPModel : NSObject < NSCoding > { +@protected + NSString *name; // Name of the model ... useless. + NSMutableArray *classDescriptions; // Order of the class descriptions in the model. + BOOL usesInnoDBTables; // The database should use InnoDB tables. +// Might add a string holding définition of tables. +// Might also add some sort of template for generated files (at least the header). +} + +#pragma mark Class methods ++ (void) initialize; + +#pragma mark Life cycle +- (id) initWithName:(NSString *) iName; +- (void) dealloc; + +#pragma mark NSCoding protocol +- (id) initWithCoder:(NSCoder *) decoder; +- (void) encodeWithCoder:(NSCoder *) encoder; + +#pragma mark Making new class description +- (MCPClassDescription *) addNewClassDescriptionWithName:(NSString *) iName inPosition:(int) index; + +#pragma mark Setters +- (void) setName:(NSString *) iName; +- (void) setClassDescriptions:(NSArray *) iClassDescriptions; +- (void) insertObject:(MCPClassDescription *) iClassDescription inClassDescriptionsAtIndex:(unsigned int) index; +- (void) removeObjectFromClassDescriptionsAtIndex:(unsigned int) index; +- (void) setUsesInnoDBTables:(BOOL) iUsesInnoDB; + +// Deprecated : non KVC +//- (void) removeClassDescription:(MCPClassDescription *) iClassDescription; +//- (void) addClassDescription:(MCPClassDescription *) iClassDescription; + +#pragma mark Getters +- (NSString *) name; +- (NSArray *) classDescriptions; +- (unsigned int) countOfClassDescriptions; +- (MCPClassDescription *) objectInClassDescriptionsAtIndex:(unsigned int) index; +- (unsigned int) indexOfClassDescription:(id) iClassDescription; +- (BOOL) usesInnoDBTables; + +// Deprecated : non KVC +//- (MCPClassDescription *) classDescriptionWithClassName:(NSString *) iClassDescriptionClassName; + +#pragma mark Output for logging +- (NSString *) descriptionWithLocale:(NSDictionary *) locale; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNull.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNull.h new file mode 100644 index 00000000..1fa0babd --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNull.h @@ -0,0 +1,36 @@ +// +// MCPNull.h +// SMySQL +// +// Created by Serge Cohen (serge.cohen@m4x.org) on Sun Jun 02 2002. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPNull.h 334 2006-01-08 20:32:38Z serge $ +// $Author: serge $ + +#import <Foundation/Foundation.h> + + +@interface NSObject (MCPNSNullTest) + +/*" +Addin to NSObject. +"*/ +- (BOOL) isNSNull; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNumber.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNumber.h new file mode 100644 index 00000000..f4851e2a --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPNumber.h @@ -0,0 +1,84 @@ +// +// MCPNumber.h +// NumberTest +// +// Created by serge cohen (serge.cohen@m4x.org) on Sat Dec 08 2001. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPNumber.h 334 2006-01-08 20:32:38Z serge $ +// $Author: serge $ + +#import <Foundation/Foundation.h> + + +@interface MCPNumber : NSNumber { + const char *typeCode; + NSNumber *number; +} + +- (id) initWithChar:(char) value; +- (id) initWithUnsignedChar:(unsigned char) value; +- (id) initWithShort:(short) value; +- (id) initWithUnsignedShort:(unsigned short) value; +- (id) initWithInt:(int) value; +- (id) initWithUnsignedInt:(unsigned int) value; +- (id) initWithLong:(long) value; +- (id) initWithUnsignedLong:(unsigned long) value; +- (id) initWithLongLong:(long long) value; +- (id) initWithUnsignedLongLong:(unsigned long long) value; +- (id) initWithFloat:(float) value; +- (id) initWithDouble:(double) value; +- (id) initWithBool:(BOOL) value; + ++ (MCPNumber *) numberWithChar:(char) value; ++ (MCPNumber *) numberWithUnsignedChar:(unsigned char) value; ++ (MCPNumber *) numberWithShort:(short) value; ++ (MCPNumber *) numberWithUnsignedShort:(unsigned short) value; ++ (MCPNumber *) numberWithInt:(int) value; ++ (MCPNumber *) numberWithUnsignedInt:(unsigned int) value; ++ (MCPNumber *) numberWithLong:(long) value; ++ (MCPNumber *) numberWithUnsignedLong:(unsigned long) value; ++ (MCPNumber *) numberWithLongLong:(long long) value; ++ (MCPNumber *) numberWithUnsignedLongLong:(unsigned long long) value; ++ (MCPNumber *) numberWithFloat:(float) value; ++ (MCPNumber *) numberWithDouble:(double) value; ++ (MCPNumber *) numberWithBool:(BOOL) value; + +- (void) dealloc; + +/*" Most important : NSNumber primitive methods: "*/ +- (const char *) objCType; +- (void) getValue:(void *) buffer; + +//- (NSString *) descriptionWithLocale:(NSDictionary *) aLocale; // Not Primitive, but buggy... + +- (char) charValue; +- (unsigned char) unsignedCharValue; +- (short) shortValue; +- (unsigned short) unsignedShortValue; +- (int) intValue; +- (unsigned int) unsignedIntValue; +- (long) longValue; +- (unsigned long) unsignedLongValue; +- (long long) longLongValue; +- (unsigned long long) unsignedLongLongValue; +- (float) floatValue; +- (double) doubleValue; +- (BOOL) boolValue; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPObject.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPObject.h new file mode 100644 index 00000000..2496180a --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPObject.h @@ -0,0 +1,106 @@ +// +// MCPObject.h +// MCPKit +// +// Created by Serge Cohen on Wed May 19 2004. +// Copyright (c) 2004 Serge Cohen. All rights reserved. +// + +#import <Foundation/Foundation.h> + +/*" Possible return code on some operations of the database interaction. "*/ +typedef enum { + MCPDBReturnUnknown = 0, /*"Unknown state, should not happen."*/ + MCPDBReturnDeleted = 1, /*"The entry have been successfuly deleted from DB."*/ + MCPDBReturnUsed = 2, /*"The entry can not be removed, because some entries are still connected to it (some delete restrict/inhibit delete)."*/ + MCPDBReturnNone = 3, /*"No entry exist with this Id."*/ + MCPDBReturnNew = 4, /*"The entry was indeed new and inserted in the database."*/ + MCPDBReturnUpdated = 5, /*"The entry was updated in the DB."*/ + MCPDBReturnIncompleteKey = 6, /*"Part of the primary key is missing, action not taken."*/ + MCPDBReturnMultiple = 7, /*"Multiple rows are found with a query supposed to return at most one row."*/ + MCPDBReturnNoIdentity = 8, /*"The object does not have attributes that defines identity."*/ + MCPDBReturnNoKey = 9, /*"There is no primary key defined for this entity."*/ + MCPDBReturnNoConnection = 10, /*"The MCPObject is not having a connection."*/ + MCPDBReturnWrongRelationOrigin = 11, /*"Looking for a relation not which origin is not of the specified class."*/ + MCPDBReturnWrongRelationCardinality = 12, /*"Using a method assuming a cardinality of the relation while the relation as the other one."*/ + MCPDBReturnNoSuchRelation = 13, /*"There is no relation with such a name starting from this class."*/ + MCPDBReturnNotTarget = 14, /*"Tried to remove an object from a relation, while the objects does NOT belong to the relation."*/ + MCPDBReturnOK = 100 /*"Everything went OK."*/ +} MCPDBReturnCode; + +@class MCPConnection; +@class MCPClassDescription; +@class MCPRelation; + +@interface MCPObject : NSObject { + MCPClassDescription *classDescription; + MCPConnection *connection; +} + +#pragma mark Life of the Object +/*" Life of the object "*/ +- (id) init; +- (id) initWithDictionary:(NSDictionary *) dictionary; + +- (void) dealloc; + +- (void) setAttributesToDefault; + +#pragma mark Accessors +/*" Accessor(s) "*/ +- (MCPClassDescription *) classDescription; +- (MCPConnection *) connection; + +- (void) setConnection:(MCPConnection *) iConnection; + +#pragma mark Database interface +/*" Database interface "*/ +- (id) readFromDBRow:(NSDictionary *) iDictionary withTableName:(NSString *) iTableName; +- (MCPDBReturnCode) setPrimaryKey:(id) iDictionary andFetchFromDB:(MCPConnection *) iConnection; +//- (MCPDBReturnCode) setPrimaryKey:(NSDictionary *) iDictionary andFetchFromDB:(MCPConnection *) iConnection; +- (NSDictionary *) checkDBId; // the returned dictionary contains a MCPDBReturnCode key with the return code. +- (NSDictionary *) saveInDB; // the returned dictionary contains a MCPDBReturnCode key with the return code. +- (MCPDBReturnCode) getAutoGenerated; +- (MCPDBReturnCode) updateInDB; +- (MCPDBReturnCode) deleteInDB; ++ (MCPDBReturnCode) deleteInDBUsingConnection:(MCPConnection *) iConnection withId:(id) iId; + +#pragma mark Handling relations +/*" Handling realtions "*/ +- (id) getTargetOfRelation:(MCPRelation *) iRelation; +- (id) getTargetOfRelationNamed:(NSString *) iRelationName; +- (MCPDBReturnCode) setTarget:(id) iTarget forRelation:(MCPRelation *) iRelation; +- (MCPDBReturnCode) setTarget:(id) iTarget forRelationNamed:(NSString *) iRelationName; +- (unsigned int) countTargetForRelation:(MCPRelation *) iRelation; +- (unsigned int) countTargetForRelationNamed:(NSString *) iRelationName; +- (MCPObject *) getTargetOfRelation:(MCPRelation *) iRelation atIndex:(unsigned int) iIndex; +- (MCPObject *) getTargetOfRelationNamed:(NSString *) iRelationName atIndex:(unsigned int) iIndex; +- (MCPDBReturnCode) addTarget:(MCPObject *) iTarget toRelation:(MCPRelation *) iRelation; +- (MCPDBReturnCode) addTarget:(MCPObject *) iTarget toRelationNamed:(NSString *) iRelationName; +- (MCPDBReturnCode) removeTarget:(MCPObject *) iTarget toRelation:(MCPRelation *) iRelation; +- (MCPDBReturnCode) removeTarget:(MCPObject *) iTarget toRelationNamed:(NSString *) iRelationName; +- (MCPDBReturnCode) removeTargetToRelation:(MCPRelation *) iRelation atIndex:(unsigned int) iIndex; +- (MCPDBReturnCode) removeTargetToRelationNamed:(NSString *) iRelationName atIndex:(unsigned int) iIndex; +- (unsigned int) indexOfTarget:(MCPObject *) iTarget inRelation:(MCPRelation *) iRelation; +- (unsigned int) indexOfTarget:(MCPObject *) iTarget inRelationNamed:(NSString *) iRelationName; + +#pragma mark Utilities +/*" Utility methods "*/ +- (id) defaultValueForKey:(NSString *) iKey; +- (NSDictionary *) primaryKey; + +/*" Testing equality (VERY important for relation management)"*/ +- (BOOL) isEqual:(id) iObject; + +#pragma mark Output +/*" Output : "*/ +- (NSString *) description; +- (NSString *) descriptionWithLocale:(NSDictionary *) locale; + +#pragma mark Ordering the array for relations +- (NSString *) orderSQLForClassDescription:(MCPClassDescription *) iClassDescription; + +/*" Anti-crash method... "*/ +- (void) setNilValueForKey:(NSString *) iKey; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPRelation.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPRelation.h new file mode 100644 index 00000000..fa359e2e --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPRelation.h @@ -0,0 +1,109 @@ +// +// MCPRelation.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 11/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + + +#import <Foundation/Foundation.h> + +@class MCPModel; +@class MCPClassDescription; +@class MCPAttribute; + +@class MCPJoin; + +typedef enum { + OnDeleteNullify = 1, + OnDeleteDeny = 2, + OnDeleteCascade = 3, + OnDeleteDefault = 4, + OnDeleteNoAction = 5 +} MCPRelationDeleteRule; + + +@interface MCPRelation : NSObject < NSCoding > { +@protected + NSString *name; // Name of the relation + MCPRelationDeleteRule deleteRule; // Delete rule : what to do of the destination when origin is deleted + MCPRelation *inverseRelation; // The inverse relation (or nil if no inverse present) + MCPClassDescription *origin; // The class description from which the relation originate + MCPClassDescription *destination; // The class description to which the relation arrives + NSMutableArray *joins; // Joining attributes (array of MCPJoin) + BOOL isToMany; // Is the relation to many (or to one) + BOOL isMandatory; // Is the relation mandatory for the class description (origin) + BOOL ownsDestination; // The origin class description owns the destination class description(ies) +} + +#pragma mark Class methods ++ (void) initialize; + ++ (NSArray *) existingDeleteRules; +- (NSArray *) existingDeleteRules; + +#pragma mark Life cycle +- (id) initWithName:(NSString *) iName from:(MCPClassDescription *) iFrom to:(MCPClassDescription *) iTo; +- (void) invalidateRelation; +- (void) dealloc; + +#pragma mark NSCoding protocol +- (id) initWithCoder:(NSCoder *) decoder; +- (void) encodeWithCoder:(NSCoder *) encoder; + +#pragma mark Managing joins +//- (MCPJoin *) addNewJoin; +- (MCPJoin *) addJoinFrom:(MCPAttribute *) iFrom to:(MCPAttribute *) iTo; +- (void) removeJoinFrom:(MCPAttribute *) iFrom to:(MCPAttribute *) iTo; +//- (void) unjoinAttribute:(MCPAttribute *) iAttribute; + +#pragma mark Setters +- (void) setDestination:(MCPClassDescription *) iDestination; +- (void) setName:(NSString *) iName; +- (void) setDeleteRule:(MCPRelationDeleteRule) iDeleteRule; +- (void) setInverseRelation:(MCPRelation *) iInverseRelation; +- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index; +- (void) removeObjectFromJoinsAtIndex:(unsigned int) index; +- (void) setIsToMany:(BOOL) iIsToMany; +- (void) setIsMandatory:(BOOL) iIsMandatory; +- (void) setOwnsDestintation:(BOOL) iOwnsDestination; + +#pragma mark Getters +- (NSString *) name; +- (MCPRelationDeleteRule) deleteRule; +- (MCPRelation *) inverseRelation; +- (MCPClassDescription *) origin; +- (MCPClassDescription *) destination; +- (NSArray *) joins; +- (unsigned int) countOfJoins; +- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index; +- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin; +- (BOOL) isToMany; +- (BOOL) isMandatory; +- (BOOL) ownsDestination; + +#pragma mark Some Usefull methods +- (MCPAttribute *) destinationAttributeForOrigin:(MCPAttribute *) iFrom; +- (MCPAttribute *) originAttributeForDestination:(MCPAttribute *) iTo; + +#pragma mark Some general methods: +- (BOOL) isEqual:(id) iObject; +- (NSString *) descriptionWithLocale:(NSDictionary *) locale; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResult.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResult.h new file mode 100644 index 00000000..91b69fb5 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResult.h @@ -0,0 +1,110 @@ +// +// MCPResult.h +// SMySQL +// +// Created by serge cohen (serge.cohen@m4x.org) on Sat Dec 08 2001. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPResult.h 335 2006-01-08 21:14:07Z serge $ +// $Author: serge $ + + +#import <Foundation/Foundation.h> +#import "mysql.h" +#import "MCPConstants.h" + + +@interface MCPResult : NSObject { +@protected + MYSQL_RES *mResult; /*" The MYSQL_RES structure of the C API. "*/ + NSArray *mNames; /*" An NSArray holding the name of the columns. "*/ + NSDictionary *mMySQLLocales; /*" A Locales dictionary to define the locales of MySQL. "*/ + NSStringEncoding mEncoding; /*" The encoding used by MySQL server, to ISO-1 default. "*/ + unsigned int mNumOfFields; /*" The number of fields in the result. "*/ + NSTimeZone *mTimeZone; /*" The time zone of the connection when the query was made. "*/ +} +/*" +Class maintenance + "*/ + ++ (void) initialize; + + /*" + Init used #{only} by #{MCPConnection} + "*/ + +- (id) initWithMySQLPtr:(MYSQL *) mySQLPtr encoding:(NSStringEncoding) theEncoding timeZone:(NSTimeZone *) iTimeZone; +- (id) initWithResPtr:(MYSQL_RES *) mySQLResPtr encoding:(NSStringEncoding) theEncoding timeZone:(NSTimeZone *) iTimeZone; +- (id) init; + + /*" + General info on the result + "*/ + +- (my_ulonglong) numOfRows; +- (unsigned int) numOfFields; + + /*" + Getting the rows + "*/ + +- (void) dataSeek:(my_ulonglong) row; + +- (id) fetchRowAsType:(MCPReturnType) aType; +- (NSArray *) fetchRowAsArray; +- (NSDictionary *) fetchRowAsDictionary; + + /*" + Getting information on columns + "*/ + +- (NSArray *) fetchFieldNames; + +- (id) fetchTypesAsType:(MCPReturnType) aType; +- (NSArray *) fetchTypesAsArray; +- (NSDictionary *) fetchTypesAsDictionary; + +- (unsigned int) fetchFlagsAtIndex:(unsigned int) index; +- (unsigned int) fetchFlagsForKey:(NSString *) key; + +- (BOOL) isBlobAtIndex:(unsigned int) index; +- (BOOL) isBlobForKey:(NSString *) key; + + /*" + Text data convertion to string + "*/ +- (NSString *) stringWithText:(NSData *) theTextData; + + /*" + Utility method + "*/ +- (NSString *) description; + + /*" + End of the scope... + "*/ + +- (void) dealloc; + + /*" + Private methods, internal use only + "*/ +- (const char *) cStringFromString:(NSString *) theString; +- (NSString *) stringWithCString:(const char *) theCString; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResultPlus.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResultPlus.h new file mode 100644 index 00000000..28d6ff2f --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/MCPResultPlus.h @@ -0,0 +1,43 @@ +// +// MCPResultPlus.h +// SMySQL +// +// Created by Serge Cohen (serge.cohen@m4x.org) on Mon Jun 03 2002. +// Copyright (c) 2001 Serge Cohen. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// +// $Id: MCPResultPlus.h 334 2006-01-08 20:32:38Z serge $ +// $Author: serge $ + +#import <Foundation/Foundation.h> + +#import "MCPResult.h" + +@interface MCPResult (MCPResultPlus) + +/*" +Getting a complete column as an array +"*/ +- (NSArray *) fetchColAtIndex:(unsigned int) aCol; +- (NSArray *) fetchColWithName:(NSString *) aColName; + +/*" +Getting the complete result as 2D array +"*/ +- (id) fetch2DResultAsType:(MCPReturnType) aType; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_alloc.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_alloc.h new file mode 100644 index 00000000..a3dd35d7 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_alloc.h @@ -0,0 +1,52 @@ +/* Copyright (C) 2000 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +/* + Data structures for mysys/my_alloc.c (root memory allocator) +*/ + +#ifndef _my_alloc_h +#define _my_alloc_h + +#define ALLOC_MAX_BLOCK_TO_DROP 4096 +#define ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP 10 + +typedef struct st_used_mem +{ /* struct for once_alloc (block) */ + struct st_used_mem *next; /* Next block in use */ + unsigned int left; /* memory left in block */ + unsigned int size; /* size of block */ +} USED_MEM; + + +typedef struct st_mem_root +{ + USED_MEM *free; /* blocks with free memory in it */ + USED_MEM *used; /* blocks almost without free memory */ + USED_MEM *pre_alloc; /* preallocated block */ + /* if block have less memory it will be put in 'used' list */ + unsigned int min_malloc; + unsigned int block_size; /* initial block size */ + unsigned int block_num; /* allocated blocks counter */ + /* + first free block in queue test counter (if it exceed + MAX_BLOCK_USAGE_BEFORE_DROP block will be droped in 'used' list) + */ + unsigned int first_block_usage; + + void (*error_handler)(void); +} MEM_ROOT; +#endif diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_list.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_list.h new file mode 100644 index 00000000..f786621e --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/my_list.h @@ -0,0 +1,46 @@ +/* Copyright (C) 2000 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#ifndef _list_h_ +#define _list_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct st_list { + struct st_list *prev,*next; + void *data; +} LIST; + +typedef int (*list_walk_action)(void *,void *); + +extern LIST *list_add(LIST *root,LIST *element); +extern LIST *list_delete(LIST *root,LIST *element); +extern LIST *list_cons(void *data,LIST *root); +extern LIST *list_reverse(LIST *root); +extern void list_free(LIST *root,unsigned int free_data); +extern unsigned int list_length(LIST *); +extern int list_walk(LIST *,list_walk_action action,gptr argument); + +#define rest(a) ((a)->next) +#define list_push(a,b) (a)=list_cons((b),(a)) +#define list_pop(A) {LIST *old=(A); (A)=list_delete(old,old) ; my_free((gptr) old,MYF(MY_FAE)); } + +#ifdef __cplusplus +} +#endif +#endif diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql.h new file mode 100644 index 00000000..d8a56126 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql.h @@ -0,0 +1,738 @@ +/* Copyright (C) 2000-2003 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#ifndef _mysql_h +#define _mysql_h + +#ifdef __CYGWIN__ /* CYGWIN implements a UNIX API */ +#undef WIN +#undef _WIN +#undef _WIN32 +#undef _WIN64 +#undef __WIN__ +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef _global_h /* If not standard header */ +#include <sys/types.h> +#ifdef __LCC__ +#include <winsock.h> /* For windows */ +#endif +typedef char my_bool; +#if (defined(_WIN32) || defined(_WIN64)) && !defined(__WIN__) +#define __WIN__ +#endif +#if !defined(__WIN__) +#define STDCALL +#else +#define STDCALL __stdcall +#endif +typedef char * gptr; + +#ifndef my_socket_defined +#ifdef __WIN__ +#define my_socket SOCKET +#else +typedef int my_socket; +#endif /* __WIN__ */ +#endif /* my_socket_defined */ +#endif /* _global_h */ + +#include "mysql_com.h" +#include "mysql_time.h" +#include "mysql_version.h" +#include "typelib.h" + +#include "my_list.h" /* for LISTs used in 'MYSQL' and 'MYSQL_STMT' */ + +extern unsigned int mysql_port; +extern char *mysql_unix_port; + +#define CLIENT_NET_READ_TIMEOUT 365*24*3600 /* Timeout on read */ +#define CLIENT_NET_WRITE_TIMEOUT 365*24*3600 /* Timeout on write */ + +#ifdef __NETWARE__ +#pragma pack(push, 8) /* 8 byte alignment */ +#endif + +#define IS_PRI_KEY(n) ((n) & PRI_KEY_FLAG) +#define IS_NOT_NULL(n) ((n) & NOT_NULL_FLAG) +#define IS_BLOB(n) ((n) & BLOB_FLAG) +#define IS_NUM(t) ((t) <= FIELD_TYPE_INT24 || (t) == FIELD_TYPE_YEAR) +#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG) +#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR) + + +typedef struct st_mysql_field { + char *name; /* Name of column */ + char *org_name; /* Original column name, if an alias */ + char *table; /* Table of column if column was a field */ + char *org_table; /* Org table name, if table was an alias */ + char *db; /* Database for table */ + char *catalog; /* Catalog for table */ + char *def; /* Default value (set by mysql_list_fields) */ + unsigned long length; /* Width of column (create length) */ + unsigned long max_length; /* Max width for selected set */ + unsigned int name_length; + unsigned int org_name_length; + unsigned int table_length; + unsigned int org_table_length; + unsigned int db_length; + unsigned int catalog_length; + unsigned int def_length; + unsigned int flags; /* Div flags */ + unsigned int decimals; /* Number of decimals in field */ + unsigned int charsetnr; /* Character set */ + enum enum_field_types type; /* Type of field. See mysql_com.h for types */ +} MYSQL_FIELD; + +typedef char **MYSQL_ROW; /* return data as array of strings */ +typedef unsigned int MYSQL_FIELD_OFFSET; /* offset to current field */ + +#ifndef _global_h +#if defined(NO_CLIENT_LONG_LONG) +typedef unsigned long my_ulonglong; +#elif defined (__WIN__) +typedef unsigned __int64 my_ulonglong; +#else +typedef unsigned long long my_ulonglong; +#endif +#endif + +#define MYSQL_COUNT_ERROR (~(my_ulonglong) 0) + +typedef struct st_mysql_rows { + struct st_mysql_rows *next; /* list of rows */ + MYSQL_ROW data; + unsigned long length; +} MYSQL_ROWS; + +typedef MYSQL_ROWS *MYSQL_ROW_OFFSET; /* offset to current row */ + +#include "my_alloc.h" + +typedef struct st_mysql_data { + my_ulonglong rows; + unsigned int fields; + MYSQL_ROWS *data; + MEM_ROOT alloc; +#if !defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY) + MYSQL_ROWS **prev_ptr; +#endif +} MYSQL_DATA; + +enum mysql_option +{ + MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_COMPRESS, MYSQL_OPT_NAMED_PIPE, + MYSQL_INIT_COMMAND, MYSQL_READ_DEFAULT_FILE, MYSQL_READ_DEFAULT_GROUP, + MYSQL_SET_CHARSET_DIR, MYSQL_SET_CHARSET_NAME, MYSQL_OPT_LOCAL_INFILE, + MYSQL_OPT_PROTOCOL, MYSQL_SHARED_MEMORY_BASE_NAME, MYSQL_OPT_READ_TIMEOUT, + MYSQL_OPT_WRITE_TIMEOUT, MYSQL_OPT_USE_RESULT, + MYSQL_OPT_USE_REMOTE_CONNECTION, MYSQL_OPT_USE_EMBEDDED_CONNECTION, + MYSQL_OPT_GUESS_CONNECTION, MYSQL_SET_CLIENT_IP, MYSQL_SECURE_AUTH +}; + +struct st_mysql_options { + unsigned int connect_timeout, read_timeout, write_timeout; + unsigned int port, protocol; + unsigned long client_flag; + char *host,*user,*password,*unix_socket,*db; + struct st_dynamic_array *init_commands; + char *my_cnf_file,*my_cnf_group, *charset_dir, *charset_name; + char *ssl_key; /* PEM key file */ + char *ssl_cert; /* PEM cert file */ + char *ssl_ca; /* PEM CA file */ + char *ssl_capath; /* PEM directory of CA-s? */ + char *ssl_cipher; /* cipher to use */ + char *shared_memory_base_name; + unsigned long max_allowed_packet; + my_bool use_ssl; /* if to use SSL or not */ + my_bool compress,named_pipe; + /* + On connect, find out the replication role of the server, and + establish connections to all the peers + */ + my_bool rpl_probe; + /* + Each call to mysql_real_query() will parse it to tell if it is a read + or a write, and direct it to the slave or the master + */ + my_bool rpl_parse; + /* + If set, never read from a master, only from slave, when doing + a read that is replication-aware + */ + my_bool no_master_reads; +#if !defined(CHECK_EMBEDDED_DIFFERENCES) || defined(EMBEDDED_LIBRARY) + my_bool separate_thread; +#endif + enum mysql_option methods_to_use; + char *client_ip; + /* Refuse client connecting to server if it uses old (pre-4.1.1) protocol */ + my_bool secure_auth; + + /* function pointers for local infile support */ + int (*local_infile_init)(void **, const char *, void *); + int (*local_infile_read)(void *, char *, unsigned int); + void (*local_infile_end)(void *); + int (*local_infile_error)(void *, char *, unsigned int); + void *local_infile_userdata; +}; + +enum mysql_status +{ + MYSQL_STATUS_READY,MYSQL_STATUS_GET_RESULT,MYSQL_STATUS_USE_RESULT +}; + +enum mysql_protocol_type +{ + MYSQL_PROTOCOL_DEFAULT, MYSQL_PROTOCOL_TCP, MYSQL_PROTOCOL_SOCKET, + MYSQL_PROTOCOL_PIPE, MYSQL_PROTOCOL_MEMORY +}; +/* + There are three types of queries - the ones that have to go to + the master, the ones that go to a slave, and the adminstrative + type which must happen on the pivot connectioin +*/ +enum mysql_rpl_type +{ + MYSQL_RPL_MASTER, MYSQL_RPL_SLAVE, MYSQL_RPL_ADMIN +}; + +struct st_mysql_methods; + +typedef struct st_mysql +{ + NET net; /* Communication parameters */ + gptr connector_fd; /* ConnectorFd for SSL */ + char *host,*user,*passwd,*unix_socket,*server_version,*host_info,*info; + char *db; + struct charset_info_st *charset; + MYSQL_FIELD *fields; + MEM_ROOT field_alloc; + my_ulonglong affected_rows; + my_ulonglong insert_id; /* id if insert on table with NEXTNR */ + my_ulonglong extra_info; /* Used by mysqlshow */ + unsigned long thread_id; /* Id for connection in server */ + unsigned long packet_length; + unsigned int port; + unsigned long client_flag,server_capabilities; + unsigned int protocol_version; + unsigned int field_count; + unsigned int server_status; + unsigned int server_language; + unsigned int warning_count; + struct st_mysql_options options; + enum mysql_status status; + my_bool free_me; /* If free in mysql_close */ + my_bool reconnect; /* set to 1 if automatic reconnect */ + + /* session-wide random string */ + char scramble[SCRAMBLE_LENGTH+1]; + + /* + Set if this is the original connection, not a master or a slave we have + added though mysql_rpl_probe() or mysql_set_master()/ mysql_add_slave() + */ + my_bool rpl_pivot; + /* + Pointers to the master, and the next slave connections, points to + itself if lone connection. + */ + struct st_mysql* master, *next_slave; + + struct st_mysql* last_used_slave; /* needed for round-robin slave pick */ + /* needed for send/read/store/use result to work correctly with replication */ + struct st_mysql* last_used_con; + + LIST *stmts; /* list of all statements */ + const struct st_mysql_methods *methods; + void *thd; + /* + Points to boolean flag in MYSQL_RES or MYSQL_STMT. We set this flag + from mysql_stmt_close if close had to cancel result set of this object. + */ + my_bool *unbuffered_fetch_owner; +} MYSQL; + +typedef struct st_mysql_res { + my_ulonglong row_count; + MYSQL_FIELD *fields; + MYSQL_DATA *data; + MYSQL_ROWS *data_cursor; + unsigned long *lengths; /* column lengths of current row */ + MYSQL *handle; /* for unbuffered reads */ + MEM_ROOT field_alloc; + unsigned int field_count, current_field; + MYSQL_ROW row; /* If unbuffered read */ + MYSQL_ROW current_row; /* buffer to current row */ + my_bool eof; /* Used by mysql_fetch_row */ + /* mysql_stmt_close() had to cancel this result */ + my_bool unbuffered_fetch_cancelled; + const struct st_mysql_methods *methods; +} MYSQL_RES; + +#define MAX_MYSQL_MANAGER_ERR 256 +#define MAX_MYSQL_MANAGER_MSG 256 + +#define MANAGER_OK 200 +#define MANAGER_INFO 250 +#define MANAGER_ACCESS 401 +#define MANAGER_CLIENT_ERR 450 +#define MANAGER_INTERNAL_ERR 500 + +#if !defined(MYSQL_SERVER) && !defined(MYSQL_CLIENT) +#define MYSQL_CLIENT +#endif + + +typedef struct st_mysql_manager +{ + NET net; + char *host,*user,*passwd; + unsigned int port; + my_bool free_me; + my_bool eof; + int cmd_status; + int last_errno; + char* net_buf,*net_buf_pos,*net_data_end; + int net_buf_size; + char last_error[MAX_MYSQL_MANAGER_ERR]; +} MYSQL_MANAGER; + +typedef struct st_mysql_parameters +{ + unsigned long *p_max_allowed_packet; + unsigned long *p_net_buffer_length; +} MYSQL_PARAMETERS; + +#if !defined(MYSQL_SERVER) && !defined(EMBEDDED_LIBRARY) +#define max_allowed_packet (*mysql_get_parameters()->p_max_allowed_packet) +#define net_buffer_length (*mysql_get_parameters()->p_net_buffer_length) +#endif + +/* + Set up and bring down the server; to ensure that applications will + work when linked against either the standard client library or the + embedded server library, these functions should be called. +*/ +int STDCALL mysql_server_init(int argc, char **argv, char **groups); +void STDCALL mysql_server_end(void); +/* + mysql_server_init/end need to be called when using libmysqld or + libmysqlclient (exactly, mysql_server_init() is called by mysql_init() so + you don't need to call it explicitely; but you need to call + mysql_server_end() to free memory). The names are a bit misleading + (mysql_SERVER* to be used when using libmysqlCLIENT). So we add more general + names which suit well whether you're using libmysqld or libmysqlclient. We + intend to promote these aliases over the mysql_server* ones. +*/ +#define mysql_library_init mysql_server_init +#define mysql_library_end mysql_server_end + +MYSQL_PARAMETERS *STDCALL mysql_get_parameters(void); + +/* + Set up and bring down a thread; these function should be called + for each thread in an application which opens at least one MySQL + connection. All uses of the connection(s) should be between these + function calls. +*/ +my_bool STDCALL mysql_thread_init(void); +void STDCALL mysql_thread_end(void); + +/* + Functions to get information from the MYSQL and MYSQL_RES structures + Should definitely be used if one uses shared libraries. +*/ + +my_ulonglong STDCALL mysql_num_rows(MYSQL_RES *res); +unsigned int STDCALL mysql_num_fields(MYSQL_RES *res); +my_bool STDCALL mysql_eof(MYSQL_RES *res); +MYSQL_FIELD *STDCALL mysql_fetch_field_direct(MYSQL_RES *res, + unsigned int fieldnr); +MYSQL_FIELD * STDCALL mysql_fetch_fields(MYSQL_RES *res); +MYSQL_ROW_OFFSET STDCALL mysql_row_tell(MYSQL_RES *res); +MYSQL_FIELD_OFFSET STDCALL mysql_field_tell(MYSQL_RES *res); + +unsigned int STDCALL mysql_field_count(MYSQL *mysql); +my_ulonglong STDCALL mysql_affected_rows(MYSQL *mysql); +my_ulonglong STDCALL mysql_insert_id(MYSQL *mysql); +unsigned int STDCALL mysql_errno(MYSQL *mysql); +const char * STDCALL mysql_error(MYSQL *mysql); +const char *STDCALL mysql_sqlstate(MYSQL *mysql); +unsigned int STDCALL mysql_warning_count(MYSQL *mysql); +const char * STDCALL mysql_info(MYSQL *mysql); +unsigned long STDCALL mysql_thread_id(MYSQL *mysql); +const char * STDCALL mysql_character_set_name(MYSQL *mysql); + +MYSQL * STDCALL mysql_init(MYSQL *mysql); +my_bool STDCALL mysql_ssl_set(MYSQL *mysql, const char *key, + const char *cert, const char *ca, + const char *capath, const char *cipher); +my_bool STDCALL mysql_change_user(MYSQL *mysql, const char *user, + const char *passwd, const char *db); +MYSQL * STDCALL mysql_real_connect(MYSQL *mysql, const char *host, + const char *user, + const char *passwd, + const char *db, + unsigned int port, + const char *unix_socket, + unsigned long clientflag); +int STDCALL mysql_select_db(MYSQL *mysql, const char *db); +int STDCALL mysql_query(MYSQL *mysql, const char *q); +int STDCALL mysql_send_query(MYSQL *mysql, const char *q, + unsigned long length); +int STDCALL mysql_real_query(MYSQL *mysql, const char *q, + unsigned long length); +MYSQL_RES * STDCALL mysql_store_result(MYSQL *mysql); +MYSQL_RES * STDCALL mysql_use_result(MYSQL *mysql); + +/* perform query on master */ +my_bool STDCALL mysql_master_query(MYSQL *mysql, const char *q, + unsigned long length); +my_bool STDCALL mysql_master_send_query(MYSQL *mysql, const char *q, + unsigned long length); +/* perform query on slave */ +my_bool STDCALL mysql_slave_query(MYSQL *mysql, const char *q, + unsigned long length); +my_bool STDCALL mysql_slave_send_query(MYSQL *mysql, const char *q, + unsigned long length); + +/* local infile support */ + +#define LOCAL_INFILE_ERROR_LEN 512 + +void +mysql_set_local_infile_handler(MYSQL *mysql, + int (*local_infile_init)(void **, const char *, + void *), + int (*local_infile_read)(void *, char *, + unsigned int), + void (*local_infile_end)(void *), + int (*local_infile_error)(void *, char*, + unsigned int), + void *); + +void +mysql_set_local_infile_default(MYSQL *mysql); + + +/* + enable/disable parsing of all queries to decide if they go on master or + slave +*/ +void STDCALL mysql_enable_rpl_parse(MYSQL* mysql); +void STDCALL mysql_disable_rpl_parse(MYSQL* mysql); +/* get the value of the parse flag */ +int STDCALL mysql_rpl_parse_enabled(MYSQL* mysql); + +/* enable/disable reads from master */ +void STDCALL mysql_enable_reads_from_master(MYSQL* mysql); +void STDCALL mysql_disable_reads_from_master(MYSQL* mysql); +/* get the value of the master read flag */ +my_bool STDCALL mysql_reads_from_master_enabled(MYSQL* mysql); + +enum mysql_rpl_type STDCALL mysql_rpl_query_type(const char* q, int len); + +/* discover the master and its slaves */ +my_bool STDCALL mysql_rpl_probe(MYSQL* mysql); + +/* set the master, close/free the old one, if it is not a pivot */ +int STDCALL mysql_set_master(MYSQL* mysql, const char* host, + unsigned int port, + const char* user, + const char* passwd); +int STDCALL mysql_add_slave(MYSQL* mysql, const char* host, + unsigned int port, + const char* user, + const char* passwd); + +int STDCALL mysql_shutdown(MYSQL *mysql, + enum mysql_enum_shutdown_level + shutdown_level); +int STDCALL mysql_dump_debug_info(MYSQL *mysql); +int STDCALL mysql_refresh(MYSQL *mysql, + unsigned int refresh_options); +int STDCALL mysql_kill(MYSQL *mysql,unsigned long pid); +int STDCALL mysql_set_server_option(MYSQL *mysql, + enum enum_mysql_set_option + option); +int STDCALL mysql_ping(MYSQL *mysql); +const char * STDCALL mysql_stat(MYSQL *mysql); +const char * STDCALL mysql_get_server_info(MYSQL *mysql); +const char * STDCALL mysql_get_client_info(void); +unsigned long STDCALL mysql_get_client_version(void); +const char * STDCALL mysql_get_host_info(MYSQL *mysql); +unsigned long STDCALL mysql_get_server_version(MYSQL *mysql); +unsigned int STDCALL mysql_get_proto_info(MYSQL *mysql); +MYSQL_RES * STDCALL mysql_list_dbs(MYSQL *mysql,const char *wild); +MYSQL_RES * STDCALL mysql_list_tables(MYSQL *mysql,const char *wild); +MYSQL_RES * STDCALL mysql_list_processes(MYSQL *mysql); +int STDCALL mysql_options(MYSQL *mysql,enum mysql_option option, + const char *arg); +void STDCALL mysql_free_result(MYSQL_RES *result); +void STDCALL mysql_data_seek(MYSQL_RES *result, + my_ulonglong offset); +MYSQL_ROW_OFFSET STDCALL mysql_row_seek(MYSQL_RES *result, + MYSQL_ROW_OFFSET offset); +MYSQL_FIELD_OFFSET STDCALL mysql_field_seek(MYSQL_RES *result, + MYSQL_FIELD_OFFSET offset); +MYSQL_ROW STDCALL mysql_fetch_row(MYSQL_RES *result); +unsigned long * STDCALL mysql_fetch_lengths(MYSQL_RES *result); +MYSQL_FIELD * STDCALL mysql_fetch_field(MYSQL_RES *result); +MYSQL_RES * STDCALL mysql_list_fields(MYSQL *mysql, const char *table, + const char *wild); +unsigned long STDCALL mysql_escape_string(char *to,const char *from, + unsigned long from_length); +unsigned long STDCALL mysql_hex_string(char *to,const char *from, + unsigned long from_length); +unsigned long STDCALL mysql_real_escape_string(MYSQL *mysql, + char *to,const char *from, + unsigned long length); +void STDCALL mysql_debug(const char *debug); +char * STDCALL mysql_odbc_escape_string(MYSQL *mysql, + char *to, + unsigned long to_length, + const char *from, + unsigned long from_length, + void *param, + char * + (*extend_buffer) + (void *, char *to, + unsigned long *length)); +void STDCALL myodbc_remove_escape(MYSQL *mysql,char *name); +unsigned int STDCALL mysql_thread_safe(void); +my_bool STDCALL mysql_embedded(void); +MYSQL_MANAGER* STDCALL mysql_manager_init(MYSQL_MANAGER* con); +MYSQL_MANAGER* STDCALL mysql_manager_connect(MYSQL_MANAGER* con, + const char* host, + const char* user, + const char* passwd, + unsigned int port); +void STDCALL mysql_manager_close(MYSQL_MANAGER* con); +int STDCALL mysql_manager_command(MYSQL_MANAGER* con, + const char* cmd, int cmd_len); +int STDCALL mysql_manager_fetch_line(MYSQL_MANAGER* con, + char* res_buf, + int res_buf_size); +my_bool STDCALL mysql_read_query_result(MYSQL *mysql); + + +/* + The following definitions are added for the enhanced + client-server protocol +*/ + +/* statement state */ +enum enum_mysql_stmt_state +{ + MYSQL_STMT_INIT_DONE= 1, MYSQL_STMT_PREPARE_DONE, MYSQL_STMT_EXECUTE_DONE, + MYSQL_STMT_FETCH_DONE +}; + + +/* bind structure */ +typedef struct st_mysql_bind +{ + unsigned long *length; /* output length pointer */ + my_bool *is_null; /* Pointer to null indicator */ + void *buffer; /* buffer to get/put data */ + enum enum_field_types buffer_type; /* buffer type */ + unsigned long buffer_length; /* buffer length, must be set for str/binary */ + + /* Following are for internal use. Set by mysql_stmt_bind_param */ + unsigned char *inter_buffer; /* for the current data position */ + unsigned long offset; /* offset position for char/binary fetch */ + unsigned long internal_length; /* Used if length is 0 */ + unsigned int param_number; /* For null count and error messages */ + unsigned int pack_length; /* Internal length for packed data */ + my_bool is_unsigned; /* set if integer type is unsigned */ + my_bool long_data_used; /* If used with mysql_send_long_data */ + my_bool internal_is_null; /* Used if is_null is 0 */ + void (*store_param_func)(NET *net, struct st_mysql_bind *param); + void (*fetch_result)(struct st_mysql_bind *, unsigned char **row); + void (*skip_result)(struct st_mysql_bind *, MYSQL_FIELD *, + unsigned char **row); +} MYSQL_BIND; + + +/* statement handler */ +typedef struct st_mysql_stmt +{ + MEM_ROOT mem_root; /* root allocations */ + LIST list; /* list to keep track of all stmts */ + MYSQL *mysql; /* connection handle */ + MYSQL_BIND *params; /* input parameters */ + MYSQL_BIND *bind; /* output parameters */ + MYSQL_FIELD *fields; /* result set metadata */ + MYSQL_DATA result; /* cached result set */ + MYSQL_ROWS *data_cursor; /* current row in cached result */ + /* copy of mysql->affected_rows after statement execution */ + my_ulonglong affected_rows; + my_ulonglong insert_id; /* copy of mysql->insert_id */ + /* + mysql_stmt_fetch() calls this function to fetch one row (it's different + for buffered, unbuffered and cursor fetch). + */ + int (*read_row_func)(struct st_mysql_stmt *stmt, + unsigned char **row); + unsigned long stmt_id; /* Id for prepared statement */ + unsigned int last_errno; /* error code */ + unsigned int param_count; /* input parameter count */ + unsigned int field_count; /* number of columns in result set */ + enum enum_mysql_stmt_state state; /* statement state */ + char last_error[MYSQL_ERRMSG_SIZE]; /* error message */ + char sqlstate[SQLSTATE_LENGTH+1]; + /* Types of input parameters should be sent to server */ + my_bool send_types_to_server; + my_bool bind_param_done; /* input buffers were supplied */ + my_bool bind_result_done; /* output buffers were supplied */ + /* mysql_stmt_close() had to cancel this result */ + my_bool unbuffered_fetch_cancelled; + /* + Is set to true if we need to calculate field->max_length for + metadata fields when doing mysql_stmt_store_result. + */ + my_bool update_max_length; +} MYSQL_STMT; + +enum enum_stmt_attr_type +{ + /* + When doing mysql_stmt_store_result calculate max_length attribute + of statement metadata. This is to be consistent with the old API, + where this was done automatically. + In the new API we do that only by request because it slows down + mysql_stmt_store_result sufficiently. + */ + STMT_ATTR_UPDATE_MAX_LENGTH +}; + + +typedef struct st_mysql_methods +{ + my_bool (*read_query_result)(MYSQL *mysql); + my_bool (*advanced_command)(MYSQL *mysql, + enum enum_server_command command, + const char *header, + unsigned long header_length, + const char *arg, + unsigned long arg_length, + my_bool skip_check); + MYSQL_DATA *(*read_rows)(MYSQL *mysql,MYSQL_FIELD *mysql_fields, + unsigned int fields); + MYSQL_RES * (*use_result)(MYSQL *mysql); + void (*fetch_lengths)(unsigned long *to, + MYSQL_ROW column, unsigned int field_count); + void (*flush_use_result)(MYSQL *mysql); +#if !defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY) + MYSQL_FIELD * (*list_fields)(MYSQL *mysql); + my_bool (*read_prepare_result)(MYSQL *mysql, MYSQL_STMT *stmt); + int (*stmt_execute)(MYSQL_STMT *stmt); + int (*read_binary_rows)(MYSQL_STMT *stmt); + int (*unbuffered_fetch)(MYSQL *mysql, char **row); + void (*free_embedded_thd)(MYSQL *mysql); + const char *(*read_statistics)(MYSQL *mysql); + my_bool (*next_result)(MYSQL *mysql); + int (*read_change_user_result)(MYSQL *mysql, char *buff, const char *passwd); +#endif +} MYSQL_METHODS; + + +MYSQL_STMT * STDCALL mysql_stmt_init(MYSQL *mysql); +int STDCALL mysql_stmt_prepare(MYSQL_STMT *stmt, const char *query, + unsigned long length); +int STDCALL mysql_stmt_execute(MYSQL_STMT *stmt); +int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt); +int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind, + unsigned int column, + unsigned long offset); +int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt); +unsigned long STDCALL mysql_stmt_param_count(MYSQL_STMT * stmt); +my_bool STDCALL mysql_stmt_attr_set(MYSQL_STMT *stmt, + enum enum_stmt_attr_type attr_type, + const void *attr); +my_bool STDCALL mysql_stmt_attr_get(MYSQL_STMT *stmt, + enum enum_stmt_attr_type attr_type, + void *attr); +my_bool STDCALL mysql_stmt_bind_param(MYSQL_STMT * stmt, MYSQL_BIND * bnd); +my_bool STDCALL mysql_stmt_bind_result(MYSQL_STMT * stmt, MYSQL_BIND * bnd); +my_bool STDCALL mysql_stmt_close(MYSQL_STMT * stmt); +my_bool STDCALL mysql_stmt_reset(MYSQL_STMT * stmt); +my_bool STDCALL mysql_stmt_free_result(MYSQL_STMT *stmt); +my_bool STDCALL mysql_stmt_send_long_data(MYSQL_STMT *stmt, + unsigned int param_number, + const char *data, + unsigned long length); +MYSQL_RES *STDCALL mysql_stmt_result_metadata(MYSQL_STMT *stmt); +MYSQL_RES *STDCALL mysql_stmt_param_metadata(MYSQL_STMT *stmt); +unsigned int STDCALL mysql_stmt_errno(MYSQL_STMT * stmt); +const char *STDCALL mysql_stmt_error(MYSQL_STMT * stmt); +const char *STDCALL mysql_stmt_sqlstate(MYSQL_STMT * stmt); +MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_seek(MYSQL_STMT *stmt, + MYSQL_ROW_OFFSET offset); +MYSQL_ROW_OFFSET STDCALL mysql_stmt_row_tell(MYSQL_STMT *stmt); +void STDCALL mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset); +my_ulonglong STDCALL mysql_stmt_num_rows(MYSQL_STMT *stmt); +my_ulonglong STDCALL mysql_stmt_affected_rows(MYSQL_STMT *stmt); +my_ulonglong STDCALL mysql_stmt_insert_id(MYSQL_STMT *stmt); +unsigned int STDCALL mysql_stmt_field_count(MYSQL_STMT *stmt); + +my_bool STDCALL mysql_commit(MYSQL * mysql); +my_bool STDCALL mysql_rollback(MYSQL * mysql); +my_bool STDCALL mysql_autocommit(MYSQL * mysql, my_bool auto_mode); +my_bool STDCALL mysql_more_results(MYSQL *mysql); +int STDCALL mysql_next_result(MYSQL *mysql); +void STDCALL mysql_close(MYSQL *sock); + + +/* status return codes */ +#define MYSQL_NO_DATA 100 + +#define mysql_reload(mysql) mysql_refresh((mysql),REFRESH_GRANT) + +#ifdef USE_OLD_FUNCTIONS +MYSQL * STDCALL mysql_connect(MYSQL *mysql, const char *host, + const char *user, const char *passwd); +int STDCALL mysql_create_db(MYSQL *mysql, const char *DB); +int STDCALL mysql_drop_db(MYSQL *mysql, const char *DB); +#define mysql_reload(mysql) mysql_refresh((mysql),REFRESH_GRANT) +#endif +#define HAVE_MYSQL_REAL_CONNECT + +/* + The following functions are mainly exported because of mysqlbinlog; + They are not for general usage +*/ + +#define simple_command(mysql, command, arg, length, skip_check) \ + (*(mysql)->methods->advanced_command)(mysql, command, \ + NullS, 0, arg, length, skip_check) +unsigned long net_safe_read(MYSQL* mysql); + +#ifdef __NETWARE__ +#pragma pack(pop) /* restore alignment */ +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* _mysql_h */ diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h new file mode 100644 index 00000000..6f941fc0 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h @@ -0,0 +1,399 @@ +/* Copyright (C) 2000 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +/* +** Common definition between mysql server & client +*/ + +#ifndef _mysql_com_h +#define _mysql_com_h + +#define NAME_LEN 64 /* Field/table name length */ +#define HOSTNAME_LENGTH 60 +#define USERNAME_LENGTH 16 +#define SERVER_VERSION_LENGTH 60 +#define SQLSTATE_LENGTH 5 + +#define LOCAL_HOST "localhost" +#define LOCAL_HOST_NAMEDPIPE "." + + +#if defined(__WIN__) && !defined( _CUSTOMCONFIG_) +#define MYSQL_NAMEDPIPE "MySQL" +#define MYSQL_SERVICENAME "MySQL" +#endif /* __WIN__ */ + +enum enum_server_command +{ + COM_SLEEP, COM_QUIT, COM_INIT_DB, COM_QUERY, COM_FIELD_LIST, + COM_CREATE_DB, COM_DROP_DB, COM_REFRESH, COM_SHUTDOWN, COM_STATISTICS, + COM_PROCESS_INFO, COM_CONNECT, COM_PROCESS_KILL, COM_DEBUG, COM_PING, + COM_TIME, COM_DELAYED_INSERT, COM_CHANGE_USER, COM_BINLOG_DUMP, + COM_TABLE_DUMP, COM_CONNECT_OUT, COM_REGISTER_SLAVE, + COM_PREPARE, COM_EXECUTE, COM_LONG_DATA, COM_CLOSE_STMT, + COM_RESET_STMT, COM_SET_OPTION, + /* don't forget to update const char *command_name[] in sql_parse.cc */ + + /* Must be last */ + COM_END +}; + + +/* + Length of random string sent by server on handshake; this is also length of + obfuscated password, recieved from client +*/ +#define SCRAMBLE_LENGTH 20 +#define SCRAMBLE_LENGTH_323 8 +/* length of password stored in the db: new passwords are preceeded with '*' */ +#define SCRAMBLED_PASSWORD_CHAR_LENGTH (SCRAMBLE_LENGTH*2+1) +#define SCRAMBLED_PASSWORD_CHAR_LENGTH_323 (SCRAMBLE_LENGTH_323*2) + + +#define NOT_NULL_FLAG 1 /* Field can't be NULL */ +#define PRI_KEY_FLAG 2 /* Field is part of a primary key */ +#define UNIQUE_KEY_FLAG 4 /* Field is part of a unique key */ +#define MULTIPLE_KEY_FLAG 8 /* Field is part of a key */ +#define BLOB_FLAG 16 /* Field is a blob */ +#define UNSIGNED_FLAG 32 /* Field is unsigned */ +#define ZEROFILL_FLAG 64 /* Field is zerofill */ +#define BINARY_FLAG 128 /* Field is binary */ + +/* The following are only sent to new clients */ +#define ENUM_FLAG 256 /* field is an enum */ +#define AUTO_INCREMENT_FLAG 512 /* field is a autoincrement field */ +#define TIMESTAMP_FLAG 1024 /* Field is a timestamp */ +#define SET_FLAG 2048 /* field is a set */ +#define NUM_FLAG 32768 /* Field is num (for clients) */ +#define PART_KEY_FLAG 16384 /* Intern; Part of some key */ +#define GROUP_FLAG 32768 /* Intern: Group field */ +#define UNIQUE_FLAG 65536 /* Intern: Used by sql_yacc */ +#define BINCMP_FLAG 131072 /* Intern: Used by sql_yacc */ + +#define REFRESH_GRANT 1 /* Refresh grant tables */ +#define REFRESH_LOG 2 /* Start on new log file */ +#define REFRESH_TABLES 4 /* close all tables */ +#define REFRESH_HOSTS 8 /* Flush host cache */ +#define REFRESH_STATUS 16 /* Flush status variables */ +#define REFRESH_THREADS 32 /* Flush thread cache */ +#define REFRESH_SLAVE 64 /* Reset master info and restart slave + thread */ +#define REFRESH_MASTER 128 /* Remove all bin logs in the index + and truncate the index */ + +/* The following can't be set with mysql_refresh() */ +#define REFRESH_READ_LOCK 16384 /* Lock tables for read */ +#define REFRESH_FAST 32768 /* Intern flag */ + +/* RESET (remove all queries) from query cache */ +#define REFRESH_QUERY_CACHE 65536 +#define REFRESH_QUERY_CACHE_FREE 0x20000L /* pack query cache */ +#define REFRESH_DES_KEY_FILE 0x40000L +#define REFRESH_USER_RESOURCES 0x80000L + +#define CLIENT_LONG_PASSWORD 1 /* new more secure passwords */ +#define CLIENT_FOUND_ROWS 2 /* Found instead of affected rows */ +#define CLIENT_LONG_FLAG 4 /* Get all column flags */ +#define CLIENT_CONNECT_WITH_DB 8 /* One can specify db on connect */ +#define CLIENT_NO_SCHEMA 16 /* Don't allow database.table.column */ +#define CLIENT_COMPRESS 32 /* Can use compression protocol */ +#define CLIENT_ODBC 64 /* Odbc client */ +#define CLIENT_LOCAL_FILES 128 /* Can use LOAD DATA LOCAL */ +#define CLIENT_IGNORE_SPACE 256 /* Ignore spaces before '(' */ +#define CLIENT_PROTOCOL_41 512 /* New 4.1 protocol */ +#define CLIENT_INTERACTIVE 1024 /* This is an interactive client */ +#define CLIENT_SSL 2048 /* Switch to SSL after handshake */ +#define CLIENT_IGNORE_SIGPIPE 4096 /* IGNORE sigpipes */ +#define CLIENT_TRANSACTIONS 8192 /* Client knows about transactions */ +#define CLIENT_RESERVED 16384 /* Old flag for 4.1 protocol */ +#define CLIENT_SECURE_CONNECTION 32768 /* New 4.1 authentication */ +#define CLIENT_MULTI_STATEMENTS 65536 /* Enable/disable multi-stmt support */ +#define CLIENT_MULTI_RESULTS 131072 /* Enable/disable multi-results */ +#define CLIENT_REMEMBER_OPTIONS (((ulong) 1) << 31) + +#define SERVER_STATUS_IN_TRANS 1 /* Transaction has started */ +#define SERVER_STATUS_AUTOCOMMIT 2 /* Server in auto_commit mode */ +#define SERVER_STATUS_MORE_RESULTS 4 /* More results on server */ +#define SERVER_MORE_RESULTS_EXISTS 8 /* Multi query - next query exists */ +#define SERVER_QUERY_NO_GOOD_INDEX_USED 16 +#define SERVER_QUERY_NO_INDEX_USED 32 +#define SERVER_STATUS_DB_DROPPED 256 /* A database was dropped */ + +#define MYSQL_ERRMSG_SIZE 512 +#define NET_READ_TIMEOUT 30 /* Timeout on read */ +#define NET_WRITE_TIMEOUT 60 /* Timeout on write */ +#define NET_WAIT_TIMEOUT 8*60*60 /* Wait for new query */ + +struct st_vio; /* Only C */ +typedef struct st_vio Vio; + +#define MAX_TINYINT_WIDTH 3 /* Max width for a TINY w.o. sign */ +#define MAX_SMALLINT_WIDTH 5 /* Max width for a SHORT w.o. sign */ +#define MAX_MEDIUMINT_WIDTH 8 /* Max width for a INT24 w.o. sign */ +#define MAX_INT_WIDTH 10 /* Max width for a LONG w.o. sign */ +#define MAX_BIGINT_WIDTH 20 /* Max width for a LONGLONG */ +#define MAX_CHAR_WIDTH 255 /* Max length for a CHAR colum */ +#define MAX_BLOB_WIDTH 8192 /* Default width for blob */ + +typedef struct st_net { +#if !defined(CHECK_EMBEDDED_DIFFERENCES) || !defined(EMBEDDED_LIBRARY) + Vio* vio; + unsigned char *buff,*buff_end,*write_pos,*read_pos; + my_socket fd; /* For Perl DBI/dbd */ + unsigned long max_packet,max_packet_size; + unsigned int pkt_nr,compress_pkt_nr; + unsigned int write_timeout, read_timeout, retry_count; + int fcntl; + my_bool compress; + /* + The following variable is set if we are doing several queries in one + command ( as in LOAD TABLE ... FROM MASTER ), + and do not want to confuse the client with OK at the wrong time + */ + unsigned long remain_in_buf,length, buf_length, where_b; + unsigned int *return_status; + unsigned char reading_or_writing; + char save_char; + my_bool no_send_ok; + /* + Pointer to query object in query cache, do not equal NULL (0) for + queries in cache that have not stored its results yet + */ +#endif + char last_error[MYSQL_ERRMSG_SIZE], sqlstate[SQLSTATE_LENGTH+1]; + unsigned int last_errno; + unsigned char error; + gptr query_cache_query; + my_bool report_error; /* We should report error (we have unreported error) */ + my_bool return_errno; +} NET; + +#define packet_error (~(unsigned long) 0) + +enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, + MYSQL_TYPE_SHORT, MYSQL_TYPE_LONG, + MYSQL_TYPE_FLOAT, MYSQL_TYPE_DOUBLE, + MYSQL_TYPE_NULL, MYSQL_TYPE_TIMESTAMP, + MYSQL_TYPE_LONGLONG,MYSQL_TYPE_INT24, + MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, + MYSQL_TYPE_DATETIME, MYSQL_TYPE_YEAR, + MYSQL_TYPE_NEWDATE, + MYSQL_TYPE_NEW_DECIMAL=246, + MYSQL_TYPE_ENUM=247, + MYSQL_TYPE_SET=248, + MYSQL_TYPE_TINY_BLOB=249, + MYSQL_TYPE_MEDIUM_BLOB=250, + MYSQL_TYPE_LONG_BLOB=251, + MYSQL_TYPE_BLOB=252, + MYSQL_TYPE_VAR_STRING=253, + MYSQL_TYPE_STRING=254, + MYSQL_TYPE_GEOMETRY=255 + +}; + +/* For backward compatibility */ +#define CLIENT_MULTI_QUERIES CLIENT_MULTI_STATEMENTS +#define FIELD_TYPE_DECIMAL MYSQL_TYPE_DECIMAL +#define FIELD_TYPE_TINY MYSQL_TYPE_TINY +#define FIELD_TYPE_SHORT MYSQL_TYPE_SHORT +#define FIELD_TYPE_LONG MYSQL_TYPE_LONG +#define FIELD_TYPE_FLOAT MYSQL_TYPE_FLOAT +#define FIELD_TYPE_DOUBLE MYSQL_TYPE_DOUBLE +#define FIELD_TYPE_NULL MYSQL_TYPE_NULL +#define FIELD_TYPE_TIMESTAMP MYSQL_TYPE_TIMESTAMP +#define FIELD_TYPE_LONGLONG MYSQL_TYPE_LONGLONG +#define FIELD_TYPE_INT24 MYSQL_TYPE_INT24 +#define FIELD_TYPE_DATE MYSQL_TYPE_DATE +#define FIELD_TYPE_TIME MYSQL_TYPE_TIME +#define FIELD_TYPE_DATETIME MYSQL_TYPE_DATETIME +#define FIELD_TYPE_YEAR MYSQL_TYPE_YEAR +#define FIELD_TYPE_NEWDATE MYSQL_TYPE_NEWDATE +#define FIELD_TYPE_NEW_DECIMAL MYSQL_TYPE_NEW_DECIMAL +#define FIELD_TYPE_ENUM MYSQL_TYPE_ENUM +#define FIELD_TYPE_SET MYSQL_TYPE_SET +#define FIELD_TYPE_TINY_BLOB MYSQL_TYPE_TINY_BLOB +#define FIELD_TYPE_MEDIUM_BLOB MYSQL_TYPE_MEDIUM_BLOB +#define FIELD_TYPE_LONG_BLOB MYSQL_TYPE_LONG_BLOB +#define FIELD_TYPE_BLOB MYSQL_TYPE_BLOB +#define FIELD_TYPE_VAR_STRING MYSQL_TYPE_VAR_STRING +#define FIELD_TYPE_STRING MYSQL_TYPE_STRING +#define FIELD_TYPE_CHAR MYSQL_TYPE_TINY +#define FIELD_TYPE_INTERVAL MYSQL_TYPE_ENUM +#define FIELD_TYPE_GEOMETRY MYSQL_TYPE_GEOMETRY + + +/* Shutdown/kill enums and constants */ + +/* Bits for THD::killable. */ +#define MYSQL_SHUTDOWN_KILLABLE_CONNECT (unsigned char)(1 << 0) +#define MYSQL_SHUTDOWN_KILLABLE_TRANS (unsigned char)(1 << 1) +#define MYSQL_SHUTDOWN_KILLABLE_LOCK_TABLE (unsigned char)(1 << 2) +#define MYSQL_SHUTDOWN_KILLABLE_UPDATE (unsigned char)(1 << 3) + +enum mysql_enum_shutdown_level { + /* + We want levels to be in growing order of hardness (because we use number + comparisons). Note that DEFAULT does not respect the growing property, but + it's ok. + */ + SHUTDOWN_DEFAULT = 0, + /* wait for existing connections to finish */ + SHUTDOWN_WAIT_CONNECTIONS= MYSQL_SHUTDOWN_KILLABLE_CONNECT, + /* wait for existing trans to finish */ + SHUTDOWN_WAIT_TRANSACTIONS= MYSQL_SHUTDOWN_KILLABLE_TRANS, + /* wait for existing updates to finish (=> no partial MyISAM update) */ + SHUTDOWN_WAIT_UPDATES= MYSQL_SHUTDOWN_KILLABLE_UPDATE, + /* flush InnoDB buffers and other storage engines' buffers*/ + SHUTDOWN_WAIT_ALL_BUFFERS= (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1), + /* don't flush InnoDB buffers, flush other storage engines' buffers*/ + SHUTDOWN_WAIT_CRITICAL_BUFFERS= (MYSQL_SHUTDOWN_KILLABLE_UPDATE << 1) + 1, + /* Now the 2 levels of the KILL command */ +#if MYSQL_VERSION_ID >= 50000 + KILL_QUERY= 254, +#endif + KILL_CONNECTION= 255 +}; + +/* options for mysql_set_option */ +enum enum_mysql_set_option +{ + MYSQL_OPTION_MULTI_STATEMENTS_ON, + MYSQL_OPTION_MULTI_STATEMENTS_OFF +}; + +#define net_new_transaction(net) ((net)->pkt_nr=0) + +#ifdef __cplusplus +extern "C" { +#endif + +my_bool my_net_init(NET *net, Vio* vio); +void my_net_local_init(NET *net); +void net_end(NET *net); +void net_clear(NET *net); +my_bool net_realloc(NET *net, unsigned long length); +my_bool net_flush(NET *net); +my_bool my_net_write(NET *net,const char *packet,unsigned long len); +my_bool net_write_command(NET *net,unsigned char command, + const char *header, unsigned long head_len, + const char *packet, unsigned long len); +int net_real_write(NET *net,const char *packet,unsigned long len); +unsigned long my_net_read(NET *net); + +/* + The following function is not meant for normal usage + Currently it's used internally by manager.c +*/ +struct sockaddr; +int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen, + unsigned int timeout); + +struct rand_struct { + unsigned long seed1,seed2,max_value; + double max_value_dbl; +}; + +#ifdef __cplusplus +} +#endif + + /* The following is for user defined functions */ + +enum Item_result {STRING_RESULT, REAL_RESULT, INT_RESULT, ROW_RESULT}; + +typedef struct st_udf_args +{ + unsigned int arg_count; /* Number of arguments */ + enum Item_result *arg_type; /* Pointer to item_results */ + char **args; /* Pointer to argument */ + unsigned long *lengths; /* Length of string arguments */ + char *maybe_null; /* Set to 1 for all maybe_null args */ +} UDF_ARGS; + + /* This holds information about the result */ + +typedef struct st_udf_init +{ + my_bool maybe_null; /* 1 if function can return NULL */ + unsigned int decimals; /* for real functions */ + unsigned long max_length; /* For string functions */ + char *ptr; /* free pointer for function data */ + my_bool const_item; /* 0 if result is independent of arguments */ +} UDF_INIT; + + /* Constants when using compression */ +#define NET_HEADER_SIZE 4 /* standard header size */ +#define COMP_HEADER_SIZE 3 /* compression header extra size */ + + /* Prototypes to password functions */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + These functions are used for authentication by client and server and + implemented in sql/password.c +*/ + +void randominit(struct rand_struct *, unsigned long seed1, + unsigned long seed2); +double my_rnd(struct rand_struct *); +void create_random_string(char *to, unsigned int length, struct rand_struct *rand_st); + +void hash_password(unsigned long *to, const char *password, unsigned int password_len); +void make_scrambled_password_323(char *to, const char *password); +void scramble_323(char *to, const char *message, const char *password); +my_bool check_scramble_323(const char *, const char *message, + unsigned long *salt); +void get_salt_from_password_323(unsigned long *res, const char *password); +void make_password_from_salt_323(char *to, const unsigned long *salt); + +void make_scrambled_password(char *to, const char *password); +void scramble(char *to, const char *message, const char *password); +my_bool check_scramble(const char *reply, const char *message, + const unsigned char *hash_stage2); +void get_salt_from_password(unsigned char *res, const char *password); +void make_password_from_salt(char *to, const unsigned char *hash_stage2); + +/* end of password.c */ + +char *get_tty_password(char *opt_message); +const char *mysql_errno_to_sqlstate(unsigned int mysql_errno); + +/* Some other useful functions */ + +my_bool my_init(void); +int load_defaults(const char *conf_file, const char **groups, + int *argc, char ***argv); +my_bool my_thread_init(void); +void my_thread_end(void); + +#ifdef _global_h +ulong STDCALL net_field_length(uchar **packet); +my_ulonglong net_field_length_ll(uchar **packet); +char *net_store_length(char *pkg, ulonglong length); +#endif + +#ifdef __cplusplus +} +#endif + +#define NULL_LENGTH ((unsigned long) ~0) /* For net_store_length */ +#define MYSQL_STMT_HEADER 4 +#define MYSQL_LONG_DATA_HEADER 6 + +#endif diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_embed.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_embed.h new file mode 100644 index 00000000..603af8e8 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_embed.h @@ -0,0 +1,33 @@ +/* Copyright (C) 2000 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +/* Defines that are unique to the embedded version of MySQL */ + +#ifdef EMBEDDED_LIBRARY + +/* Things we don't need in the embedded version of MySQL */ +/* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */ + +#undef HAVE_PSTACK /* No stacktrace */ +#undef HAVE_DLOPEN /* No udf functions */ +#undef HAVE_OPENSSL +#undef HAVE_ISAM +#undef HAVE_SMEM /* No shared memory */ +#undef HAVE_NDBCLUSTER_DB /* No NDB cluster */ + +#define DONT_USE_RAID + +#endif /* EMBEDDED_LIBRARY */ diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_time.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_time.h new file mode 100644 index 00000000..5f4fc12c --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_time.h @@ -0,0 +1,56 @@ +/* Copyright (C) 2004 MySQL AB & MySQL Finland AB & TCX DataKonsult AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#ifndef _mysql_time_h_ +#define _mysql_time_h_ + +/* + Time declarations shared between the server and client API: + you should not add anything to this header unless it's used + (and hence should be visible) in mysql.h. + If you're looking for a place to add new time-related declaration, + it's most likely my_time.h. See also "C API Handling of Date + and Time Values" chapter in documentation. +*/ + +enum enum_mysql_timestamp_type +{ + MYSQL_TIMESTAMP_NONE= -2, MYSQL_TIMESTAMP_ERROR= -1, + MYSQL_TIMESTAMP_DATE= 0, MYSQL_TIMESTAMP_DATETIME= 1, MYSQL_TIMESTAMP_TIME= 2 +}; + + +/* + Structure which is used to represent datetime values inside MySQL. + + We assume that values in this structure are normalized, i.e. year <= 9999, + month <= 12, day <= 31, hour <= 23, hour <= 59, hour <= 59. Many functions + in server such as my_system_gmt_sec() or make_time() family of functions + rely on this (actually now usage of make_*() family relies on a bit weaker + restriction). Also functions that produce MYSQL_TIME as result ensure this. + There is one exception to this rule though if this structure holds time + value (time_type == MYSQL_TIMESTAMP_TIME) days and hour member can hold + bigger values. +*/ +typedef struct st_mysql_time +{ + unsigned int year, month, day, hour, minute, second; + unsigned long second_part; + my_bool neg; + enum enum_mysql_timestamp_type time_type; +} MYSQL_TIME; + +#endif /* _mysql_time_h_ */ diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_version.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_version.h new file mode 100644 index 00000000..9f38c100 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/mysql_version.h @@ -0,0 +1,29 @@ +/* Copyright Abandoned 1996, 1999, 2001 MySQL AB + This file is public domain and comes with NO WARRANTY of any kind */ + +/* Version numbers for protocol & mysqld */ + +#ifndef _mysql_version_h +#define _mysql_version_h +#ifdef _CUSTOMCONFIG_ +#include <custom_conf.h> +#else +#define PROTOCOL_VERSION 10 +#define MYSQL_SERVER_VERSION "4.1.12" +#define MYSQL_BASE_VERSION "mysqld-4.1" +#define MYSQL_SERVER_SUFFIX_DEF "" +#define FRM_VER 6 +#define MYSQL_VERSION_ID 40112 +#define MYSQL_PORT 3306 +#define MYSQL_UNIX_ADDR "/tmp/mysql.sock" +#define MYSQL_CONFIG_NAME "my" +#define MYSQL_COMPILATION_COMMENT "Source distribution" + +/* mysqld compile time options */ +#endif /* _CUSTOMCONFIG_ */ + +#ifndef LICENSE +#define LICENSE GPL +#endif /* LICENSE */ + +#endif /* _mysql_version_h */ diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Headers/typelib.h b/trunk/MCPKit_bundled.framework/Versions/A/Headers/typelib.h new file mode 100644 index 00000000..4d6a90ad --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Headers/typelib.h @@ -0,0 +1,34 @@ +/* Copyright (C) 2000 MySQL AB + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + + +#ifndef _typelib_h +#define _typelib_h + +typedef struct st_typelib { /* Different types saved here */ + unsigned int count; /* How many types */ + const char *name; /* Name of typelib */ + const char **type_names; + unsigned int *type_lengths; +} TYPELIB; + +extern int find_type(char *x,TYPELIB *typelib,unsigned int full_name); +extern void make_type(char *to,unsigned int nr,TYPELIB *typelib); +extern const char *get_type(TYPELIB *typelib,unsigned int nr); + +extern TYPELIB sql_protocol_typelib; + +#endif /* _typelib_h */ diff --git a/trunk/MCPKit_bundled.framework/Versions/A/MCPKit_bundled b/trunk/MCPKit_bundled.framework/Versions/A/MCPKit_bundled Binary files differnew file mode 100755 index 00000000..160ce713 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/MCPKit_bundled diff --git a/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPAttribute+Private.h b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPAttribute+Private.h new file mode 100644 index 00000000..2426b16a --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPAttribute+Private.h @@ -0,0 +1,35 @@ +// +// MCPAttribute+Private.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import "MCPAttribute.h" + +@interface MCPAttribute (Private) + + +#pragma mark Setters +- (void) setValueClassName:(NSString *) iClassName; + +#pragma mark Pseudo-getters + +@end + diff --git a/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPClassDescription+Private.h b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPClassDescription+Private.h new file mode 100644 index 00000000..fa4ffab3 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPClassDescription+Private.h @@ -0,0 +1,41 @@ +// +// MCPClassDescription+Private.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 09/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + + +#import "MCPClassDescription.h" + +@interface MCPClassDescription (Private) + +#pragma mark Setters +- (void) setAttributes:(NSArray *) iAttributes; +- (void) setRelations:(NSArray *) iRelations; +- (void) insertObject:(MCPRelation *) iRelation inIncomingsAtIndex:(unsigned int) index; +- (void) removeObjectFromIncomingsAtIndex:(unsigned int) index; + +#pragma mark Getters +- (NSArray *) incomings; +- (unsigned int) countOfIncomings; +- (MCPRelation *) objectInIncomingsAtIndex:(unsigned int) index; +- (unsigned int) indexOfIncoming:(id) iRelation; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPRelation+Private.h b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPRelation+Private.h new file mode 100644 index 00000000..aa286787 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/PrivateHeaders/MCPRelation+Private.h @@ -0,0 +1,41 @@ +// +// MCPRelation+Private.h +// MCPModeler +// +// Created by Serge Cohen (serge.cohen@m4x.org) on 11/08/04. +// Copyright 2004 Serge Cohen. All rights reserved. +// +// This code is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 2 of the License, or any later version. +// +// This code is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// For a copy of the GNU General Public License, visit <http://www.gnu.org/> or +// write to the Free Software Foundation, Inc., 59 Temple Place--Suite 330, +// Boston, MA 02111-1307, USA. +// +// More info at <http://mysql-cocoa.sourceforge.net/> +// + +#import "MCPRelation.h" + +@interface MCPRelation (Private) + +#pragma mark Making some work +- (void) invalidateJoins; // Check that the joins are realistics. + +#pragma mark Setters +- (void) setOrigin:(MCPClassDescription *) iOrigin; +//- (void) setJoins:(NSArray *) iJoins; + +#pragma mark Getters +- (MCPModel *) model; + +#pragma mark Fro the controller layer and the UI +- (void) addNewDefaultJoin; + +@end diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/InfoPlist.strings b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/InfoPlist.strings Binary files differnew file mode 100644 index 00000000..8177d470 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/InfoPlist.strings diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/JavaCompiling.plist b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/JavaCompiling.plist new file mode 100644 index 00000000..e0a16f9b --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/JavaCompiling.plist @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>JavaSourceSubpath</key> + <string>_MCPConnectionWindow_EOArchive_English.java</string> +</dict> +</plist> diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/_MCPConnectionWindow_EOArchive_English.java b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/_MCPConnectionWindow_EOArchive_English.java new file mode 100644 index 00000000..5ba619a6 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/_MCPConnectionWindow_EOArchive_English.java @@ -0,0 +1,424 @@ +// _MCPConnectionWindow_EOArchive_English.java +// Generated by EnterpriseObjects palette at vendredi 14 mai 2004 11 h 08 Europe/Amsterdam + +import com.webobjects.eoapplication.*; +import com.webobjects.eocontrol.*; +import com.webobjects.eointerface.*; +import com.webobjects.eointerface.swing.*; +import com.webobjects.foundation.*; +import java.awt.*; +import javax.swing.*; +import javax.swing.border.*; +import javax.swing.table.*; +import javax.swing.text.*; + +public class _MCPConnectionWindow_EOArchive_English extends com.webobjects.eoapplication.EOArchive { + IBHelpConnector _iBHelpConnector0, _iBHelpConnector1, _iBHelpConnector2, _iBHelpConnector3; + com.webobjects.eointerface.swing.EOFrame _eoFrame0, _eoFrame1; + com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4, _nsTextField5, _nsTextField6, _nsTextField7, _nsTextField8, _nsTextField9; + com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3; + javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3, _nsButton4; + javax.swing.JPanel _nsView0, _nsView1; + javax.swing.JPasswordField _nsSecureTextField0; + + public _MCPConnectionWindow_EOArchive_English(Object owner, NSDisposableRegistry registry) { + super(owner, registry); + } + + protected void _construct() { + Object owner = _owner(); + EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null; + Object replacement; + + super._construct(); + + _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView"); + _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1"); + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mCreateButton")) != null)) { + _nsButton4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsButton4"); + } else { + _nsButton4 = (javax.swing.JButton)_registered(new javax.swing.JButton("Create DB"), "NSButton2"); + } + + _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Cancel"), "NSButton1"); + _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Go"), "NSButton"); + _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView"); + _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1"); + _nsTextField9 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField23"); + _nsTextField8 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField22"); + _nsTextField7 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21"); + _nsTextField6 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2"); + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "window")) != null)) { + _eoFrame1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement; + _replacedObjects.setObjectForKey(replacement, "_eoFrame1"); + } else { + _eoFrame1 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window"); + } + + _nsView1 = (JPanel)_eoFrame1.getContentPane(); + _iBHelpConnector3 = (IBHelpConnector)_registered(new IBHelpConnector(), ""); + _iBHelpConnector2 = (IBHelpConnector)_registered(new IBHelpConnector(), ""); + _iBHelpConnector1 = (IBHelpConnector)_registered(new IBHelpConnector(), ""); + _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), ""); + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mHostField.nextFocusableComponent.nextFocusableComponent.nextFocusableComponent")) != null)) { + _nsTextField5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsTextField5"); + } else { + _nsTextField5 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField12"); + } + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mHostField.nextFocusableComponent.nextFocusableComponent")) != null)) { + _nsTextField4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsTextField4"); + } else { + _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField11"); + } + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mHostField.nextFocusableComponent")) != null)) { + _nsTextField3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsTextField3"); + } else { + _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1"); + } + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mHostField.nextFocusableComponent.nextFocusableComponent.nextFocusableComponent.nextFocusableComponent")) != null)) { + _nsTextField2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsTextField2"); + } else { + _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField"); + } + + _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Cancel"), "NSButton1"); + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mPasswordField.nextFocusableComponent")) != null)) { + _nsButton0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsButton0"); + } else { + _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("OK"), "NSButton"); + } + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mPasswordField")) != null)) { + _nsSecureTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JPasswordField)replacement; + _replacedObjects.setObjectForKey(replacement, "_nsSecureTextField0"); + } else { + _nsSecureTextField0 = (javax.swing.JPasswordField)_registered(new javax.swing.JPasswordField(), "NSTextField"); + } + + _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21"); + _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2"); + + if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "mPasswordSheet")) != null)) { + _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement; + _replacedObjects.setObjectForKey(replacement, "_eoFrame0"); + } else { + _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Panel"); + } + + _nsView0 = (JPanel)_eoFrame0.getContentPane(); + } + + protected void _awaken() { + super._awaken(); + + if (_replacedObjects.objectForKey("_eoFrame0") == null) { + _connect(_eoFrame0, _owner(), "delegate"); + } + + _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "passwordClick", _nsButton0), "")); + + if (_replacedObjects.objectForKey("_eoFrame0") == null) { + _connect(_owner(), _eoFrame0, "mPasswordSheet"); + } + + if (_replacedObjects.objectForKey("_nsSecureTextField0") == null) { + _connect(_owner(), _nsSecureTextField0, "mPasswordField"); + } + + if (_replacedObjects.objectForKey("_nsButton4") == null) { + _connect(_owner(), _nsButton4, "mCreateButton"); + } + + _nsButton4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "doCreate", _nsButton4), "")); + _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "doCancel", _nsButton3), "")); + _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "doGo", _nsButton2), "")); + + if (_replacedObjects.objectForKey("_eoFrame1") == null) { + _connect(_owner(), _eoFrame1, "window"); + } + + _nsTextField2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "modifyInstance", _nsTextField2), "")); + + if (_replacedObjects.objectForKey("_nsTextField3") == null) { + _connect(_owner(), _nsTextField3, "mLoginField"); + } + + _nsTextField3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "modifyInstance", _nsTextField3), "")); + + if (_replacedObjects.objectForKey("_nsTextField4") == null) { + _connect(_owner(), _nsTextField4, "mDatabaseField"); + } + + _nsTextField4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "modifyInstance", _nsTextField4), "")); + + if (_replacedObjects.objectForKey("_nsTextField5") == null) { + _connect(_owner(), _nsTextField5, "mPortField"); + } + + _nsTextField5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "modifyInstance", _nsTextField5), "")); + + if (_replacedObjects.objectForKey("_nsTextField2") == null) { + _connect(_owner(), _nsTextField2, "mHostField"); + } + + _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "passwordClick", _nsButton1), "")); + } + + protected void _init() { + super._init(); + if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); } + _nsBox3.setSize(401, 1); + _nsBox3.setLocation(2, 2); + ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin); + _nsBox2.add(_nsBox3); + _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); + + if (_replacedObjects.objectForKey("_nsButton4") == null) { + _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN); + _nsButton4.setMargin(new Insets(0, 2, 0, 2)); + } + + _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN); + _nsButton3.setMargin(new Insets(0, 2, 0, 2)); + _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN); + _nsButton2.setMargin(new Insets(0, 2, 0, 2)); + if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); } + _nsBox1.setSize(328, 1); + _nsBox1.setLocation(2, 2); + ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin); + _nsBox0.add(_nsBox1); + _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); + _setFontForComponent(_nsTextField9, "Lucida Grande", 13, Font.PLAIN); + _nsTextField9.setEditable(false); + _nsTextField9.setOpaque(false); + _nsTextField9.setText("Port :"); + _nsTextField9.setHorizontalAlignment(javax.swing.JTextField.RIGHT); + _nsTextField9.setSelectable(true); + _nsTextField9.setEnabled(true); + _nsTextField9.setBorder(null); + _setFontForComponent(_nsTextField8, "Lucida Grande", 13, Font.PLAIN); + _nsTextField8.setEditable(false); + _nsTextField8.setOpaque(false); + _nsTextField8.setText("Database :"); + _nsTextField8.setHorizontalAlignment(javax.swing.JTextField.RIGHT); + _nsTextField8.setSelectable(true); + _nsTextField8.setEnabled(true); + _nsTextField8.setBorder(null); + _setFontForComponent(_nsTextField7, "Lucida Grande", 13, Font.PLAIN); + _nsTextField7.setEditable(false); + _nsTextField7.setOpaque(false); + _nsTextField7.setText("Login :"); + _nsTextField7.setHorizontalAlignment(javax.swing.JTextField.RIGHT); + _nsTextField7.setSelectable(true); + _nsTextField7.setEnabled(true); + _nsTextField7.setBorder(null); + _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN); + _nsTextField6.setEditable(false); + _nsTextField6.setOpaque(false); + _nsTextField6.setText("Host :"); + _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.RIGHT); + _nsTextField6.setSelectable(true); + _nsTextField6.setEnabled(true); + _nsTextField6.setBorder(null); + if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); } + _nsTextField6.setSize(72, 17); + _nsTextField6.setLocation(11, 17); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField6); + _nsTextField7.setSize(72, 17); + _nsTextField7.setLocation(11, 47); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField7, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField7); + _nsTextField8.setSize(72, 17); + _nsTextField8.setLocation(11, 77); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField8, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField8); + _nsTextField9.setSize(72, 17); + _nsTextField9.setLocation(11, 107); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField9, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField9); + _nsTextField2.setSize(242, 22); + _nsTextField2.setLocation(88, 14); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField2); + _nsTextField3.setSize(242, 22); + _nsTextField3.setLocation(88, 44); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField3); + _nsTextField4.setSize(242, 22); + _nsTextField4.setLocation(88, 74); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField4); + _nsTextField5.setSize(242, 22); + _nsTextField5.setLocation(88, 104); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView1.add(_nsTextField5); + _nsBox0.setSize(332, 5); + _nsBox0.setLocation(5, 130); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView1.add(_nsBox0); + _nsButton2.setSize(77, 26); + _nsButton2.setLocation(256, 144); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinXMargin | EOViewLayout.MinYMargin); + _nsView1.add(_nsButton2); + _nsButton3.setSize(77, 26); + _nsButton3.setLocation(172, 144); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinXMargin | EOViewLayout.MinYMargin); + _nsView1.add(_nsButton3); + _nsButton4.setSize(96, 26); + _nsButton4.setLocation(12, 144); + ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin); + _nsView1.add(_nsButton4); + + if (_replacedObjects.objectForKey("_eoFrame1") == null) { + _nsView1.setSize(342, 180); + _eoFrame1.setTitle("New Connection Parameters"); + _eoFrame1.setLocation(111, 492); + _eoFrame1.setSize(342, 180); + } + + if (_replacedObjects.objectForKey("_nsTextField5") == null) { + _connect(_nsTextField5, _nsTextField2, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsTextField5") == null) { + _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN); + _nsTextField5.setEditable(true); + _nsTextField5.setOpaque(true); + _nsTextField5.setText(""); + _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT); + _nsTextField5.setSelectable(true); + _nsTextField5.setEnabled(true); + } + + if (_replacedObjects.objectForKey("_nsTextField4") == null) { + _connect(_nsTextField4, _nsTextField5, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsTextField4") == null) { + _setFontForComponent(_nsTextField4, "Lucida Grande", 13, Font.PLAIN); + _nsTextField4.setEditable(true); + _nsTextField4.setOpaque(true); + _nsTextField4.setText(""); + _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT); + _nsTextField4.setSelectable(true); + _nsTextField4.setEnabled(true); + } + + if (_replacedObjects.objectForKey("_nsTextField3") == null) { + _connect(_nsTextField3, _nsTextField4, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsTextField3") == null) { + _setFontForComponent(_nsTextField3, "Lucida Grande", 13, Font.PLAIN); + _nsTextField3.setEditable(true); + _nsTextField3.setOpaque(true); + _nsTextField3.setText(""); + _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT); + _nsTextField3.setSelectable(true); + _nsTextField3.setEnabled(true); + } + + if (_replacedObjects.objectForKey("_nsTextField2") == null) { + _connect(_nsTextField2, _nsTextField3, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsTextField2") == null) { + _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN); + _nsTextField2.setEditable(true); + _nsTextField2.setOpaque(true); + _nsTextField2.setText(""); + _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT); + _nsTextField2.setSelectable(true); + _nsTextField2.setEnabled(true); + } + + _connect(_nsButton1, _nsSecureTextField0, "nextFocusableComponent"); + _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN); + _nsButton1.setMargin(new Insets(0, 2, 0, 2)); + + if (_replacedObjects.objectForKey("_nsButton0") == null) { + _connect(_nsButton0, _nsButton1, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsButton0") == null) { + _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN); + _nsButton0.setMargin(new Insets(0, 2, 0, 2)); + } + + if (_replacedObjects.objectForKey("_nsSecureTextField0") == null) { + _connect(_nsSecureTextField0, _nsButton0, "nextFocusableComponent"); + } + + if (_replacedObjects.objectForKey("_nsSecureTextField0") == null) { + _setFontForComponent(_nsSecureTextField0, "Lucida Grande", 13, Font.PLAIN); + _nsSecureTextField0.setEditable(true); + _nsSecureTextField0.setOpaque(true); + _nsSecureTextField0.setText(""); + _nsSecureTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT); + _nsSecureTextField0.setEnabled(true); + } + + _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN); + _nsTextField1.setEditable(false); + _nsTextField1.setOpaque(false); + _nsTextField1.setText("Password :"); + _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.RIGHT); + _nsTextField1.setSelectable(false); + _nsTextField1.setEnabled(true); + _nsTextField1.setBorder(null); + _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN); + _nsTextField0.setEditable(false); + _nsTextField0.setOpaque(false); + _nsTextField0.setText("Please enter your password for DB server "); + _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.CENTER); + _nsTextField0.setSelectable(false); + _nsTextField0.setEnabled(true); + _nsTextField0.setBorder(null); + if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); } + _nsTextField0.setSize(395, 17); + _nsTextField0.setLocation(11, 14); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin); + _nsView0.add(_nsTextField0); + _nsTextField1.setSize(73, 17); + _nsTextField1.setLocation(11, 51); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); + _nsView0.add(_nsTextField1); + _nsSecureTextField0.setSize(314, 22); + _nsSecureTextField0.setLocation(89, 48); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsSecureTextField0, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin); + _nsView0.add(_nsSecureTextField0); + _nsBox2.setSize(405, 5); + _nsBox2.setLocation(5, 37); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin); + _nsView0.add(_nsBox2); + _nsButton0.setSize(77, 26); + _nsButton0.setLocation(329, 88); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin); + _nsView0.add(_nsButton0); + _nsButton1.setSize(77, 26); + _nsButton1.setLocation(245, 88); + ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin); + _nsView0.add(_nsButton1); + + if (_replacedObjects.objectForKey("_eoFrame0") == null) { + _nsView0.setSize(415, 124); + _eoFrame0.setTitle("Password"); + _eoFrame0.setLocation(95, 422); + _eoFrame0.setSize(415, 124); + } + } +} diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/classes.nib b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/classes.nib new file mode 100644 index 00000000..e9dc7fa3 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/classes.nib @@ -0,0 +1,28 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = { + askPassword = id; + doCancel = id; + doCreate = id; + doGo = id; + modifyInstance = id; + passwordClick = id; + }; + CLASS = MCPConnectionWinCont; + LANGUAGE = ObjC; + OUTLETS = { + mCreateButton = NSButton; + mDatabaseField = NSTextField; + mHostField = NSTextField; + mLoginField = NSTextField; + mPasswordField = NSTextField; + mPasswordSheet = NSPanel; + mPortField = NSTextField; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +}
\ No newline at end of file diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/info.nib b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/info.nib new file mode 100644 index 00000000..10b70ee6 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/info.nib @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>193 200 356 240 0 0 1280 832 </string> + <key>IBFramework Version</key> + <string>364.0</string> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>7F44</string> +</dict> +</plist> diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/keyedobjects.nib b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/keyedobjects.nib Binary files differnew file mode 100644 index 00000000..d0ebc199 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/English.lproj/MCPConnectionWindow.nib/keyedobjects.nib diff --git a/trunk/MCPKit_bundled.framework/Versions/A/Resources/Info.plist b/trunk/MCPKit_bundled.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..c5731f54 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>MCPKit_bundled</string> + <key>CFBundleIdentifier</key> + <string>net.chocolatnoir.MCPKit_bundled</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.0</string> +</dict> +</plist> diff --git a/trunk/MCPKit_bundled.framework/Versions/Current b/trunk/MCPKit_bundled.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/trunk/MCPKit_bundled.framework/Versions/Current @@ -0,0 +1 @@ +A
\ No newline at end of file diff --git a/trunk/MainController.h b/trunk/MainController.h new file mode 100644 index 00000000..b47bb457 --- /dev/null +++ b/trunk/MainController.h @@ -0,0 +1,86 @@ +// +// MainController.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> + +@interface MainController : NSObject +{ + IBOutlet id keyChainInstance; + + IBOutlet id preferencesWindow; + IBOutlet id favoriteSheet; + IBOutlet id reloadAfterAddingSwitch; + IBOutlet id reloadAfterEditingSwitch; + IBOutlet id reloadAfterRemovingSwitch; + IBOutlet id showErrorSwitch; + IBOutlet id dontShowBlobSwitch; + IBOutlet id useMonospacedFontsSwitch; + IBOutlet id fetchRowCountSwitch; + IBOutlet id limitRowsSwitch; + IBOutlet id limitRowsField; + IBOutlet id nullValueField; + IBOutlet id tableView; + IBOutlet id nameField; + IBOutlet id hostField; + IBOutlet id socketField; + IBOutlet id userField; + IBOutlet id passwordField; + IBOutlet id portField; + IBOutlet id databaseField; + IBOutlet id sshCheckbox; + IBOutlet id sshUserField; + IBOutlet id sshPasswordField; + IBOutlet id sshHostField; + IBOutlet id sshPortField; + IBOutlet id encodingPopUpButton; + + NSMutableArray *favorites; + NSUserDefaults *prefs; + + BOOL isNewFavorite; +} + +//IBAction methods +- (IBAction)openPreferences:(id)sender; +- (IBAction)addFavorite:(id)sender; +- (IBAction)removeFavorite:(id)sender; +- (IBAction)copyFavorite:(id)sender; +- (IBAction)chooseLimitRows:(id)sender; +- (IBAction)closeFavoriteSheet:(id)sender; +- (IBAction)toggleUseSSH:(id)sender; + +//services menu methods +- (void)doPerformQueryService:(NSPasteboard *)pboard userData:(NSString *)data error:(NSString **)error; + +//menu methods +- (IBAction)donate:(id)sender; +- (IBAction)visitWebsite:(id)sender; +- (IBAction)visitHelpWebsite:(id)sender; +- (IBAction)checkForUpdates:(id)sender; + +//SSHTunnel methods +- (id)authenticate:(NSScriptCommand *)command; +- (id)handleQuitScriptCommand:(NSScriptCommand *)command; + +@end diff --git a/trunk/MainController.m b/trunk/MainController.m new file mode 100644 index 00000000..46996ef6 --- /dev/null +++ b/trunk/MainController.m @@ -0,0 +1,802 @@ +// +// MainController.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "MainController.h" +#import "KeyChain.h" +#import "TableDocument.h" + +@implementation MainController + +/* +opens the preferences window +*/ +- (IBAction)openPreferences:(id)sender +{ + //get favorites if they exist + [favorites release]; + if ( [prefs objectForKey:@"favorites"] != nil ) { + favorites = [[NSMutableArray alloc] initWithArray:[prefs objectForKey:@"favorites"]]; + } else { + favorites = [[NSMutableArray array] retain]; + } + [tableView reloadData]; + + if ( [prefs boolForKey:@"reloadAfterAdding"] ) { + [reloadAfterAddingSwitch setState:NSOnState]; + } else { + [reloadAfterAddingSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"reloadAfterEditing"] ) { + [reloadAfterEditingSwitch setState:NSOnState]; + } else { + [reloadAfterEditingSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"reloadAfterRemoving"] ) { + [reloadAfterRemovingSwitch setState:NSOnState]; + } else { + [reloadAfterRemovingSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"showError"] ) { + [showErrorSwitch setState:NSOnState]; + } else { + [showErrorSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"dontShowBlob"] ) { + [dontShowBlobSwitch setState:NSOnState]; + } else { + [dontShowBlobSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"limitRows"] ) { + [limitRowsSwitch setState:NSOnState]; + } else { + [limitRowsSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [useMonospacedFontsSwitch setState:NSOnState]; + } else { + [useMonospacedFontsSwitch setState:NSOffState]; + } + if ( [prefs boolForKey:@"fetchRowCount"] ) { + [fetchRowCountSwitch setState:NSOnState]; + } else { + [fetchRowCountSwitch setState:NSOffState]; + } + [nullValueField setStringValue:[prefs stringForKey:@"nullValue"]]; + [limitRowsField setStringValue:[prefs stringForKey:@"limitRowsValue"]]; + [self chooseLimitRows:self]; + [encodingPopUpButton selectItemWithTitle:[prefs stringForKey:@"encoding"]]; + + [preferencesWindow makeKeyAndOrderFront:self]; +} + +/* +adds a favorite +*/ +- (IBAction)addFavorite:(id)sender +{ + int code; + + isNewFavorite = YES; + + [nameField setStringValue:@""]; + [hostField setStringValue:@""]; + [socketField setStringValue:@""]; + [userField setStringValue:@""]; + [passwordField setStringValue:@""]; + [portField setStringValue:@""]; + [databaseField setStringValue:@""]; + [sshCheckbox setState:NSOffState]; + [sshUserField setEnabled:NO]; + [sshPasswordField setEnabled:NO]; + [sshHostField setEnabled:NO]; + [sshPortField setEnabled:NO]; + [sshHostField setStringValue:@""]; + [sshUserField setStringValue:@""]; + [sshPortField setStringValue:@"8888"]; + [sshPasswordField setStringValue:@""]; + + [NSApp beginSheet:favoriteSheet + modalForWindow:preferencesWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + code = [NSApp runModalForWindow:favoriteSheet]; + + [NSApp endSheet:favoriteSheet]; + [favoriteSheet orderOut:nil]; + + if ( code == 1 ) { + if ( ![[socketField stringValue] isEqualToString:@""] ) { + //set host to localhost if socket is used + [hostField setStringValue:@"localhost"]; + } + + // get ssh settings + NSString *sshHost, *sshUser, *sshPassword, *sshPort; + NSNumber *ssh; + if ( [sshCheckbox state] == NSOnState ) { + if ( [[sshHostField stringValue] isEqualToString:@""] ) { + sshHost = [hostField stringValue]; + } else { + sshHost = [sshHostField stringValue]; + } + if ( [[sshUserField stringValue] isEqualToString:@""] ) { + sshUser = [userField stringValue]; + } else { + sshUser = [sshUserField stringValue]; + } + if ( [[sshPasswordField stringValue] isEqualToString:@""] ) { + sshPassword = [passwordField stringValue]; + } else { + sshPassword = [sshPasswordField stringValue]; + } + if ( [[sshPortField stringValue] isEqualToString:@""] ) { + sshPort = [portField stringValue]; + } else { + sshPort = [sshPortField stringValue]; + } + ssh = [NSNumber numberWithInt:1]; + } else { + sshHost = @""; + sshUser = @""; + sshPassword = @""; + sshPort = @""; + ssh = [NSNumber numberWithInt:0]; + } + + NSDictionary *favorite = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[nameField stringValue], [hostField stringValue], [socketField stringValue], [userField stringValue], [portField stringValue], [databaseField stringValue], ssh, sshHost, sshUser, sshPort, nil] + forKeys:[NSArray arrayWithObjects:@"name", @"host", @"socket", @"user", @"port", @"database", @"useSSH", @"sshHost", @"sshUser", @"sshPort", nil]]; + [favorites addObject:favorite]; + + if ( ![[passwordField stringValue] isEqualToString:@""] ) + [keyChainInstance addPassword:[passwordField stringValue] + forName:[NSString stringWithFormat:@"Sequel Pro : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], [databaseField stringValue]]]; + + if ( ![sshPassword isEqualToString:@""] ) + [keyChainInstance addPassword:sshPassword + forName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], [databaseField stringValue]]]; + + [tableView reloadData]; + [tableView selectRow:[tableView numberOfRows]-1 byExtendingSelection:NO]; + } + + isNewFavorite = NO; +} + +/* +removes a favorite +*/ +- (IBAction)removeFavorite:(id)sender +{ + if ( ![tableView numberOfSelectedRows] ) + return; + + NSString *name = [[favorites objectAtIndex:[tableView selectedRow]] objectForKey:@"name"]; + NSString *user = [[favorites objectAtIndex:[tableView selectedRow]] objectForKey:@"user"]; + NSString *host = [[favorites objectAtIndex:[tableView selectedRow]] objectForKey:@"host"]; + NSString *database = [[favorites objectAtIndex:[tableView selectedRow]] objectForKey:@"database"]; + + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro : %@", name] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", name] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + [favorites removeObjectAtIndex:[tableView selectedRow]]; + [tableView reloadData]; +} + +/* +copies a favorite +*/ +- (IBAction)copyFavorite:(id)sender +{ + if ( ![tableView numberOfSelectedRows] ) + return; + + NSMutableDictionary *tempDictionary = [NSMutableDictionary dictionaryWithDictionary:[favorites objectAtIndex:[tableView selectedRow]]]; + [tempDictionary setObject:[NSString stringWithFormat:@"%@Copy", [tempDictionary objectForKey:@"name"]] forKey:@"name"]; +// [tempDictionary setObject:[NSString stringWithFormat:@"%@Copy", [tempDictionary objectForKey:@"user"]] forKey:@"user"]; + + [favorites insertObject:tempDictionary atIndex:[tableView selectedRow]+1]; + [tableView selectRow:[tableView selectedRow]+1 byExtendingSelection:NO]; + + [tableView reloadData]; +} + +/* +enables or disables limitRowsField (depending on the state of limitRowsSwitch) +*/ +- (IBAction)chooseLimitRows:(id)sender +{ + if ( [limitRowsSwitch state] == NSOnState ) { + [limitRowsField setEnabled:YES]; + [limitRowsField selectText:self]; + } else { + [limitRowsField setEnabled:NO]; + } +} + +/* +close the favoriteSheet and save favorite if user hit save +*/ +- (IBAction)closeFavoriteSheet:(id)sender +{ + NSEnumerator *enumerator = [favorites objectEnumerator]; + id favorite; + int count; + + //test if user has entered at least name and host/socket + if ( [sender tag] && + ([[nameField stringValue] isEqualToString:@""] || ([[hostField stringValue] isEqualToString:@""] && [[socketField stringValue] isEqualToString:@""])) ) { + NSRunAlertPanel(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"Please enter at least name and host or socket!", @"message of panel when name/host/socket are missing"), NSLocalizedString(@"OK", @"OK button"), nil, nil); + return; + } + + //test if favorite name isn't used by another favorite + count = 0; + if ( [sender tag] ) { + while ( (favorite = [enumerator nextObject]) ) { + if ( [[favorite objectForKey:@"name"] isEqualToString:[nameField stringValue]] ) + { + if ( isNewFavorite || (!isNewFavorite && (count != [tableView selectedRow])) ) { + NSRunAlertPanel(NSLocalizedString(@"Error", @"error"), [NSString stringWithFormat:NSLocalizedString(@"Favorite %@ has already been saved!\nPlease specify another name.", @"message of panel when favorite name has already been used"), [nameField stringValue]], NSLocalizedString(@"OK", @"OK button"), nil, nil); + return; + } + } +/* + if ( [[favorite objectForKey:@"host"] isEqualToString:[hostField stringValue]] && + [[favorite objectForKey:@"user"] isEqualToString:[userField stringValue]] && + [[favorite objectForKey:@"database"] isEqualToString:[databaseField stringValue]] ) { + if ( isNewFavorite || (!isNewFavorite && (count != [tableView selectedRow])) ) { + NSRunAlertPanel(@"Error", @"There is already a favorite with the same host, user and database!", @"OK", nil, nil); + return; + } + } +*/ + count++; + } + } + + [NSApp stopModalWithCode:[sender tag]]; +} + +/* +enables/disables ssh tunneling +*/ +- (IBAction)toggleUseSSH:(id)sender +{ + if ( [sshCheckbox state] == NSOnState ) { + [sshUserField setEnabled:YES]; + [sshPasswordField setEnabled:YES]; + [sshHostField setEnabled:YES]; + [sshPortField setEnabled:YES]; + } else { + [sshUserField setEnabled:NO]; + [sshPasswordField setEnabled:NO]; + [sshHostField setEnabled:NO]; + [sshPortField setEnabled:NO]; + } +} + +#pragma mark Services menu methods + +/* +passes the query to the last created document +*/ +- (void)doPerformQueryService:(NSPasteboard *)pboard userData:(NSString *)data error:(NSString **)error +{ + NSString *pboardString; + NSArray *types; + + types = [pboard types]; + + if (![types containsObject:NSStringPboardType] || !(pboardString = [pboard stringForType:NSStringPboardType])) { + *error = @"Pasteboard couldn't give string."; + return; + } + + //check if there exists a document + if ( ![[[NSDocumentController sharedDocumentController] documents] count] ) { + *error = @"No Documents open!"; + return; + } + + //pass query to last created document +// [[[NSDocumentController sharedDocumentController] currentDocument] doPerformQueryService:pboardString]; + [[[[NSDocumentController sharedDocumentController] documents] objectAtIndex:[[[NSDocumentController sharedDocumentController] documents] count]-1] doPerformQueryService:pboardString]; + + return; +} + + +#pragma mark Sequel Pro menu methods + +/* +opens donate link in default browser +*/ +- (IBAction)donate:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://code.google.com/p/sequel-pro/wiki/Donations"]]; +} + +/* +opens website link in default browser +*/ +- (IBAction)visitWebsite:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://code.google.com/p/sequel-pro"]]; +} + +/* +opens help link in default browser +*/ +- (IBAction)visitHelpWebsite:(id)sender +{ + [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"http://code.google.com/p/sequel-pro/wiki/FAQ"]]; +} + +/* +checks for updates and opens download page in default browser +*/ +- (IBAction)checkForUpdates:(id)sender +{ + NSLog(@"[MainController checkForUpdates:] is not currently functional."); +} + + +#pragma mark TableView datasource methods + +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + return [favorites count]; +} + +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + return [[favorites objectAtIndex:rowIndex] objectForKey:[aTableColumn identifier]]; +} + + +#pragma mark TableView drag & drop datasource methods + +- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard +{ + int originalRow; + NSArray *pboardTypes; + + if ( [rows count] == 1 ) { + pboardTypes=[NSArray arrayWithObjects:@"SequelProPreferencesPasteboard", nil]; + originalRow = [[rows objectAtIndex:0] intValue]; + + [pboard declareTypes:pboardTypes owner:nil]; + [pboard setString:[[NSNumber numberWithInt:originalRow] stringValue] forType:@"SequelProPreferencesPasteboard"]; + + return YES; + } else { + return NO; + } +} + +- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id <NSDraggingInfo>)info proposedRow:(int)row + proposedDropOperation:(NSTableViewDropOperation)operation +{ + NSArray *pboardTypes = [[info draggingPasteboard] types]; + int originalRow; + + if ([pboardTypes count] == 1 && row != -1) + { + if ([[pboardTypes objectAtIndex:0] isEqualToString:@"SequelProPreferencesPasteboard"]==YES && operation==NSTableViewDropAbove) + { + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPreferencesPasteboard"] intValue]; + + if (row != originalRow && row != (originalRow+1)) + { + return NSDragOperationMove; + } + } + } + + return NSDragOperationNone; +} + +- (BOOL)tableView:(NSTableView*)tv acceptDrop:(id <NSDraggingInfo>)info row:(int)row dropOperation:(NSTableViewDropOperation)operation +{ + int originalRow; + int destinationRow; + NSMutableDictionary *draggedRow; + + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPreferencesPasteboard"] intValue]; + destinationRow = row; + + if ( destinationRow > originalRow ) + destinationRow--; + + draggedRow = [NSMutableDictionary dictionaryWithDictionary:[favorites objectAtIndex:originalRow]]; + [favorites removeObjectAtIndex:originalRow]; + [favorites insertObject:draggedRow atIndex:destinationRow]; + + [tableView reloadData]; + [tableView selectRow:destinationRow byExtendingSelection:NO]; + + return YES; +} + +/* + opens sheet to edit favorite and saves favorite if user hit OK + */ +- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex +{ + int code; + NSDictionary *favorite = [favorites objectAtIndex:rowIndex]; + + // set up fields + [nameField setStringValue:[favorite objectForKey:@"name"]]; + [hostField setStringValue:[favorite objectForKey:@"host"]]; + [socketField setStringValue:[favorite objectForKey:@"socket"]]; + [userField setStringValue:[favorite objectForKey:@"user"]]; + [portField setStringValue:[favorite objectForKey:@"port"]]; + [databaseField setStringValue:[favorite objectForKey:@"database"]]; + [passwordField setStringValue:[keyChainInstance getPasswordForName:[NSString stringWithFormat:@"Sequel Pro : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], [databaseField stringValue]]]]; + + // set up ssh fields + if ( [[favorite objectForKey:@"useSSH"] intValue] == 1 ) { + [sshCheckbox setState:NSOnState]; + [sshUserField setEnabled:YES]; + [sshPasswordField setEnabled:YES]; + [sshHostField setEnabled:YES]; + [sshPortField setEnabled:YES]; + [sshHostField setStringValue:[favorite objectForKey:@"sshHost"]]; + [sshUserField setStringValue:[favorite objectForKey:@"sshUser"]]; + [sshPortField setStringValue:[favorite objectForKey:@"sshPort"]]; + [sshPasswordField setStringValue:[keyChainInstance getPasswordForName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], [databaseField stringValue]]]]; + } else { + [sshCheckbox setState:NSOffState]; + [sshUserField setEnabled:NO]; + [sshPasswordField setEnabled:NO]; + [sshHostField setEnabled:NO]; + [sshPortField setEnabled:NO]; + [sshHostField setStringValue:@""]; + [sshUserField setStringValue:@""]; + [sshPortField setStringValue:@""]; + [sshPasswordField setStringValue:@""]; + } + + // run sheet + [NSApp beginSheet:favoriteSheet + modalForWindow:preferencesWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + code = [NSApp runModalForWindow:favoriteSheet]; + + [NSApp endSheet:favoriteSheet]; + [favoriteSheet orderOut:nil]; + + if ( code == 1 ) { + if ( ![[socketField stringValue] isEqualToString:@""] ) { + //set host to localhost if socket is used + [hostField setStringValue:@"localhost"]; + } + + //get ssh settings + NSString *sshHost, *sshUser, *sshPassword, *sshPort; + NSNumber *ssh; + if ( [sshCheckbox state] == NSOnState ) { + if ( [[sshHostField stringValue] isEqualToString:@""] ) { + sshHost = [hostField stringValue]; + } else { + sshHost = [sshHostField stringValue]; + } + if ( [[sshUserField stringValue] isEqualToString:@""] ) { + sshUser = [userField stringValue]; + } else { + sshUser = [sshUserField stringValue]; + } + if ( [[sshPasswordField stringValue] isEqualToString:@""] ) { + sshPassword = [passwordField stringValue]; + } else { + sshPassword = [sshPasswordField stringValue]; + } + if ( [[sshPortField stringValue] isEqualToString:@""] ) { + sshPort = [portField stringValue]; + } else { + sshPort = [sshPortField stringValue]; + } + ssh = [NSNumber numberWithInt:1]; + } else { + sshHost = @""; + sshUser = @""; + sshPassword = @""; + sshPort = @""; + ssh = [NSNumber numberWithInt:0]; + } + + //replace password + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro : %@", [favorite objectForKey:@"name"]] + account:[NSString stringWithFormat:@"%@@%@/%@", [favorite objectForKey:@"user"], [favorite objectForKey:@"host"], [favorite objectForKey:@"database"]]]; + + if ( ![[passwordField stringValue] isEqualToString:@""] ) + [keyChainInstance addPassword:[passwordField stringValue] + forName:[NSString stringWithFormat:@"Sequel Pro : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], [databaseField stringValue]]]; + + //replace ssh password + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", [favorite objectForKey:@"name"]] + account:[NSString stringWithFormat:@"%@@%@/%@", [favorite objectForKey:@"user"], [favorite objectForKey:@"host"], [favorite objectForKey:@"database"]]]; + + if ( ([sshCheckbox state] == NSOnState) && ![sshPassword isEqualToString:@""] ) { + [keyChainInstance addPassword:sshPassword + forName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", [nameField stringValue]] + account:[NSString stringWithFormat:@"%@@%@/%@", [userField stringValue], [hostField stringValue], + [databaseField stringValue]]]; + } + + //replace favorite + favorite = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[nameField stringValue], [hostField stringValue], [socketField stringValue], [userField stringValue], [portField stringValue], [databaseField stringValue], ssh, sshHost, sshUser, sshPort, nil] + forKeys:[NSArray arrayWithObjects:@"name", @"host", @"socket", @"user", @"port", @"database", @"useSSH", @"sshHost", @"sshUser", @"sshPort", nil]]; + [favorites replaceObjectAtIndex:rowIndex withObject:favorite]; + [tableView reloadData]; + } + + return NO; +} + + +#pragma mark Window delegate methods + +/* + saves the preferences + */ +- (BOOL)windowShouldClose:(id)sender +{ + if ( sender == preferencesWindow ) { + if ( [reloadAfterAddingSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"reloadAfterAdding"]; + } else { + [prefs setBool:NO forKey:@"reloadAfterAdding"]; + } + if ( [reloadAfterEditingSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"reloadAfterEditing"]; + } else { + [prefs setBool:NO forKey:@"reloadAfterEditing"]; + } + if ( [reloadAfterRemovingSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"reloadAfterRemoving"]; + } else { + [prefs setBool:NO forKey:@"reloadAfterRemoving"]; + } + if ( [showErrorSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"showError"]; + } else { + [prefs setBool:NO forKey:@"showError"]; + } + if ( [dontShowBlobSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"dontShowBlob"]; + } else { + [prefs setBool:NO forKey:@"dontShowBlob"]; + } + if ( [limitRowsSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"limitRows"]; + } else { + [prefs setBool:NO forKey:@"limitRows"]; + } + if ( [useMonospacedFontsSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"useMonospacedFonts"]; + } else { + [prefs setBool:NO forKey:@"useMonospacedFonts"]; + } + if ( [fetchRowCountSwitch state] == NSOnState ) { + [prefs setBool:YES forKey:@"fetchRowCount"]; + } else { + [prefs setBool:NO forKey:@"fetchRowCount"]; + } + [prefs setObject:[nullValueField stringValue] forKey:@"nullValue"]; + if ( [limitRowsField intValue] > 0 ) { + [prefs setInteger:[limitRowsField intValue] forKey:@"limitRowsValue"]; + } else { + [prefs setInteger:1 forKey:@"limitRowsValue"]; + } + [prefs setObject:[encodingPopUpButton titleOfSelectedItem] forKey:@"encoding"]; + + [prefs setObject:favorites forKey:@"favorites"]; + } + return YES; +} + + +#pragma mark Other methods + +- (void)awakeFromNib +{ + NSEnumerator *enumerator; + id favorite; + NSString *name, *host, *user, *database, *password; + //int code; + + //register MainController as services provider + [NSApp setServicesProvider:self]; + + //register MainController for AppleScript events + [[ NSScriptExecutionContext sharedScriptExecutionContext] setTopLevelObject: self ]; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + isNewFavorite = NO; + [prefs registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys: + [NSNumber numberWithBool:YES], @"limitRows", + [NSNumber numberWithInt:1000], @"limitRowsValue", + nil]]; + + //set standard preferences if no preferences are found + if ( [prefs objectForKey:@"reloadAfterAdding"] == nil ) + { + [prefs setObject:@"0.3" forKey:@"version"]; + [prefs setBool:YES forKey:@"reloadAfterAdding"]; + [prefs setBool:YES forKey:@"reloadAfterEditing"]; + [prefs setBool:NO forKey:@"reloadAfterRemoving"]; + [prefs setObject:@"NULL" forKey:@"nullValue"]; + //[prefs setBool:YES forKey:@"showError"]; + //[prefs setBool:NO forKey:@"dontShowBlob"]; + //[prefs setBool:NO forKey:@"limitRows"]; + //[prefs setInteger:100 forKey:@"limitRowsValue"]; + //[prefs setObject:[NSString stringWithString:NSHomeDirectory()] forKey:@"savePath"]; + //[prefs setObject:[NSString stringWithString:NSHomeDirectory()] forKey:@"openPath"]; + } + + //new preferences and changes in v0.4 + if ( [prefs objectForKey:@"showError"] == nil ) { + [prefs setObject:@"0.4" forKey:@"version"]; + + //set standard values for new preferences + [prefs setBool:YES forKey:@"showError"]; + [prefs setBool:NO forKey:@"dontShowBlob"]; + //[prefs setBool:NO forKey:@"limitRows"]; + //[prefs setInteger:100 forKey:@"limitRowsValue"]; + [prefs setObject:[NSString stringWithString:NSHomeDirectory()] forKey:@"savePath"]; + [prefs setObject:[NSString stringWithString:NSHomeDirectory()] forKey:@"openPath"]; + + //remove old preferences + [prefs removeObjectForKey:@"allowDragAndDropReordering"]; + + //rewrite passwords to keychain (with new format) + if ( [prefs objectForKey:@"favorites"] ) { + NSRunAlertPanel(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"With version 0.4 Sequel Pro has introduced a new format to save passwords in the Keychain.\nPlease allow Sequel Pro to decrypt all passwords of your favorites. Otherwise you have to reenter all passwords of your saved favorites in the Preferences.", @"message of panel when passwords have to be updated for v0.4"), NSLocalizedString(@"OK", @"OK button"), nil, nil); + enumerator = [[prefs objectForKey:@"favorites"] objectEnumerator]; + + while ( (favorite = [enumerator nextObject]) ) { + //replace password + name = [favorite objectForKey:@"name"]; + host = [favorite objectForKey:@"host"]; + user = [favorite objectForKey:@"user"]; + database = [favorite objectForKey:@"database"]; + password = [keyChainInstance getPasswordForName:[NSString stringWithFormat:@"%@/%@", host, database] + account:user]; + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"%@/%@", host, database] account:user]; + if ( ![password isEqualToString:@""] ) + [keyChainInstance addPassword:password + forName:[NSString stringWithFormat:@"Sequel Pro : %@", name] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + } + } + } + + //new preferences and changes in v0.5 + if ( [[prefs objectForKey:@"version"] isEqualToString:@"0.4"] ) { + [prefs setObject:@"0.5" forKey:@"version"]; + + //set standard values for new preferences + [prefs setObject:@"ISO Latin 1" forKey:@"encoding"]; + [prefs setBool:NO forKey:@"useMonospacedFonts"]; + + //add socket field to favorites + if ( [prefs objectForKey:@"favorites"] ) { + NSMutableArray *tempFavorites = [NSMutableArray array]; + NSMutableDictionary *tempFavorite; + enumerator = [[prefs objectForKey:@"favorites"] objectEnumerator]; + while ( (favorite = [enumerator nextObject]) ) { + tempFavorite = [NSMutableDictionary dictionaryWithDictionary:favorite]; + [tempFavorite setObject:@"" forKey:@"socket"]; + [tempFavorites addObject:[NSDictionary dictionaryWithDictionary:tempFavorite]]; + } + [prefs setObject:tempFavorites forKey:@"favorites"]; + } + } + + //new preferences and changes in v0.7 + if ( [[prefs objectForKey:@"version"] isEqualToString:@"0.5"] || + [[prefs objectForKey:@"version"] isEqualToString:@"0.6beta"] || + [[prefs objectForKey:@"version"] isEqualToString:@"0.7b2"] ) + { + [prefs setObject:@"0.7b3" forKey:@"version"]; + [prefs setObject:@"Autodetect" forKey:@"encoding"]; + [prefs setBool:YES forKey:@"fetchRowCount"]; + } + +//set up interface +/* + enumerator = [tableColumns objectEnumerator]; + while ( (column = [enumerator nextObject]) ) + { + [[column dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } +*/ + [tableView registerForDraggedTypes:[NSArray arrayWithObjects:@"SequelProPreferencesPasteboard", nil]]; + [tableView reloadData]; +} + + +// SSHTunnel methods +- (id)authenticate:(NSScriptCommand *)command { + NSDictionary *args = [command evaluatedArguments]; + NSString *givenQuery = [ args objectForKey:@"query"]; + NSString *tunnelName = [ args objectForKey:@"tunnelName"]; + NSString *fifo = [ args objectForKey:@"fifo"]; + + NSLog(@"tunnel: %@ / query: %@ / fifo: %@",tunnelName,givenQuery,fifo); + NSFileHandle *fh = [ NSFileHandle fileHandleForWritingAtPath: fifo ]; + [ fh writeData: [ @"xy" dataUsingEncoding: NSASCIIStringEncoding]]; + [ fh closeFile ]; + + NSLog(@"password written"); + return @"OK"; + +/* + [ query setStringValue: givenQuery ]; + [NSApp beginSheet: alertSheet + modalForWindow: mainWindow + modalDelegate: nil + didEndSelector: nil + contextInfo: nil]; + [NSApp runModalForWindow: alertSheet]; + // Sheet is up here. + [NSApp endSheet: alertSheet]; + [alertSheet orderOut: self]; + if ( sheetStatus == 0) + { + password = [ passwd stringValue ]; + [ passwd setStringValue: @"" ]; + return password ; + } + else + { + [[tunnelTask objectForKey: @"task" ] terminate ]; + } + sheetStatus = nil; + return @""; +*/ +} + +- (id)handleQuitScriptCommand:(NSScriptCommand *)command +/* what exactly is this for? */ +{ + [ NSApp terminate: self ]; +} + +@end diff --git a/trunk/SPGrowlController.h b/trunk/SPGrowlController.h new file mode 100644 index 00000000..2ad73e8b --- /dev/null +++ b/trunk/SPGrowlController.h @@ -0,0 +1,34 @@ +// +// SPGrowlController.h +// sequel-pro +// +// Created by Stuart Connolly (stuconnolly.com) on Nov 28, 2008 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + +#import <Cocoa/Cocoa.h> +#import <Growl/Growl.h> + +@interface SPGrowlController : NSObject <GrowlApplicationBridgeDelegate> + +// Singleton controller ++ (SPGrowlController *)sharedGrowlController; + +// Post notification +- (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)name; + +@end diff --git a/trunk/SPGrowlController.m b/trunk/SPGrowlController.m new file mode 100644 index 00000000..3f429067 --- /dev/null +++ b/trunk/SPGrowlController.m @@ -0,0 +1,123 @@ +// +// SPGrowlController.m +// sequel-pro +// +// Created by Stuart Connolly (stuconnolly.com) on Nov 28, 2008 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + +#import "SPGrowlController.h" + +static SPGrowlController *sharedGrowlController = nil; + +@implementation SPGrowlController + +// ------------------------------------------------------------------------------- +// sharedGrowlController +// +// Returns the shared Growl controller. +// ------------------------------------------------------------------------------- ++ (SPGrowlController *)sharedGrowlController +{ + @synchronized(self) { + if (sharedGrowlController == nil) { + [[self alloc] init]; + } + } + + return sharedGrowlController; +} + +// ------------------------------------------------------------------------------- +// allocWithZone: +// ------------------------------------------------------------------------------- ++ (id)allocWithZone:(NSZone *)zone +{ + @synchronized(self) { + if (sharedGrowlController == nil) { + sharedGrowlController = [super allocWithZone:zone]; + + return sharedGrowlController; + } + } + + return nil; // On subsequent allocation attempts return nil +} + +// ------------------------------------------------------------------------------- +// init +// ------------------------------------------------------------------------------- +- (id)init +{ + if (self = [super init]) { + [GrowlApplicationBridge setGrowlDelegate:self]; + } + + return self; +} + +// ------------------------------------------------------------------------------- +// The following base protocol methods are implemented to ensure the singleton +// status of this class. +// ------------------------------------------------------------------------------- + +- (id)copyWithZone:(NSZone *)zone { return self; } + +- (id)retain { return self; } + +- (unsigned)retainCount { return UINT_MAX; } + +- (id)autorelease { return self; } + +- (void)release { } + +// ------------------------------------------------------------------------------- +// notifyWithTitle:description:notificationName: +// +// Posts a Growl notification using the supplied details and default values. +// ------------------------------------------------------------------------------- +- (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)name +{ + // Post notification + [GrowlApplicationBridge notifyWithTitle:title + description:description + notificationName:name + iconData:nil + priority:0 + isSticky:NO + clickContext:nil]; +} + +// ------------------------------------------------------------------------------- +// notifyWithTitle:description:notificationName: +// +// Posts a Growl notification using the supplied details and effectively ignoring +// the default values. +// ------------------------------------------------------------------------------- +- (void)notifyWithTitle:(NSString *)title description:(NSString *)description notificationName:(NSString *)name iconData:(NSData *)data priority:(int)priority isSticky:(BOOL)sticky clickContext:(id)clickContext +{ + // Post notification + [GrowlApplicationBridge notifyWithTitle:title + description:description + notificationName:name + iconData:data + priority:priority + isSticky:sticky + clickContext:clickContext]; +} + +@end diff --git a/trunk/SPTableInfo.h b/trunk/SPTableInfo.h new file mode 100644 index 00000000..0613794c --- /dev/null +++ b/trunk/SPTableInfo.h @@ -0,0 +1,24 @@ +// +// SPTableInfo.h +// sequel-pro +// +// Created by Ben Perry on 6/05/08. +// Copyright 2008 Ben Perry. All rights reserved. +// + +#import <Cocoa/Cocoa.h> + + +@interface SPTableInfo : NSObject { + IBOutlet id infoTable; + IBOutlet id tableList; + IBOutlet id tableListInstance; + IBOutlet id tableDocumentInstance; + + NSMutableArray *info; +} + +- (NSString *)sizeFromBytes:(int)bytes; + + +@end diff --git a/trunk/SPTableInfo.m b/trunk/SPTableInfo.m new file mode 100644 index 00000000..5e777429 --- /dev/null +++ b/trunk/SPTableInfo.m @@ -0,0 +1,180 @@ +// +// SPTableInfo.m +// sequel-pro +// +// Created by Ben Perry on 6/05/08. +// Copyright 2008 Ben Perry. All rights reserved. +// + +#import "SPTableInfo.h" +#import "ImageAndTextCell.h" +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPConnection.h" +#import "CMMCPResult.h" +#import "TableDocument.h" + +@implementation SPTableInfo + +- (id)init +{ + self = [super init]; + info = [[NSMutableArray alloc] init]; + return self; +} + +- (void)awakeFromNib +{ + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(tableChanged:) + name:NSTableViewSelectionDidChangeNotification + object:tableList]; + [info addObject:NSLocalizedString(@"TABLE INFORMATION",@"header for table info pane")]; + [infoTable reloadData]; +} + + +- (void)dealloc +{ + [[NSNotificationCenter defaultCenter] removeObserver:self]; + + [info release]; + + [super dealloc]; +} + +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + return [info count]; +} + +- (id)tableView:(NSTableView *)aTableView +objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + return [info objectAtIndex:rowIndex]; +} + +- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex +{ + // row 1 and 6 should be editable - ie be able to rename the table and change the auto_increment value. + return NO;//(rowIndex == 1 || rowIndex == 6 ); +} + + +- (BOOL)tableView:(NSTableView *)aTableView isGroupRow:(int)row +{ + // This makes the top row (TABLE INFORMATION) have the diff styling + return (row == 0); +} + +- (void)tableView:(NSTableView *)aTableView + willDisplayCell:(id)aCell + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ((rowIndex > 0) && [[aTableColumn identifier] isEqualToString:@"info"]) { + [(ImageAndTextCell*)aCell setImage:[NSImage imageNamed:@"CodeAssistantProtocol"]]; + [(ImageAndTextCell*)aCell setIndentationLevel:1]; + } else { + [(ImageAndTextCell*)aCell setImage:nil]; + [(ImageAndTextCell*)aCell setIndentationLevel:0]; + } +} + +- (void)tableChanged:(NSNotification *)notification +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + [info removeAllObjects]; + [info addObject:@"TABLE INFORMATION"]; + + if ([tableListInstance table]) + { + if ([(NSString *)[tableListInstance table] isEqualToString:@""]) { + [info addObject:@"multiple tables"]; + + } else { + // Notify that we are about to perform a query + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + // Create the query and get results + query = [NSString stringWithFormat:@"SHOW TABLE STATUS LIKE '%@'", [tableListInstance table]]; + + // This line triggers a bug when opening a new window. but only after having closed a window + theResult = [[tableDocumentInstance sharedConnection] queryString:query]; + + // Check for errors + if (![[[tableDocumentInstance sharedConnection] getLastErrorMessage] isEqualToString:@""]) { + [info addObject:@"error occurred"]; + return; + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + + // Add the table name to the infoTable + [info addObject:[NSString stringWithFormat:@"name: %@", [tableListInstance table]]]; + + // Check for "Create_time" == NULL + if (![[theRow objectForKey:@"Create_time"] isNSNull]) { + // Setup our data formatter + NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; + [dateFormatter setDateStyle:NSDateFormatterShortStyle]; + [dateFormatter setTimeStyle:NSDateFormatterNoStyle]; + + // Convert our string dates from the results to NSDates. + NSDate *create_date = [NSDate dateWithNaturalLanguageString:[theRow objectForKey:@"Create_time"]]; + NSDate *update_date = [NSDate dateWithNaturalLanguageString:[theRow objectForKey:@"Update_time"]]; + + // Add the create date and update date to the infoTable + [info addObject:[NSString stringWithFormat:@"created: %@", [dateFormatter stringFromDate:create_date]]]; + [info addObject:[NSString stringWithFormat:@"updated: %@", [dateFormatter stringFromDate:update_date]]]; + } + + [info addObject:[NSString stringWithFormat:@"rows: %@", [theRow objectForKey:@"Rows"]]]; + [info addObject:[NSString stringWithFormat:@"size: %@", [self sizeFromBytes:[[theRow objectForKey:@"Data_length"] intValue]]]]; + [info addObject:[NSString stringWithFormat:@"auto_increment: %@", [theRow objectForKey:@"Auto_increment"]]]; + + // Notify that we've finished performing the query + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + } + } + + [infoTable reloadData]; +} + +- (NSString *)sizeFromBytes:(int)theSize +{ + NSNumberFormatter *numberFormatter = [[[NSNumberFormatter alloc] init] autorelease]; + float floatSize = theSize; + + [numberFormatter setNumberStyle:NSNumberFormatterDecimalStyle]; + + if (theSize < 1023) { + [numberFormatter setFormat:@"#,##0 B"]; + return [numberFormatter stringFromNumber:[NSNumber numberWithInt:theSize]]; + } + + floatSize = floatSize / 1024; + + if (floatSize < 1023) { + [numberFormatter setFormat:@"#,##0.0 KB"]; + return [numberFormatter stringFromNumber:[NSNumber numberWithFloat:floatSize]]; + } + + floatSize = floatSize / 1024; + + if (floatSize < 1023) { + [numberFormatter setFormat:@"#,##0.0 MB"]; + return [numberFormatter stringFromNumber:[NSNumber numberWithFloat:floatSize]]; + } + + floatSize = floatSize / 1024; + + [numberFormatter setFormat:@"#,##0.0 GB"]; + return [numberFormatter stringFromNumber:[NSNumber numberWithFloat:floatSize]]; +} + +@end diff --git a/trunk/SSHTunnel.h b/trunk/SSHTunnel.h new file mode 100644 index 00000000..ffe29624 --- /dev/null +++ b/trunk/SSHTunnel.h @@ -0,0 +1,57 @@ +#import <Cocoa/Cocoa.h> + +@interface SSHTunnel : NSObject +{ + int code; + NSArray *tunnelsLocal; + NSArray *tunnelsRemote; + + BOOL shouldStop; + NSTask *task; + BOOL connAuth; + BOOL autoConnect; + NSPipe *stdErrPipe; + NSString *connName; + NSString *status; + NSString *connPort; + BOOL connRemote; + BOOL compression; + BOOL v1; + NSString * encryption; + BOOL socks4; + NSNumber *socks4p; + NSString *connUser; + NSString *connHost; +} +-(id)initWithName:(NSString*)aName; +-(id)initWithDictionary:(NSDictionary*)aDictionary; ++(id)tunnelWithName:(NSString*)aName; ++(NSArray*)tunnelsFromArray:(NSArray*)anArray; + +-(void)addLocalTunnel:(NSDictionary*)aDictionary; +- (void)removeLocal:(int)index; +-(void)addRemoteTunnel:(NSDictionary*)aDictionary; +- (void)removeRemote:(int)index; +- (void)setLocalValue:(NSString*)aValue ofTunnel:(int)index forKey:(NSString*)key; +- (void)setRemoteValue:(NSString*)aValue ofTunnel:(int)index forKey:(NSString*)key; + +#pragma mark - +#pragma mark Execution related +- (void)startTunnel; +- (void)stopTunnel; +- (void)toggleTunnel; +- (void)launchTunnel:(id)foo; +- (void)stdErr:(NSNotification*)aNotification; +- (BOOL)isRunning; + +#pragma mark - +#pragma mark Getting tunnel informations +- (NSString*)status; +- (NSArray*)arguments; +- (NSDictionary*)dictionary; + +#pragma mark - +#pragma mark Key/Value coding +- (NSImage*)icon; + +@end diff --git a/trunk/SSHTunnel.m b/trunk/SSHTunnel.m new file mode 100755 index 00000000..617db8a7 --- /dev/null +++ b/trunk/SSHTunnel.m @@ -0,0 +1,531 @@ +// +// SSHTunnel.m +// SSH Tunnel Manager 2 +// +// Created by Yann Bizeul on Wed Nov 19 2003. +// Copyright (c) 2003 __MyCompanyName__. All rights reserved. +// + +#import "SSHTunnel.h" +#include <unistd.h> + +// start diff lorenz textor +/* +#define T_START NSLocalizedString(@"T_START",@"") +#define T_STOP NSLocalizedString(@"T_STOP",@"") +#define S_IDLE NSLocalizedString(@"S_IDLE",@"") +#define S_CONNECTING NSLocalizedString(@"S_CONNECTING",@"") +#define S_CONNECTED NSLocalizedString(@"S_CONNECTED",@"") +#define S_AUTH NSLocalizedString(@"S_AUTH",@"") +#define S_PORT NSLocalizedString(@"S_PORT",@"") +*/ +#define T_START @"START: %@" +#define T_STOP @"STOP: %@" +#define S_IDLE @"Idle" +#define S_CONNECTING @"Connecting..." +#define S_CONNECTED @"Connected" +#define S_AUTH @"Authenticated" +#define S_PORT "Port %@ forwarded" +// end diff lorenz textor + +@implementation SSHTunnel + +#pragma mark - +#pragma mark Initialization +-(id)init +{ + return [ self initWithName:@"New Tunnel"]; +} +-(id)initWithName:(NSString*)aName +{ + NSDictionary *dictionary = [ NSDictionary dictionaryWithObjectsAndKeys: + [ NSNumber numberWithBool: NO ],@"compression", + [ NSNumber numberWithBool: YES ],@"connAuth", + @"", @"connHost", + aName, @"connName", + @"", @"connPort", + [ NSNumber numberWithBool: NO ],@"connRemote", + @"", @"connUser", + @"3des", @"encryption", + [ NSNumber numberWithBool: NO ],@"socks4", + [ NSNumber numberWithInt: 1080 ], @"socks4p", + [ NSArray array ], @"tunnelsLocal", + [ NSArray array ], @"tunnelsRemote", + [ NSNumber numberWithBool: NO ],@"v1", nil + ]; + return [ self initWithDictionary: dictionary ]; +} +-(id)initWithDictionary:(NSDictionary*)aDictionary +{ + NSEnumerator *e; + NSString *key; + + self = [ super init ]; + e = [[ aDictionary allKeys ] objectEnumerator ]; + while (key = [ e nextObject ]) + { + [ self setValue: [ aDictionary objectForKey: key ] forKey: key ]; + } + code = 0; + if ([[ self valueForKey: @"autoConnect" ] boolValue ]) + [ self startTunnel ]; + return self; +} ++(id)tunnelWithName:(NSString*)aName +{ + return [[ SSHTunnel alloc ] initWithName: aName ]; +} ++(SSHTunnel*)tunnelFromDictionary:(NSDictionary*)aDictionary +{ + return [[ SSHTunnel alloc ] initWithDictionary: aDictionary ]; +} ++(NSArray*)tunnelsFromArray:(NSArray*)anArray +{ + NSMutableArray *newArray; + SSHTunnel *currentTunnel; + NSEnumerator *e; + NSDictionary *currentTunnelDictionary; + + newArray = [ NSMutableArray array ]; + e = [ anArray objectEnumerator ]; + while (currentTunnelDictionary = [ e nextObject ]) + { + currentTunnel = [ SSHTunnel tunnelFromDictionary: currentTunnelDictionary ]; + [ newArray addObject: currentTunnel ]; + } + return [[ newArray copy ] autorelease ]; +} + +#pragma mark - +#pragma mark Adding and removing port redir. +-(void)addLocalTunnel:(NSDictionary*)aDictionary; +{ + NSMutableArray *tempTunnelsLocal = [ NSMutableArray arrayWithArray: tunnelsLocal ]; + [ tempTunnelsLocal addObject: aDictionary ]; + [ tunnelsLocal release ]; + tunnelsLocal = [ tempTunnelsLocal copy ]; +} +- (void)removeLocal:(int)index +{ + NSMutableArray *tempLocalTunnels = [ tunnelsLocal mutableCopy ]; + [ tempLocalTunnels removeObjectAtIndex: index ]; + [ tunnelsLocal release ]; + tunnelsLocal = [ tempLocalTunnels copy ]; + [ tempLocalTunnels release ]; +} +-(void)addRemoteTunnel:(NSDictionary*)aDictionary; +{ + NSMutableArray *tempTunnelsRemote = [ NSMutableArray arrayWithArray: tunnelsRemote ]; + [ tempTunnelsRemote addObject: aDictionary ]; + [ tunnelsRemote release ]; + tunnelsRemote = [ tempTunnelsRemote copy ]; +} +- (void)removeRemote:(int)index +{ + NSMutableArray *tempRemoteTunnels = [ tunnelsRemote mutableCopy ]; + [ tempRemoteTunnels removeObjectAtIndex: index ]; + [ tunnelsRemote release ]; + tunnelsRemote = [ tempRemoteTunnels copy ]; + [ tempRemoteTunnels release ]; +} +- (void)setLocalValue:(NSString*)aValue ofTunnel:(int)index forKey:(NSString*)key +{ + NSMutableArray *tempLocalTunnel; + NSMutableDictionary *tempCurrentTunnel; + + tempLocalTunnel = [tunnelsLocal mutableCopy]; + tempCurrentTunnel = [[ tempLocalTunnel objectAtIndex: index ] mutableCopy ]; + + [ tempCurrentTunnel setObject: aValue forKey: key ]; + [ tempLocalTunnel replaceObjectAtIndex:index withObject:[tempCurrentTunnel copy ]]; + [ tempCurrentTunnel release ]; + [ tunnelsLocal release ]; + tunnelsLocal = [ tempLocalTunnel copy ]; +} +- (void)setRemoteValue:(NSString*)aValue ofTunnel:(int)index forKey:(NSString*)key +{ + NSMutableArray *tempRemoteTunnel; + NSMutableDictionary *tempCurrentTunnel; + + tempRemoteTunnel = [tunnelsRemote mutableCopy]; + tempCurrentTunnel = [[ tempRemoteTunnel objectAtIndex: index ] mutableCopy ]; + + [ tempCurrentTunnel setObject: aValue forKey: key ]; + [ tempRemoteTunnel replaceObjectAtIndex:index withObject:[tempCurrentTunnel copy ]]; + [ tempCurrentTunnel release ]; + [ tunnelsRemote release ]; + tunnelsRemote = [ tempRemoteTunnel copy ]; +} + +#pragma mark - +#pragma mark Execution related +- (void)startTunnel +{ +// NSDictionary *t; +// NSEnumerator *e; +// BOOL asRoot = NO; + + if ([ self isRunning ]) + return; + + shouldStop = NO; + /* + [ arguments addObject: @"-N" ]; + [ arguments addObject: @"-v" ]; + [ arguments addObject: @"-p" ]; + if ([ connPort length ]) + [ arguments addObject: connPort]; + else + [ arguments addObject: @"22" ]; + + if (connRemote) + [ arguments addObject: @"-g" ]; + if (compression) + [ arguments addObject: @"-C" ]; + if (v1) + [ arguments addObject: @"-1" ]; + + [ arguments addObject: @"-c"]; + if (encryption) + [ arguments addObject: encryption]; + else + [ arguments addObject: @"3des"]; + + if (socks4 && socks4p != nil) + { + [ arguments addObject: @"-D" ]; + [ arguments addObject: [ socks4p stringValue ]]; + } + [ arguments addObject: [ NSString stringWithFormat: @"%@@%@", + connUser, connHost ] + ]; + + NSString *hostPort; + e = [ tunnelsLocal objectEnumerator ]; + while (t = [ e nextObject ]) + { + [ arguments addObject: @"-L" ]; + if ([[ t objectForKey:@"hostport"] isEqualTo: @"" ]) + hostPort = [ t objectForKey:@"port" ]; + else + hostPort = [ t objectForKey:@"hostport" ]; + [ arguments addObject: [NSString stringWithFormat:@"%@/%@/%@", + [ t objectForKey:@"port"], + [ t objectForKey:@"host"], + hostPort + ] ]; + if ([[ t objectForKey:@"port"] intValue] < 1024) + asRoot=YES; + } + + e = [ tunnelsRemote objectEnumerator ]; + while (t = [ e nextObject ]) + { + [ arguments addObject: @"-R" ]; + if ([[ t objectForKey:@"hostport"] isEqualTo: @"" ]) + hostPort = [ t objectForKey:@"port" ]; + else + hostPort = [ t objectForKey:@"hostport" ]; + [ arguments addObject: [NSString stringWithFormat:@"%@/%@/%@", + [ t objectForKey:@"port"], + [ t objectForKey:@"host"], + hostPort + ]]; + } + args = [ NSMutableDictionary dictionary ]; + [ args setObject: arguments forKey:@"arguments" ]; + [ args setObject: [ NSNumber numberWithBool: connAuth ] forKey: @"handleAuth" ]; + [ args setObject: connName forKey:@"tunnelName" ]; + [ args setObject: [ NSNumber numberWithBool: asRoot ] forKey: @"asRoot" ]; + + + [ NSThread detachNewThreadSelector:@selector(launchTunnel:) + toTarget: self + withObject: args ]; + */ + [ NSThread detachNewThreadSelector:@selector(launchTunnel:) + toTarget: self + withObject: nil ]; +// [ arguments release ]; + +} +- (void)stopTunnel +{ + if (! [ self isRunning ]) + return; + shouldStop=YES; + [ self setValue: nil forKey: @"status" ]; + [ task terminate ]; + code = 0; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; +} + +- (void)toggleTunnel +{ + if ([ self isRunning ]) + [ self stopTunnel ]; + else + [ self startTunnel ]; +} + +- (void)launchTunnel:(id)foo; +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + + if (task) + [ task release ]; + task = [[ NSTask alloc ] init ]; + NSMutableDictionary *environment = [ NSMutableDictionary dictionaryWithDictionary: [[ NSProcessInfo processInfo ] environment ]]; + NSString *pathToAuthentifier = [[ NSBundle mainBundle ] pathForResource: @"askForPass" ofType: @"sh" ]; + if (socks4) + [ task setLaunchPath: [[ NSBundle mainBundle ] pathForResource: @"ssh" ofType: @"" ]]; + else + [ task setLaunchPath: @"/usr/bin/ssh" ]; + [ task setArguments: [ self arguments ]]; + if (connAuth) + { + [ environment removeObjectForKey: @"SSH_AGENT_PID" ]; + [ environment removeObjectForKey: @"SSH_AUTH_SOCK" ]; + [ environment setObject: pathToAuthentifier forKey: @"SSH_ASKPASS" ]; + [ environment setObject:@":0" forKey:@"DISPLAY" ]; + } + [ environment setObject: connName forKey: @"TUNNEL_NAME" ]; + [ task setEnvironment: environment ]; + + stdErrPipe = [[ NSPipe alloc ] init ]; + [ task setStandardError: stdErrPipe ]; + + [[ NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(stdErr:) + name: @"NSFileHandleDataAvailableNotification" + object:[ stdErrPipe fileHandleForReading]]; + + [[ stdErrPipe fileHandleForReading] waitForDataInBackgroundAndNotify ]; + + NSLog(T_START,connName); + [ self setValue: S_CONNECTING forKey: @"status" ]; + code = 1; + [ task launch ]; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + [ task waitUntilExit ]; + sleep(1); + code = 0; + [ self setValue: S_IDLE forKey: @"status" ]; + NSLog(T_STOP,connName); + [[ NSNotificationCenter defaultCenter] removeObserver:self + name: @"NSFileHandleDataAvailableNotification" + object:[ stdErrPipe fileHandleForReading]]; + [ task release ]; + task = nil; + [ stdErrPipe release ]; + stdErrPipe = nil; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + if (! shouldStop) + [ self startTunnel ]; + [ pool release ]; +} + +- (void)stdErr:(NSNotification*)aNotification +{ + NSData *data = [[ aNotification object ] availableData ]; + NSString *log = [[ NSString alloc ] initWithData: data encoding: NSASCIIStringEncoding ]; + BOOL wait = YES; + if ([ log length ]) + { + //NSLog(log); + NSArray *lines = [ log componentsSeparatedByString:@"\n" ]; + NSEnumerator *e = [ lines objectEnumerator ]; + NSString *line; + while (line = [ e nextObject ]) + { + if ([ line rangeOfString:@"Entering interactive session." ].location != NSNotFound) + { + code = 2; + [ self setValue: S_CONNECTED forKey: @"status"]; + } + if ([ line rangeOfString:@"Authentication succeeded" ].location != NSNotFound) + [ self setValue: S_AUTH forKey: @"status"]; + if ([ line rangeOfString:@"Connections to local port" ].location != NSNotFound) + { + NSScanner *s; + NSString *port; + s = [ NSScanner scannerWithString:log]; + [ s scanUpToString: @"Connections to local port " intoString: nil ]; + [ s scanString: @"Connections to local port " intoString: nil ]; + [ s scanUpToString: @"forwarded" intoString:&port]; + [ self setValue: [ NSString stringWithFormat: @"Port %@ forwarded", port ] forKey: @"status"]; + } + if ([ line rangeOfString:@"closed by remote host." ].location != NSNotFound) + { + [ task terminate]; + [ self setValue: @"Connection closed" forKey: @"status"]; + wait = NO; + } + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + } + if (wait) + [[ stdErrPipe fileHandleForReading ] waitForDataInBackgroundAndNotify ]; + } + [ log release] ; +} + +- (BOOL)isRunning +{ + if ([ task isRunning ]) + return YES; + return NO; +} + +#pragma mark - +#pragma mark Getting tunnel informations +- (NSString *)status +{ + if (status) + return status; + return S_IDLE; +} +- (NSArray*)arguments +{ + NSMutableArray *arguments; + NSEnumerator *e; + NSDictionary *t; + BOOL asRoot; + + arguments = [ NSMutableArray array ]; + [ arguments addObject: @"-N" ]; + [ arguments addObject: @"-v" ]; + [ arguments addObject: @"-p" ]; + if ([ connPort length ]) + [ arguments addObject: connPort]; + else + [ arguments addObject: @"22" ]; + + if (connRemote) + [ arguments addObject: @"-g" ]; + if (compression) + [ arguments addObject: @"-C" ]; + if (v1) + [ arguments addObject: @"-1" ]; + + [ arguments addObject: @"-c"]; + if (encryption) + [ arguments addObject: encryption]; + else + [ arguments addObject: @"3des"]; + + if (socks4 && socks4p != nil) + { + [ arguments addObject: @"-D" ]; + [ arguments addObject: [ socks4p stringValue ]]; + } + [ arguments addObject: [ NSString stringWithFormat: @"%@@%@", + connUser, connHost ] + ]; + + NSString *hostPort; + e = [ tunnelsLocal objectEnumerator ]; + while (t = [ e nextObject ]) + { + [ arguments addObject: @"-L" ]; + if ([[ t objectForKey:@"hostport"] isEqualTo: @"" ]) + hostPort = [ t objectForKey:@"port" ]; + else + hostPort = [ t objectForKey:@"hostport" ]; + [ arguments addObject: [NSString stringWithFormat:@"%@/%@/%@", + [ t objectForKey:@"port"], + [ t objectForKey:@"host"], + hostPort + ] ]; + if ([[ t objectForKey:@"port"] intValue] < 1024) + asRoot=YES; + } + + e = [ tunnelsRemote objectEnumerator ]; + while (t = [ e nextObject ]) + { + [ arguments addObject: @"-R" ]; + if ([[ t objectForKey:@"hostport"] isEqualTo: @"" ]) + hostPort = [ t objectForKey:@"port" ]; + else + hostPort = [ t objectForKey:@"hostport" ]; + [ arguments addObject: [NSString stringWithFormat:@"%@/%@/%@", + [ t objectForKey:@"port"], + [ t objectForKey:@"host"], + hostPort + ]]; + } + + return [[ arguments copy ] autorelease ]; +} + +- (NSDictionary*)dictionary +{ + return [ NSDictionary dictionaryWithObjectsAndKeys: + [ NSNumber numberWithBool: compression ],@"compression", + [ NSNumber numberWithBool: connAuth ],@"connAuth", + [ NSNumber numberWithBool: autoConnect ],@"autoConnect", + connHost, @"connHost", + connName, @"connName", + connPort, @"connPort", + [ NSNumber numberWithBool: connRemote ],@"connRemote", + connUser, @"connUser", + encryption, @"encryption", + [ NSNumber numberWithBool: socks4 ],@"socks4", + socks4p, @"socks4p", + tunnelsLocal, @"tunnelsLocal", + tunnelsRemote, @"tunnelsRemote", + [ NSNumber numberWithBool: v1 ],@"v1", nil + ]; +} + + +#pragma mark - +#pragma mark Key/Value coding +- (NSImage*)icon +{ + switch (code) + { + case 0: + return [ NSImage imageNamed: @"offState" ]; + break; + case 1: + return [ NSImage imageNamed: @"middleState" ]; + break; + case 2: + return [ NSImage imageNamed: @"onState" ]; + break; + } + return [ NSImage imageNamed: @"offState" ]; +} +- (void)setValue:(id)value forUndefinedKey:(NSString *)key +{ + NSLog(@"key %@ undefined",key); +} +- (id)valueForUndefinedKey:(NSString *)key +{ + return nil; +} + +#pragma mark - +#pragma mark Misc. +-(void)dealloc +{ + [ self stopTunnel ]; + [ tunnelsLocal release ]; + [ tunnelsRemote release ]; + + [ task release ]; + [ stdErrPipe release ]; + [ connName release ]; + [ status release ]; + [ connPort release ]; + [ encryption release ]; + [ socks4p release ]; + [ connUser release ]; + [ connHost release ]; + + // start diff lorenz textor + [super dealloc]; + // end diff lorenz textor +} +@end diff --git a/trunk/SSHTunnel_old.h b/trunk/SSHTunnel_old.h new file mode 100755 index 00000000..b1daa595 --- /dev/null +++ b/trunk/SSHTunnel_old.h @@ -0,0 +1,41 @@ +/* + +SSHTunnel.h + +Original code by tynsoe.org, Copyright 2002 +Modified by Lorenz Textor for use with Sequel Pro + +*/ + +#import <Cocoa/Cocoa.h> + +@interface SSHTunnel : NSObject +{ + BOOL shouldStop; + NSTask *task; + NSPipe *stdErrPipe; + NSString *status; + + NSDictionary *tunnelArguments; +} + +// initialization +- (id)init; + +// Getting tunnels informations +- (BOOL)isRunning; +- (NSString *)status; + +// starting & stopping the tunnel +- (void)startTunnel; +- (void)startTunnelWithArguments:(NSDictionary *)args; +- (void)stopTunnel; +- (void)launchTunnel:(NSArray*)arguments; +- (void)stdErr:(NSNotification*)aNotification; +- (id)authenticate:(NSScriptCommand *)command; +- (id)handleQuitScriptCommand:(NSScriptCommand *)command; + +// deallocation +- (void) dealloc; + +@end diff --git a/trunk/SSHTunnel_old.m b/trunk/SSHTunnel_old.m new file mode 100755 index 00000000..8080a9bf --- /dev/null +++ b/trunk/SSHTunnel_old.m @@ -0,0 +1,225 @@ +/* + +SSHTunnel.m + +Original code by tynsoe.org, Copyright 2002 +Modified by Lorenz Textor for use with Sequel Pro + +*/ + +#import "SSHTunnel.h" +#include <unistd.h> + +// start diff lorenz textor +/* +#define T_START @"START: %@" +#define T_STOP @"STOP: %@" +#define S_IDLE @"Idle" +#define S_CONNECTING @"Connecting..." +#define S_CONNECTED @"Connected" +#define S_AUTH @"Authenticated" +#define S_PORT "Port %@ forwarded" +*/ +#define T_START @"START: %@" +#define T_STOP @"STOP: %@" +#define S_IDLE @"Idle" +#define S_CONNECTING @"Connecting..." +#define S_CONNECTED @"Connected" +#define S_AUTH @"Authenticated" +#define S_PORT "Port %@ forwarded" +// end diff lorenz textor + +@implementation SSHTunnel + +// initialization +- (id)init +{ + self = [super init]; + + // Make this class the root one for AppleEvent calls +// [[ NSScriptExecutionContext sharedScriptExecutionContext] setTopLevelObject: self ]; + + return self; +} + +// Getting tunnels informations +- (BOOL)isRunning +/* returns YES if tunnel is running */ +{ + return [ task isRunning ]; +} + +- (NSString*)status +{ + if (status) + return status; + return S_IDLE; +} + +// starting & stopping the tunnel +- (void)startTunnel +/* starts tunnel with saved arguments */ +{ + [self startTunnelWithArguments:tunnelArguments]; +} + +- (void)startTunnelWithArguments:(NSDictionary *)args +/* starts the tunnel */ +{ + NSMutableArray *arguments = [[ NSMutableArray alloc] init ]; + + if (tunnelArguments ) + [tunnelArguments release]; + tunnelArguments = [args retain]; + + // stop tunnel if already running + if ( [self isRunning] ) +// [self stopTunnel]; + return; + + shouldStop = NO; + +// get arguments + [ arguments addObject: @"-N" ]; + [ arguments addObject: @"-v" ]; + +// [ arguments addObject: @"-p" ]; +// [ arguments addObject: @"-p" ]; +// [ arguments addObject: @"22" ]; + +// [ arguments addObject: @"-c"]; +// [ arguments addObject: @"3des"]; + + [ arguments addObject: [ NSString stringWithFormat: @"%@@%@", [args objectForKey:@"connUser"], [args objectForKey:@"connHost"] ]]; + + [ arguments addObject: @"-L" ]; + [ arguments addObject: [NSString stringWithFormat:@"%@/%@/%@", [args objectForKey:@"localPort"], [args objectForKey:@"host"], [args objectForKey:@"remotePort"]] ]; + + [ NSThread detachNewThreadSelector:@selector(launchTunnel:) + toTarget: self + withObject: arguments ]; + + [ arguments release ]; +} + +- (void)stopTunnel +/* stops the tunnel */ +{ + if (! [ self isRunning ]) + return; + shouldStop=YES; + [ self setValue: nil forKey: @"status" ]; + [ task terminate ]; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; +} + +- (void)launchTunnel:(NSArray*)arguments +/* launches the tunnel in a separate thread */ +{ + NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + if (task) + [ task release ]; + task = [[ NSTask alloc ] init ]; + NSMutableDictionary *environment = [ NSMutableDictionary dictionaryWithDictionary: [[ NSProcessInfo processInfo ] environment ]]; + NSString *pathToAuthentifier = [[ NSBundle mainBundle ] pathForResource: @"askForPass" ofType: @"sh" ]; + + [ task setLaunchPath: @"/usr/bin/ssh" ]; + [ task setArguments: arguments ]; + +// really necessary??? + [ environment removeObjectForKey: @"SSH_AGENT_PID" ]; + [ environment removeObjectForKey: @"SSH_AUTH_SOCK" ]; + [ environment setObject: pathToAuthentifier forKey: @"SSH_ASKPASS" ]; + [ environment setObject:@":0" forKey:@"DISPLAY" ]; + + [ environment setObject: @"Sequel Pro Tunnel" forKey: @"TUNNEL_NAME" ]; + [ task setEnvironment: environment ]; + + stdErrPipe = [[ NSPipe alloc ] init ]; + [ task setStandardError: stdErrPipe ]; + + [[ NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(stdErr:) + name: @"NSFileHandleDataAvailableNotification" + object:[ stdErrPipe fileHandleForReading]]; + + [[ stdErrPipe fileHandleForReading] waitForDataInBackgroundAndNotify ]; + + NSLog(T_START,@"Sequel Pro Tunnel"); + [ self setValue: S_CONNECTING forKey: @"status" ]; + [ task launch ]; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + [ task waitUntilExit ]; + sleep(1); + [ self setValue: S_IDLE forKey: @"status" ]; + NSLog(T_STOP,@"Sequel Pro Tunnel"); + [[ NSNotificationCenter defaultCenter] removeObserver:self + name: @"NSFileHandleDataAvailableNotification" + object:[ stdErrPipe fileHandleForReading]]; + [ task release ]; + task = nil; + [ stdErrPipe release ]; + stdErrPipe = nil; + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + if (! shouldStop) + [ self startTunnel ]; + [ pool release ]; +} + +- (void)stdErr:(NSNotification*)aNotification +{ + NSData *data = [[ aNotification object ] availableData ]; + NSString *log = [[ NSString alloc ] initWithData: data encoding: NSASCIIStringEncoding ]; + BOOL wait = YES; + if ([ log length ]) + { + NSLog(log); + NSArray *lines = [ log componentsSeparatedByString:@"\n" ]; + NSEnumerator *e = [ lines objectEnumerator ]; + NSString *line; + while (line = [ e nextObject ]) + { + if ([ line rangeOfString:@"Entering interactive session." ].location != NSNotFound) + { + [ self setValue: S_CONNECTED forKey: @"status"]; + } + if ([ line rangeOfString:@"Authentication succeeded" ].location != NSNotFound) + [ self setValue: S_AUTH forKey: @"status"]; + if ([ line rangeOfString:@"Connections to local port" ].location != NSNotFound) + { + NSScanner *s; + NSString *port; + s = [ NSScanner scannerWithString:log]; + [ s scanUpToString: @"Connections to local port " intoString: nil ]; + [ s scanString: @"Connections to local port " intoString: nil ]; + [ s scanUpToString: @"forwarded" intoString:&port]; + [ self setValue: [ NSString stringWithFormat: @"Port %@ forwarded", port ] forKey: @"status"]; + } + if ([ line rangeOfString:@"closed by remote host." ].location != NSNotFound) + { + [ task terminate]; + [ self setValue: @"Connection closed" forKey: @"status"]; + wait = NO; + } + [[ NSNotificationCenter defaultCenter] postNotificationName:@"STMStatusChanged" object:self ]; + } + if (wait) + [[ stdErrPipe fileHandleForReading ] waitForDataInBackgroundAndNotify ]; + } + [ log release] ; +} + +// deallocation +- (void) dealloc +{ + [self stopTunnel]; + + [task release]; + [stdErrPipe release]; + [status release]; + [tunnelArguments release]; + + [super dealloc]; +} + +@end diff --git a/trunk/Sparkle.framework/Headers b/trunk/Sparkle.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/trunk/Sparkle.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers
\ No newline at end of file diff --git a/trunk/Sparkle.framework/Resources b/trunk/Sparkle.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/trunk/Sparkle.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources
\ No newline at end of file diff --git a/trunk/Sparkle.framework/Sparkle b/trunk/Sparkle.framework/Sparkle new file mode 120000 index 00000000..b2c52731 --- /dev/null +++ b/trunk/Sparkle.framework/Sparkle @@ -0,0 +1 @@ +Versions/Current/Sparkle
\ No newline at end of file diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSBundle+SUAdditions.h b/trunk/Sparkle.framework/Versions/A/Headers/NSBundle+SUAdditions.h new file mode 100644 index 00000000..38fc9238 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSBundle+SUAdditions.h @@ -0,0 +1,57 @@ +// +// NSBundle+SUAdditions.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef NSBUNDLE_PLUS_ADDITIONS_H +#define NSBUNDLE_PLUS_ADDITIONS_H + +@interface NSBundle (SUAdditions) +/*! + @method + @abstract Returns a name for the bundle suitable for display to the user. + @discussion This is performed by asking NSFileManager for the display name of the bundle. +*/ +- (NSString *)name; + +/*! + @method + @abstract Returns the current internal version of the bundle. + @discussion This uses the CFBundleVersion info value. This string is not appropriate for display to users: use -displayVersion instead. +*/ +- (NSString *)version; + +/*! + @method + @abstract Returns the bundle's version, suitable for display to the user. + @discussion If the CFBundleShortVersionString is available and different from the CFBundleVersion, this looks like CFBundleShortVersionString (CFBundleVersion). If the version strings are the same or CFBundleShortVersionString is not defined, this is equivalent to -version. +*/ +- (NSString *)displayVersion; + +/*! + @method + @abstract Returns a suitable icon for this bundle. + @discussion Uses the CFBundleIconFile icon if defined; otherwise, uses the default application icon. +*/ +- (NSImage *)icon; + +/*! + @method + @abstract Returns whether the application is running from a disk image. +*/ +- (BOOL)isRunningFromDiskImage; + +/*! + @method + @abstract Returns a profile of the users system useful for statistical purposes. + @discussion Returns an array of dictionaries; each dictionary represents a piece of data and has keys "key", "visibleKey", "value", and "visibleValue". +*/ +- (NSArray *)systemProfile; + +- (NSString *)publicDSAKey; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Aliases.h b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Aliases.h new file mode 100644 index 00000000..76b2b501 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Aliases.h @@ -0,0 +1,18 @@ +// +// NSFileManager+Aliases.h +// Sparkle +// +// Created by Andy Matuschak on 2/4/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef NSFILEMANAGER_PLUS_ALIASES_H +#define NSFILEMANAGER_PLUS_ALIASES_H + +#import <Cocoa/Cocoa.h> + +@interface NSFileManager (Aliases) +- (BOOL)isAliasFolderAtPath:(NSString *)path; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h new file mode 100644 index 00000000..80b91a9b --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h @@ -0,0 +1,16 @@ +// +// NSFileManager+Authentication.m +// Sparkle +// +// Created by Andy Matuschak on 3/9/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef NSFILEMANAGER_PLUS_AUTHENTICATION_H +#define NSFILEMANAGER_PLUS_AUTHENTICATION_H + +@interface NSFileManager (SUAuthenticationAdditions) +- (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst error:(NSError **)error; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+ExtendedAttributes.h b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+ExtendedAttributes.h new file mode 100644 index 00000000..e541c300 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+ExtendedAttributes.h @@ -0,0 +1,53 @@ +// +// NSFileManager+ExtendedAttributes.h +// Sparkle +// +// Created by Mark Mentovai on 2008-01-22. +// Copyright 2008 Mark Mentovai. All rights reserved. +// + +#ifndef NSFILEMANAGER_PLUS_EXTENDEDATTRIBUTES +#define NSFILEMANAGER_PLUS_EXTENDEDATTRIBUTES + +#import <Cocoa/Cocoa.h> + +@interface NSFileManager (ExtendedAttributes) + +// Wraps the removexattr system call, allowing an AppKit-style NSString* to +// be used for the pathname argument. Note that the order of the arguments +// has changed from what removexattr accepts, so that code reads more +// naturally. +// +// removexattr is only available on Mac OS X 10.4 ("Tiger") and later. If +// built with an SDK that includes removexattr, this method will link against +// removexattr directly. When using earlier SDKs, this method will dynamically +// look up the removexattr symbol at runtime. If the symbol is not present, +// as will be the case when running on 10.3, this method returns -1 and sets +// errno to ENOSYS. +- (int)removeXAttr:(const char*)name + fromFile:(NSString*)file + options:(int)options; + +// Removes the directory tree rooted at |root| from the file quarantine. +// The quarantine was introduced on Mac OS X 10.5 and is described at: +// +// http://developer.apple.com/releasenotes/Carbon/RN-LaunchServices/index.html +//#apple_ref/doc/uid/TP40001369-DontLinkElementID_2 +// +// If |root| is not a directory, then it alone is removed from the quarantine. +// Symbolic links, including |root| if it is a symbolic link, will not be +// traversed. +// +// Ordinarily, the quarantine is managed by calling LSSetItemAttribute +// to set the kLSItemQuarantineProperties attribute to a dictionary specifying +// the quarantine properties to be applied. However, it does not appear to be +// possible to remove an item from the quarantine directly through any public +// Launch Services calls. Instead, this method takes advantage of the fact +// that the quarantine is implemented in part by setting an extended attribute, +// "com.apple.quarantine", on affected files. Removing this attribute is +// sufficient to remove files from the quarantine. +- (void)releaseFromQuarantine:(NSString*)root; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h new file mode 100644 index 00000000..9a97eacd --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h @@ -0,0 +1,17 @@ +// +// NSFileManager+Verification.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef NSFILEMANAGER_PLUS_VERIFICATION_H +#define NSFILEMANAGER_PLUS_VERIFICATION_H + +// For the paranoid folks! +@interface NSFileManager (SUVerification) +- (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSString+extras.h b/trunk/Sparkle.framework/Versions/A/Headers/NSString+extras.h new file mode 100644 index 00000000..7d84b688 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSString+extras.h @@ -0,0 +1,66 @@ +/* + +BSD License + +Copyright (c) 2002, Brent Simmons +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of ranchero.com or Brent Simmons nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +*/ + +#ifndef NSSTRING_PLUS_EXTRAS_H +#define NSSTRING_PLUS_EXTRAS_H + + +/* + NSString+extras.h + NetNewsWire + + Created by Brent Simmons on Fri Jun 14 2002. + Copyright (c) 2002 Brent Simmons. All rights reserved. +*/ + + +#import <Foundation/Foundation.h> +#import <CoreFoundation/CoreFoundation.h> +#import "SUConstants.h" // for NSInteger + +@interface NSString (extras) + +- (NSString *)stringWithSubstitute:(NSString *)subs forCharactersFromSet:(NSCharacterSet *)set; + +- (NSString *) trimWhiteSpace; + +- (NSString *) stripHTML; + +- (NSString *) ellipsizeAfterNWords: (NSInteger) n; + ++ (BOOL) stringIsEmpty: (NSString *) s; + + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSURL+Parameters.h b/trunk/Sparkle.framework/Versions/A/Headers/NSURL+Parameters.h new file mode 100644 index 00000000..40b2f9e8 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSURL+Parameters.h @@ -0,0 +1,18 @@ +// +// NSURL+Parameters.h +// Sparkle +// +// Created by Andy Matuschak on 5/6/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef NSURL_PLUS_PARAMETERS_H +#define NSURL_PLUS_PARAMETERS_H + +#import <Cocoa/Cocoa.h> + +@interface NSURL (SUParameterAdditions) +- (NSURL *)URLWithParameters:(NSArray *)parameters; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace+SystemVersion.h b/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace+SystemVersion.h new file mode 100644 index 00000000..11194125 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace+SystemVersion.h @@ -0,0 +1,18 @@ +// +// NSWorkspace+SystemVersion.h +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef NSWORKSPACE_PLUS_SYSTEMVERSION_H +#define NSWORKSPACE_PLUS_SYSTEMVERSION_H + +#import <Cocoa/Cocoa.h> + +@interface NSWorkspace (SystemVersion) ++ (NSString *)systemVersionString; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace_RBAdditions.h b/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace_RBAdditions.h new file mode 100644 index 00000000..bd50fb13 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NSWorkspace_RBAdditions.h @@ -0,0 +1,41 @@ +// +// NSWorkspace_RBAdditions.h +// PathProps +// +// Created by Rainer Brockerhoff on 10/04/2007. +// Copyright 2007 Rainer Brockerhoff. All rights reserved. +// + +#ifndef NSWORKSPACE_RBADDITIONS_H +#define NSWORKSPACE_RBADDITIONS_H + + +extern NSString* NSWorkspace_RBfstypename; +extern NSString* NSWorkspace_RBmntonname; +extern NSString* NSWorkspace_RBmntfromname; +extern NSString* NSWorkspace_RBdeviceinfo; +extern NSString* NSWorkspace_RBimagefilepath; +extern NSString* NSWorkspace_RBconnectiontype; +extern NSString* NSWorkspace_RBpartitionscheme; +extern NSString* NSWorkspace_RBserverURL; + +@interface NSWorkspace (NSWorkspace_RBAdditions) + +// This method will return nil if the input path is invalid. Otherwise, the returned NSDictionary may contain +// the following keys: +//- NSWorkspace_RBfstypename: will always be present.Shows the filesystem type (usually "hfs"), from statfs. +//- NSWorkspace_RBmntonname: will always be present. Shows the volume mount point. +//- NSWorkspace_RBmntfromname: will always be present. Shows the BSD device path for local volumes; info for +// remote volumes depends on the filesystem type. +//- NSWorkspace_RBconnectiontype: should always be present for local volumes. Shows the connection type ("SATA", "USB", etc.). +//- NSWorkspace_RBpartitionscheme: should always be present for local volumes. Shows the partition scheme. +//- NSWorkspace_RBdeviceinfo: should always be present for local volumes. Shows some information about the +// physical device; varies widely. +//- NSWorkspace_RBimagefilepath: should be present for disk images only. Shows the path of the disk image file. +//- NSWorkspace_RBserverURL: should be present for remote volumes only. Shows the server URL. + +- (NSDictionary*)propertiesForPath:(NSString*)path; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/NTSynchronousTask.h b/trunk/Sparkle.framework/Versions/A/Headers/NTSynchronousTask.h new file mode 100644 index 00000000..1cf5c04e --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/NTSynchronousTask.h @@ -0,0 +1,29 @@ +// +// NTSynchronousTask.h +// CocoatechCore +// +// Created by Steve Gehrman on 9/29/05. +// Copyright 2005 Steve Gehrman. All rights reserved. +// + +#ifndef NTSYNCHRONOUSTASK_H +#define NTSYNCHRONOUSTASK_H + +@interface NTSynchronousTask : NSObject +{ + NSTask *mv_task; + NSPipe *mv_outputPipe; + NSPipe *mv_inputPipe; + + NSData* mv_output; + BOOL mv_done; + int mv_result; +} + +// pass nil for directory if not needed +// returns the result ++ (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/RSS.h b/trunk/Sparkle.framework/Versions/A/Headers/RSS.h new file mode 100644 index 00000000..38978b2b --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/RSS.h @@ -0,0 +1,77 @@ +/* + +BSD License + +Copyright (c) 2002, Brent Simmons +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of ranchero.com or Brent Simmons nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +*/ + +#ifndef RSS_H +#define RSS_H + + +/* + RSS.h + A class for reading RSS feeds. + + Created by Brent Simmons on Wed Apr 17 2002. + Copyright (c) 2002 Brent Simmons. All rights reserved. +*/ + + +#import <Cocoa/Cocoa.h> +#import <CoreFoundation/CoreFoundation.h> +#import "NSString+extras.h" + + +@interface RSS : NSObject { + NSMutableData *incrementalData; + id delegate; + + NSDictionary *headerItems; + NSMutableArray *newsItems; + NSString *version; + + BOOL flRdf; + BOOL normalize; + } + +- (RSS *)initWithURL:(NSURL *) url userAgent:(NSString*)userAgent delegate:delegate; +- (BOOL)loadData:(NSData *)rssData normalize:(BOOL)fl; + +- (NSMutableArray *)newsItems; +- (NSDictionary *)newestItem; + +@end + +@interface NSObject (RSSDelegateProtocol) +- (void)feedDidFinishLoading:(RSS *)feed; +- (void)feed:(RSS *)feed didFailWithError:(NSError *)error; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUAppcast.h b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcast.h new file mode 100644 index 00000000..624f3f21 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcast.h @@ -0,0 +1,32 @@ +// +// SUAppcast.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAPPCAST_H +#define SUAPPCAST_H + +@class RSS, SUAppcastItem; +@interface SUAppcast : NSObject { + NSArray *items; + NSString *userAgentString; + id delegate; +} + +- (void)fetchAppcastFromURL:(NSURL *)url; +- (void)setDelegate:delegate; +- (void)setUserAgentString:(NSString *)userAgentString; + +- (NSArray *)items; + +@end + +@interface NSObject (SUAppcastDelegate) +- (void)appcastDidFinishLoading:(SUAppcast *)appcast; +- (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h new file mode 100644 index 00000000..d0c0523e --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h @@ -0,0 +1,48 @@ +// +// SUAppcastItem.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAPPCASTITEM_H +#define SUAPPCASTITEM_H + + +@interface SUAppcastItem : NSObject { + NSString *title; + NSDate *date; + NSString *description; + + NSURL *releaseNotesURL; + + NSString *DSASignature; + NSString *minimumSystemVersion; + + NSURL *fileURL; + NSString *versionString; + NSString *displayVersionString; + + NSDictionary *propertiesDictionary; +} + +// Initializes with data from a dictionary provided by the RSS class. +- initWithDictionary:(NSDictionary *)dict; + +- (NSString *)title; +- (NSString *)versionString; +- (NSString *)displayVersionString; +- (NSDate *)date; +- (NSString *)description; +- (NSURL *)releaseNotesURL; +- (NSURL *)fileURL; +- (NSString *)DSASignature; +- (NSString *)minimumSystemVersion; + +// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions. +- (NSDictionary *)propertiesDictionary; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h b/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h new file mode 100644 index 00000000..76fb35f4 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h @@ -0,0 +1,39 @@ +// +// SUAutomaticUpdateAlert.h +// Sparkle +// +// Created by Andy Matuschak on 3/18/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAUTOMATICUPDATEALERT_H +#define SUAUTOMATICUPDATEALERT_H + +#import "SUWindowController.h" + +typedef enum +{ + SUInstallNowChoice, + SUInstallLaterChoice, + SUDoNotInstallChoice +} SUAutomaticInstallationChoice; + +@class SUAppcastItem; +@interface SUAutomaticUpdateAlert : SUWindowController { + SUAppcastItem *updateItem; + id delegate; + NSBundle *hostBundle; +} + +- (id)initWithAppcastItem:(SUAppcastItem *)item hostBundle:(NSBundle *)hostBundle delegate:delegate; +- (IBAction)installNow:sender; +- (IBAction)installLater:sender; +- (IBAction)doNotInstall:sender; + +@end + +@interface NSObject (SUAutomaticUpdateAlertDelegateProtocol) +- (void)automaticUpdateAlert:(SUAutomaticUpdateAlert *)aua finishedWithChoice:(SUAutomaticInstallationChoice)choice; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateDriver.h new file mode 100644 index 00000000..f63c194e --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateDriver.h @@ -0,0 +1,23 @@ +// +// SUAutomaticUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/6/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUAUTOMATICUPDATEDRIVER_H +#define SUAUTOMATICUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUBasicUpdateDriver.h" + +@class SUAutomaticUpdateAlert; +@interface SUAutomaticUpdateDriver : SUBasicUpdateDriver { + BOOL postponingInstallation, showErrors; + SUAutomaticUpdateAlert *alert; +} + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUBasicUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUBasicUpdateDriver.h new file mode 100644 index 00000000..bd0297c5 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUBasicUpdateDriver.h @@ -0,0 +1,59 @@ +// +// SUBasicUpdateDriver.h +// Sparkle, +// +// Created by Andy Matuschak on 4/23/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUBASICUPDATEDRIVER_H +#define SUBASICUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUUpdateDriver.h" + +@class SUAppcastItem, SUUnarchiver, SUAppcast, SUUnarchiver; +@interface SUBasicUpdateDriver : SUUpdateDriver { + NSBundle *hostBundle; + SUAppcastItem *updateItem; + + NSURLDownload *download; + NSString *downloadPath; + + SUUnarchiver *unarchiver; + + NSString *relaunchPath; +} + +- (void)checkForUpdatesAtURL:(NSURL *)appcastURL hostBundle:(NSBundle *)hb; + +- (void)appcastDidFinishLoading:(SUAppcast *)ac; +- (void)appcast:(SUAppcast *)ac failedToLoadWithError:(NSError *)error; + +- (BOOL)isItemNewer:(SUAppcastItem *)ui; +- (BOOL)hostSupportsItem:(SUAppcastItem *)ui; +- (BOOL)itemContainsSkippedVersion:(SUAppcastItem *)ui; +- (BOOL)itemContainsValidUpdate:(SUAppcastItem *)ui; +- (void)didFindValidUpdate; +- (void)didNotFindUpdate; + +- (void)downloadUpdate; +- (void)download:(NSURLDownload *)d decideDestinationWithSuggestedFilename:(NSString *)name; +- (void)downloadDidFinish:(NSURLDownload *)d; +- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error; + +- (void)extractUpdate; +- (void)unarchiverDidFinish:(SUUnarchiver *)ua; +- (void)unarchiverDidFail:(SUUnarchiver *)ua; + +- (void)installUpdate; +- (void)installerFinishedForHostBundle:(NSBundle *)hb; +- (void)installerForHostBundle:(NSBundle *)hb failedWithError:(NSError *)error; +- (void)relaunchHostApp; + +- (void)abortUpdate; +- (void)abortUpdateWithError:(NSError *)error; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUConstants.h b/trunk/Sparkle.framework/Versions/A/Headers/SUConstants.h new file mode 100644 index 00000000..c0c427af --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUConstants.h @@ -0,0 +1,72 @@ +// +// SUConstants.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + + +#ifndef SUCONSTANTS_H +#define SUCONSTANTS_H + + +extern NSString *SUUpdaterWillRestartNotification; +extern NSString *SUTechnicalErrorInformationKey; + +extern NSString *SUFeedURLKey; +extern NSString *SUHasLaunchedBeforeKey; +extern NSString *SUShowReleaseNotesKey; +extern NSString *SUSkippedVersionKey; +extern NSString *SUScheduledCheckIntervalKey; +extern NSString *SULastCheckTimeKey; +extern NSString *SUExpectsDSASignatureKey; +extern NSString *SUPublicDSAKeyKey; +extern NSString *SUPublicDSAKeyFileKey; +extern NSString *SUAutomaticallyUpdateKey; +extern NSString *SUAllowsAutomaticUpdatesKey; +extern NSString *SUEnableAutomaticChecksKey; +extern NSString *SUEnableAutomaticChecksKeyOld; +extern NSString *SUEnableSystemProfilingKey; +extern NSString *SUSendProfileInfoKey; + +extern NSString *SUSparkleErrorDomain; +// Appcast phase errors. +extern OSStatus SUAppcastParseError; +extern OSStatus SUNoUpdateError; +extern OSStatus SUAppcastError; +extern OSStatus SURunningFromDiskImageError; + +// Downlaod phase errors. +extern OSStatus SUTemporaryDirectoryError; + +// Extraction phase errors. +extern OSStatus SUUnarchivingError; +extern OSStatus SUSignatureError; + +// Installation phase errors. +extern OSStatus SUFileCopyFailure; +extern OSStatus SUAuthenticationFailure; +extern OSStatus SUMissingUpdateError; +extern OSStatus SUMissingInstallerToolError; +extern OSStatus SURelaunchError; +extern OSStatus SUInstallationError; + +// NSInteger is a type that was added to Leopard. +// Here is some glue to ensure that NSInteger will work with pre-10.5 SDKs: +#ifndef NSINTEGER_DEFINED + #ifdef NS_BUILD_32_LIKE_64 + typedef long NSInteger; + typedef unsigned long NSUInteger; + #else + typedef int NSInteger; + typedef unsigned int NSUInteger; + #endif + #define NSIntegerMax LONG_MAX + #define NSIntegerMin LONG_MIN + #define NSUIntegerMax ULONG_MAX + #define NSINTEGER_DEFINED 1 +#endif + + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h b/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h new file mode 100644 index 00000000..08bfc974 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUInstaller.h @@ -0,0 +1,24 @@ +// +// SUInstaller.h +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUINSTALLER_H +#define SUINSTALLER_H + +#import <Cocoa/Cocoa.h> + +@interface SUInstaller : NSObject { } ++ (void)installFromUpdateFolder:(NSString *)updateFolder overHostBundle:(NSBundle *)hostBundle delegate:delegate synchronously:(BOOL)synchronously; ++ (void)_finishInstallationWithResult:(BOOL)result hostBundle:(NSBundle *)hostBundle error:(NSError *)error delegate:delegate; +@end + +@interface NSObject (SUInstallerDelegateInformalProtocol) +- (void)installerFinishedForHostBundle:(NSBundle *)hostBundle; +- (void)installerForHostBundle:(NSBundle *)hostBundle failedWithError:(NSError *)error; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUPackageInstaller.h b/trunk/Sparkle.framework/Versions/A/Headers/SUPackageInstaller.h new file mode 100644 index 00000000..94bb3ad0 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUPackageInstaller.h @@ -0,0 +1,19 @@ +// +// SUPackageInstaller.h +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUPACKAGEINSTALLER_H +#define SUPACKAGEINSTALLER_H + +#import "Sparkle.h" +#import "SUPlainInstaller.h" + +@interface SUPackageInstaller : SUPlainInstaller { } ++ (void)installPath:(NSString *)path overHostBundle:(NSBundle *)bundle delegate:delegate; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUPlainInstaller.h b/trunk/Sparkle.framework/Versions/A/Headers/SUPlainInstaller.h new file mode 100644 index 00000000..075ffe66 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUPlainInstaller.h @@ -0,0 +1,18 @@ +// +// SUPlainInstaller.h +// Sparkle +// +// Created by Andy Matuschak on 4/10/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUPLAININSTALLER_H +#define SUPLAININSTALLER_H + +#import "Sparkle.h" + +@interface SUPlainInstaller : SUInstaller { } ++ (void)performInstallationWithPath:(NSString *)path hostBundle:(NSBundle *)hostBundle delegate:delegate synchronously:(BOOL)synchronously; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUProbingUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUProbingUpdateDriver.h new file mode 100644 index 00000000..c91c6a32 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUProbingUpdateDriver.h @@ -0,0 +1,24 @@ +// +// SUProbingUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUPROBINGUPDATEDRIVER_H +#define SUPROBINGUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUBasicUpdateDriver.h" + +// This replaces the old SUStatusChecker. +@interface SUProbingUpdateDriver : SUBasicUpdateDriver { } +@end + +@interface NSObject (SUProbeDriverDelegateProtocol) +- (void)didFindValidUpdate:(SUAppcastItem *)item toHostBundle:(NSBundle *)hb; +- (void)didNotFindUpdateToHostBundle:(NSBundle *)hb; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUScheduledUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUScheduledUpdateDriver.h new file mode 100644 index 00000000..892a6a74 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUScheduledUpdateDriver.h @@ -0,0 +1,21 @@ +// +// SUScheduledUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/6/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUSCHEDULEDUPDATEDRIVER_H +#define SUSCHEDULEDUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUUIBasedUpdateDriver.h" + +@interface SUScheduledUpdateDriver : SUUIBasedUpdateDriver { + BOOL showErrors; +} + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h b/trunk/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h new file mode 100644 index 00000000..0bc15706 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h @@ -0,0 +1,36 @@ +// +// SUStandardVersionComparator.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUSTANDARDVERSIONCOMPARATOR_H +#define SUSTANDARDVERSIONCOMPARATOR_H + + +#import "SUVersionComparisonProtocol.h" + +/*! + @class + @abstract Sparkle's default version comparator. + @discussion This comparator is adapted from MacPAD, by Kevin Ballard. It's "dumb" in that it does essentially string comparison, in components split by character type. +*/ +@interface SUStandardVersionComparator : NSObject <SUVersionComparison> { } + +/*! + @method + @abstract Returns a singleton instance of the comparator. +*/ ++ (SUStandardVersionComparator *)defaultComparator; + +/*! + @method + @abstract Compares version strings through textual analysis. + @discussion See the implementation for more details. +*/ +- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h b/trunk/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h new file mode 100755 index 00000000..a1fca913 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h @@ -0,0 +1,30 @@ +// +// SUStatusChecker.h +// Sparkle +// +// Created by Evan Schoenberg on 7/6/06. +// + +#ifndef SUSTATUSCHECKER_H +#define SUSTATUSCHECKER_H + +#import "SUUpdater.h" + +@class SUStatusChecker; + +@protocol SUStatusCheckerDelegate <NSObject> +//versionString will be nil and isNewVersion will be NO if version checking fails. +- (void)statusChecker:(SUStatusChecker *)statusChecker foundVersion:(NSString *)versionString isNewVersion:(BOOL)isNewVersion; +@end + +@interface SUStatusChecker : SUUpdater { + id<SUStatusCheckerDelegate> scDelegate; +} + +// Create a status checker which will notifiy delegate once the appcast version is determined. +// Notification occurs via the method defined in the SUStatusCheckerDelegate informal protocol. ++ (SUStatusChecker *)statusCheckerForDelegate:(id<SUStatusCheckerDelegate>)delegate; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUStatusController.h b/trunk/Sparkle.framework/Versions/A/Headers/SUStatusController.h new file mode 100644 index 00000000..dc0c197f --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUStatusController.h @@ -0,0 +1,42 @@ +// +// SUStatusController.h +// Sparkle +// +// Created by Andy Matuschak on 3/14/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUSTATUSCONTROLLER_H +#define SUSTATUSCONTROLLER_H + +#import "SUWindowController.h" + +@interface SUStatusController : SUWindowController { + double progressValue, maxProgressValue; + NSString *title, *statusText, *buttonTitle; + IBOutlet NSButton *actionButton; + IBOutlet NSProgressIndicator* progressBar; + NSBundle *hostBundle; +} + +- (id)initWithHostBundle:(NSBundle *)hostBundle; + +// Pass 0 for the max progress value to get an indeterminate progress bar. +// Pass nil for the status text to not show it. +- (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText; + +// If isDefault is YES, the button's key equivalent will be \r. +- (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault; +- (void)setButtonEnabled:(BOOL)enabled; +- (void)setButtonHidden:(BOOL)hidden; + +- (double)progressValue; +- (void)setProgressValue:(double)value; +- (double)maxProgressValue; +- (void)setMaxProgressValue:(double)value; + +- (void)setStatusText:(NSString *)statusText; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUSystemProfiler.h b/trunk/Sparkle.framework/Versions/A/Headers/SUSystemProfiler.h new file mode 100644 index 00000000..8ce9f545 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUSystemProfiler.h @@ -0,0 +1,17 @@ +// +// SUSystemProfiler.h +// Sparkle +// +// Created by Andy Matuschak on 12/22/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUSYSTEMPROFILER_H +#define SUSYSTEMPROFILER_H + +@interface SUSystemProfiler : NSObject {} ++ (SUSystemProfiler *)sharedSystemProfiler; +- (NSMutableArray *)systemProfileArrayForHostBundle:(NSBundle *)hostBundle; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUIBasedUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUIBasedUpdateDriver.h new file mode 100644 index 00000000..d3459801 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUIBasedUpdateDriver.h @@ -0,0 +1,23 @@ +// +// SUUIBasedUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/5/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUIBASEDUPDATEDRIVER_H +#define SUUIBASEDUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUBasicUpdateDriver.h" + +@class SUStatusController, SUUpdateAlert; +@interface SUUIBasedUpdateDriver : SUBasicUpdateDriver { + SUStatusController *statusController; + SUUpdateAlert *updateAlert; +} + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h new file mode 100644 index 00000000..337bf500 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h @@ -0,0 +1,29 @@ +// +// SUUnarchiver.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUUNARCHIVER_H +#define SUUNARCHIVER_H + +@interface SUUnarchiver : NSObject { + id delegate; + NSString *archivePath; +} + +- (void)unarchivePath:(NSString *)path; +- (void)setDelegate:delegate; +- (void)cleanUp; + +@end + +@interface NSObject (SUUnarchiverDelegate) +- (void)unarchiver:(SUUnarchiver *)unarchiver extractedLength:(long)length; +- (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; +- (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h new file mode 100644 index 00000000..a0288aba --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h @@ -0,0 +1,46 @@ +// +// SUUpdateAlert.h +// Sparkle +// +// Created by Andy Matuschak on 3/12/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEALERT_H +#define SUUPDATEALERT_H + +#import "SUWindowController.h" + +typedef enum +{ + SUInstallUpdateChoice, + SURemindMeLaterChoice, + SUSkipThisVersionChoice +} SUUpdateAlertChoice; + +@class WebView, SUAppcastItem; +@interface SUUpdateAlert : SUWindowController { + SUAppcastItem *updateItem; + NSBundle *hostBundle; + id delegate; + + IBOutlet WebView *releaseNotesView; + IBOutlet NSTextField *description; + NSProgressIndicator *releaseNotesSpinner; + BOOL webViewFinishedLoading; +} + +- (id)initWithAppcastItem:(SUAppcastItem *)item hostBundle:(NSBundle *)hostBundle; +- (void)setDelegate:delegate; + +- (IBAction)installUpdate:sender; +- (IBAction)skipThisVersion:sender; +- (IBAction)remindMeLater:sender; + +@end + +@interface NSObject (SUUpdateAlertDelegate) +- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateDriver.h new file mode 100644 index 00000000..f0c4413d --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdateDriver.h @@ -0,0 +1,27 @@ +// +// SUUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/7/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEDRIVER_H +#define SUUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> + +@interface SUUpdateDriver : NSObject +{ + BOOL finished; + id delegate; +} +- (void)checkForUpdatesAtURL:(NSURL *)appcastURL hostBundle:(NSBundle *)hb; +- (void)abortUpdate; +- (BOOL)finished; + +- delegate; +- (void)setDelegate:delegate; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUpdatePermissionPrompt.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdatePermissionPrompt.h new file mode 100644 index 00000000..24959da7 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdatePermissionPrompt.h @@ -0,0 +1,36 @@ +// +// SUUpdatePermissionPrompt.h +// Sparkle +// +// Created by Andy Matuschak on 1/24/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATEPERMISSIONPROMPT_H +#define SUUPDATEPERMISSIONPROMPT_H + +#import "Sparkle.h" + +typedef enum { + SUAutomaticallyCheck, + SUDoNotAutomaticallyCheck +} SUPermissionPromptResult; + +@interface SUUpdatePermissionPrompt : SUWindowController { + NSBundle *hostBundle; + id delegate; + IBOutlet NSTextField *descriptionTextField; + IBOutlet NSView *moreInfoView; + IBOutlet NSButton *moreInfoButton; + BOOL isShowingMoreInfo, shouldSendProfile; +} ++ (void)promptWithHostBundle:(NSBundle *)hb delegate:(id)d; +- (IBAction)toggleMoreInfo:(id)sender; +- (IBAction)finishPrompt:(id)sender; +@end + +@interface NSObject (SUUpdatePermissionPromptDelegateInformalProtocol) +- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUpdater.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdater.h new file mode 100644 index 00000000..80788728 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUpdater.h @@ -0,0 +1,80 @@ +// +// SUUpdater.h +// Sparkle +// +// Created by Andy Matuschak on 1/4/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUUPDATER_H +#define SUUPDATER_H + +@class SUUpdateDriver; +@interface SUUpdater : NSObject { + NSTimer *checkTimer; + SUUpdateDriver *driver; + + NSBundle *hostBundle; + id delegate; +} + +- (void)setHostBundle:(NSBundle *)hostBundle; +- (void)setDelegate:(id)delegate; + +// This IBAction is meant for a main menu item. Hook up any menu item to this action, +// and Sparkle will check for updates and report back its findings verbosely. +- (IBAction)checkForUpdates:sender; + +// This forces an update to begin with a particular driver (see SU*UpdateDriver.h) +- (void)checkForUpdatesWithDriver:(SUUpdateDriver *)driver; + +- (BOOL)updateInProgress; + +@end + +@interface NSObject (SUUpdaterDelegateInformalProtocol) +// This method allows you to add extra parameters to the appcast URL, potentially based on whether or not +// Sparkle will also be sending along the system profile. This method should return an array of dictionaries with the following keys: +- (NSArray *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile; + +// Use this to override the default behavior for Sparkle prompting the user about automatic update checks. +- (BOOL)shouldPromptForPermissionToCheckForUpdates; + +// Implement this if you want to do some special handling with the appcast once it finishes loading. +- (void)appcastDidFinishLoading:(SUAppcast *)appcast; + +// If you're using special logic or extensions in your appcast, implement this to use your own logic for finding +// a valid update, if any, in the given appcast. +- (SUAppcastItem *)bestValidUpdateInAppcast:(SUAppcast *)appcast; + +// Sent when a valid update is found by the update driver. +- (void)didFindValidUpdate:(SUAppcastItem *)update; + +// Sent when the user makes a choice in the update alert dialog (install now / remind me later / skip this version). +- (void)userChoseAction:(SUUpdateAlertChoice)action forUpdate:(SUAppcastItem *)update; + +// Sent immediately before installing the specified update. +- (void)updateWillInstall:(SUAppcastItem *)update; + +// Return YES to delay the relaunch until you do some processing; invoke the given NSInvocation to continue. +- (BOOL)shouldPostponeRelaunchForUpdate:(SUAppcastItem *)update untilInvoking:(NSInvocation *)invocation; + +// Called immediately before relaunching. +- (void)updaterWillRelaunchApplication; + +@end + +// Define some minimum intervals to avoid DOS-like checking attacks. These are in seconds. +#ifdef DEBUG +#define SU_MIN_CHECK_INTERVAL 60 +#else +#define SU_MIN_CHECK_INTERVAL 60*60 +#endif + +#ifdef DEBUG +#define SU_DEFAULT_CHECK_INTERVAL 60 +#else +#define SU_DEFAULT_CHECK_INTERVAL 60*60*24 +#endif + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUserDefaults.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUserDefaults.h new file mode 100644 index 00000000..ba2eedb2 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUserDefaults.h @@ -0,0 +1,41 @@ +// +// SUUserDefaults.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUUSERDEFAULTS_H +#define SUUSERDEFAULTS_H + +/*! + @class + @abstract A substitute for NSUserDefaults that will work with arbitrary bundle identifiers. + @discussion Make sure you call -setIdentifier: before using SUUserDefaults. The other methods in this class work just like those in NSUserDefaults. +*/ + +@interface SUUserDefaults : NSObject { + NSString *identifier; +} + +/*! + @method + @abstract Returns a singleton instance of the user defaults class. +*/ ++ (SUUserDefaults *)standardUserDefaults; + +/*! + @method + @abstract Sets which bundle identifier to use when setting and retrieving defaults. + @discussion It is imperative that you set the identifier through this method before trying to set or retrieve defaults. +*/ +- (void)setIdentifier:(NSString *)identifier; + +- (id)objectForKey:(NSString *)defaultName; +- (void)setObject:(id)value forKey:(NSString *)defaultName; +- (BOOL)boolForKey:(NSString *)defaultName; +- (void)setBool:(BOOL)value forKey:(NSString *)defaultName; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUUserInitiatedUpdateDriver.h b/trunk/Sparkle.framework/Versions/A/Headers/SUUserInitiatedUpdateDriver.h new file mode 100644 index 00000000..6849c91d --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUUserInitiatedUpdateDriver.h @@ -0,0 +1,21 @@ +// +// SUUserInitiatedUpdateDriver.h +// Sparkle +// +// Created by Andy Matuschak on 5/30/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUUSERINITIATEDUPDATEDRIVER_H +#define SUUSERINITIATEDUPDATEDRIVER_H + +#import <Cocoa/Cocoa.h> +#import "SUUIBasedUpdateDriver.h" + +@interface SUUserInitiatedUpdateDriver : SUUIBasedUpdateDriver { + SUStatusController *checkingController; +} + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h b/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h new file mode 100644 index 00000000..3d11ae87 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h @@ -0,0 +1,27 @@ +// +// SUVersionComparisonProtocol.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUVERSIONCOMPARISONPROTOCOL_H +#define SUVERSIONCOMPARISONPROTOCOL_H + +/*! + @protocol + @abstract Implement this protocol to provide version comparison facilities for Sparkle. +*/ +@protocol SUVersionComparison + +/*! + @method + @abstract An abstract method to compare two version strings. + @discussion Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent. +*/ +- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; + +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonTest.h b/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonTest.h new file mode 100644 index 00000000..b263a8d4 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUVersionComparisonTest.h @@ -0,0 +1,16 @@ +// +// SUVersionComparisonTest.h +// Sparkle +// +// Created by Andy Matuschak on 4/15/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#import <SenTestingKit/SenTestingKit.h> + + +@interface SUVersionComparisonTest : SenTestCase { + +} + +@end diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUWindowController.h b/trunk/Sparkle.framework/Versions/A/Headers/SUWindowController.h new file mode 100644 index 00000000..8b50a64c --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/SUWindowController.h @@ -0,0 +1,19 @@ +// +// SUWindowController.h +// Sparkle +// +// Created by Andy Matuschak on 2/13/08. +// Copyright 2008 Andy Matuschak. All rights reserved. +// + +#ifndef SUWINDOWCONTROLLER_H +#define SUWINDOWCONTROLLER_H + +#import <Cocoa/Cocoa.h> + +@interface SUWindowController : NSWindowController { } +// We use this instead of plain old NSWindowController initWithWindowNibName so that we'll be able to find the right path when running in a bundle loaded from another app. +- (id)initWithHostBundle:(NSBundle *)hb windowNibName:(NSString *)nibName; +@end + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Headers/Sparkle.h b/trunk/Sparkle.framework/Versions/A/Headers/Sparkle.h new file mode 100644 index 00000000..924ce289 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Headers/Sparkle.h @@ -0,0 +1,63 @@ +// +// Sparkle.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07) +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +// +// Prefix header for all source files of the 'Sparkle' target in the 'Sparkle' project. +// + +#ifndef SPARKLE_H +#define SPARKLE_H + +#define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleForClass:[self class]], comment) + +#ifdef __OBJC__ +#import <Cocoa/Cocoa.h> +#import "SUConstants.h" +#endif + + +// This list should include the shared headers. It doesn't matter if some of them aren't shared (unless +// there are name-space collisions) so we can list all of them to start with: + +#import "NSBundle+SUAdditions.h" +#import "NSFileManager+Aliases.h" +#import "NSFileManager+Authentication.h" +#import "NSFileManager+Verification.h" +#import "NSString+extras.h" +#import "NSURL+Parameters.h" +#import "NSWorkspace_RBAdditions.h" +#import "NSWorkspace+SystemVersion.h" + +#import "NTSynchronousTask.h" + +#import "RSS.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUAutomaticUpdateAlert.h" +#import "SUAutomaticUpdateDriver.h" +#import "SUBasicUpdateDriver.h" +#import "SUConstants.h" +#import "SUInstaller.h" +#import "SUProbingUpdateDriver.h" +#import "SUScheduledUpdateDriver.h" +#import "SUStandardVersionComparator.h" +#import "SUStatusController.h" +#import "SUSystemProfiler.h" +#import "SUUIBasedUpdateDriver.h" +#import "SUUnarchiver.h" +#import "SUUpdateAlert.h" +#import "SUUpdateDriver.h" +#import "SUUpdater.h" +#import "SUUpdatePermissionPrompt.h" +#import "SUUserInitiatedUpdateDriver.h" +#import "SUUserDefaults.h" +#import "SUVersionComparisonProtocol.h" +#import "SUWindowController.h" + +#endif diff --git a/trunk/Sparkle.framework/Versions/A/Resources/Info.plist b/trunk/Sparkle.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..2eb30510 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>Sparkle</string> + <key>CFBundleIdentifier</key> + <string>org.andymatuschak.Sparkle</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>Sparkle</string> + <key>CFBundlePackageType</key> + <string>FMWK</string> + <key>CFBundleShortVersionString</key> + <string>1.5 Beta 1</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.5</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist b/trunk/Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist new file mode 100644 index 00000000..92ef9471 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist @@ -0,0 +1,174 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>ADP2,1</key> + <string>Developer Transition Kit</string> + <key>MacBook1,1</key> + <string>MacBook (Core Duo)</string> + <key>MacBook2,1</key> + <string>MacBook (Core 2 Duo)</string> + <key>MacBook4,1</key> + <string>MacBook (Core 2 Duo Feb 2008)</string> + <key>MacBookAir1,1</key> + <string>MacBook Air (January 2008)</string> + <key>MacBookPro1,1</key> + <string>MacBook Pro Core Duo (15-inch)</string> + <key>MacBookPro1,2</key> + <string>MacBook Pro Core Duo (17-inch)</string> + <key>MacBookPro2,1</key> + <string>MacBook Pro Core 2 Duo (17-inch)</string> + <key>MacBookPro2,2</key> + <string>MacBook Pro Core 2 Duo (15-inch)</string> + <key>MacBookPro3,1</key> + <string>MacBook Pro Core 2 Duo (15-inch LED, Core 2 Duo)</string> + <key>MacBookPro3,2</key> + <string>MacBook Pro Core 2 Duo (17-inch HD, Core 2 Duo)</string> + <key>MacBookPro4,1</key> + <string>MacBook Pro (Core 2 Duo Feb 2008)</string> + <key>MacPro1,1</key> + <string>Mac Pro (four-core)</string> + <key>MacPro2,1</key> + <string>Mac Pro (eight-core)</string> + <key>MacPro3,1</key> + <string>Mac Pro (January 2008 4- or 8- core "Harpertown")</string> + <key>Macmini1,1</key> + <string>Mac Mini (Core Solo/Duo)</string> + <key>PowerBook1,1</key> + <string>PowerBook G3</string> + <key>PowerBook2,1</key> + <string>iBook G3</string> + <key>PowerBook2,2</key> + <string>iBook G3 (FireWire)</string> + <key>PowerBook2,3</key> + <string>iBook G3</string> + <key>PowerBook2,4</key> + <string>iBook G3</string> + <key>PowerBook3,1</key> + <string>PowerBook G3 (FireWire)</string> + <key>PowerBook3,2</key> + <string>PowerBook G4</string> + <key>PowerBook3,3</key> + <string>PowerBook G4 (Gigabit Ethernet)</string> + <key>PowerBook3,4</key> + <string>PowerBook G4 (DVI)</string> + <key>PowerBook3,5</key> + <string>PowerBook G4 (1GHz / 867MHz)</string> + <key>PowerBook4,1</key> + <string>iBook G3 (Dual USB, Late 2001)</string> + <key>PowerBook4,2</key> + <string>iBook G3 (16MB VRAM)</string> + <key>PowerBook4,3</key> + <string>iBook G3 Opaque 16MB VRAM, 32MB VRAM, Early 2003)</string> + <key>PowerBook5,1</key> + <string>PowerBook G4 (17 inch)</string> + <key>PowerBook5,2</key> + <string>PowerBook G4 (15 inch FW 800)</string> + <key>PowerBook5,3</key> + <string>PowerBook G4 (17-inch 1.33GHz)</string> + <key>PowerBook5,4</key> + <string>PowerBook G4 (15 inch 1.5/1.33GHz)</string> + <key>PowerBook5,5</key> + <string>PowerBook G4 (17-inch 1.5GHz)</string> + <key>PowerBook5,6</key> + <string>PowerBook G4 (15 inch 1.67GHz/1.5GHz)</string> + <key>PowerBook5,7</key> + <string>PowerBook G4 (17-inch 1.67GHz)</string> + <key>PowerBook5,8</key> + <string>PowerBook G4 (Double layer SD, 15 inch)</string> + <key>PowerBook5,9</key> + <string>PowerBook G4 (Double layer SD, 17 inch)</string> + <key>PowerBook6,1</key> + <string>PowerBook G4 (12 inch)</string> + <key>PowerBook6,2</key> + <string>PowerBook G4 (12 inch, DVI)</string> + <key>PowerBook6,3</key> + <string>iBook G4</string> + <key>PowerBook6,4</key> + <string>PowerBook G4 (12 inch 1.33GHz)</string> + <key>PowerBook6,5</key> + <string>iBook G4 (Early-Late 2004)</string> + <key>PowerBook6,7</key> + <string>iBook G4 (Mid 2005)</string> + <key>PowerBook6,8</key> + <string>PowerBook G4 (12 inch 1.5GHz)</string> + <key>PowerMac1,1</key> + <string>Power Macintosh G3 (Blue & White)</string> + <key>PowerMac1,2</key> + <string>Power Macintosh G4 (PCI Graphics)</string> + <key>PowerMac10,1</key> + <string>Mac Mini G4</string> + <key>PowerMac10,2</key> + <string>Mac Mini (Late 2005)</string> + <key>PowerMac11,2</key> + <string>Power Macintosh G5 (Late 2005)</string> + <key>PowerMac12,1</key> + <string>iMac G5 (iSight)</string> + <key>PowerMac2,1</key> + <string>iMac G3 (Slot-loading CD-ROM)</string> + <key>PowerMac2,2</key> + <string>iMac G3 (Summer 2000)</string> + <key>PowerMac3,1</key> + <string>Power Macintosh G4 (AGP Graphics)</string> + <key>PowerMac3,2</key> + <string>Power Macintosh G4 (AGP Graphics)</string> + <key>PowerMac3,3</key> + <string>Power Macintosh G4 (Gigabit Ethernet)</string> + <key>PowerMac3,4</key> + <string>Power Macintosh G4 (Digital Audio)</string> + <key>PowerMac3,5</key> + <string>Power Macintosh G4 (Quick Silver)</string> + <key>PowerMac3,6</key> + <string>Power Macintosh G4 (Mirrored Drive Door)</string> + <key>PowerMac4,1</key> + <string>iMac G3 (Early/Summer 2001)</string> + <key>PowerMac4,2</key> + <string>iMac G4 (Flat Panel)</string> + <key>PowerMac4,4</key> + <string>eMac</string> + <key>PowerMac4,5</key> + <string>iMac G4 (17-inch Flat Panel)</string> + <key>PowerMac5,1</key> + <string>Power Macintosh G4 Cube</string> + <key>PowerMac6,1</key> + <string>iMac G4 (USB 2.0)</string> + <key>PowerMac6,3</key> + <string>iMac G4 (20-inch Flat Panel)</string> + <key>PowerMac6,4</key> + <string>eMac (USB 2.0, 2005)</string> + <key>PowerMac7,2</key> + <string>Power Macintosh G5</string> + <key>PowerMac7,3</key> + <string>Power Macintosh G5</string> + <key>PowerMac8,1</key> + <string>iMac G5</string> + <key>PowerMac8,2</key> + <string>iMac G5 (Ambient Light Sensor)</string> + <key>PowerMac9,1</key> + <string>Power Macintosh G5 (Late 2005)</string> + <key>RackMac1,1</key> + <string>Xserve G4</string> + <key>RackMac1,2</key> + <string>Xserve G4 (slot-loading, cluster node)</string> + <key>RackMac3,1</key> + <string>Xserve G5</string> + <key>Xserve1,1</key> + <string>Xserve (Intel Xeon)</string> + <key>Xserve2,1</key> + <string>Xserve (January 2008 quad-core)</string> + <key>iMac1,1</key> + <string>iMac G3 (Rev A-D)</string> + <key>iMac4,1</key> + <string>iMac (Core Duo)</string> + <key>iMac4,2</key> + <string>iMac for Education (17-inch, Core Duo)</string> + <key>iMac5,1</key> + <string>iMac (Core 2 Duo, 17 or 20 inch, SuperDrive)</string> + <key>iMac5,2</key> + <string>iMac (Core 2 Duo, 17 inch, Combo Drive)</string> + <key>iMac6,1</key> + <string>iMac (Core 2 Duo, 24 inch, SuperDrive)</string> + <key>iMac8,1</key> + <string>iMac (April 2008)</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib new file mode 100644 index 00000000..3c6ae83f --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>CLASS</key> + <string>NSApplication</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSResponder</string> + </dict> + <dict> + <key>CLASS</key> + <string>FirstResponder</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + <dict> + <key>CLASS</key> + <string>NSObject</string> + <key>LANGUAGE</key> + <string>ObjC</string> + </dict> + <dict> + <key>CLASS</key> + <string>SUStatusController</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>actionButton</key> + <string>NSButton</string> + <key>progressBar</key> + <string>NSProgressIndicator</string> + </dict> + <key>SUPERCLASS</key> + <string>NSWindowController</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib new file mode 100644 index 00000000..4318cb1b --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>629</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../Sparkle.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array> + <integer>6</integer> + </array> + <key>IBSystem Version</key> + <string>9C31</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib Binary files differnew file mode 100644 index 00000000..4bdc9d67 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib new file mode 100644 index 00000000..4b1ab30e --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>CLASS</key> + <string>SUWindowController</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSWindowController</string> + </dict> + <dict> + <key>ACTIONS</key> + <dict> + <key>doNotInstall</key> + <string>id</string> + <key>installLater</key> + <string>id</string> + <key>installNow</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>SUAutomaticUpdateAlert</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>SUWindowController</string> + </dict> + <dict> + <key>CLASS</key> + <string>FirstResponder</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + <dict> + <key>CLASS</key> + <string>NSObject</string> + <key>LANGUAGE</key> + <string>ObjC</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib new file mode 100644 index 00000000..ab36d310 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>658</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../Sparkle.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array> + <integer>6</integer> + </array> + <key>IBSystem Version</key> + <string>9C7010</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib Binary files differnew file mode 100644 index 00000000..7630390c --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib new file mode 100644 index 00000000..994d4c36 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>CLASS</key> + <string>SUWindowController</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSWindowController</string> + </dict> + <dict> + <key>CLASS</key> + <string>NSApplication</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSResponder</string> + </dict> + <dict> + <key>ACTIONS</key> + <dict> + <key>installUpdate</key> + <string>id</string> + <key>remindMeLater</key> + <string>id</string> + <key>skipThisVersion</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>SUUpdateAlert</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>delegate</key> + <string>id</string> + <key>description</key> + <string>NSTextField</string> + <key>releaseNotesView</key> + <string>WebView</string> + </dict> + <key>SUPERCLASS</key> + <string>SUWindowController</string> + </dict> + <dict> + <key>CLASS</key> + <string>FirstResponder</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + <dict> + <key>CLASS</key> + <string>NSObject</string> + <key>LANGUAGE</key> + <string>ObjC</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib new file mode 100644 index 00000000..d9b82f55 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>649</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../Sparkle.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array> + <integer>6</integer> + </array> + <key>IBSystem Version</key> + <string>9C7010</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib Binary files differnew file mode 100644 index 00000000..b3a80995 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib new file mode 100644 index 00000000..5220a221 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBClasses</key> + <array> + <dict> + <key>CLASS</key> + <string>SUWindowController</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSWindowController</string> + </dict> + <dict> + <key>ACTIONS</key> + <dict> + <key>finishPrompt</key> + <string>id</string> + <key>toggleMoreInfo</key> + <string>id</string> + </dict> + <key>CLASS</key> + <string>SUUpdatePermissionPrompt</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>OUTLETS</key> + <dict> + <key>delegate</key> + <string>id</string> + <key>descriptionTextField</key> + <string>NSTextField</string> + <key>moreInfoButton</key> + <string>NSButton</string> + <key>moreInfoView</key> + <string>NSView</string> + </dict> + <key>SUPERCLASS</key> + <string>SUWindowController</string> + </dict> + <dict> + <key>CLASS</key> + <string>FirstResponder</string> + <key>LANGUAGE</key> + <string>ObjC</string> + <key>SUPERCLASS</key> + <string>NSObject</string> + </dict> + <dict> + <key>CLASS</key> + <string>NSObject</string> + <key>LANGUAGE</key> + <string>ObjC</string> + </dict> + </array> + <key>IBVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib new file mode 100644 index 00000000..cee1fbcc --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBFramework Version</key> + <string>644</string> + <key>IBLastKnownRelativeProjectPath</key> + <string>../../Sparkle.xcodeproj</string> + <key>IBOldestOS</key> + <integer>5</integer> + <key>IBOpenObjects</key> + <array> + <integer>6</integer> + <integer>42</integer> + </array> + <key>IBSystem Version</key> + <string>9C7010</string> + <key>targetFramework</key> + <string>IBCocoaFramework</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib Binary files differnew file mode 100644 index 00000000..6df9ce74 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib diff --git a/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings Binary files differnew file mode 100644 index 00000000..34cf8170 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings diff --git a/trunk/Sparkle.framework/Versions/A/Resources/relaunch b/trunk/Sparkle.framework/Versions/A/Resources/relaunch Binary files differnew file mode 100755 index 00000000..91525fe6 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Resources/relaunch diff --git a/trunk/Sparkle.framework/Versions/A/Sparkle b/trunk/Sparkle.framework/Versions/A/Sparkle Binary files differnew file mode 100755 index 00000000..05c8dab2 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/Sparkle diff --git a/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/Info.plist b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/Info.plist new file mode 100644 index 00000000..150493ef --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/Info.plist @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>relaunch</string> + <key>CFBundleIdentifier</key> + <string>org.andymatuschak.Sparkle.relaunch</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1.5</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> + <key>NSUIElement</key> + <string>1</string> +</dict> +</plist> diff --git a/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/MacOS/relaunch b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/MacOS/relaunch Binary files differnew file mode 100755 index 00000000..45b57f0d --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/MacOS/relaunch diff --git a/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/PkgInfo b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/PkgInfo new file mode 100644 index 00000000..bd04210f --- /dev/null +++ b/trunk/Sparkle.framework/Versions/A/relaunch.app/Contents/PkgInfo @@ -0,0 +1 @@ +APPL????
\ No newline at end of file diff --git a/trunk/Sparkle.framework/Versions/Current b/trunk/Sparkle.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/trunk/Sparkle.framework/Versions/Current @@ -0,0 +1 @@ +A
\ No newline at end of file diff --git a/trunk/Sparkle.framework/relaunch.app b/trunk/Sparkle.framework/relaunch.app new file mode 120000 index 00000000..d2b01a5e --- /dev/null +++ b/trunk/Sparkle.framework/relaunch.app @@ -0,0 +1 @@ +Versions/Current/relaunch.app
\ No newline at end of file diff --git a/trunk/TableContent.h b/trunk/TableContent.h new file mode 100644 index 00000000..64a57060 --- /dev/null +++ b/trunk/TableContent.h @@ -0,0 +1,138 @@ +// +// TableDocument.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// Forked by Abhi Beckert (abhibeckert.com) 2008-04-04 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMCopyTable.h" +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + + +@interface TableContent : NSObject { + + IBOutlet id tableDocumentInstance; + IBOutlet id tablesListInstance; + IBOutlet id tableSourceInstance; + + IBOutlet id tableWindow; + IBOutlet CMCopyTable *tableContentView; + IBOutlet id editSheet; + IBOutlet id editImage; + IBOutlet id editTextView; + IBOutlet id hexTextView; + IBOutlet id fieldField; + IBOutlet id compareField; + IBOutlet id argumentField; + IBOutlet id filterButton; + IBOutlet id addButton; + IBOutlet id copyButton; + IBOutlet id removeButton; + IBOutlet id multipleLineEditingButton; + IBOutlet id countText; + IBOutlet id limitRowsField; + IBOutlet id limitRowsButton; + IBOutlet id limitRowsStepper; + IBOutlet id limitRowsText; + + CMMCPConnection *mySQLConnection; + + id editData; + NSString *selectedTable; + NSMutableArray *fullResult, *filteredResult, *keys; + NSMutableDictionary *oldRow; + NSArray *fieldNames, *fieldTypes; + NSString *compareType, *sortField; + BOOL isEditingRow, isEditingNewRow, isDesc, setLimit; + NSUserDefaults *prefs; + int numRows; + bool areShowingAllRows; + +} + +//table methods +- (void)loadTable:(NSString *)aTable; +- (IBAction)reloadTable:(id)sender; +- (IBAction)reloadTableValues:(id)sender; +- (IBAction)filterTable:(id)sender; +- (IBAction)showAll:(id)sender; + +//edit methods +- (IBAction)addRow:(id)sender; +- (IBAction)copyRow:(id)sender; +- (IBAction)removeRow:(id)sender; + +//editSheet methods +- (IBAction)closeEditSheet:(id)sender; +- (IBAction)openEditSheet:(id)sender; +- (IBAction)saveEditSheet:(id)sender; +- (IBAction)dropImage:(id)sender; +- (void)textDidChange:(NSNotification *)notification; +- (NSString *)dataToHex:(NSData *)data; + +//getter methods +- (NSArray *)currentResult; + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection; +- (IBAction)setCompareTypes:(id)sender; +- (IBAction)stepLimitRows:(id)sender; +- (NSArray *)fetchResultAsArray:(CMMCPResult *)theResult; +- (BOOL)addRowToDB; +- (NSString *)argumentForRow:(int)row; +- (BOOL)isBlobOrText:(NSString *)fieldType; +- (NSString *)fieldListForQuery; +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; +- (int)getNumberOfRows; +- (int)fetchNumberOfRows; + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView +objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//tableView delegate methods +- (void)tableView:(NSTableView*)tableView didClickTableColumn:(NSTableColumn *)tableColumn; +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView; +- (void)tableViewSelectionDidChange:(NSNotification *)aNotification; +- (void)tableViewSelectionIsChanging:(NSNotification *)aNotification; +- (void)tableViewColumnDidResize:(NSNotification *)aNotification; +- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex; +- (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard; +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command; + +//textView delegate methods +- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector; + +//last but not least +- (id)init; +- (void)dealloc; + +@end diff --git a/trunk/TableContent.m b/trunk/TableContent.m new file mode 100644 index 00000000..1e5e898a --- /dev/null +++ b/trunk/TableContent.m @@ -0,0 +1,1959 @@ +// +// TableDocument.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// Forked by Abhi Beckert (abhibeckert.com) 2008-04-04 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + +#import "TableContent.h" +#import "TableDocument.h" +#import "TablesList.h" +#import "TableSource.h" +#import "CMImageView.h" + + +@implementation TableContent + +- (id)init +{ + if (![super init]) + return nil; + + fullResult = [[NSMutableArray alloc] init]; + filteredResult = [[NSMutableArray alloc] init]; + oldRow = [[NSMutableDictionary alloc] init]; + selectedTable = nil; + sortField = nil; + areShowingAllRows = false; + + return self; +} + +- (void)awakeFromNib +{ +} + +/* + Loads aTable, retrieving column information and updating the tableViewColumns before + reloading table data into the fullResults array and redrawing the table. + */ +- (void)loadTable:(NSString *)aTable +{ + int i; + NSNumber *colWidth; + NSArray *theColumns; + NSTableColumn *theCol; + NSString *query; + CMMCPResult *queryResult; + BOOL preserveCurrentView = [aTable isEqualToString:selectedTable]; + NSString *preservedFilterField = nil, *preservedFilterComparison, *preservedFilterValue; + + // Clear the selection, and abort the reload if the user is still editing a row + [tableContentView deselectAll:self]; + if ( isEditingRow ) + return; + + // Store the newly selected table name + selectedTable = aTable; + + // Reset table key store for use in argumentForRow: + if ( keys ) + keys = nil; + + // Restore the table content view to the top left + [tableContentView scrollRowToVisible:0]; + [tableContentView scrollColumnToVisible:0]; + + // If no table has been supplied, reset the view to a blank table and disabled elements + if ( [aTable isEqualToString:@""] || !aTable ) + { + + // Empty the table and stored data arrays + theColumns = [tableContentView tableColumns]; + while ([theColumns count]) { + [tableContentView removeTableColumn:[theColumns objectAtIndex:0]]; + } + [fullResult removeAllObjects]; + [filteredResult removeAllObjects]; + [tableContentView reloadData]; + areShowingAllRows = YES; + [countText setStringValue:@""]; + + // Empty and disable filter options + [fieldField setEnabled:NO]; + [fieldField removeAllItems]; + [fieldField addItemWithTitle:NSLocalizedString(@"field", @"popup menuitem for field (showing only if disabled)")]; + [compareField setEnabled:NO]; + [compareField removeAllItems]; + [compareField addItemWithTitle:NSLocalizedString(@"is", @"popup menuitem for field IS value")]; + [argumentField setEnabled:NO]; + [argumentField setStringValue:@""]; + [filterButton setEnabled:NO]; + + // Empty and disable the limit field + [limitRowsField setStringValue:@""]; + [limitRowsText setStringValue:NSLocalizedString(@"No limit", @"text showing that the result isn't limited")]; + [limitRowsField setEnabled:NO]; + [limitRowsButton setEnabled:NO]; + [limitRowsStepper setEnabled:NO]; + + // Disable table action buttons + [addButton setEnabled:NO]; + [copyButton setEnabled:NO]; + [removeButton setEnabled:NO]; + + return; + } + + // Post a notification that a query will be performed + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + + // Make a fast query to get fieldNames and fieldTypes for this table. This is used to decide whether to preserve the + // current filter/sort settings, and also used when grabbing all the data as part of the fieldListForQuery method. + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SELECT * FROM `%@` LIMIT 0", selectedTable]]; + if ( queryResult == nil ) { + NSLog(@"Loading table columns for %@ failed", aTable); + return; + } + fieldNames = [[queryResult fetchFieldNames] retain]; + fieldTypes = [[queryResult fetchTypesAsArray] retain]; + + // Retrieve the number of rows in the table and initially mark all as being visible. + numRows = [self getNumberOfRows]; + areShowingAllRows = YES; + + // Remove existing columns from the table + theColumns = [tableContentView tableColumns]; + while ([theColumns count]) { + [tableContentView removeTableColumn:[theColumns objectAtIndex:0]]; + } + + // Add the new columns to the table + for ( i = 0 ; i < [fieldNames count] ; i++ ) { + + // Set up the column + theCol = [[NSTableColumn alloc] initWithIdentifier:[fieldNames objectAtIndex:i]]; + [theCol setEditable:YES]; + if ( [theCol respondsToSelector:@selector(setResizingMask:)] ) { + // Mac OS X 10.4+ + [theCol setResizingMask:NSTableColumnUserResizingMask]; + } else { + // Mac OS X pre-10.4 + [theCol setResizable:YES]; + } + [[theCol headerCell] setStringValue:[fieldNames objectAtIndex:i]]; + + // Set up the data cell depending on the column type + NSComboBoxCell *dataCell; + if ( [[tableSourceInstance enumFields] objectForKey:[fieldNames objectAtIndex:i]] ) + { + dataCell = [[[NSComboBoxCell alloc] initTextCell:@""] autorelease]; + [dataCell setButtonBordered:NO]; + [dataCell setBezeled:NO]; + [dataCell setDrawsBackground:NO]; + [dataCell setCompletes:YES]; + [dataCell setControlSize:NSSmallControlSize]; + [dataCell addItemWithObjectValue:@"NULL"]; + [dataCell addItemsWithObjectValues:[[tableSourceInstance enumFields] objectForKey:[fieldNames objectAtIndex:i]]]; + } + else + { + dataCell = [[[NSTextFieldCell alloc] initTextCell:@""] autorelease]; + } + [dataCell setEditable:YES]; + + if ( [dataCell respondsToSelector:@selector(setLineBreakMode:)] ) { + // Mac OS X 10.4+ + [dataCell setLineBreakMode:NSLineBreakByTruncatingTail]; + } + + // Set the data cell font according to the preferences + if ( [prefs boolForKey:@"useMonospacedFonts"] ) + { + [dataCell setFont:[NSFont fontWithName:@"Monaco" size:10]]; + } + else + { + [dataCell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + + // Assign the data cell + [theCol setDataCell:dataCell]; + + // Set the width of this column to saved value if exists + colWidth = [[[[prefs objectForKey:@"tableColumnWidths"] objectForKey:[NSString stringWithFormat:@"%@@%@", [tableDocumentInstance database], [tableDocumentInstance host]]] objectForKey:[tablesListInstance table]] objectForKey:[fieldNames objectAtIndex:i]]; + if ( colWidth ) + { + [theCol setWidth:[colWidth floatValue]]; + } + + // Add the column to the table + [tableContentView addTableColumn:theCol]; + [theCol release]; + } + + // If the table has been reloaded and the previously selected sort column is still present, reselect it. + if (preserveCurrentView && [fieldNames containsObject:sortField]) + { + theCol = [tableContentView tableColumnWithIdentifier:sortField]; + [tableContentView setHighlightedTableColumn:theCol]; + if ( isDesc ) { + [tableContentView setIndicatorImage:[NSImage imageNamed:@"NSDescendingSortIndicator"] inTableColumn:theCol]; + } else { + [tableContentView setIndicatorImage:[NSImage imageNamed:@"NSAscendingSortIndicator"] inTableColumn:theCol]; + } + } + + // Otherwise, clear sorting + else + { + sortField = nil; + isDesc = NO; + } + + // Preserve the stored filter settings if appropriate + if (preserveCurrentView && [fieldField isEnabled]) + { + preservedFilterField = [NSString stringWithString:[[fieldField selectedItem] title]]; + preservedFilterComparison = [NSString stringWithString:[[compareField selectedItem] title]]; + preservedFilterValue = [NSString stringWithString:[argumentField stringValue]]; + } + + // Enable and initialize filter fields (with tags for position of menu item and field position) + [fieldField setEnabled:YES]; + [fieldField removeAllItems]; + [fieldField addItemsWithTitles:fieldNames]; + for ( i = 0 ; i < [fieldField numberOfItems] ; i++ ) { + [[fieldField itemAtIndex:i] setTag:i]; + } + [compareField setEnabled:YES]; + [self setCompareTypes:self]; + [argumentField setEnabled:YES]; + [argumentField setStringValue:@""]; + [filterButton setEnabled:YES]; + + // Restore preserved filter settings if appropriate and valid + if (preserveCurrentView && preservedFilterField != nil && [fieldField itemWithTitle:preservedFilterField]) + { + [fieldField selectItemWithTitle:preservedFilterField]; + [self setCompareTypes:self]; + } + if (preserveCurrentView && preservedFilterField != nil + && [fieldField itemWithTitle:preservedFilterField] + && [compareField itemWithTitle:preservedFilterComparison]) + { + [compareField selectItemWithTitle:preservedFilterComparison]; + [argumentField setStringValue:preservedFilterValue]; + areShowingAllRows = NO; + } + + // Enable or disable the limit fields according to preference setting + if ( [prefs boolForKey:@"limitRows"] ) + { + [limitRowsField setStringValue:@"1"]; + [limitRowsField setEnabled:YES]; + [limitRowsButton setEnabled:YES]; + [limitRowsStepper setEnabled:YES]; + [limitRowsText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Limited to %d rows starting with row", @"text showing the number of rows the result is limited to"), + [prefs integerForKey:@"limitRowsValue"]]]; + if ([prefs integerForKey:@"limitRowsValue"] < numRows) + areShowingAllRows = NO; + } + else + { + [limitRowsField setEnabled:NO]; + [limitRowsButton setEnabled:NO]; + [limitRowsStepper setEnabled:NO]; + [limitRowsField setStringValue:@""]; + [limitRowsText setStringValue:NSLocalizedString(@"No limit", @"text showing that the result isn't limited")]; + } + + // Enable the table buttons + [addButton setEnabled:YES]; + [copyButton setEnabled:YES]; + [removeButton setEnabled:YES]; + + + // Perform the data query and store the result as an array containing a dictionary per result row + query = [NSString stringWithFormat:@"SELECT %@ FROM `%@`", [self fieldListForQuery], selectedTable]; + if ( sortField ) + { + query = [NSString stringWithFormat:@"%@ ORDER BY `%@`", query, sortField]; + if ( isDesc ) + query = [query stringByAppendingString:@" DESC"]; + } + if ( [prefs boolForKey:@"limitRows"] ) + { + if ( [limitRowsField intValue] <= 0 ) + { + [limitRowsField setStringValue:@"1"]; + } + query = [query stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + } + queryResult = [mySQLConnection queryString:query]; + if ( queryResult == nil ) { + NSLog(@"Loading table data for %@ failed, query string was: %@", aTable, query); + return; + } + [fullResult setArray:[self fetchResultAsArray:queryResult]]; + + // Apply any filtering and update the row count + if ( !areShowingAllRows ) { + [self filterTable:self]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows of %d selected", @"text showing how many rows are in the filtered result"), [filteredResult count], numRows]]; + } else { + [filteredResult setArray:fullResult]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows in table", @"text showing how many rows are in the result"), numRows]]; + } + + // Reload the table data. + [tableContentView reloadData]; + + // Post the notification that the query is finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; +} + +/* + Reloads the current table data, performing a new SQL query. Now attempts to preserve sort order, filters, and viewport. + */ +- (IBAction)reloadTable:(id)sender +{ + // Store the current viewport location + NSRect viewRect = [tableContentView visibleRect]; + + [self loadTable:selectedTable]; + + // Restore the viewport + [tableContentView scrollRectToVisible:viewRect]; +} + +- (IBAction)reloadTableValues:(id)sender +/* + reload the table values without reconfiguring the tableView (with filter and limit if set) + */ +{ + NSString *queryString; + CMMCPResult *queryResult; + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + //enable or disable limit fields + if ( [prefs boolForKey:@"limitRows"] ) { + [limitRowsField setEnabled:YES]; + [limitRowsButton setEnabled:YES]; + [limitRowsStepper setEnabled:YES]; + [limitRowsText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Limited to %d rows starting with row", @"text showing the number of rows the result is limited to"), + [prefs integerForKey:@"limitRowsValue"]]]; + } else { + [limitRowsField setEnabled:NO]; + [limitRowsButton setEnabled:NO]; + [limitRowsStepper setEnabled:NO]; + [limitRowsText setStringValue:NSLocalizedString(@"No limit", @"text showing that the result isn't limited")]; + [limitRowsField setStringValue:@""]; + } + + // queryString = [@"SELECT * FROM " stringByAppendingString:selectedTable]; + queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@`", [self fieldListForQuery], selectedTable]; + if ( sortField ) { + queryString = [NSString stringWithFormat:@"%@ ORDER BY `%@`", queryString, sortField]; + // queryString = [queryString stringByAppendingString:[NSString stringWithFormat:@" ORDER BY `%@`", sortField]]; + if ( isDesc ) + queryString = [queryString stringByAppendingString:@" DESC"]; + } + if ( [prefs boolForKey:@"limitRows"] ) { + if ( [limitRowsField intValue] <= 0 ) { + [limitRowsField setStringValue:@"1"]; + } + queryString = [queryString stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + [limitRowsField selectText:self]; + } + queryResult = [mySQLConnection queryString:queryString]; + // [fullResult setArray:[[self fetchResultAsArray:queryResult] retain]]; + [fullResult setArray:[self fetchResultAsArray:queryResult]]; + numRows = [self getNumberOfRows]; + if ( !areShowingAllRows ) { + [self filterTable:self]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows of %d selected", @"text showing how many rows are in the filtered result"), [filteredResult count], numRows]]; + } else { + [filteredResult setArray:fullResult]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows in table", @"text showing how many rows are in the result"), numRows]]; + } + [tableContentView reloadData]; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; +} + +/** + * filter the table with arguments given by the user + */ +- (IBAction)filterTable:(id)sender +{ + CMMCPResult *theResult; + int tag = [[compareField selectedItem] tag]; + NSString *compareOperator = @""; + NSMutableString *argument = [[NSMutableString alloc] initWithString:[argumentField stringValue]]; + NSString *queryString; + int i; + + if ([argument length] == 0) { + [argument release]; + [self showAll:sender]; + return; + } + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + BOOL doQuote = YES; + + if ( ![compareType isEqualToString:@""] ) { + if ( [compareType isEqualToString:@"string"] ) { + //string comparision + switch ( tag ) { + case 0: + compareOperator = @"LIKE"; + break; + case 1: + compareOperator = @"NOT LIKE"; + break; + case 2: + compareOperator = @"LIKE"; + [argument setString:[[@"%" stringByAppendingString:argument] stringByAppendingString:@"%"]]; + break; + case 3: + compareOperator = @"NOT LIKE"; + [argument setString:[[@"%" stringByAppendingString:argument] stringByAppendingString:@"%"]]; + break; + case 4: + compareOperator = @"IN"; + doQuote = NO; + [argument setString:[[@"(" stringByAppendingString:argument] stringByAppendingString:@")"]]; + break; + } + } else if ( [compareType isEqualToString:@"number"] ) { + //number comparision + switch ( tag ) { + case 0: + compareOperator = @"="; + break; + case 1: + compareOperator = @"!="; + break; + case 2: + compareOperator = @">"; + break; + case 3: + compareOperator = @"<"; + break; + case 4: + compareOperator = @">="; + break; + case 5: + compareOperator = @"<="; + break; + case 6: + compareOperator = @"IN"; + doQuote = NO; + [argument setString:[[@"(" stringByAppendingString:argument] stringByAppendingString:@")"]]; + break; + } + } else if ( [compareType isEqualToString:@"date"] ) { + //date comparision + switch ( tag ) { + case 0: + compareOperator = @"="; + break; + case 1: + compareOperator = @"!="; + break; + case 2: + compareOperator = @"<"; + break; + case 3: + compareOperator = @">"; + break; + case 4: + compareOperator = @"<="; + break; + case 5: + compareOperator = @">="; + break; + } + } + + // queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@` WHERE `%@` %@ '%@'", + // [self fieldListForQuery], selectedTable, [fieldField titleOfSelectedItem], + // compareOperator, argument]; + if (doQuote) { + //escape special characters + for ( i = 0 ; i < [argument length] ; i++ ) { + if ( [argument characterAtIndex:i] == '\\' ) { + [argument insertString:@"\\" atIndex:i]; + i++; + } + } + [argument setString:[mySQLConnection prepareString:argument]]; + queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@` WHERE `%@` %@ \"%@\"", + [self fieldListForQuery], selectedTable, [fieldField titleOfSelectedItem], + compareOperator, argument]; + } else { + queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@` WHERE `%@` %@ %@", + [self fieldListForQuery], selectedTable, [fieldField titleOfSelectedItem], + compareOperator, argument]; + } + if ( sortField ) { + // queryString = [queryString stringByAppendingString:[NSString stringWithFormat:@" ORDER BY `%@`", sortField]]; + queryString = [NSString stringWithFormat:@"%@ ORDER BY `%@`", queryString, sortField]; + if ( isDesc ) + queryString = [queryString stringByAppendingString:@" DESC"]; + } + if ( [prefs boolForKey:@"limitRows"] ) { + if ( [limitRowsField intValue] <= 0 ) { + [limitRowsField setStringValue:@"1"]; + } + queryString = [queryString stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + } + } else { + NSLog(@"ERROR: unknown compare type %@", compareType); + queryString = @""; + } + + theResult = [mySQLConnection queryString:queryString]; + [filteredResult setArray:[self fetchResultAsArray:theResult]]; + + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows of %d selected", @"text showing how many rows are in the filtered result"), [filteredResult count], numRows]]; + + [tableContentView reloadData]; + areShowingAllRows = NO; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + [argument release]; +} + +/** + * reload tableView with all results shown (no new mysql-query, it uses simply the fullResult array) + */ +- (IBAction)showAll:(id)sender +{ + [filteredResult setArray:fullResult]; + [tableContentView reloadData]; + areShowingAllRows = YES; + + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows in table", @"text showing how many rows are in the result"), numRows]]; +} + + +//edit methods +- (IBAction)addRow:(id)sender +/* + adds an empty row to the table-array and goes into edit mode + */ +{ + NSMutableDictionary *newRow = [NSMutableDictionary dictionary]; + int i; + + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + for ( i = 0 ; i < [fieldNames count] ; i++ ) { + // [newRow setObject:[prefs stringForKey:@"nullValue"] forKey:[fieldNames objectAtIndex:i]]; + [newRow setObject:[tableSourceInstance defaultValueForField:[fieldNames objectAtIndex:i]] + forKey:[fieldNames objectAtIndex:i]]; + } + [filteredResult addObject:newRow]; + + isEditingRow = YES; + isEditingNewRow = YES; + [tableContentView reloadData]; + [tableContentView selectRow:[tableContentView numberOfRows]-1 byExtendingSelection:NO]; + if ( [multipleLineEditingButton state] == NSOffState ) + [tableContentView editColumn:0 row:[tableContentView numberOfRows]-1 withEvent:nil select:YES]; +} + +- (IBAction)copyRow:(id)sender +/* + copies a row of the table-array and goes into edit mode + */ +{ + NSMutableDictionary *tempRow; + CMMCPResult *queryResult; + NSDictionary *row; + int i; + + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + if ( [tableContentView numberOfSelectedRows] < 1 ) + return; + if ( [tableContentView numberOfSelectedRows] > 1 ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"You can only copy single rows.", @"message of panel when trying to copy multiple rows")); + return; + } + + //copy row + tempRow = [NSMutableDictionary dictionaryWithDictionary:[filteredResult objectAtIndex:[tableContentView selectedRow]]]; + [filteredResult insertObject:tempRow atIndex:[tableContentView selectedRow]+1]; + isEditingRow = YES; + isEditingNewRow = YES; + //set autoincrement fields to NULL + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW COLUMNS FROM `%@`", selectedTable]]; + if ([queryResult numOfRows]) [queryResult dataSeek:0]; + for ( i = 0 ; i < [queryResult numOfRows] ; i++ ) { + row = [queryResult fetchRowAsDictionary]; + if ( [[row objectForKey:@"Extra"] isEqualToString:@"auto_increment"] ) { + [tempRow setObject:[prefs stringForKey:@"nullValue"] forKey:[row objectForKey:@"Field"]]; + } + } + //select row and go in edit mode + [tableContentView reloadData]; + [tableContentView selectRow:[tableContentView selectedRow]+1 byExtendingSelection:NO]; + if ( [multipleLineEditingButton state] == NSOffState ) + [tableContentView editColumn:0 row:[tableContentView selectedRow] withEvent:nil select:YES]; +} + +- (IBAction)removeRow:(id)sender +/* + asks user if he really wants to delete the selected rows + */ +{ + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + if ( ![tableContentView numberOfSelectedRows] ) + return; + /* + if ( ([tableContentView numberOfSelectedRows] == [self numberOfRowsInTableView:tableContentView]) && + areShowingAllRows && + (![prefs boolForKey:@"limitRows"] || ([tableContentView numberOfSelectedRows] < [prefs integerForKey:@"limitRowsValue"])) ) { + */ + if ( ([tableContentView numberOfSelectedRows] == [tableContentView numberOfRows]) && + (([prefs boolForKey:@"limitRows"] && [tableContentView numberOfSelectedRows] == [self fetchNumberOfRows]) || + (![prefs boolForKey:@"limitRows"] && [tableContentView numberOfSelectedRows] == [self getNumberOfRows])) ) { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"removeallrows", NSLocalizedString(@"Do you really want to delete all rows?", @"message of panel asking for confirmation for deleting all rows")); + } else if ( [tableContentView numberOfSelectedRows] == 1 ) { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"removerow", NSLocalizedString(@"Do you really want to delete the selected row?", @"message of panel asking for confirmation for deleting the selected row")); + } else { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"removerow", + [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the selected %d rows?", @"message of panel asking for confirmation for deleting the selected rows"), [tableContentView numberOfSelectedRows]]); + } +} + + +//editSheet methods +- (IBAction)closeEditSheet:(id)sender +{ + [NSApp stopModalWithCode:[sender tag]]; +} + +- (IBAction)openEditSheet:(id)sender +/* + loads a file into the editSheet + */ +{ + NSOpenPanel *panel = [NSOpenPanel openPanel]; + + if ( [panel runModal] == NSOKButton ) { + NSString *fileName = [panel filename]; + + // free old data + if ( editData != nil ) { + [editData release]; + } + + // load new data/images + editData = [[NSData alloc] initWithContentsOfFile:fileName]; + NSImage *image = [[[NSImage alloc] initByReferencingFile:fileName] autorelease]; + NSString *contents = [[NSString stringWithContentsOfFile:fileName] autorelease]; + + // set the image preview, string contents and hex representation + [editImage setImage:image]; + [editTextView setString:contents]; + [hexTextView setString:[self dataToHex:editData]]; + } +} + +- (IBAction)saveEditSheet:(id)sender +/* + saves a file containing the content of the editSheet + */ +{ + NSSavePanel *panel = [NSSavePanel savePanel]; + + if ( [panel runModal] == NSOKButton ) { + NSString *fileName = [panel filename]; + NSString *data; + + if ( [editData isKindOfClass:[NSData class]] ) { + data = editData; + } else { + data = [editData description]; + } + if ( [editData respondsToSelector:@selector(writeToFile:atomically:encoding:error:)] ) { + // mac os 10.4 or later + [editData writeToFile:fileName atomically:YES encoding:[CMMCPConnection encodingForMySQLEncoding:[(NSString *)[tableDocumentInstance encoding] UTF8String]] error:NULL]; + } else { + // mac os pre 10.4 + [editData writeToFile:fileName atomically:YES]; + } + } +} + +- (IBAction)dropImage:(id)sender +/* + invoked when user drag&drops image on imageView + */ +{ + // load new data/images + if (nil != editData) + { + [editData release]; + } + editData = [[[NSData alloc] initWithContentsOfFile:[sender draggedFilePath]] retain]; + NSString *contents = [NSString stringWithContentsOfFile:[sender draggedFilePath]]; + + // set the string contents and hex representation + [editTextView setString:contents]; + [hexTextView setString:[self dataToHex:editData]]; +} + +- (void)textDidChange:(NSNotification *)notification +/* + invoked when the user changes the string in the editSheet + */ +{ + // clear the image and hex (since i doubt someone can "type" a gif) + [editImage setImage:nil]; + [hexTextView setString:@""]; + + // free old data + if ( editData != nil ) { + [editData release]; + } + + // set edit data to text + editData = [[editTextView string] retain]; +} + +- (NSString *)dataToHex:(NSData *)data +/* + returns the hex representation of the given data + */ +{ + unsigned i; + unsigned totalLength = [data length]; + int bytesPerLine = 16; + NSMutableString *retVal = [NSMutableString string]; + unsigned char *nodisplay = "\t\n\r\f"; + + // get the length of the longest location + int longest = [(NSString *)[NSString stringWithFormat:@"%X", totalLength - ( totalLength % bytesPerLine )] length]; + + for ( i = 0; i < totalLength; i += bytesPerLine ) { + int j; + NSMutableString *hex = [[NSMutableString alloc] initWithCapacity:(3 * bytesPerLine - 1)]; + NSMutableString *location = [[NSMutableString alloc] initWithCapacity:(longest + 2)]; + NSMutableString *chars = [[NSMutableString alloc] init]; + unsigned char *buffer; + int buffLength = bytesPerLine; + + // add hex value of location + [location appendString:[NSString stringWithFormat:@"%X", i]]; + + // pad it + while( longest > [location length] ) { + [location insertString:@"0" atIndex:0]; + } + + // get the chars from the NSData obj + if ( i + buffLength >= totalLength ) { + buffLength = totalLength - i; + } + buffer = (unsigned char*) malloc( sizeof( unsigned char ) * buffLength ); + NSRange range = { i, buffLength }; + [data getBytes:buffer range:range]; + + // build the hex string + for ( j = 0; j < buffLength; j++ ) { + unsigned char byte = *(buffer + j); + if ( byte < 16 ) { + [hex appendString:@"0"]; + } + [hex appendString:[NSString stringWithFormat:@"%X", byte]]; + [hex appendString:@" "]; + + // if the char is undisplayable, replace it with "." + unsigned char current; + int count = 0; + while ( ( current = *(nodisplay + count++) ) > 0 ) { + if ( current == byte ) { + *(buffer + j) = '.'; + break; + } + } + } + + // add padding to missing hex values. + for ( j = 0; j < bytesPerLine - buffLength; j++ ) { + [hex appendString:@" "]; + } + + // remove extra ghost characters + [chars appendString:[NSString stringWithCString:buffer]]; + if ( [chars length] > bytesPerLine ) { + [chars deleteCharactersInRange:NSMakeRange( bytesPerLine, [chars length] - bytesPerLine )]; + } + + // build line + [retVal appendString:location]; + [retVal appendString:@" "]; + [retVal appendString:hex]; + [retVal appendString:@" "]; + [retVal appendString:chars]; + [retVal appendString:@"\n"]; + + // clean up + [hex release]; + [chars release]; + [location release]; + free( buffer ); + } + + return retVal; +} + +//getter methods +- (NSArray *)currentResult +/* + returns the current result (as shown in table content view) as array, the first object containing the field names as array, the following objects containing the rows as array + */ +{ + NSArray *tableColumns; + NSEnumerator *enumerator; + id tableColumn; + NSMutableArray *currentResult = [NSMutableArray array]; + NSMutableArray *tempRow = [NSMutableArray array]; + int i; + + //load table if not already done + if ( ![tablesListInstance contentLoaded] ) { + [self loadTable:(NSString *)[tablesListInstance table]]; + } + + tableColumns = [tableContentView tableColumns]; + enumerator = [tableColumns objectEnumerator]; + + //set field names as first line + while ( (tableColumn = [enumerator nextObject]) ) { + [tempRow addObject:[[tableColumn headerCell] stringValue]]; + } + [currentResult addObject:[NSArray arrayWithArray:tempRow]]; + + //add rows + for ( i = 0 ; i < [self numberOfRowsInTableView:nil] ; i++) { + [tempRow removeAllObjects]; + enumerator = [tableColumns objectEnumerator]; + while ( (tableColumn = [enumerator nextObject]) ) { + [tempRow addObject:[self tableView:nil objectValueForTableColumn:tableColumn row:i]]; + } + [currentResult addObject:[NSArray arrayWithArray:tempRow]]; + } + return currentResult; +} + + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection +/* + sets the connection (received from TableDocument) and makes things that have to be done only once + */ +{ + mySQLConnection = theConnection; + + [tableContentView setVerticalMotionCanBeginDrag:NO]; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [argumentField setFont:[NSFont fontWithName:@"Monaco" size:10]]; + [limitRowsField setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [editTextView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } else { + [editTextView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [limitRowsField setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [argumentField setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + [hexTextView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [limitRowsStepper setEnabled:NO]; + if ( [prefs boolForKey:@"limitRows"] ) { + [limitRowsText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Limited to %d rows starting with row", @"text showing the number of rows the result is limited to"), + [prefs integerForKey:@"limitRowsValue"]]]; + } else { + [limitRowsText setStringValue:NSLocalizedString(@"No limit", @"text showing that the result isn't limited")]; + [limitRowsField setStringValue:@""]; + } +} + +- (IBAction)setCompareTypes:(id)sender +/* + sets the compare types for the filter and the appropriate formatter for the textField + */ +{ + NSArray *stringFields = [NSArray arrayWithObjects:@"varstring", @"string", @"tinyblob", @"blob", @"mediumblob", @"longblob", @"set", @"enum", nil]; + NSArray *stringTypes = [NSArray arrayWithObjects:NSLocalizedString(@"is", @"popup menuitem for field IS value"), NSLocalizedString(@"is not", @"popup menuitem for field IS NOT value"), NSLocalizedString(@"contains", @"popup menuitem for field CONTAINS value"), NSLocalizedString(@"contains not", @"popup menuitem for field CONTAINS NOT value"), @"IN", nil]; + NSArray *numberFields = [NSArray arrayWithObjects:@"tiny", @"short", @"long", @"int24", @"longlong", @"decimal", @"float", @"double", nil]; + NSArray *numberTypes = [NSArray arrayWithObjects:@"=", @"≠", @">", @"<", @"≥", @"≤", @"IN", nil]; + NSArray *dateFields = [NSArray arrayWithObjects:@"timestamp", @"date", @"time", @"datetime", @"year", nil]; + NSArray *dateTypes = [NSArray arrayWithObjects:NSLocalizedString(@"is", @"popup menuitem for field IS value"), NSLocalizedString(@"is not", @"popup menuitem for field IS NOT value"), NSLocalizedString(@"older than", @"popup menuitem for field OLDER THAN value"), NSLocalizedString(@"younger than", @"popup menuitem for field YOUNGER THAN value"), NSLocalizedString(@"older than or equal to", @"popup menuitem for field OLDER THAN OR EQUAL TO value"), NSLocalizedString(@"younger than or equal to", @"popup menuitem for field YOUNGER THAN OR EQUAL TO value"), nil]; + NSString *fieldType = [NSString stringWithString:[fieldTypes objectAtIndex:[[fieldField selectedItem] tag]]]; + // NSNumberFormatter *numberFormatter; + int i; + + // numberFormatter = [[[NSNumberFormatter alloc] init] autorelease]; + // [numberFormatter setFormat:@"0.####################"]; + + [compareField removeAllItems]; + // [argumentField setStringValue:@""]; + + //why do we get "string" for enum fields? (error in framework?) + if ( [stringFields containsObject:fieldType] ) { + [compareField addItemsWithTitles:stringTypes]; + compareType = @"string"; + // [argumentField setFormatter:nil]; + } else if ( [numberFields containsObject:fieldType] ) { + [compareField addItemsWithTitles:numberTypes]; + compareType = @"number"; + // [argumentField setFormatter:numberFormatter]; + } else if ( [dateFields containsObject:fieldType] ) { + [compareField addItemsWithTitles:dateTypes]; + compareType = @"date"; + /* + if ([fieldType isEqualToString:@"timestamp"]) { + [argumentField setFormatter:[[NSDateFormatter alloc] + initWithDateFormat:@"%Y-%m-%d %H:%M:%S" allowNaturalLanguage:YES]]; + } + if ([fieldType isEqualToString:@"datetime"]) { + [argumentField setFormatter:[[NSDateFormatter alloc] initWithDateFormat:@"%Y-%m-%d %H:%M:%S" allowNaturalLanguage:YES]]; + } + if ([fieldType isEqualToString:@"date"]) { + [argumentField setFormatter:[[NSDateFormatter alloc] initWithDateFormat:@"%Y-%m-%d" allowNaturalLanguage:YES]]; + } + if ([fieldType isEqualToString:@"time"]) { + [argumentField setFormatter:[[NSDateFormatter alloc] initWithDateFormat:@"%H:%M:%S" allowNaturalLanguage:YES]]; + } + if ([fieldType isEqualToString:@"year"]) { + [argumentField setFormatter:[[NSDateFormatter alloc] initWithDateFormat:@"%Y" allowNaturalLanguage:YES]]; + } + */ + } else { + NSLog(@"ERROR: unknown type for comparision: %@", fieldType); + } + + for ( i = 0 ; i < [compareField numberOfItems] ; i++ ) { + [[compareField itemAtIndex:i] setTag:i]; + } + + // set focus on argumentField + [argumentField selectText:self]; +} + +- (IBAction)stepLimitRows:(id)sender +/* + steps the start row up or down (+/- limitRowsValue) + */ +{ + if ( [limitRowsStepper intValue] > 0 ) { + [limitRowsField setIntValue:[limitRowsField intValue]+[prefs integerForKey:@"limitRowsValue"]]; + } else { + if ( ([limitRowsField intValue]-[prefs integerForKey:@"limitRowsValue"]) < 1 ) { + [limitRowsField setIntValue:1]; + } else { + [limitRowsField setIntValue:[limitRowsField intValue]-[prefs integerForKey:@"limitRowsValue"]]; + } + } + [limitRowsStepper setIntValue:0]; +} + +- (NSArray *)fetchResultAsArray:(CMMCPResult *)theResult +/* + fetches the result as an array with a dictionary for each row in it + */ +{ + NSMutableArray *tempResult = [NSMutableArray array]; + NSDictionary *tempRow; + NSMutableDictionary *modifiedRow = [NSMutableDictionary dictionary]; + NSEnumerator *enumerator; + id key; + int i,j; + + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + tempRow = [theResult fetchRowAsDictionary]; + enumerator = [tempRow keyEnumerator]; + while ( key = [enumerator nextObject] ) { + if ( [[tempRow objectForKey:key] isMemberOfClass:[NSNull class]] ) { + [modifiedRow setObject:[prefs stringForKey:@"nullValue"] forKey:key]; + /* + //NSData objects now decoded in tableView:objectValueForTableColumn:row + //object in result remains a NSData object + } else if ( [[tempRow objectForKey:key] isKindOfClass:[NSData class]] ) { + [modifiedRow setObject:[[NSString alloc] initWithData:[tempRow objectForKey:key] encoding:[mySQLConnection encoding]] + forKey:key]; + */ + } else { + [modifiedRow setObject:[tempRow objectForKey:key] forKey:key]; + } + //add values for hidden blob and text fields + if ( [prefs boolForKey:@"dontShowBlob"] ) { + for ( j = 0 ; j < [fieldTypes count] ; j++ ) { + if ( [self isBlobOrText:[fieldTypes objectAtIndex:j]] ) { + [modifiedRow setObject:NSLocalizedString(@"- blob or text -", @"value shown for hidden blob and text fields") forKey:[fieldNames objectAtIndex:j]]; + } + } + } + } + [tempResult addObject:[NSMutableDictionary dictionaryWithDictionary:modifiedRow]]; + } + return tempResult; +} + +- (BOOL)addRowToDB +/* + tries to write row to mysql-db + returns YES if row written to db, otherwies NO + returns YES if no row is beeing edited and nothing has to be written to db + */ +{ + int rowIndex = [tableContentView selectedRow]; + NSMutableArray *fieldValues = [[NSMutableArray alloc] init]; + NSMutableString *queryString; + NSString *query; + CMMCPResult *queryResult; + id rowObject; + NSMutableString *rowValue = [NSMutableString string]; + NSString *currentTime = [[NSDate date] descriptionWithCalendarFormat:@"%H:%M:%S" timeZone:nil locale:nil]; + int i; + + if ( !isEditingRow || rowIndex == -1) { + [fieldValues release]; + return YES; + } + + //get field values + for ( i=0 ; i < [fieldNames count] ; i++) { + rowObject = [[filteredResult objectAtIndex:rowIndex] objectForKey:[fieldNames objectAtIndex:i]]; + //convert the object to a string (here we can add special treatment for date-, number- and data-fields) + if ( [[rowObject description] isEqualToString:[prefs stringForKey:@"nullValue"]] || + ([rowObject isMemberOfClass:[NSString class]] && [[rowObject description] isEqualToString:@""]) ) { + //NULL when user entered the nullValue string defined in the prefs or when a number field isn't set + // problem: when a number isn't set, sequel-pro enters 0 + // -> second if argument isn't necessary! + [rowValue setString:@"NULL"]; + } else { + if ( [rowObject isKindOfClass:[NSCalendarDate class]] ) { + // [rowValue setString:[NSString stringWithFormat:@"\"%@\"", [mySQLConnection prepareString:[rowObject description]]]]; + [rowValue setString:[NSString stringWithFormat:@"'%@'", [mySQLConnection prepareString:[rowObject description]]]]; + } else if ( [rowObject isKindOfClass:[NSNumber class]] ) { + [rowValue setString:[rowObject stringValue]]; + } else if ( [rowObject isKindOfClass:[NSData class]] ) { + [rowValue setString:[NSString stringWithFormat:@"X'%@'", [mySQLConnection prepareBinaryData:rowObject]]]; + } else { + // [rowValue setString:[NSString stringWithFormat:@"\"%@\"", [mySQLConnection prepareString:[rowObject description]]]]; + if ( [[rowObject description] isEqualToString:@"CURRENT_TIMESTAMP"] ) { + [rowValue setString:@"CURRENT_TIMESTAMP"]; + } else { + [rowValue setString:[NSString stringWithFormat:@"'%@'", [mySQLConnection prepareString:[rowObject description]]]]; + } + } + } + //escape special characters -> now escaped by framework + /* + for ( j = 0 ; j < [rowValue length] ; j++ ) { + if ( [rowValue characterAtIndex:j] == '\\' ) { + [rowValue insertString:@"\\" atIndex:j]; + j++; + } else if ( [rowValue characterAtIndex:j] == '"' ) { + [rowValue insertString:@"\\" atIndex:j]; + j++; + } + } + */ + [fieldValues addObject:[NSString stringWithString:rowValue]]; + } + + if ( isEditingNewRow ) { + //INSERT syntax + queryString = [NSString stringWithFormat:@"INSERT INTO `%@` (`%@`) VALUES (%@)", + selectedTable, [fieldNames componentsJoinedByString:@"`,`"], [fieldValues componentsJoinedByString:@","]]; + } else { + //UPDATE syntax + queryString = [NSMutableString stringWithFormat:@"UPDATE `%@` SET ", selectedTable]; + for ( i = 0 ; i < [fieldNames count] ; i++ ) { + if ( i > 0 ) { + [queryString appendString:@", "]; + } + [queryString appendString:[NSString stringWithFormat:@"`%@`=%@", + [fieldNames objectAtIndex:i], [fieldValues objectAtIndex:i]]]; + } + [fieldValues release]; + [queryString appendString:[NSString stringWithFormat:@" WHERE %@", [self argumentForRow:-2]]]; + } + [mySQLConnection queryString:queryString]; + + //NSLog( @"%@", queryString ); + + if ( ![mySQLConnection affectedRows] ) { + //no rows changed + if ( [prefs boolForKey:@"showError"] ) { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"The row was not written to the MySQL database. You probably haven't changed anything.\nReload the table to be sure that the row exists and use a primary key for your table.\n(This error can be turned off in the preferences.)", @"message of panel when no rows have been affected after writing to the db")); + } else { + NSBeep(); + } + [filteredResult replaceObjectAtIndex:rowIndex withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]]; + isEditingRow = NO; + isEditingNewRow = NO; + [tableDocumentInstance showErrorInConsole:[NSString stringWithFormat:NSLocalizedString(@"/* WARNING %@ No rows have been affected */\n", @"warning shown in the console when no rows have been affected after writing to the db"), currentTime]]; + return YES; + } else if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //added new row with success + isEditingRow = NO; + if ( isEditingNewRow ) { + if ( [prefs boolForKey:@"reloadAfterAdding"] ) { + [self reloadTableValues:self]; + // if ( sortField ) + [tableContentView deselectAll:self]; + } else { + //set insertId for fields with auto_increment + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW COLUMNS FROM `%@`", selectedTable]]; + if ([queryResult numOfRows]) [queryResult dataSeek:0]; + for ( i = 0 ; i < [queryResult numOfRows] ; i++ ) { + rowObject = [queryResult fetchRowAsDictionary]; + if ( [[rowObject objectForKey:@"Extra"] isEqualToString:@"auto_increment"] ) { + [[filteredResult objectAtIndex:rowIndex] setObject:[NSNumber numberWithLong:[mySQLConnection insertId]] + forKey:[rowObject objectForKey:@"Field"]]; + } + } + [fullResult addObject:[filteredResult objectAtIndex:rowIndex]]; + } + isEditingNewRow = NO; + } else { + //updated row with success + if ( [prefs boolForKey:@"reloadAfterEditing"] ) { + [self reloadTableValues:self]; + // if ( sortField ) + [tableContentView deselectAll:self]; + } else { + // query = [@"SELECT * FROM " stringByAppendingString:selectedTable]; + query = [NSString stringWithFormat:@"SELECT %@ FROM `%@`", [self fieldListForQuery], selectedTable]; + if ( sortField ) { + // query = [query stringByAppendingString:[NSString stringWithFormat:@" ORDER BY `%@`", sortField]]; + query = [NSString stringWithFormat:@"%@ ORDER BY `%@`", query, sortField]; + if ( isDesc ) + query = [query stringByAppendingString:@" DESC"]; + } + if ( [prefs boolForKey:@"limitRows"] ) { + if ( [limitRowsField intValue] <= 0 ) { + [limitRowsField setStringValue:@"1"]; + } + query = [query stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + } + queryResult = [mySQLConnection queryString:query]; + // [fullResult setArray:[[self fetchResultAsArray:queryResult] retain]]; + [fullResult setArray:[self fetchResultAsArray:queryResult]]; + } + } + return YES; + } else { + //error in mysql-query + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), nil, @"addrow", + [NSString stringWithFormat:NSLocalizedString(@"Couldn't write row.\nMySQL said: %@", @"message of panel when error while adding row to db"), [mySQLConnection getLastErrorMessage]]); + return NO; + } +} + +- (NSString *)argumentForRow:(int)row +/* + returns the WHERE argument to identify a row + if row is -2, it uses the oldRow + if there is one, it uses the primary key, otherwise uses all fields as argument and sets LIMIT to 1 + */ +{ + CMMCPResult *theResult; + NSDictionary *theRow; + id tempValue; + NSMutableString *value = [NSMutableString string]; + NSMutableString *argument = [NSMutableString string]; + int i,j; + NSEnumerator *enumerator; + id type; + BOOL blob = NO; + NSArray *numberFields = [NSArray arrayWithObjects:@"tiny", @"short", @"long", @"int24", @"longlong", @"decimal", @"float", @"double", nil]; + + if ( row == -1 ) + return @""; + + //get primary key if there is one + /* + theResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW INDEX FROM `%@`", selectedTable]]; + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + theRow = [theResult fetchRowAsDictionary]; + if ( [[theRow objectForKey:@"Key_name"] isEqualToString:@"PRIMARY"] ) { + [keys addObject:[theRow objectForKey:@"Column_name"]]; + } + } + */ + if ( !keys ) { + setLimit = NO; + keys = [[NSMutableArray alloc] init]; + theResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW COLUMNS FROM `%@`", selectedTable]]; + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + theRow = [theResult fetchRowAsDictionary]; + if ( [[theRow objectForKey:@"Key"] isEqualToString:@"PRI"] ) { + [keys addObject:[theRow objectForKey:@"Field"]]; + } + } + } + + if ( ![keys count] ) { + //if there is no primary key, take all fields as argument + //here we have a problem when dontShowBlob == YES (we don't have the right values to use in the WHERE statement) + [keys setArray:fieldNames]; + setLimit = YES; + enumerator = [fieldTypes objectEnumerator]; + while ( (type = [enumerator nextObject]) ) { + if ( [self isBlobOrText:type] ) { + blob = YES; + } + } + if ( [prefs boolForKey:@"dontShowBlob"] && blob ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"You can't hide blob and text fields when working with tables without index.", @"message of panel when trying to edit tables without index and with hidden blob/text fields")); + [keys removeAllObjects]; + [tableContentView deselectAll:self]; + return @""; + } + } + for ( i = 0 ; i < [keys count] ; i++ ) { + if ( i ) + [argument appendString:@" AND "]; + if ( row >= 0 ) { + //use selected row + tempValue = [[filteredResult objectAtIndex:row] objectForKey:[keys objectAtIndex:i]]; + } else { + //use oldRow + tempValue = [oldRow objectForKey:[keys objectAtIndex:i]]; + } + if ( [tempValue isKindOfClass:[NSData class]] ) { + [value setString:[[NSString alloc] initWithData:tempValue encoding:[mySQLConnection encoding]]]; + } else { + [value setString:[tempValue description]]; + } + + if ( [value isEqualToString:[prefs stringForKey:@"nullValue"]] ) { + [value setString:@"NULL"]; + } else { + //escape special characters (in WHERE statement!) + for ( j = 0 ; j < [value length] ; j++ ) { + if ( [value characterAtIndex:j] == '\\' ) { + [value insertString:@"\\" atIndex:j]; + j++; + } + } + [value setString:[mySQLConnection prepareString:value]]; + for ( j = 0 ; j < [value length] ; j++ ) { + if ( [value characterAtIndex:j] == '%' || + [value characterAtIndex:j] == '_' ) { + [value insertString:@"\\" atIndex:j]; + j++; + } + } + // [value setString:[NSString stringWithFormat:@"\"%@\"", value]]; + [value setString:[NSString stringWithFormat:@"'%@'", value]]; + } + if ( [value isEqualToString:@"NULL"] ) { + [argument appendString:[NSString stringWithFormat:@"`%@` IS NULL", [keys objectAtIndex:i]]]; + } else { + if ( [numberFields containsObject:[fieldTypes objectAtIndex:[fieldNames indexOfObject:[keys objectAtIndex:i]]]] ) { + [argument appendString:[NSString stringWithFormat:@"`%@` = %@", [keys objectAtIndex:i], value]]; + } else { + [argument appendString:[NSString stringWithFormat:@"`%@` LIKE %@", [keys objectAtIndex:i], value]]; + } + } + } + if ( setLimit ) + [argument appendString:@" LIMIT 1"]; + return argument; +} + +- (BOOL)isBlobOrText:(NSString *)fieldType +/* + returns YES if fieldType is some kind of blob or text. afaik the type of this fields is always blob, but better we test it... + it would be nice to know if it is blob or text, but mysql doesn't want to tell it... + */ +{ + if ( [fieldType isEqualToString:@"tinyblob"] || [fieldType isEqualToString:@"blob"] || + [fieldType isEqualToString:@"mediumblob"] || [fieldType isEqualToString:@"longblob"] ) { + return YES; + } else { + return NO; + } +} + +- (NSString *)fieldListForQuery +/* + returns * if dontShowBlob == NO + returns a comma-separated list of all fields which aren't of type blob or text if dontShowBlob == YES + */ +{ + int i; + NSMutableArray *fields = [NSMutableArray array]; + + if ( [prefs boolForKey:@"dontShowBlob"] ) { + for ( i = 0 ; i < [fieldTypes count] ; i++ ) { + if ( ![self isBlobOrText:[fieldTypes objectAtIndex:i]] ) { + [fields addObject:[fieldNames objectAtIndex:i]]; + } + } + if ( [fields count] == 0 ) { + return [NSString stringWithFormat:@"`%@`", [fieldNames objectAtIndex:0]]; + } else { + return [NSString stringWithFormat:@"`%@`", [fields componentsJoinedByString:@"`,`"]]; + } + } else { + return @"*"; + } +} + +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +/* + if contextInfo == addrow: remain in edit-mode if user hits OK, otherwise cancel editing + if contextInfo == removerow: removes row if user hits OK + */ +{ + NSEnumerator *enumerator = [tableContentView selectedRowEnumerator]; + NSNumber *index; + NSMutableArray *tempArray = [NSMutableArray array]; + NSMutableArray *tempResult = [NSMutableArray array]; + NSString *queryString; + CMMCPResult *queryResult; + int i, errors; + + [sheet orderOut:self]; + + if ( [contextInfo isEqualToString:@"addrow"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + //problem: reenter edit mode doesn't function + [tableContentView editColumn:0 row:[tableContentView selectedRow] withEvent:nil select:YES]; + } else { + if ( !isEditingNewRow ) { + [filteredResult replaceObjectAtIndex:[tableContentView selectedRow] + withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]]; + isEditingRow = NO; + } else { + [filteredResult removeObjectAtIndex:[tableContentView selectedRow]]; + isEditingRow = NO; + isEditingNewRow = NO; + } + } + [tableContentView reloadData]; + } else if ( [contextInfo isEqualToString:@"removeallrows"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + /* + if ( ([tableContentView numberOfSelectedRows] == [self numberOfRowsInTableView:tableContentView]) && + areShowingAllRows && + ([tableContentView numberOfSelectedRows] < [prefs integerForKey:@"limitRowsValue"]) ) { + */ + [mySQLConnection queryString:[NSString stringWithFormat:@"DELETE FROM `%@`", selectedTable]]; + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [self reloadTable:self]; + } else { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove rows.\nMySQL said: %@", @"message of panel when field cannot be removed"), + [mySQLConnection getLastErrorMessage]]); + } + } + } else if ( [contextInfo isEqualToString:@"removerow"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + errors = 0; + + while ( (index = [enumerator nextObject]) ) { + [mySQLConnection queryString:[NSString stringWithFormat:@"DELETE FROM `%@` WHERE %@", + selectedTable, [self argumentForRow:[index intValue]]]]; + if ( ![mySQLConnection affectedRows] ) { + //no rows deleted + errors++; + } else if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //rows deleted with success + [tempArray addObject:index]; + } else { + //error in mysql-query + errors++; + } + } + + if ( errors ) { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"%d rows have not been removed. Reload the table to be sure that the rows exist and use a primary key for your table.", @"message of panel when not all selected fields have been deleted"), errors]); + } + + //do deleting (after enumerating) + if ( [prefs boolForKey:@"reloadAfterRemoving"] ) { + [self reloadTableValues:self]; + } else { + for ( i = 0 ; i < [filteredResult count] ; i++ ) { + if ( ![tempArray containsObject:[NSNumber numberWithInt:i]] ) + [tempResult addObject:[filteredResult objectAtIndex:i]]; + } + [filteredResult setArray:tempResult]; + numRows = [self getNumberOfRows]; + if ( !areShowingAllRows ) { + // queryString = [@"SELECT * FROM " stringByAppendingString:selectedTable]; + queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@`", [self fieldListForQuery], selectedTable]; + if ( sortField ) { + // queryString = [queryString stringByAppendingString:[NSString stringWithFormat:@" ORDER BY `%@`", sortField]]; + queryString = [NSString stringWithFormat:@"%@ ORDER BY `%@`", queryString, sortField]; + if ( isDesc ) + queryString = [queryString stringByAppendingString:@" DESC"]; + } + if ( [prefs boolForKey:@"limitRows"] ) { + if ( [limitRowsField intValue] <= 0 ) { + [limitRowsField setStringValue:@"1"]; + } + queryString = [queryString stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + } + queryResult = [mySQLConnection queryString:queryString]; + // [fullResult setArray:[[self fetchResultAsArray:queryResult] retain]]; + [fullResult setArray:[self fetchResultAsArray:queryResult]]; + [tableContentView reloadData]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows of %d selected", @"text showing how many rows are in the filtered result"), + [filteredResult count], numRows]]; + } else { + [fullResult setArray:filteredResult]; + [tableContentView reloadData]; + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows in table", @"text showing how many rows are in the result"), numRows]]; + } + } + [tableContentView deselectAll:self]; + } + } +} + +- (int)getNumberOfRows +/* + returns the number of rows in the selected table + queries the number from mysql if enabled in prefs and result is limited, otherwise just return the fullResult count + */ +{ + if ( [prefs boolForKey:@"limitRows"] && [prefs boolForKey:@"fetchRowCount"] ) { + numRows = [self fetchNumberOfRows]; + } else { + numRows = [fullResult count]; + } + return numRows; +} + +- (int)fetchNumberOfRows +/* + fetches the number of rows in the selected table using a "SELECT COUNT(*)" query and return it + */ +{ + return [[[[mySQLConnection queryString:[NSString stringWithFormat:@"SELECT COUNT(*) FROM `%@`", selectedTable]] fetchRowAsArray] objectAtIndex:0] intValue]; +} + + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + return [filteredResult count]; +} + +- (id)tableView:(NSTableView *)aTableView +objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + id theRow, theValue; + + theRow = [filteredResult objectAtIndex:rowIndex]; + theValue = [theRow objectForKey:[aTableColumn identifier]]; + + if ( [theValue isKindOfClass:[NSData class]] ) { + theValue = [[NSString alloc] initWithData:theValue encoding:[mySQLConnection encoding]]; + //show only first 50 characters to speed up interface (but return everything when this method is used to return the current result) + // if ( ([theValue length] > 100) && aTableView ) { + } + +// if ( ([(NSString *)theValue length] > 100) && aTableView ) { +// theValue = [NSString stringWithFormat:@"%@(...)", [theValue substringToIndex:100]]; +// } + + return theValue; +} + +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ( !isEditingRow ) { + [oldRow setDictionary:[filteredResult objectAtIndex:rowIndex]]; + isEditingRow = YES; + } + if ( anObject ) { + [[filteredResult objectAtIndex:rowIndex] setObject:anObject forKey:[aTableColumn identifier]]; + } else { + [[filteredResult objectAtIndex:rowIndex] setObject:@"" forKey:[aTableColumn identifier]]; + } +} + +#pragma mark - +#pragma mark tableView delegate methods + +- (void)tableView:(NSTableView*)tableView didClickTableColumn:(NSTableColumn *)tableColumn +/* + sorts the tableView by the clicked column + if clicked twice, order is descending + */ +{ + NSString *queryString; + CMMCPResult *queryResult; + + if ( [selectedTable isEqualToString:@""] || !selectedTable ) + return; + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + //sets order descending if a header is clicked twice + if ( [[tableColumn identifier] isEqualTo:sortField] ) { + if ( isDesc ) { + isDesc = NO; + } else { + isDesc = YES; + } + } else { + isDesc = NO; + [tableContentView setIndicatorImage:nil inTableColumn:[tableContentView tableColumnWithIdentifier:sortField]]; + } + sortField = [tableColumn identifier]; + + //make queryString and perform query + queryString = [NSString stringWithFormat:@"SELECT %@ FROM `%@` ORDER BY `%@`", [self fieldListForQuery], + selectedTable, sortField]; + if ( isDesc ) + queryString = [queryString stringByAppendingString:@" DESC"]; + if ( [prefs boolForKey:@"limitRows"] ) { + if ( [limitRowsField intValue] <= 0 ) { + [limitRowsField setStringValue:@"1"]; + } + queryString = [queryString stringByAppendingString: + [NSString stringWithFormat:@" LIMIT %d,%d", + [limitRowsField intValue]-1, [prefs integerForKey:@"limitRowsValue"]]]; + } + queryResult = [mySQLConnection queryString:queryString]; + + // [fullResult setArray:[[self fetchResultAsArray:queryResult] retain]]; + [fullResult setArray:[self fetchResultAsArray:queryResult]]; + + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't sort table. MySQL said: %@", @"message of panel when sorting of table failed"), [mySQLConnection getLastErrorMessage]]); + return; + } + + //sets highlight and indicatorImage + [tableContentView setHighlightedTableColumn:tableColumn]; + if ( isDesc ) { + [tableContentView setIndicatorImage:[NSImage imageNamed:@"NSDescendingSortIndicator"] inTableColumn:tableColumn]; + } else { + [tableContentView setIndicatorImage:[NSImage imageNamed:@"NSAscendingSortIndicator"] inTableColumn:tableColumn]; + } + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + //if filter is activated filters the result, otherwise shows fullResult + if ( !areShowingAllRows ) { + [self filterTable:self]; + } else { + [filteredResult setArray:fullResult]; + [tableContentView reloadData]; + } +} + +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView +{ + /* + int row = [tableContentView editedRow]; + int column = [tableContentView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + + if ( row != -1 ) { + tableColumn = [[tableContentView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[tableContentView currentEditor]]; + } + */ + //end editing (otherwise problems when user hits reload button) + [tableWindow endEditingFor:nil]; + + return [self addRowToDB]; +} + +- (void)tableViewSelectionDidChange:(NSNotification *)aNotification +{ + // Check our notification object is our table content view + if ([aNotification object] != tableContentView) + return; + + if ( [tableContentView numberOfSelectedRows] > 0 ) { + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d of %d rows selected", @"Text showing how many rows are selected"), [tableContentView numberOfSelectedRows], [tableContentView numberOfRows]]]; + } else { + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows", @"Text showing how many rows are in the result"), [tableContentView numberOfRows]]]; + } +} + +- (void)tableViewSelectionIsChanging:(NSNotification *)aNotification +{ + // Check our notification object is our table content view + if ([aNotification object] != tableContentView) + return; + + if ( [tableContentView numberOfSelectedRows] > 0 ) { + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d of %d rows selected", @"Text showing how many rows are selected"), [tableContentView numberOfSelectedRows], [tableContentView numberOfRows]]]; + } else { + [countText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"%d rows", @"Text showing how many rows are in the result"), [tableContentView numberOfRows]]]; + } +} + + +- (void)tableViewColumnDidResize:(NSNotification *)aNotification +/* + saves the new column size in the preferences + */ +{ + // sometimes the column has no identifier. I can't figure out what is causing it, so we just skip over this item + if (![[[aNotification userInfo] objectForKey:@"NSTableColumn"] identifier]) + return; + + NSMutableDictionary *tableColumnWidths; + NSString *database = [NSString stringWithFormat:@"%@@%@", [tableDocumentInstance database], [tableDocumentInstance host]]; + NSString *table = (NSString *)[tablesListInstance table]; + + // get tableColumnWidths object + if ( [prefs objectForKey:@"tableColumnWidths"] != nil ) { + tableColumnWidths = [NSMutableDictionary dictionaryWithDictionary:[prefs objectForKey:@"tableColumnWidths"]]; + } else { + tableColumnWidths = [NSMutableDictionary dictionary]; + } + // get database object + if ( [tableColumnWidths objectForKey:database] == nil ) { + [tableColumnWidths setObject:[NSMutableDictionary dictionary] forKey:database]; + } else { + [tableColumnWidths setObject:[[tableColumnWidths objectForKey:database] mutableCopy] forKey:database]; + } + // get table object + if ( [[tableColumnWidths objectForKey:database] objectForKey:table] == nil ) { + [[tableColumnWidths objectForKey:database] setObject:[NSMutableDictionary dictionary] forKey:table]; + } else { + [[tableColumnWidths objectForKey:database] setObject:[[[tableColumnWidths objectForKey:database] objectForKey:table] mutableCopy] forKey:table]; + } + // save column size + [[[tableColumnWidths objectForKey:database] objectForKey:table] setObject:[NSNumber numberWithFloat:[[[aNotification userInfo] objectForKey:@"NSTableColumn"] width]] forKey:[[[aNotification userInfo] objectForKey:@"NSTableColumn"] identifier]]; + [prefs setObject:tableColumnWidths forKey:@"tableColumnWidths"]; +} + +- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex +/* + opens sheet if multipleLineEditingButton is clicked or field is a hidden blob or text field + */ +{ + NSEnumerator *enumerator; + id type; + BOOL blob = NO; + NSDictionary *tempRow; + NSMutableDictionary *modifiedRow = [NSMutableDictionary dictionary]; + id key; + int code; + NSString *query; + CMMCPResult *tempResult; + id theValue; + BOOL columnIsBlob = NO; + // int i; + // NSArray *columns = [aTableView tableColumns]; + + if ( [prefs boolForKey:@"dontShowBlob"] && !isEditingRow ) { + //get all row values if dontShowBlob == YES and table contains blob or text field and isEditingRow = NO + enumerator = [fieldTypes objectEnumerator]; + while ( (type = [enumerator nextObject]) ) { + if ( [self isBlobOrText:type] ) { + blob = YES; + } + } + + if ( blob ) { + query = [NSString stringWithFormat:@"SELECT * FROM `%@` WHERE %@", + selectedTable, [self argumentForRow:[tableContentView selectedRow]]]; + tempResult = [mySQLConnection queryString:query]; + if ( ![tempResult numOfRows] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Couldn't load the row. Reload the table to be sure that the row exists and use a primary key for your table.", @"message of panel when loading of row failed")); + return NO; + } + tempRow = [tempResult fetchRowAsDictionary]; + enumerator = [tempRow keyEnumerator]; + while ( key = [enumerator nextObject] ) { + if ( [[tempRow objectForKey:key] isMemberOfClass:[NSNull class]] ) { + [modifiedRow setObject:[prefs stringForKey:@"nullValue"] forKey:key]; + } else { + [modifiedRow setObject:[tempRow objectForKey:key] forKey:key]; + } + } + [filteredResult replaceObjectAtIndex:rowIndex + withObject:[NSMutableDictionary dictionaryWithDictionary:modifiedRow]]; + [tableContentView reloadData]; + } + } + + /* + // find the column we're trying to edit + for ( i = 0; i < [columns count]; i++ ) { + if ( [columns objectAtIndex:i] == aTableColumn ) { + // this flag will let us determine if we should "force" multi-line edit. + columnIsBlob = [self isBlobOrText:[fieldTypes objectAtIndex:i]]; + break; + } + } + */ + //is the column a blob field -> if YES force sheet editing + if ( [self isBlobOrText:[fieldTypes objectAtIndex:[fieldNames indexOfObject:[aTableColumn identifier]]]] ) { + columnIsBlob = YES; + } + + if ( [multipleLineEditingButton state] == NSOnState || columnIsBlob ) { + theValue = [[filteredResult objectAtIndex:rowIndex] objectForKey:[aTableColumn identifier]]; + NSImage *image = nil; + editData = [theValue retain]; + + if ( [theValue isKindOfClass:[NSData class]] ) { + image = [[NSImage alloc] initWithData:theValue]; + [hexTextView setString:[self dataToHex:theValue]]; + /* + // update displayed font to monospace + NSFont *font = [NSFont fontWithName:@"Courier" size:12.0f]; + NSRange hexRange = { 0, [[hexTextView string] length] - 1 }; + [hexTextView setFont:font range:hexRange]; + */ + theValue = [[NSString alloc] initWithData:theValue encoding:[mySQLConnection encoding]]; + } else { + [hexTextView setString:@""]; + theValue = [theValue description]; + } + + [editImage setImage:image]; + [editTextView setString:theValue]; + [editTextView setSelectedRange:NSMakeRange(0,[[editTextView string] length])]; + //different sheets for date (with up/down arrows), number and text + [NSApp beginSheet:editSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + code = [NSApp runModalForWindow:editSheet]; + + [NSApp endSheet:editSheet]; + [editSheet orderOut:nil]; + + if ( code ) { + if ( !isEditingRow ) { + [oldRow setDictionary:[filteredResult objectAtIndex:rowIndex]]; + isEditingRow = YES; + } + + [[filteredResult objectAtIndex:rowIndex] setObject:[editData copy] + forKey:[aTableColumn identifier]]; + + // clean up + [editImage setImage:nil]; + [editTextView setString:@""]; + [hexTextView setString:@""]; + if ( editData ) { + [editData release]; + } + } + return NO; + } else { + return YES; + } +} + +- (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray*)rows + toPasteboard:(NSPasteboard*)pboard +/* + enable drag from tableview + */ +{ + if ( tableView == tableContentView ) + { + NSString *tmp = [tableContentView draggedRowsAsTabString:rows]; + + if ( nil != tmp ) + { + [pboard declareTypes:[NSArray arrayWithObjects: NSTabularTextPboardType, + NSStringPboardType, nil] + owner:nil]; + + [pboard setString:tmp forType:NSStringPboardType]; + [pboard setString:tmp forType:NSTabularTextPboardType]; + return YES; + } + } + return NO; +} + +#pragma mark - + +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command +/* + traps enter and esc an make/cancel editing without entering next row + */ +{ + int row, column, i; + + row = [tableContentView editedRow]; + column = [tableContentView editedColumn]; + + if ( [textView methodForSelector:command] == [textView methodForSelector:@selector(insertNewline:)] || + [textView methodForSelector:command] == [textView methodForSelector:@selector(insertTab:)] ) //trap enter and tab + { + //save current line + [[control window] makeFirstResponder:control]; + if ( column == ( [tableContentView numberOfColumns] - 1 ) ) { + [self addRowToDB]; + /* + if ( [self addRowToDB] && + ( [textView methodForSelector:command] == [textView methodForSelector:@selector(insertTab:)] ) && + !(sortField && ([prefs boolForKey:@"reloadAfterAdding"] || [prefs boolForKey:@"reloadAfterEditing"])) ) { + //get in edit-mode of next row if user hit tab (and result isn't sorted and reloaded) + if ( row < ([tableContentView numberOfRows] - 1) ) { + [tableContentView selectRow:row+1 byExtendingSelection:NO]; + [tableContentView editColumn:0 row:row+1 withEvent:nil select:YES]; + } else { + [tableContentView selectRow:0 byExtendingSelection:NO]; + [tableContentView editColumn:0 row:0 withEvent:nil select:YES]; + } + } + */ + } else { + //check if next column is a blob column + i = 1; + while ( [self isBlobOrText:[fieldTypes objectAtIndex:[fieldNames indexOfObject:[[[tableContentView tableColumns] objectAtIndex:column+i] identifier]]]] ) { + i++; + if ( (column+i) >= [tableContentView numberOfColumns] ) { + //there is no other column after the blob column + [self addRowToDB]; + return TRUE; + } + } + //edit the column after the blob column + [tableContentView editColumn:column+i row:row withEvent:nil select:YES]; + } + return TRUE; + } + else if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(_cancelKey:)] || + [textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) //trap esc + { + //abort editing + [control abortEditing]; + if ( isEditingRow && !isEditingNewRow ) { + isEditingRow = NO; + [filteredResult replaceObjectAtIndex:row withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]]; + } else if ( isEditingNewRow ) { + isEditingRow = NO; + isEditingNewRow = NO; + [filteredResult removeObjectAtIndex:row]; + [tableContentView reloadData]; + } + return TRUE; + } + else + { + return FALSE; + } +} + + +//textView delegate methods +- (BOOL)textView:(NSTextView *)aTextView doCommandBySelector:(SEL)aSelector +/* + traps enter and return key and closes editSheet instead of inserting a linebreak when user hits return + */ +{ + if ( aTextView == editTextView ) { + if ( [aTextView methodForSelector:aSelector] == [aTextView methodForSelector:@selector(insertNewline:)] && + [[[NSApp currentEvent] characters] isEqualToString:@"\003"] ) + { + [NSApp stopModalWithCode:1]; + return YES; + } else { + return NO; + } + } + return NO; +} + + +//last but not least + +- (void)dealloc +{ + // NSLog(@"TableContent dealloc"); + + [editData release]; + [fullResult release]; + [filteredResult release]; + [keys release]; + [oldRow release]; + [fieldNames release]; + [fieldTypes release]; + [compareType release]; + [sortField release]; + [prefs release]; + + [super dealloc]; +} + +@end diff --git a/trunk/TableDocument.h b/trunk/TableDocument.h new file mode 100644 index 00000000..2a54a37c --- /dev/null +++ b/trunk/TableDocument.h @@ -0,0 +1,224 @@ +// +// TableDocument.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// Forked by Abhi Beckert (abhibeckert.com) 2008-04-04 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + +/** + * The TableDocument class controls the primary database view window. + */ + +@interface TableDocument : NSDocument +{ + //IBOutlets + IBOutlet id keyChainInstance; + IBOutlet id tablesListInstance; + IBOutlet id tableSourceInstance; + IBOutlet id tableContentInstance; + IBOutlet id customQueryInstance; + IBOutlet id tableDumpInstance; + IBOutlet id tableStatusInstance; + + IBOutlet id tableWindow; + IBOutlet id connectSheet; + IBOutlet id databaseSheet; + IBOutlet id variablesSheet; + IBOutlet id consoleDrawer; + + IBOutlet id queryProgressBar; + IBOutlet id favoritesButton; + IBOutlet NSTableView *connectFavoritesTableView; + IBOutlet NSArrayController *favoritesController; + IBOutlet id hostField; + IBOutlet id socketField; + IBOutlet id userField; + IBOutlet id passwordField; + IBOutlet id portField; + IBOutlet id databaseField; + + IBOutlet id connectProgressBar; + IBOutlet id connectProgressStatusText; + IBOutlet id databaseNameField; + IBOutlet id chooseDatabaseButton; + IBOutlet id consoleTextView; + IBOutlet id variablesTableView; + IBOutlet NSTabView *tableTabView; + + IBOutlet id sidebarGrabber; + + IBOutlet NSTableView *dbTablesTableView; + + IBOutlet id syntaxView; + IBOutlet id syntaxViewContent; + IBOutlet NSWindow *createTableSyntaxWindow; + + CMMCPConnection *mySQLConnection; + + NSMutableArray *favorites; + NSArray *variables; + NSString *selectedDatabase; + NSString *selectedFavorite; + NSString *mySQLVersion; + NSUserDefaults *prefs; + + NSMenu *selectEncodingMenu; + BOOL _supportsEncoding; + NSString *_encoding; + + NSToolbar *mainToolbar; + NSToolbarItem *chooseDatabaseToolbarItem; +} + +//start sheet +- (IBAction)connectToDB:(id)sender; +- (IBAction)connect:(id)sender; +- (IBAction)cancelConnectSheet:(id)sender; +- (IBAction)closeSheet:(id)sender; +- (IBAction)chooseFavorite:(id)sender; +- (IBAction)removeFavorite:(id)sender; +- (id)selectedFavorite; +- (NSString *)selectedFavoritePassword; +- (void)connectSheetAddToFavorites:(id)sender; +- (void)addToFavoritesHost:(NSString *)host socket:(NSString *)socket + user:(NSString *)user password:(NSString *)password + port:(NSString *)port database:(NSString *)database + useSSH:(BOOL)useSSH // no-longer in use + sshHost:(NSString *)sshHost // no-longer in use + sshUser:(NSString *)sshUser // no-longer in use + sshPassword:(NSString *)sshPassword // no-longer in use + sshPort:(NSString *)sshPort; // no-longer in use +- (NSMutableArray *)favorites; + +//alert sheets method +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; + +//connection getter +- (CMMCPConnection *)sharedConnection; + +//database methods +- (IBAction)setDatabases:(id)sender; +- (IBAction)chooseDatabase:(id)sender; +- (IBAction)addDatabase:(id)sender; +- (IBAction)closeDatabaseSheet:(id)sender; +- (IBAction)removeDatabase:(id)sender; + +//console methods +- (void)toggleConsole:(id)sender; +- (void)clearConsole:(id)sender; +- (BOOL)consoleIsOpened; +- (void)showMessageInConsole:(NSString *)message; +- (void)showErrorInConsole:(NSString *)error; + +//encoding methods +- (void)setEncoding:(NSString *)encoding; +- (void)detectEncoding; +- (IBAction)chooseEncoding:(id)sender; +- (BOOL)supportsEncoding; +- (void)updateEncodingMenuWithSelectedEncoding:(NSString *)encoding; +- (NSString *)encodingNameFromMySQLEncoding:(NSString *)mysqlEncoding; +- (NSString *)mysqlEncodingFromDisplayEncoding:(NSString *)encodingName; + +//table methods +- (IBAction)showCreateTableSyntax:(id)sender; +- (IBAction)copyCreateTableSyntax:(id)sender; +- (IBAction)checkTable:(id)sender; +- (IBAction)analyzeTable:(id)sender; +- (IBAction)optimizeTable:(id)sender; +- (IBAction)repairTable:(id)sender; +- (IBAction)flushTable:(id)sender; +- (IBAction)checksumTable:(id)sender; + +//other methods +- (NSString *)host; +- (void)doPerformQueryService:(NSString *)query; +- (void)flushPrivileges:(id)sender; +- (void)showVariables:(id)sender; +- (void)closeConnection; + +//getter methods +- (NSString *)database; +- (NSString *)table; +- (NSString *)mySQLVersion; +- (NSString *)user; + +//notification center methods +- (void)willPerformQuery:(NSNotification *)notification; +- (void)hasPerformedQuery:(NSNotification *)notification; +- (void)applicationWillTerminate:(NSNotification *)notification; +- (void)tunnelStatusChanged:(NSNotification *)notification; + +//menu methods +- (BOOL)validateMenuItem:(NSMenuItem *)anItem; +- (IBAction)import:(id)sender; +- (IBAction)export:(id)sender; +- (IBAction)exportTable:(id)sender; +- (IBAction)exportMultipleTables:(id)sender; +- (IBAction)viewStructure:(id)sender; +- (IBAction)viewContent:(id)sender; +- (IBAction)viewQuery:(id)sender; +- (IBAction)viewStatus:(id)sender; + +//toolbar methods +- (void)setupToolbar; +- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag; +- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar; +- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar; +- (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem; +- (void)updateChooseDatabaseToolbarItemWidth; + +//NSDocument methods +- (NSString *)windowNibName; +- (void)windowControllerDidLoadNib:(NSWindowController *)aController; +- (void)windowWillClose:(NSNotification *)aNotification; + +//NSWindow delegate methods +- (BOOL)windowShouldClose:(id)sender; + +//SMySQL delegate methods +- (void)willQueryString:(NSString *)query; +- (void)queryGaveError:(NSString *)error; + +//splitView delegate methods +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview; +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset; +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset; +- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex; + + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//for freeing up memory +- (void)dealloc; + +@end + +extern NSString *TableDocumentFavoritesControllerSelectionIndexDidChange; +extern NSString *TableDocumentFavoritesControllerFavoritesDidChange; diff --git a/trunk/TableDocument.m b/trunk/TableDocument.m new file mode 100644 index 00000000..59aad2e0 --- /dev/null +++ b/trunk/TableDocument.m @@ -0,0 +1,1613 @@ +// +// TableDocument.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// Forked by Abhi Beckert (abhibeckert.com) 2008-04-04 +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> + +#import "TableDocument.h" +#import "KeyChain.h" +#import "TablesList.h" +#import "TableSource.h" +#import "TableContent.h" +#import "CustomQuery.h" +#import "TableDump.h" +#import "TableStatus.h" +#import "ImageAndTextCell.h" +#import "SPGrowlController.h" + +NSString *TableDocumentFavoritesControllerSelectionIndexDidChange = @"TableDocumentFavoritesControllerSelectionIndexDidChange"; +NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFavoritesControllerFavoritesDidChange"; + +@implementation TableDocument + +- (id)init +{ + if (![super init]) + return nil; + + _encoding = [@"utf8" retain]; + chooseDatabaseButton = nil; + chooseDatabaseToolbarItem = nil; + + return self; +} + +- (void)awakeFromNib +{ + // register selection did change handler for favorites controller (used in connect sheet) + [favoritesController addObserver:self forKeyPath:@"selectionIndex" options:NSKeyValueChangeInsertion context:TableDocumentFavoritesControllerSelectionIndexDidChange]; + + // register value change handler for favourites, so we can save them to preferences + [self addObserver:self forKeyPath:@"favorites" options:0 context:TableDocumentFavoritesControllerFavoritesDidChange]; + + // register double click for the favorites view (double click favorite to connect) + [connectFavoritesTableView setTarget:self]; + + // find the Database -> Database Encoding menu (it's not in our nib, so we can't use interface builder) + selectEncodingMenu = [[[[[NSApp mainMenu] itemWithTag:1] submenu] itemWithTag:1] submenu]; + + // hide the tabs in the tab view (we only show them to allow switching tabs in interface builder) + [tableTabView setTabViewType:NSNoTabsNoBorder]; +} + +- (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context +{ + if (context == TableDocumentFavoritesControllerSelectionIndexDidChange) { + [self chooseFavorite:self]; + return; + } + + if (context == TableDocumentFavoritesControllerFavoritesDidChange) { + [prefs setObject:[self favorites] forKey:@"favorites"]; + return; + } + + [super observeValueForKeyPath:keyPath ofObject:object change:change context:context]; +} + + +- (CMMCPConnection *)sharedConnection +{ + return mySQLConnection; +} + + +//start sheet + +/** + * tries to connect to a database server, shows connect sheet prompting user to + * enter details/select favorite and shoows alert sheets on failure. + */ +- (IBAction)connectToDB:(id)sender +{ + + // load the details of the curretnly selected favorite into the text boxes in connect sheet + [self chooseFavorite:self]; + + // run the connect sheet (modal) + [NSApp beginSheet:connectSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:@selector(connectSheetDidEnd:returnCode:contextInfo:) + contextInfo:nil]; +} + + +/* + invoked when user hits the connect-button of the connectSheet + stops modal session with code: + 1 when connected with success + 2 when no connection to host + 3 when no connection to db + 4 when hostField and socketField are empty + */ +- (IBAction)connect:(id)sender +{ + int code; + + [connectProgressBar startAnimation:self]; + [connectProgressStatusText setHidden:NO]; + [connectProgressStatusText display]; + + [selectedDatabase autorelease]; + selectedDatabase = nil; + + code = 0; + if ( [[hostField stringValue] isEqualToString:@""] && [[socketField stringValue] isEqualToString:@""] ) { + code = 4; + } else { + if ( ![[socketField stringValue] isEqualToString:@""] ) { + //connect to socket + mySQLConnection = [[CMMCPConnection alloc] initToSocket:[socketField stringValue] + withLogin:[userField stringValue] + password:[passwordField stringValue]]; + [hostField setStringValue:@"localhost"]; + } else { + //connect to host + mySQLConnection = [[CMMCPConnection alloc] initToHost:[hostField stringValue] + withLogin:[userField stringValue] + password:[passwordField stringValue] + usingPort:[portField intValue]]; + } + if ( ![mySQLConnection isConnected] ) + code = 2; + if ( !code && ![[databaseField stringValue] isEqualToString:@""] ) { + if ([mySQLConnection selectDB:[databaseField stringValue]]) { + selectedDatabase = [[databaseField stringValue] retain]; + } else { + code = 3; + } + } + if ( !code ) + code = 1; + } + + // close sheet + [connectSheet orderOut:nil]; + [NSApp endSheet:connectSheet returnCode:code]; + [connectProgressBar stopAnimation:self]; + [connectProgressStatusText setHidden:YES]; +} + +-(void)connectSheetDidEnd:(NSWindow*)sheet returnCode:(int)code contextInfo:(void*)contextInfo +{ + [sheet orderOut:self]; + + CMMCPResult *theResult; + id version; + + if ( code == 1) { + //connected with success + //register as delegate + [mySQLConnection setDelegate:self]; + // set encoding + NSString *encodingName = [prefs objectForKey:@"encoding"]; + if ( [encodingName isEqualToString:@"Autodetect"] ) { + [self detectEncoding]; + } else { + [self setEncoding:[self mysqlEncodingFromDisplayEncoding:encodingName]]; + } + //get mysql version + theResult = [mySQLConnection queryString:@"SHOW VARIABLES LIKE 'version'"]; + version = [[theResult fetchRowAsArray] objectAtIndex:1]; + if ( [version isKindOfClass:[NSData class]] ) { + // starting with MySQL 4.1.14 the mysql variables are returned as nsdata + mySQLVersion = [[NSString alloc] initWithData:version encoding:[mySQLConnection encoding]]; + } else { + mySQLVersion = [[NSString stringWithString:version] retain]; + } + [self setDatabases:self]; + [tablesListInstance setConnection:mySQLConnection]; + [tableSourceInstance setConnection:mySQLConnection]; + [tableContentInstance setConnection:mySQLConnection]; + [customQueryInstance setConnection:mySQLConnection]; + [tableDumpInstance setConnection:mySQLConnection]; + [tableStatusInstance setConnection:mySQLConnection]; + [self setFileName:[NSString stringWithFormat:@"(MySQL %@) %@@%@ %@", mySQLVersion, [userField stringValue], + [hostField stringValue], [databaseField stringValue]]]; + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@", mySQLVersion, [userField stringValue], + [hostField stringValue], [databaseField stringValue]]]; + + // Connected Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Connected" + description:[NSString stringWithFormat:NSLocalizedString(@"Connected to %@",@"description for connected growl notification"), [tableWindow title]] + notificationName:@"Connected"]; + + } else if (code == 2) { + //can't connect to host + NSBeginAlertSheet(NSLocalizedString(@"Connection failed!", @"connection failed"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, + @selector(sheetDidEnd:returnCode:contextInfo:), @"connect", + [NSString stringWithFormat:NSLocalizedString(@"Unable to connect to host %@.\nBe sure that the address is correct and that you have the necessary privileges.\nMySQL said: %@", @"message of panel when connection to host failed"), [hostField stringValue], [mySQLConnection getLastErrorMessage]]); + } else if (code == 3) { + //can't connect to db + NSBeginAlertSheet(NSLocalizedString(@"Connection failed!", @"connection failed"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, + @selector(sheetDidEnd:returnCode:contextInfo:), @"connect", + [NSString stringWithFormat:NSLocalizedString(@"Unable to connect to database %@.\nBe sure that the database exists and that you have the necessary privileges.\nMySQL said: %@", @"message of panel when connection to db failed"), [databaseField stringValue], [mySQLConnection getLastErrorMessage]]); + } else if (code == 4) { + //no host is given + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, + @selector(sheetDidEnd:returnCode:contextInfo:), @"connect", NSLocalizedString(@"Please enter at least a host or socket.", @"message of panel when host/socket are missing")); + } + +} + +- (IBAction)cancelConnectSheet:(id)sender +{ + [NSApp endSheet:connectSheet]; + [tableWindow close]; +} + +- (IBAction)closeSheet:(id)sender +/* + invoked when user hits the cancel button of the connectSheet + stops modal session with code 0 + reused when user hits the close button of the variablseSheet or of the createTableSyntaxSheet + */ +{ + [NSApp stopModalWithCode:0]; +} + +/** + * sets fields for the chosen favorite. + */ +- (IBAction)chooseFavorite:(id)sender +{ + if (![self selectedFavorite]) + return; + + [hostField setStringValue:[self valueForKeyPath:@"selectedFavorite.host"]]; + [socketField setStringValue:[self valueForKeyPath:@"selectedFavorite.socket"]]; + [userField setStringValue:[self valueForKeyPath:@"selectedFavorite.user"]]; + [portField setStringValue:[self valueForKeyPath:@"selectedFavorite.port"]]; + [databaseField setStringValue:[self valueForKeyPath:@"selectedFavorite.database"]]; + [passwordField setStringValue:[self selectedFavoritePassword]]; + + [selectedFavorite release]; + selectedFavorite = [[favoritesButton titleOfSelectedItem] retain]; +} + +/** + * Remove the selected favourite. Instead of calling the remove: method of the Favorites NSArrayController + * directly in the XIB we do it here because we also need to remove the keychain password. + */ +- (IBAction)removeFavorite:(id)sender +{ + if (![self selectedFavorite]) { + return; + } + + NSString *name = [self valueForKeyPath:@"selectedFavorite.name"]; + NSString *user = [self valueForKeyPath:@"selectedFavorite.user"]; + NSString *host = [self valueForKeyPath:@"selectedFavorite.host"]; + NSString *database = [self valueForKeyPath:@"selectedFavorite.database"]; + + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro : %@", name] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + [keyChainInstance deletePasswordForName:[NSString stringWithFormat:@"Sequel Pro SSHTunnel : %@", name] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + + // Remove from favorites array controller + [favoritesController remove:[self selectedFavorite]]; + +} + +/** + * Return the favorites array. + */ +- (NSMutableArray *)favorites +{ + // if no favorites, load from user defaults + if (!favorites) { + favorites = [[NSMutableArray alloc] initWithArray:[[NSUserDefaults standardUserDefaults] objectForKey:@"favorites"]]; + } + + // if no favorites in user defaults, load empty ones + if (!favorites) { + favorites = [[NSMutableArray array] retain]; + } + + return favorites; +} + +/** + * returns a KVC-compliant proxy to the currently selected favorite, or nil if nothing selected. + * + * see [NSObjectController selection] + */ +- (id)selectedFavorite +{ + if ([favoritesController selectionIndex] == NSNotFound) + return nil; + + return [favoritesController selection]; +} + +/** + * fetches the password [self selectedFavorite] from the keychain, returns nil if no selection. + */ +- (NSString *)selectedFavoritePassword +{ + if (![self selectedFavorite]) + return nil; + + NSString *keychainName = [NSString stringWithFormat:@"Sequel Pro : %@", [self valueForKeyPath:@"selectedFavorite.name"]]; + NSString *keychainAccount = [NSString stringWithFormat:@"%@@%@/%@", + [self valueForKeyPath:@"selectedFavorite.user"], + [self valueForKeyPath:@"selectedFavorite.host"], + [self valueForKeyPath:@"selectedFavorite.database"]]; + + return [keyChainInstance getPasswordForName:keychainName account:keychainAccount]; +} + +- (void)connectSheetAddToFavorites:(id)sender +{ + [self addToFavoritesHost:[hostField stringValue] socket:[socketField stringValue] user:[userField stringValue] password:[passwordField stringValue] port:[portField stringValue] database:[databaseField stringValue] useSSH:false sshHost:@"" sshUser:@"" sshPassword:@"" sshPort:@""]; +} + +/** + * add actual connection to favorites + */ +- (void)addToFavoritesHost:(NSString *)host socket:(NSString *)socket + user:(NSString *)user password:(NSString *)password + port:(NSString *)port database:(NSString *)database + useSSH:(BOOL)useSSH // no-longer in use + sshHost:(NSString *)sshHost // no-longer in use + sshUser:(NSString *)sshUser // no-longer in use + sshPassword:(NSString *)sshPassword // no-longer in use + sshPort:(NSString *)sshPort // no-longer in use +{ + NSString *favoriteName = [NSString stringWithFormat:@"%@@%@", user, host]; + if (![database isEqualToString:@""]) + favoriteName = [NSString stringWithFormat:@"%@ %@", database, favoriteName]; + + // test if host and socket are not nil + if ([host isEqualToString:@""] && [socket isEqualToString:@""]) { + NSRunAlertPanel(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"Please enter at least a host or socket.", @"message of panel when host/socket are missing"), NSLocalizedString(@"OK", @"OK button"), nil, nil); + return; + } + + [self willChangeValueForKey:@"favorites"]; + + // write favorites and password + NSDictionary *newFavorite = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:favoriteName, host, socket, user, port, database, nil] + forKeys:[NSArray arrayWithObjects:@"name", @"host", @"socket", @"user", @"port", @"database", nil]]; + [favorites addObject:newFavorite]; + + if (![password isEqualToString:@""]) { + [keyChainInstance addPassword:password + forName:[NSString stringWithFormat:@"Sequel Pro : %@", favoriteName] + account:[NSString stringWithFormat:@"%@@%@/%@", user, host, database]]; + } + + // select new favorite + selectedFavorite = [favoriteName retain]; + + [self didChangeValueForKey:@"favorites"]; + [favoritesController setSelectedObjects:[NSArray arrayWithObject:newFavorite]]; +} + +/** + * alert sheets method + * invoked when alertSheet get closed + * if contextInfo == connect -> reopens the connectSheet + * if contextInfo == removedatabase -> tries to remove the selected database + */ +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +{ + [sheet orderOut:self]; + + if ([contextInfo isEqualToString:@"connect"]) { + [self connectToDB:nil]; + return; + } + + if ([contextInfo isEqualToString:@"removedatabase"]) { + if (returnCode != NSAlertDefaultReturn) + return; + + [mySQLConnection queryString:[NSString stringWithFormat:@"DROP DATABASE `%@`", [self database]]]; + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + // error while deleting db + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove database.\nMySQL said: %@", @"message of panel when removing db failed"), [mySQLConnection getLastErrorMessage]]); + return; + } + + // db deleted with success + selectedDatabase = nil; + [self setDatabases:self]; + [tablesListInstance setConnection:mySQLConnection]; + [tableDumpInstance setConnection:mySQLConnection]; + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/", mySQLVersion, [userField stringValue], [hostField stringValue]]]; + } +} + + +#pragma mark database methods + +/** + * sets up the database select toolbar item + */ +- (IBAction)setDatabases:(id)sender; +{ + if (!chooseDatabaseButton) + return; + + [chooseDatabaseButton removeAllItems]; + [chooseDatabaseButton addItemWithTitle:NSLocalizedString(@"Choose Database...", @"menu item for choose db")]; + [[chooseDatabaseButton menu] addItem:[NSMenuItem separatorItem]]; + [[chooseDatabaseButton menu] addItemWithTitle:NSLocalizedString(@"Add Database...", @"menu item to add db") action:@selector(addDatabase:) keyEquivalent:@""]; + [[chooseDatabaseButton menu] addItem:[NSMenuItem separatorItem]]; + + + MCPResult *queryResult = [mySQLConnection listDBs]; + if ([queryResult numOfRows]) [queryResult dataSeek:0]; + int i; + for ( i = 0 ; i < [queryResult numOfRows] ; i++ ) { + [chooseDatabaseButton addItemWithTitle:[[queryResult fetchRowAsArray] objectAtIndex:0]]; + } + if ( ![self database] ) { + [chooseDatabaseButton selectItemAtIndex:0]; + } else { + [chooseDatabaseButton selectItemWithTitle:[self database]]; + } +} + +/** + * selects the database choosen by the user + * errorsheet if connection failed + */ +- (IBAction)chooseDatabase:(id)sender +{ + if (![tablesListInstance selectionShouldChangeInTableView:nil]) { + [chooseDatabaseButton selectItemWithTitle:[self database]]; + return; + } + + if ( [chooseDatabaseButton indexOfSelectedItem] == 0 ) { + if ([self database]) { + [chooseDatabaseButton selectItemWithTitle:[self database]]; + } + return; + } + + // show error on connection failed + if ( ![mySQLConnection selectDB:[chooseDatabaseButton titleOfSelectedItem]] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Unable to connect to database %@.\nBe sure that you have the necessary privileges.", @"message of panel when connection to db failed after selecting from popupbutton"), [chooseDatabaseButton titleOfSelectedItem]]); + [self setDatabases:self]; + return; + } + + //setConnection of TablesList and TablesDump to reload tables in db + [selectedDatabase release]; + selectedDatabase = nil; + selectedDatabase = [[chooseDatabaseButton titleOfSelectedItem] retain]; + [tablesListInstance setConnection:mySQLConnection]; + [tableDumpInstance setConnection:mySQLConnection]; + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@", mySQLVersion, [userField stringValue], [hostField stringValue], [self database]]]; +} + +/** + * opens the add-db sheet and creates the new db + */ +- (IBAction)addDatabase:(id)sender +{ + int code = 0; + + if (![tablesListInstance selectionShouldChangeInTableView:nil]) + return; + + [databaseNameField setStringValue:@""]; + [NSApp beginSheet:databaseSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + code = [NSApp runModalForWindow:databaseSheet]; + + [NSApp endSheet:databaseSheet]; + [databaseSheet orderOut:nil]; + + if (!code) + return; + + if ([[databaseNameField stringValue] isEqualToString:@""]) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Database must have a name.", @"message of panel when no db name is given")); + return; + } + + [mySQLConnection queryString:[NSString stringWithFormat:@"CREATE DATABASE `%@`", [databaseNameField stringValue]]]; + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + //error while creating db + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Couldn't create database.\nMySQL said: %@", @"message of panel when creation of db failed"), [mySQLConnection getLastErrorMessage]]); + return; + } + + if (![mySQLConnection selectDB:[databaseNameField stringValue]] ) { //error while selecting new db (is this possible?!) + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Unable to connect to database %@.\nBe sure that you have the necessary privileges.", @"message of panel when connection to db failed after selecting from popupbutton"), + [databaseNameField stringValue]]); + [self setDatabases:self]; + return; + } + + //select new db + [selectedDatabase release]; + selectedDatabase = nil; + selectedDatabase = [[databaseNameField stringValue] retain]; + [self setDatabases:self]; + [tablesListInstance setConnection:mySQLConnection]; + [tableDumpInstance setConnection:mySQLConnection]; + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@", mySQLVersion, [userField stringValue], [hostField stringValue], selectedDatabase]]; +} + +/** + * closes the add-db sheet and stops modal session + */ +- (IBAction)closeDatabaseSheet:(id)sender +{ + [NSApp stopModalWithCode:[sender tag]]; +} + +/** + * opens sheet to ask user if he really wants to delete the db + */ +- (IBAction)removeDatabase:(id)sender +{ + if ([chooseDatabaseButton indexOfSelectedItem] == 0) + return; + if (![tablesListInstance selectionShouldChangeInTableView:nil]) + return; + + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, nil, @selector(sheetDidEnd:returnCode:contextInfo:), @"removedatabase", [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the database %@?", @"message of panel asking for confirmation for deleting db"), [self database]]); +} + +#pragma mark console methods + +//console methods +/** + * shows or hides the console + */ +- (void)toggleConsole:(id)sender +{ + if ([self consoleIsOpened]) { + [consoleDrawer close]; + } else { + [consoleTextView scrollRangeToVisible:[consoleTextView selectedRange]]; + [consoleDrawer openOnEdge:NSMinYEdge]; + } +} + +/** + * clears the console + */ +- (void)clearConsole:(id)sender +{ + [consoleTextView setString:@""]; +} + +/** + * returns YES if the console is visible + */ +- (BOOL)consoleIsOpened +{ + return ([consoleDrawer state] == NSDrawerOpeningState || [consoleDrawer state] == NSDrawerOpenState); +} + +/** + * shows a message in the console + */ +- (void)showMessageInConsole:(NSString *)message +{ + int begin, end; + + [consoleTextView setSelectedRange:NSMakeRange([[consoleTextView string] length],0)]; + begin = [[consoleTextView string] length]; + [consoleTextView replaceCharactersInRange:NSMakeRange(begin,0) withString:message]; + end = [[consoleTextView string] length]; + [consoleTextView setTextColor:[NSColor blackColor] range:NSMakeRange(begin,end-begin)]; + + if ([self consoleIsOpened]) { + [consoleTextView displayIfNeeded]; + [consoleTextView scrollRangeToVisible:[consoleTextView selectedRange]]; + } +} + +/** + * shows an error in the console (red) + */ +- (void)showErrorInConsole:(NSString *)error +{ + int begin, end; + + [consoleTextView setSelectedRange:NSMakeRange([[consoleTextView string] length],0)]; + begin = [[consoleTextView string] length]; + [consoleTextView replaceCharactersInRange:NSMakeRange(begin,0) withString:error]; + end = [[consoleTextView string] length]; + [consoleTextView setTextColor:[NSColor redColor] range:NSMakeRange(begin,end-begin)]; + + if ([self consoleIsOpened]) { + [consoleTextView displayIfNeeded]; + [consoleTextView scrollRangeToVisible:[consoleTextView selectedRange]]; + } +} + +#pragma mark Encoding Methods + +/** + * Set the encoding for the database connection + */ +- (void)setEncoding:(NSString *)mysqlEncoding +{ + // set encoding of connection and client + [mySQLConnection queryString:[NSString stringWithFormat:@"SET NAMES '%@'", mysqlEncoding]]; + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [mySQLConnection setEncoding:[CMMCPConnection encodingForMySQLEncoding:[mysqlEncoding UTF8String]]]; + [_encoding autorelease]; + _encoding = [mysqlEncoding retain]; + } else { + [self detectEncoding]; + } + + // update the selected menu item + [self updateEncodingMenuWithSelectedEncoding:[self encodingNameFromMySQLEncoding:mysqlEncoding]]; + + // reload stuff + [tableSourceInstance reloadTable:self]; + [tableContentInstance reloadTable:self]; + [tableStatusInstance reloadTable:self]; +} + +/** + * returns the current mysql encoding for this object + */ +- (NSString *)encoding +{ + return _encoding; +} + +/** + * updates the currently selected item in the encoding menu + * + * @param NSString *encoding - the title of the menu item which will be selected + */ +- (void)updateEncodingMenuWithSelectedEncoding:(NSString *)encoding +{ + NSEnumerator *dbEncodingMenuEn = [[selectEncodingMenu itemArray] objectEnumerator]; + id menuItem; + int correctStateForMenuItem; + while (menuItem = [dbEncodingMenuEn nextObject]) { + correctStateForMenuItem = [[menuItem title] isEqualToString:encoding] ? NSOnState : NSOffState; + + if ([menuItem state] == correctStateForMenuItem) // don't re-apply state incase it causes performance issues + continue; + + [menuItem setState:correctStateForMenuItem]; + } +} + +/** + * Returns the display name for a mysql encoding + */ +- (NSString *)encodingNameFromMySQLEncoding:(NSString *)mysqlEncoding +{ + NSDictionary *translationMap = [NSDictionary dictionaryWithObjectsAndKeys: + @"UCS-2 Unicode (ucs2)", @"ucs2", + @"UTF-8 Unicode (utf8)", @"utf8", + @"US ASCII (ascii)", @"ascii", + @"ISO Latin 1 (latin1)", @"latin1", + @"Mac Roman (macroman)", @"macroman", + @"Windows Latin 2 (cp1250)", @"cp1250", + @"ISO Latin 2 (latin2)", @"latin2", + @"Windows Arabic (cp1256)", @"cp1256", + @"ISO Greek (greek)", @"greek", + @"ISO Hebrew (hebrew)", @"hebrew", + @"ISO Turkish (latin5)", @"latin5", + @"Windows Baltic (cp1257)", @"cp1257", + @"Windows Cyrillic (cp1251)", @"cp1251", + @"Big5 Traditional Chinese (big5)", @"big5", + @"Shift-JIS Japanese (sjis)", @"sjis", + @"EUC-JP Japanese (ujis)", @"ujis", + nil]; + NSString *encodingName = [translationMap valueForKey:mysqlEncoding]; + + if (!encodingName) + return [NSString stringWithFormat:@"Unknown Encoding (%@)", mysqlEncoding, nil]; + + return encodingName; +} + +/** + * Returns the mysql encoding for an encoding string that is displayed to the user + */ +- (NSString *)mysqlEncodingFromDisplayEncoding:(NSString *)encodingName +{ + NSDictionary *translationMap = [NSDictionary dictionaryWithObjectsAndKeys: + @"ucs2", @"UCS-2 Unicode (ucs2)", + @"utf8", @"UTF-8 Unicode (utf8)", + @"ascii", @"US ASCII (ascii)", + @"latin1", @"ISO Latin 1 (latin1)", + @"macroman", @"Mac Roman (macroman)", + @"cp1250", @"Windows Latin 2 (cp1250)", + @"latin2", @"ISO Latin 2 (latin2)", + @"cp1256", @"Windows Arabic (cp1256)", + @"greek", @"ISO Greek (greek)", + @"hebrew", @"ISO Hebrew (hebrew)", + @"latin5", @"ISO Turkish (latin5)", + @"cp1257", @"Windows Baltic (cp1257)", + @"cp1251", @"Windows Cyrillic (cp1251)", + @"big5", @"Big5 Traditional Chinese (big5)", + @"sjis", @"Shift-JIS Japanese (sjis)", + @"ujis", @"EUC-JP Japanese (ujis)", + nil]; + NSString *mysqlEncoding = [translationMap valueForKey:encodingName]; + + if (!mysqlEncoding) + return @"utf8"; + + return mysqlEncoding; +} + +/** + * Autodetect the connection encoding and select the relevant encoding menu item in Database -> Database Encoding + */ +- (void)detectEncoding +{ + // mysql > 4.0 + id mysqlEncoding = [[[mySQLConnection queryString:@"SHOW VARIABLES LIKE 'character_set_connection'"] fetchRowAsDictionary] objectForKey:@"Value"]; + _supportsEncoding = (mysqlEncoding != nil); + + if ( [mysqlEncoding isKindOfClass:[NSData class]] ) { // MySQL 4.1.14 returns the mysql variables as nsdata + mysqlEncoding = [mySQLConnection stringWithText:mysqlEncoding]; + } + if ( !mysqlEncoding ) { // mysql 4.0 or older -> only default character set possible, cannot choose others using "set names xy" + mysqlEncoding = [[[mySQLConnection queryString:@"SHOW VARIABLES LIKE 'character_set'"] fetchRowAsDictionary] objectForKey:@"Value"]; + } + if ( !mysqlEncoding ) { // older version? -> set encoding to mysql default encoding latin1 + NSLog(@"error: no character encoding found, mysql version is %@", [self mySQLVersion]); + mysqlEncoding = @"latin1"; + } + [mySQLConnection setEncoding:[CMMCPConnection encodingForMySQLEncoding:[mysqlEncoding cString]]]; + + // save the encoding + [_encoding autorelease]; + _encoding = [mysqlEncoding retain]; + + // update the selected menu item + [self updateEncodingMenuWithSelectedEncoding:[self encodingNameFromMySQLEncoding:mysqlEncoding]]; +} + +/** + * when sent by an NSMenuItem, will set the encoding based on the title of the menu item + */ +- (IBAction)chooseEncoding:(id)sender +{ + [self setEncoding:[self mysqlEncodingFromDisplayEncoding:[(NSMenuItem *)sender title]]]; +} + +/** + * return YES if MySQL server supports choosing connection and table encodings (MySQL 4.1 and newer) + */ +- (BOOL)supportsEncoding +{ + return _supportsEncoding; +} + + +#pragma mark Table Methods + +- (IBAction)showCreateTableSyntax:(id)sender +{ + //Create the query and get results + NSString *query = [NSString stringWithFormat:@"SHOW CREATE TABLE `%@`", [self table]]; + CMMCPResult *theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while creating table syntax.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + return; + } + + id tableSyntax = [[theResult fetchRowAsArray] objectAtIndex:1]; + + if ([tableSyntax isKindOfClass:[NSData class]]) + tableSyntax = [[NSString alloc] initWithData:tableSyntax encoding:[mySQLConnection encoding]]; + + [syntaxViewContent setString:tableSyntax]; + [createTableSyntaxWindow makeKeyAndOrderFront:self]; +} + +- (IBAction)copyCreateTableSyntax:(id)sender +{ + // Create the query and get results + NSString *query = [NSString stringWithFormat:@"SHOW CREATE TABLE `%@`", [self table]]; + CMMCPResult *theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while creating table syntax.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + return; + } + + id tableSyntax = [[theResult fetchRowAsArray] objectAtIndex:1]; + + if ([tableSyntax isKindOfClass:[NSData class]]) + tableSyntax = [[NSString alloc] initWithData:tableSyntax encoding:[mySQLConnection encoding]]; + + // copy to the clipboard + NSPasteboard *pb = [NSPasteboard generalPasteboard]; + [pb declareTypes:[NSArray arrayWithObject:NSStringPboardType] owner:self]; + [pb setString:tableSyntax forType:NSStringPboardType]; + + // Table syntax copied Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Table Syntax Copied" + description:[NSString stringWithFormat:NSLocalizedString(@"Syntax for %@ table copied",@"description for table syntax copied growl notification"), [self table]] + notificationName:@"Table Syntax Copied"]; +} + +- (IBAction)checkTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + //Create the query and get results + query = [NSString stringWithFormat:@"CHECK TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while checking table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + return; + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Check '%@' table", [self table]], [NSString stringWithFormat:@"Check: %@", [theRow objectForKey:@"Msg_text"]], @"OK", nil, nil); +} + +- (IBAction)analyzeTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + //Create the query and get results + query = [NSString stringWithFormat:@"ANALYZE TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while analyzing table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + return; + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Analyze '%@' table", [self table]], [NSString stringWithFormat:@"Analyze: %@", [theRow objectForKey:@"Msg_text"]], @"OK", nil, nil); +} + +- (IBAction)optimizeTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + //Create the query and get results + query = [NSString stringWithFormat:@"OPTIMIZE TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while optimizing table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Optimize '%@' table", [self table]], [NSString stringWithFormat:@"Optimize: %@", [theRow objectForKey:@"Msg_text"]], @"OK", nil, nil); +} + +- (IBAction)repairTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + //Create the query and get results + query = [NSString stringWithFormat:@"REPAIR TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while repairing table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Repair '%@' table", [self table]], [NSString stringWithFormat:@"Repair: %@", [theRow objectForKey:@"Msg_text"]], @"OK", nil, nil); +} + +- (IBAction)flushTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + + //Create the query and get results + query = [NSString stringWithFormat:@"FLUSH TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while flushing table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + return; + } + + // Process result + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Flush '%@' table", [self table]], @"Flushed", @"OK", nil, nil); +} + +- (IBAction)checksumTable:(id)sender +{ + NSString *query; + CMMCPResult *theResult; + NSDictionary *theRow; + + //Create the query and get results + query = [NSString stringWithFormat:@"CHECKSUM TABLE `%@`", [self table]]; + theResult = [mySQLConnection queryString:query]; + + // Check for errors + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""]) { + NSRunAlertPanel(@"Error", [NSString stringWithFormat:@"An error occured while performming checksum on table.\n\n: %@",[mySQLConnection getLastErrorMessage]], @"OK", nil, nil); + } + + // Process result + theRow = [[theResult fetch2DResultAsType:MCPTypeDictionary] lastObject]; + NSRunInformationalAlertPanel([NSString stringWithFormat:@"Checksum '%@' table", [self table]], [NSString stringWithFormat:@"Checksum: %@", [theRow objectForKey:@"Checksum"]], @"OK", nil, nil); +} + +#pragma mark Other Methods +/** + * returns the host + */ +- (NSString *)host +{ + return [hostField stringValue]; +} + +/** + * passes query to tablesListInstance + */ +- (void)doPerformQueryService:(NSString *)query +{ + [tableWindow makeKeyAndOrderFront:self]; + [tablesListInstance doPerformQueryService:query]; +} + +/** + * flushes the mysql privileges + */ +- (void)flushPrivileges:(id)sender +{ + [mySQLConnection queryString:@"FLUSH PRIVILEGES"]; + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //flushed privileges without errors + NSBeginAlertSheet(NSLocalizedString(@"Flushed Privileges", @"title of panel when successfully flushed privs"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Succesfully flushed privileges.", @"message of panel when successfully flushed privs")); + } else { + //error while flushing privileges + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, [NSString stringWithFormat:NSLocalizedString(@"Couldn't flush privileges.\nMySQL said: %@", @"message of panel when flushing privs failed"), + [mySQLConnection getLastErrorMessage]]); + } +} + +- (void)showVariables:(id)sender +/* + shows the mysql variables + */ +{ + CMMCPResult *theResult; + NSMutableArray *tempResult = [NSMutableArray array]; + int i; + + if ( variables ) { + [variables release]; + variables = nil; + } + //get variables + theResult = [mySQLConnection queryString:@"SHOW VARIABLES"]; + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + [tempResult addObject:[theResult fetchRowAsDictionary]]; + } + variables = [[NSArray arrayWithArray:tempResult] retain]; + [variablesTableView reloadData]; + //show variables sheet + [NSApp beginSheet:variablesSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + [NSApp runModalForWindow:variablesSheet]; + + [NSApp endSheet:variablesSheet]; + [variablesSheet orderOut:nil]; +} + +- (void)closeConnection +{ + [mySQLConnection disconnect]; + + // Disconnected Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Disconnected" + description:[NSString stringWithFormat:NSLocalizedString(@"Disconnected from %@",@"description for disconnected growl notification"), [tableWindow title]] + notificationName:@"Disconnected"]; +} + + +//getter methods +- (NSString *)database +/* + returns the currently selected database + */ +{ + return selectedDatabase; +} + +- (NSString *)table +/* + returns the currently selected table (passing the request to TablesList) + */ +{ + return (NSString *)[tablesListInstance table]; +} + +- (NSString *)mySQLVersion +/* + returns the mysql version + */ +{ + return mySQLVersion; +} + +- (NSString *)user +/* + returns the mysql version + */ +{ + return [userField stringValue]; +} + + +//notification center methods +- (void)willPerformQuery:(NSNotification *)notification +/* + invoked before a query is performed + */ +{ + // Only start the progress indicator is this document window is key. + // Because we are starting the progress indicator based on the notification + // of a query being started, we have to prevent other windows from + // starting theirs. The same is also true for the below hasPerformedQuery: + // method. + // + // This code should be removed. Updating user interface elements based on + // notifications is bad practice as notifications are global to the application. + if ([tableWindow isKeyWindow]) { + [queryProgressBar startAnimation:self]; + } +} + +- (void)hasPerformedQuery:(NSNotification *)notification +/* + invoked after a query has been performed + */ +{ + if ([tableWindow isKeyWindow]) { + [queryProgressBar stopAnimation:self]; + } +} + +- (void)applicationWillTerminate:(NSNotification *)notification +/* + invoked when the application will terminate + */ +{ + [tablesListInstance selectionShouldChangeInTableView:nil]; +} + +- (void)tunnelStatusChanged:(NSNotification *)notification +/* + the status of the tunnel has changed + */ +{ +} + +//menu methods +- (IBAction)import:(id)sender +/* + passes the request to the tableDump object + */ +{ + [tableDumpInstance importFile]; +} + +- (IBAction)export:(id)sender +/* + passes the request to the tableDump object + */ +{ + [tableDumpInstance exportFile:[sender tag]]; +} + +- (IBAction)exportTable:(id)sender +{ + return [self export:sender]; +} + +- (IBAction)exportMultipleTables:(id)sender +{ + return [self export:sender]; +} + +/** + * Menu validation + */ +- (BOOL)validateMenuItem:(NSMenuItem *)menuItem +{ + if ([menuItem action] == @selector(import:)) { + return ([self database] != nil); + } + + if ([menuItem action] == @selector(importCSV:)) { + return ([self database] != nil && [self table] != nil); + } + + if ([menuItem action] == @selector(export:)) { + return ([self database] != nil); + } + + if ([menuItem action] == @selector(exportTable:)) { + return ([self database] != nil && [self table] != nil); + } + + if ([menuItem action] == @selector(exportMultipleTables:)) { + return ([self database] != nil); + } + + if ([menuItem action] == @selector(chooseEncoding:)) { + return [self supportsEncoding]; + } + + // table menu items + if ([menuItem action] == @selector(showCreateTableSyntax:) || + [menuItem action] == @selector(copyCreateTableSyntax:) || + [menuItem action] == @selector(checkTable:) || + [menuItem action] == @selector(analyzeTable:) || + [menuItem action] == @selector(optimizeTable:) || + [menuItem action] == @selector(repairTable:) || + [menuItem action] == @selector(flushTable:) || + [menuItem action] == @selector(checksumTable:)) + { + return ([self table] != nil && [[self table] isNotEqualTo:@""]); + } + return [super validateMenuItem:menuItem]; +} + +- (IBAction)viewStructure:(id)sender +{ + [tableTabView selectTabViewItemAtIndex:0]; + [mainToolbar setSelectedItemIdentifier:@"SwitchToTableStructureToolbarItemIdentifier"]; +} + +- (IBAction)viewContent:(id)sender +{ + [tableTabView selectTabViewItemAtIndex:1]; + [mainToolbar setSelectedItemIdentifier:@"SwitchToTableContentToolbarItemIdentifier"]; +} + +- (IBAction)viewQuery:(id)sender +{ + [tableTabView selectTabViewItemAtIndex:2]; + [mainToolbar setSelectedItemIdentifier:@"SwitchToRunQueryToolbarItemIdentifier"]; +} + +- (IBAction)viewStatus:(id)sender +{ + [tableTabView selectTabViewItemAtIndex:3]; + [mainToolbar setSelectedItemIdentifier:@"SwitchToTableStatusToolbarItemIdentifier"]; +} + + +#pragma mark Toolbar Methods + +/** + * set up the standard toolbar + */ +- (void)setupToolbar +{ + // create a new toolbar instance, and attach it to our document window + mainToolbar = [[[NSToolbar alloc] initWithIdentifier:@"TableWindowToolbar"] autorelease]; + + // set up toolbar properties + [mainToolbar setAllowsUserCustomization: YES]; + [mainToolbar setAutosavesConfiguration: YES]; + [mainToolbar setDisplayMode:NSToolbarDisplayModeIconAndLabel]; + + // set ourself as the delegate + [mainToolbar setDelegate:self]; + + // attach the toolbar to the document window + [tableWindow setToolbar:mainToolbar]; + + // select the structure toolbar item + [self viewStructure:self]; + + // update the toolbar item size + [self updateChooseDatabaseToolbarItemWidth]; +} + +/** + * toolbar delegate method + */ +- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)willBeInsertedIntoToolbar +{ + NSToolbarItem *toolbarItem = [[[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier] autorelease]; + + if ([itemIdentifier isEqualToString:@"DatabaseSelectToolbarItemIdentifier"]) { + [toolbarItem setLabel:NSLocalizedString(@"Select Database", @"toolbar item for selecting a db")]; + [toolbarItem setPaletteLabel:[toolbarItem label]]; + [toolbarItem setView:chooseDatabaseButton]; + [toolbarItem setMinSize:NSMakeSize(200,26)]; + [toolbarItem setMaxSize:NSMakeSize(200,32)]; + [chooseDatabaseButton setTarget:self]; + [chooseDatabaseButton setAction:@selector(chooseDatabase:)]; + + if (willBeInsertedIntoToolbar) { + chooseDatabaseToolbarItem = toolbarItem; + [self updateChooseDatabaseToolbarItemWidth]; + } + + } else if ([itemIdentifier isEqualToString:@"ToggleConsoleIdentifier"]) { + //set the text label to be displayed in the toolbar and customization palette + [toolbarItem setPaletteLabel:NSLocalizedString(@"Show/Hide Console", @"toolbar item for show/hide console")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Show or hide the console which shows all MySQL commands performed by Sequel Pro", @"tooltip for toolbar item for show/hide console")]; + if ( [self consoleIsOpened] ) { + [toolbarItem setLabel:NSLocalizedString(@"Hide Console", @"toolbar item for hide console")]; + [toolbarItem setImage:[NSImage imageNamed:@"hideconsole"]]; + } else { + [toolbarItem setLabel:NSLocalizedString(@"Show Console", @"toolbar item for showconsole")]; + [toolbarItem setImage:[NSImage imageNamed:@"showconsole"]]; + } + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(toggleConsole:)]; + + } else if ([itemIdentifier isEqualToString:@"ClearConsoleIdentifier"]) { + //set the text label to be displayed in the toolbar and customization palette + [toolbarItem setLabel:NSLocalizedString(@"Clear Console", @"toolbar item for clear console")]; + [toolbarItem setPaletteLabel:NSLocalizedString(@"Clear Console", @"toolbar item for clear console")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Clear the console which shows all MySQL commands performed by Sequel Pro", @"tooltip for toolbar item for clear console")]; + [toolbarItem setImage:[NSImage imageNamed:@"clearconsole"]]; + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(clearConsole:)]; + + } else if ([itemIdentifier isEqualToString:@"SwitchToTableStructureToolbarItemIdentifier"]) { + [toolbarItem setLabel:NSLocalizedString(@"Table", @"toolbar item label for switching to the Table Structure tab")]; + [toolbarItem setPaletteLabel:NSLocalizedString(@"Table Structure", @"toolbar item label for switching to the Table Structure tab")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Switch to the Table Structure tab", @"tooltip for toolbar item for switching to the Table Structure tab")]; + [toolbarItem setImage:[NSImage imageNamed:@"toolbar-switch-to-structure"]]; + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(viewStructure:)]; + + } else if ([itemIdentifier isEqualToString:@"SwitchToTableContentToolbarItemIdentifier"]) { + [toolbarItem setLabel:NSLocalizedString(@"Browse", @"toolbar item label for switching to the Table Content tab")]; + [toolbarItem setPaletteLabel:NSLocalizedString(@"Table Content", @"toolbar item label for switching to the Table Content tab")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Switch to the Table Content tab", @"tooltip for toolbar item for switching to the Table Content tab")]; + [toolbarItem setImage:[NSImage imageNamed:@"toolbar-switch-to-browse"]]; + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(viewContent:)]; + + } else if ([itemIdentifier isEqualToString:@"SwitchToRunQueryToolbarItemIdentifier"]) { + [toolbarItem setLabel:NSLocalizedString(@"SQL", @"toolbar item label for switching to the Run Query tab")]; + [toolbarItem setPaletteLabel:NSLocalizedString(@"Run Query", @"toolbar item label for switching to the Run Query tab")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Switch to the Run Query tab", @"tooltip for toolbar item for switching to the Run Query tab")]; + [toolbarItem setImage:[NSImage imageNamed:@"toolbar-switch-to-sql"]]; + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(viewQuery:)]; + + } else if ([itemIdentifier isEqualToString:@"SwitchToTableStatusToolbarItemIdentifier"]) { + [toolbarItem setLabel:NSLocalizedString(@"Table Status", @"toolbar item label for switching to the Table Status tab")]; + [toolbarItem setPaletteLabel:NSLocalizedString(@"Table Status", @"toolbar item label for switching to the Table Status tab")]; + //set up tooltip and image + [toolbarItem setToolTip:NSLocalizedString(@"Switch to the Table Status tab", @"tooltip for toolbar item for switching to the Table Status tab")]; + [toolbarItem setImage:[NSImage imageNamed:@"toolbar-switch-to-table-info"]]; + //set up the target action + [toolbarItem setTarget:self]; + [toolbarItem setAction:@selector(viewStatus:)]; + + } else { + //itemIdentifier refered to a toolbar item that is not provided or supported by us or cocoa + toolbarItem = nil; + } + + return toolbarItem; +} + +/** + * toolbar delegate method + */ +- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar +{ + return [NSArray arrayWithObjects: + @"DatabaseSelectToolbarItemIdentifier", + @"ToggleConsoleIdentifier", + @"ClearConsoleIdentifier", + @"FlushPrivilegesIdentifier", + @"SwitchToTableStructureToolbarItemIdentifier", + @"SwitchToTableContentToolbarItemIdentifier", + @"SwitchToRunQueryToolbarItemIdentifier", + @"SwitchToTableStatusToolbarItemIdentifier", + NSToolbarCustomizeToolbarItemIdentifier, + NSToolbarFlexibleSpaceItemIdentifier, + NSToolbarSpaceItemIdentifier, + NSToolbarSeparatorItemIdentifier, + nil]; +} + +/** + * toolbar delegate method + */ +- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar*)toolbar +{ + return [NSArray arrayWithObjects: + @"DatabaseSelectToolbarItemIdentifier", + NSToolbarFlexibleSpaceItemIdentifier, + @"SwitchToTableStructureToolbarItemIdentifier", + @"SwitchToTableContentToolbarItemIdentifier", + @"SwitchToRunQueryToolbarItemIdentifier", + NSToolbarFlexibleSpaceItemIdentifier, + nil]; +} + +- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar +{ + return [NSArray arrayWithObjects: + @"SwitchToTableStructureToolbarItemIdentifier", + @"SwitchToTableContentToolbarItemIdentifier", + @"SwitchToRunQueryToolbarItemIdentifier", + @"SwitchToTableStatusToolbarItemIdentifier", + nil]; + +} + +/** + * validates the toolbar items + */ +- (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem; +{ + if ( [[toolbarItem itemIdentifier] isEqualToString:@"ToggleConsoleIdentifier"] ) { + if ( [self consoleIsOpened] ) { + [toolbarItem setLabel:@"Hide Console"]; + [toolbarItem setImage:[NSImage imageNamed:@"hideconsole"]]; + } else { + [toolbarItem setLabel:@"Show Console"]; + [toolbarItem setImage:[NSImage imageNamed:@"showconsole"]]; + } + } + + return YES; +} + + +//NSDocument methods +- (NSString *)windowNibName +/* + returns the name of the nib file + */ +{ + return @"DBView"; +} + +- (void)windowControllerDidLoadNib:(NSWindowController *) aController +/* + code that need to be executed once the windowController has loaded the document's window + sets upt the interface (small fonts) + */ +{ + [aController setShouldCascadeWindows:YES]; + [super windowControllerDidLoadNib:aController]; + + NSEnumerator *theCols = [[variablesTableView tableColumns] objectEnumerator]; + NSTableColumn *theCol; + + // [tableWindow makeKeyAndOrderFront:self]; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + selectedFavorite = [[NSString alloc] initWithString:NSLocalizedString(@"Custom", @"menu item for custom connection")]; + + //register for notifications + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(willPerformQuery:) + name:@"SMySQLQueryWillBePerformed" object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(hasPerformedQuery:) + name:@"SMySQLQueryHasBeenPerformed" object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applicationWillTerminate:) + name:@"NSApplicationWillTerminateNotification" object:nil]; + + //set up interface + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [consoleTextView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [syntaxViewContent setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + + while ( (theCol = [theCols nextObject]) ) { + [[theCol dataCell] setFont:[NSFont fontWithName:@"Monaco" size:10]]; + } + } else { + [consoleTextView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [syntaxViewContent setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + while ( (theCol = [theCols nextObject]) ) { + [[theCol dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + } + [consoleDrawer setContentSize:NSMakeSize(110,110)]; + + //set up toolbar + [self setupToolbar]; + // [self connectToDB:nil]; + [self performSelector:@selector(connectToDB:) withObject:tableWindow afterDelay:0.0f]; +} + +- (void)windowWillClose:(NSNotification *)aNotification +{ + if ([mySQLConnection isConnected]) [self closeConnection]; + + [[NSNotificationCenter defaultCenter] removeObserver:self]; +} + + +//NSWindow delegate methods +- (BOOL)windowShouldClose:(id)sender +/* + invoked when the document window should close + */ +{ + if ( ![tablesListInstance selectionShouldChangeInTableView:nil] ) { + return NO; + } else { + return YES; + } + +} + + +//SMySQL delegate methods +- (void)willQueryString:(NSString *)query +/* +invoked when framework will perform a query +*/ +{ + NSString *currentTime = [[NSDate date] descriptionWithCalendarFormat:@"%H:%M:%S" timeZone:nil locale:nil]; + + [self showMessageInConsole:[NSString stringWithFormat:@"/* MySQL %@ */ %@;\n", currentTime, query]]; +} + +- (void)queryGaveError:(NSString *)error +/* +invoked when query gave an error +*/ +{ + NSString *currentTime = [[NSDate date] descriptionWithCalendarFormat:@"%H:%M:%S" timeZone:nil locale:nil]; + + [self showErrorInConsole:[NSString stringWithFormat:@"/* ERROR %@ */ %@;\n", currentTime, error]]; +} + +#pragma mark SplitView delegate methods + +/** + * tells the splitView that it can collapse views + */ +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview +{ + return YES; +} + +/** + * defines max position of splitView + */ +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset +{ + return proposedMax - 600; +} + +/** + * defines min position of splitView + */ +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset +{ + return proposedMin + 160; +} + +- (void)splitViewDidResizeSubviews:(NSNotification *)notification +{ + [self updateChooseDatabaseToolbarItemWidth]; +} + +- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex +{ + if (sidebarGrabber != nil) { + return [sidebarGrabber convertRect:[sidebarGrabber bounds] toView:splitView]; + } else { + return NSZeroRect; + } +} + +- (void)updateChooseDatabaseToolbarItemWidth +{ + // make sure the toolbar item is actually in the toolbar + if (!chooseDatabaseToolbarItem) + return; + + // grab the width of the left pane + float leftPaneWidth = [dbTablesTableView frame].size.width; + + // subtract some pixels to allow for misc stuff + leftPaneWidth -= 12; + + // make sure it's not too small or to big + if (leftPaneWidth < 130) + leftPaneWidth = 130; + if (leftPaneWidth > 360) + leftPaneWidth = 360; + + // apply the size + [chooseDatabaseToolbarItem setMinSize:NSMakeSize(leftPaneWidth, 26)]; + [chooseDatabaseToolbarItem setMaxSize:NSMakeSize(leftPaneWidth, 32)]; +} + + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + return [variables count]; +} + +- (id)tableView:(NSTableView *)aTableView +objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + id theValue; + + theValue = [[variables objectAtIndex:rowIndex] objectForKey:[aTableColumn identifier]]; + + if ( [theValue isKindOfClass:[NSData class]] ) { + theValue = [[NSString alloc] initWithData:theValue encoding:[mySQLConnection encoding]]; + } + + return theValue; +} + +- (IBAction)terminate:(id)sender +{ + [[NSApp orderedDocuments] makeObjectsPerformSelector:@selector(cancelConnectSheet:) withObject:nil]; + [NSApp terminate:sender]; +} + +- (void)dealloc +{ + [chooseDatabaseButton release]; + [mySQLConnection release]; + [favorites release]; + [variables release]; + [selectedDatabase release]; + [selectedFavorite release]; + [mySQLVersion release]; + [prefs release]; + + [super dealloc]; +} + +@end diff --git a/trunk/TableDocumentSplitView.h b/trunk/TableDocumentSplitView.h new file mode 100644 index 00000000..798e8088 --- /dev/null +++ b/trunk/TableDocumentSplitView.h @@ -0,0 +1,35 @@ +// +// TableDocumentSplitView.h +// sequel-pro +// +// Created by Abhi Beckert (abhibeckert.com) on 2008-04-24. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// + +#import <Cocoa/Cocoa.h> + +/** + * This is the main split view in the main database window (left col tables list + * right col main window content) + */ + +@interface TableDocumentSplitView : NSSplitView { + +} + +@end diff --git a/trunk/TableDocumentSplitView.m b/trunk/TableDocumentSplitView.m new file mode 100644 index 00000000..f8784d0e --- /dev/null +++ b/trunk/TableDocumentSplitView.m @@ -0,0 +1,39 @@ +// +// TableDocumentSplitView.m +// sequel-pro +// +// Created by Abhi Beckert (abhibeckert.com) on 2008-04-24. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// + +#import "TableDocumentSplitView.h" + +@implementation TableDocumentSplitView + +- (float)dividerThickness +{ + return 1; +} + +- (void)drawDividerInRect:(NSRect)rect +{ + [[NSColor controlShadowColor] set]; + NSRectFill(rect); +} + +@end diff --git a/trunk/TableDump.h b/trunk/TableDump.h new file mode 100644 index 00000000..a382e082 --- /dev/null +++ b/trunk/TableDump.h @@ -0,0 +1,154 @@ +// +// TableDump.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + + +@interface TableDump : NSObject { + + IBOutlet id tableDocumentInstance; + IBOutlet id tablesListInstance; + IBOutlet id tableSourceInstance; + IBOutlet id tableContentInstance; + IBOutlet id customQueryInstance; + + IBOutlet id tableWindow; + IBOutlet id tableListView; + + IBOutlet id exportDumpView; + IBOutlet id exportCSVView; + IBOutlet id exportMultipleCSVView; + IBOutlet id exportMultipleXMLView; + IBOutlet id exportDumpTableView; + IBOutlet id exportMultipleCSVTableView; + IBOutlet id exportMultipleXMLTableView; + IBOutlet id exportFieldNamesSwitch; + IBOutlet id exportFieldsTerminatedField; + IBOutlet id exportFieldsEnclosedField; + IBOutlet id exportFieldsEscapedField; + IBOutlet id exportLinesTerminatedField; + IBOutlet id exportMultipleFieldNamesSwitch; + IBOutlet id exportMultipleFieldsTerminatedField; + IBOutlet id exportMultipleFieldsEnclosedField; + IBOutlet id exportMultipleFieldsEscapedField; + IBOutlet id exportMultipleLinesTerminatedField; + + IBOutlet id importCSVView; + IBOutlet id importFormatPopup; + IBOutlet id importCSVBox; + IBOutlet id importFieldNamesSwitch; + IBOutlet id importFieldsTerminatedField; + IBOutlet id importFieldsEnclosedField; + IBOutlet id importFieldsEscapedField; + IBOutlet id importLinesTerminatedField; + + IBOutlet id addDropTableSwitch; + IBOutlet id addCreateTableSwitch; + IBOutlet id addTableContentSwitch; + IBOutlet id addErrorsSwitch; + IBOutlet id errorsSheet; + IBOutlet id errorsView; + IBOutlet id singleProgressSheet; + IBOutlet id singleProgressBar; + IBOutlet id singleProgressText; + + IBOutlet id fieldMappingSheet; + IBOutlet id fieldMappingPopup; + IBOutlet id fieldMappingTableView; + + IBOutlet id rowUpButton; + IBOutlet id rowDownButton; + IBOutlet id recordCountLabel; + + CMMCPConnection *mySQLConnection; + + NSMutableArray *tables; + NSArray *importArray; + NSMutableArray *fieldMappingArray; + int currentRow; + NSString *savePath; + NSString *openPath; + NSUserDefaults *prefs; +} + +//IBAction methods +- (IBAction)reloadTables:(id)sender; +- (IBAction)selectTables:(id)sender; +- (IBAction)closeSheet:(id)sender; +- (IBAction)stepRow:(id)sender; +//- (IBAction)chooseDumpType:(id)sender; + +//export methods +//- (IBAction)saveDump:(id)sender; +- (void)exportFile:(int)tag; +- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; + +//import methods +//- (IBAction)openDump:(id)sender; +- (void)importFile; +- (IBAction)changeFormat:(id)sender; +- (IBAction)changeTable:(id)sender; +- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; +- (void)setupFieldMappingArray; +- (NSArray *)arrayForCSV:(NSString *)csv terminatedBy:(NSString *)terminated + enclosedBy:(NSString *)enclosed escapedBy:(NSString *)escaped lineEnds:(NSString *)lineEnds; +- (NSArray *)arrayForString:(NSString *)string enclosed:(NSString *)enclosed + escaped:(NSString *)escaped terminated:(NSString *)terminated; +- (NSArray *)splitQueries:(NSString *)query; + +// Export methods +- (BOOL)dumpSelectedTablesAsSqlToFileHandle:(NSFileHandle *)fileHandle; +- (BOOL)writeCsvForArray:(NSArray *)array orQueryResult:(CMMCPResult *)queryResult + toFileHandle:(NSFileHandle *)fileHandle + outputFieldNames:(BOOL)firstLine terminatedBy:(NSString *)terminated + enclosedBy:(NSString *)enclosed escapedBy:(NSString *)escaped + lineEnds:(NSString *)lineEnds silently:(BOOL)silently; +- (BOOL)writeXmlForArray:(NSArray *)array orQueryResult:(CMMCPResult *)queryResult + toFileHandle:(NSFileHandle *)fileHandle + tableName:(NSString *)table withHeader:(BOOL)header silently:(BOOL)silently; +- (NSString *)htmlEscapeString:(NSString *)string; +- (BOOL)exportTables:(NSArray *)selectedTables toFileHandle:(NSFileHandle *)fileHandle usingFormat:(NSString *)type; +- (BOOL)exportSelectedTablesToFileHandle:(NSFileHandle *)fileHandle usingFormat:(NSString *)type; + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection; + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//last but not least +- (id)init; +- (void)dealloc; + +@end diff --git a/trunk/TableDump.m b/trunk/TableDump.m new file mode 100644 index 00000000..a40458d0 --- /dev/null +++ b/trunk/TableDump.m @@ -0,0 +1,1854 @@ +// +// TableDump.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "TableDump.h" +#import "TableDocument.h" +#import "TablesList.h" +#import "TableSource.h" +#import "TableContent.h" +#import "CustomQuery.h" +#import "SPGrowlController.h" + +@implementation TableDump + +//IBAction methods +- (IBAction)reloadTables:(id)sender +/* + get the tables in db + */ +{ + CMMCPResult *queryResult; + int i; + + //get tables + [tables removeAllObjects]; + queryResult = (CMMCPResult *)[mySQLConnection listTables]; + + if ([queryResult numOfRows]) [queryResult dataSeek:0]; + for ( i = 0 ; i < [queryResult numOfRows] ; i++ ) { + [tables addObject:[NSMutableArray arrayWithObjects: + [NSNumber numberWithBool:YES], [[queryResult fetchRowAsArray] objectAtIndex:0], nil]]; + } + + [exportDumpTableView reloadData]; + [exportMultipleCSVTableView reloadData]; + [exportMultipleXMLTableView reloadData]; + +} + +- (IBAction)selectTables:(id)sender +/* + selects or deselects all tables + */ +{ + NSEnumerator *enumerator; + id theObject; + + [self reloadTables:self]; + + enumerator = [tables objectEnumerator]; + while ( (theObject = [enumerator nextObject]) ) { + if ( [sender tag] ) { + [theObject replaceObjectAtIndex:0 withObject:[NSNumber numberWithBool:YES]]; + } else { + [theObject replaceObjectAtIndex:0 withObject:[NSNumber numberWithBool:NO]]; + } + } + + [exportDumpTableView reloadData]; + [exportMultipleCSVTableView reloadData]; + [exportMultipleXMLTableView reloadData]; +} + +- (IBAction)closeSheet:(id)sender +/* + ends the modal session + */ +{ + [NSApp stopModalWithCode:[sender tag]]; +} + +#pragma mark - +#pragma mark export methods + +- (void)exportFile:(int)tag +/* + invoked when user clicks on an export menuItem + */ +{ + NSString *file; + NSString *contextInfo; + NSSavePanel *savePanel = [NSSavePanel savePanel]; + NSString *currentDate = [[NSDate date] descriptionWithCalendarFormat:@"%d.%m.%Y" timeZone:nil locale:nil]; + + switch ( tag ) { + case 5: + // export dump + [self reloadTables:self]; + file = [NSString stringWithFormat:@"%@_dump %@.sql", [tableDocumentInstance database], currentDate]; + [savePanel setAccessoryView:exportDumpView]; + contextInfo = @"exportDump"; + break; + + // Export the full resultset for the currently selected table to a file in CSV format + case 6: + file = [NSString stringWithFormat:@"%@.csv", [tableDocumentInstance table]]; + [savePanel setAccessoryView:exportCSVView]; + contextInfo = @"exportTableContentAsCSV"; + break; + + // Export the full resultset for the currently selected table to a file in XML format + case 7: + file = [NSString stringWithFormat:@"%@.xml", [tableDocumentInstance table]]; + contextInfo = @"exportTableContentAsXML"; + break; + + // Export the current "browse" view to a file in CSV format + case 8: + file = [NSString stringWithFormat:@"%@ view.csv", [tableDocumentInstance table]]; + [savePanel setAccessoryView:exportCSVView]; + contextInfo = @"exportBrowseViewAsCSV"; + break; + + // Export the current "browse" view to a file in XML format + case 9: + file = [NSString stringWithFormat:@"%@ view.xml", [tableDocumentInstance table]]; + contextInfo = @"exportBrowseViewAsXML"; + break; + + // Export the current custom query result set to a file in CSV format + case 10: + file = @"customresult.csv"; + [savePanel setAccessoryView:exportCSVView]; + contextInfo = @"exportCustomResultAsCSV"; + break; + + // Export the current custom query result set to a file in XML format + case 11: + file = @"customresult.xml"; + contextInfo = @"exportCustomResultAsXML"; + break; + + // Export multiple tables to a file in CSV format + case 12: + [self reloadTables:self]; + file = [NSString stringWithFormat:@"%@.csv", [tableDocumentInstance database]]; + [savePanel setAccessoryView:exportMultipleCSVView]; + contextInfo = @"exportMultipleTablesAsCSV"; + break; + + // Export multiple tables to a file in XML format + case 13: + [self reloadTables:self]; + file = [NSString stringWithFormat:@"%@.xml", [tableDocumentInstance database]]; + [savePanel setAccessoryView:exportMultipleXMLView]; + contextInfo = @"exportMultipleTablesAsXML"; + break; + default: + NSLog(@"ERROR: unknown export item with tag %d", tag); + return; + break; + } + + // Open the savePanel + [savePanel beginSheetForDirectory:[prefs objectForKey:@"savePath"] + file:file modalForWindow:tableWindow modalDelegate:self + didEndSelector:@selector(savePanelDidEnd:returnCode:contextInfo:) contextInfo:contextInfo]; +} + +/* + Save the export file; open a file handle, pass it to the appropriate data-writing function for streaming the export, and close the handle. + */ +- (void)savePanelDidEnd:(NSSavePanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +{ + NSFileHandle *fileHandle = nil; + BOOL success; + + [sheet orderOut:self]; + + if ( returnCode != NSOKButton ) + return; + + // Save path to preferences + [prefs setObject:[sheet directory] forKey:@"savePath"]; + + // Error if the file already exists and is not writable, and get a fileHandle to it. + if ( [[NSFileManager defaultManager] fileExistsAtPath:[sheet filename]] ) { + if ( ![[NSFileManager defaultManager] isWritableFileAtPath:[sheet filename]] + || !(fileHandle = [NSFileHandle fileHandleForWritingAtPath:[sheet filename]]) ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Couldn't replace the file. Be sure that you have the necessary privileges.", @"message of panel when file cannot be replaced")); + return; + } + + // Truncate the file to zero bytes + [fileHandle truncateFileAtOffset:0]; + + // Otherwise attempt to create a file + } else { + if ( ![[NSFileManager defaultManager] createFileAtPath:[sheet filename] contents:[NSData data] attributes:nil] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Couldn't write to file. Be sure that you have the necessary privileges.", @"message of panel when file cannot be written")); + return; + } + + // Retrieve a filehandle for the file, attempting to delete it on failure. + fileHandle = [NSFileHandle fileHandleForWritingAtPath:[sheet filename]]; + if ( !fileHandle ) { + [[NSFileManager defaultManager] removeFileAtPath:[sheet filename] handler:nil]; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Couldn't write to file. Be sure that you have the necessary privileges.", @"message of panel when file cannot be written")); + return; + } + } + + // Export the tables selected in the MySQL export sheet to a file + if ( [contextInfo isEqualToString:@"exportDump"] ) { + success = [self dumpSelectedTablesAsSqlToFileHandle:fileHandle]; + + // Export the full resultset for the currently selected table to a file in CSV format + } else if ( [contextInfo isEqualToString:@"exportTableContentAsCSV"] ) { + success = [self exportTables:[NSArray arrayWithObject:[tableDocumentInstance table]] toFileHandle:fileHandle usingFormat:@"csv"]; + + // Export the full resultset for the currently selected table to a file in XML format + } else if ( [contextInfo isEqualToString:@"exportTableContentAsXML"] ) { + success = [self exportTables:[NSArray arrayWithObject:[tableDocumentInstance table]] toFileHandle:fileHandle usingFormat:@"xml"]; + + // Export the current "browse" view to a file in CSV format + } else if ( [contextInfo isEqualToString:@"exportBrowseViewAsCSV"] ) { + success = [self writeCsvForArray:[tableContentInstance currentResult] orQueryResult:nil + toFileHandle:fileHandle + outputFieldNames:[exportFieldNamesSwitch state] + terminatedBy:[exportFieldsTerminatedField stringValue] + enclosedBy:[exportFieldsEnclosedField stringValue] + escapedBy:[exportFieldsEscapedField stringValue] + lineEnds:[exportLinesTerminatedField stringValue] + silently:NO]; + + // Export the current "browse" view to a file in XML format + } else if ( [contextInfo isEqualToString:@"exportBrowseViewAsXML"] ) { + success = [self writeXmlForArray:[tableContentInstance currentResult] orQueryResult:nil + toFileHandle:fileHandle + tableName:[tableDocumentInstance table] + withHeader:YES + silently:NO]; + + // Export the current custom query result set to a file in CSV format + } else if ( [contextInfo isEqualToString:@"exportCustomResultAsCSV"] ) { + success = [self writeCsvForArray:[customQueryInstance currentResult] orQueryResult:nil + toFileHandle:fileHandle + outputFieldNames:[exportFieldNamesSwitch state] + terminatedBy:[exportFieldsTerminatedField stringValue] + enclosedBy:[exportFieldsEnclosedField stringValue] + escapedBy:[exportFieldsEscapedField stringValue] + lineEnds:[exportLinesTerminatedField stringValue] + silently:NO]; + + // Export the current custom query result set to a file in XML format + } else if ( [contextInfo isEqualToString:@"exportCustomResultAsXML"] ) { + success = [self writeXmlForArray:[customQueryInstance currentResult] orQueryResult:nil + toFileHandle:fileHandle + tableName:@"custom" + withHeader:YES + silently:NO]; + + // Export multiple tables to a file in CSV format + } else if ( [contextInfo isEqualToString:@"exportMultipleTablesAsCSV"] ) { + success = [self exportSelectedTablesToFileHandle:fileHandle usingFormat:@"csv"]; + + // Export multiple tables to a file in XML format + } else if ( [contextInfo isEqualToString:@"exportMultipleTablesAsXML"] ) { + success = [self exportSelectedTablesToFileHandle:fileHandle usingFormat:@"xml"]; + + // Unknown operation + } else { + NSLog(@"Unknown export operation: %@", [contextInfo description]); + return; + } + + // Close the file handle + [fileHandle closeFile]; + + if ( !success ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + NSLocalizedString(@"Couldn't write to file. Be sure that you have the necessary privileges.", @"message of panel when file cannot be written")); + } + + // Export finished Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Export Finished" + description:[NSString stringWithFormat:NSLocalizedString(@"Finished exporting to %@",@"description for finished exporting growl notification"), [[sheet filename] lastPathComponent]] + notificationName:@"Export Finished"]; +} + +#pragma mark - +#pragma mark import methods + +- (void)importFile +/* + invoked when user clicks on an import menuItem + */ +{ + NSOpenPanel *openPanel = [NSOpenPanel openPanel]; + [openPanel setAccessoryView:importCSVView]; + + // Show openPanel + [openPanel beginSheetForDirectory:[prefs objectForKey:@"openPath"] + file:nil + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:@selector(openPanelDidEnd:returnCode:contextInfo:) + contextInfo:nil]; +} + +- (IBAction)changeFormat:(id)sender +{ + [importCSVBox setHidden:![[[importFormatPopup selectedItem] title] isEqualToString:@"CSV"]]; +} + +- (IBAction)changeTable:(id)sender +{ + NSPopUpButtonCell *buttonCell = [[NSPopUpButtonCell alloc] init]; + + [tableListView selectRowIndexes:[NSIndexSet indexSetWithIndex:[[tablesListInstance tables] indexOfObject:[fieldMappingPopup titleOfSelectedItem]]] byExtendingSelection:NO]; + + //set up tableView + currentRow = 0; + fieldMappingArray = nil; + [self setupFieldMappingArray]; + [rowDownButton setEnabled:NO]; + [rowUpButton setEnabled:([importArray count] > 1)]; + [recordCountLabel setStringValue:[NSString stringWithFormat:@"%i of %i records", currentRow+1, [importArray count]]]; + + //set up tableView buttons + [buttonCell setControlSize:NSSmallControlSize]; + [buttonCell setFont:[NSFont labelFontOfSize:[NSFont smallSystemFontSize]]]; + [buttonCell setBordered:NO]; + [buttonCell addItemWithTitle:NSLocalizedString(@"Do not import", @"text for csv import drop downs")]; + [buttonCell addItemsWithTitles:[importArray objectAtIndex:currentRow]]; + + [[fieldMappingTableView tableColumnWithIdentifier:@"value"] setDataCell:buttonCell]; + [fieldMappingTableView reloadData]; +} + +- (void)openPanelDidEnd:(NSOpenPanel *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +/* + reads mysql-dumpfile + */ +{ + NSString *dumpFile; + NSError **errorStr; + NSMutableString *errors = [NSMutableString string]; + NSString *fileType = [[importFormatPopup selectedItem] title]; + + [sheet orderOut:self]; + + if ( returnCode != NSOKButton ) + return; + + //save path to preferences + [prefs setObject:[sheet directory] forKey:@"openPath"]; + + //load file into string + if ( [NSString respondsToSelector:@selector(stringWithContentsOfFile:encoding:error:)] ) { + // mac os 10.4 or later + dumpFile = [NSString stringWithContentsOfFile:[sheet filename] + encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance encoding] cString]] + error:errorStr]; + } else { + // mac os pre 10.4 + dumpFile = [NSString stringWithContentsOfFile:[sheet filename]]; + } + + if ( !dumpFile ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"Title of error alert"), + NSLocalizedString(@"OK", @"OK button"), + nil, nil, + tableWindow, self, + nil, nil, nil, + NSLocalizedString(@"Couldn't open file. Be sure that the path is correct and that you have the necessary privileges.", @"Message of panel when file cannot be opened")); + return; + } + + // reset interface + [errorsView setString:@""]; + [errorsView displayIfNeeded]; + [singleProgressText setStringValue:NSLocalizedString(@"Reading...", @"text showing that app is reading dump")]; + [singleProgressText displayIfNeeded]; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + if ( [fileType isEqualToString:@"SQL"] ) { + + //import dump file + NSArray *queries; + int i; + + //open progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + [singleProgressBar setIndeterminate:YES]; + [singleProgressBar setUsesThreadedAnimation:YES]; + [singleProgressBar startAnimation:self]; + + //get array with an object for each mysql-query + queries = [self splitQueries:dumpFile]; + + [singleProgressBar stopAnimation:self]; + [singleProgressBar setUsesThreadedAnimation:NO]; + [singleProgressBar setIndeterminate:NO]; + + //perform all mysql-queries + for ( i = 0 ; i < [queries count] ; i++ ) { + [singleProgressBar setDoubleValue:((i+1)*100/[queries count])]; + [singleProgressBar displayIfNeeded]; + [mySQLConnection queryString:[queries objectAtIndex:i]]; + + if (![[mySQLConnection getLastErrorMessage] isEqualToString:@""] && ![[mySQLConnection getLastErrorMessage] isEqualToString:@"Query was empty"]) { + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"[ERROR in query %d] %@\n", @"error text when multiple custom query failed"), (i+1),[mySQLConnection getLastErrorMessage]]]; + } + } + + //close progress sheet + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + + //display errors + if ( [errors length] ) { + [errorsView setString:errors]; + [NSApp beginSheet:errorsSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + [NSApp runModalForWindow:errorsSheet]; + + [NSApp endSheet:errorsSheet]; + [errorsSheet orderOut:nil]; + } + + //////////////// + // IMPORT CSV // + //////////////// + + } else if ( [fileType isEqualToString:@"CSV"] ) { + //import csv file + int code; + NSPopUpButtonCell *buttonCell = [[NSPopUpButtonCell alloc] init]; + + //open progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + [singleProgressBar setIndeterminate:YES]; + [singleProgressBar setUsesThreadedAnimation:YES]; + [singleProgressBar startAnimation:self]; + + //put file in array + if ( importArray ) + [importArray release]; + + importArray = [[self arrayForCSV:dumpFile + terminatedBy:[importFieldsTerminatedField stringValue] + enclosedBy:[importFieldsEnclosedField stringValue] + escapedBy:[importFieldsEscapedField stringValue] + lineEnds:[importLinesTerminatedField stringValue]] retain]; + + //close progress sheet + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + [singleProgressBar stopAnimation:self]; + [singleProgressBar setUsesThreadedAnimation:NO]; + [singleProgressBar setIndeterminate:NO]; + + + CMMCPResult *theResult; + int i; + theResult = (CMMCPResult *) [mySQLConnection listTables]; + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + [fieldMappingPopup addItemWithTitle:[[theResult fetchRowAsArray] objectAtIndex:0]]; + } + + if ([tableDocumentInstance table] != nil && ![(NSString *)[tableDocumentInstance table] isEqualToString:@""]) { + [fieldMappingPopup selectItemWithTitle:[(TableDocument *)tableDocumentInstance table]]; + } else { + [fieldMappingPopup selectItemAtIndex:0]; + } + + [tableListView selectRowIndexes:[NSIndexSet indexSetWithIndex:[[tablesListInstance tables] indexOfObject:[fieldMappingPopup titleOfSelectedItem]]] byExtendingSelection:NO]; + + //set up tableView + currentRow = 0; + fieldMappingArray = nil; + [self setupFieldMappingArray]; + [rowDownButton setEnabled:NO]; + [rowUpButton setEnabled:([importArray count] > 1)]; + [recordCountLabel setStringValue:[NSString stringWithFormat:@"%i of %i records", currentRow+1, [importArray count]]]; + + //set up tableView buttons + [buttonCell setControlSize:NSSmallControlSize]; + [buttonCell setFont:[NSFont labelFontOfSize:[NSFont smallSystemFontSize]]]; + [buttonCell setBordered:NO]; + [buttonCell addItemWithTitle:NSLocalizedString(@"Do not import", @"text for csv import drop downs")]; + [buttonCell addItemsWithTitles:[tableSourceInstance fieldNames]]; + + [[fieldMappingTableView tableColumnWithIdentifier:@"1"] setDataCell:buttonCell]; + + // show fieldMapping sheet + [NSApp beginSheet:fieldMappingSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + code = [NSApp runModalForWindow:fieldMappingSheet]; + + [NSApp endSheet:fieldMappingSheet]; + [fieldMappingSheet orderOut:nil]; + + if ( code ) { + //import array into db + NSMutableString *fNames = [NSMutableString string]; + //NSMutableArray *fValuesIndexes = [NSMutableArray array]; + NSMutableString *fValues = [NSMutableString string]; + int i,j; + + //open progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + // get fields to be imported + for (i = 0; i < [fieldMappingArray count] ; i++ ) { + if ([[fieldMappingArray objectAtIndex:i] intValue] > 0) { + if ( [fNames length] ) + [fNames appendString:@","]; + + [fNames appendString:[NSString stringWithFormat:@"`%@`", [[tableSourceInstance fieldNames] objectAtIndex:i]]]; + } + } + + //import array + for ( i = 0 ; i < [importArray count] ; i++ ) { + //show progress bar + [singleProgressBar setDoubleValue:((i+1)*100/[importArray count])]; + [singleProgressBar displayIfNeeded]; + + if ( !([importFieldNamesSwitch state] && (i == 0)) ) { + //put values in string + [fValues setString:@""]; + + for ( j = 0 ; j < [fieldMappingArray count] ; j++ ) { + + if ([[fieldMappingArray objectAtIndex:j] intValue] > 0) { + if ( [fValues length] ) + [fValues appendString:@","]; + + if ([[[importArray objectAtIndex:i] objectAtIndex:([[fieldMappingArray objectAtIndex:j] intValue] - 1)] isMemberOfClass:[NSNull class]] ) { + [fValues appendString:@"NULL"]; + } else { + [fValues appendString:[NSString stringWithFormat:@"'%@'",[mySQLConnection prepareString:[[importArray objectAtIndex:i] objectAtIndex:([[fieldMappingArray objectAtIndex:j] intValue] - 1)]]]]; + } + } + } + + //perform query + [mySQLConnection queryString:[NSString stringWithFormat:@"INSERT INTO `%@` (%@) VALUES (%@)", + [fieldMappingPopup titleOfSelectedItem], + fNames, + fValues]]; + + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"[ERROR in line %d] %@\n", @"error text when reading of csv file gave errors"), (i+1),[mySQLConnection getLastErrorMessage]]]; + } + } + } + + //close progress sheet + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + } + + [tableContentInstance reloadTableValues:self]; + + //display errors + if ( [errors length] ) { + [errorsView setString:errors]; + [NSApp beginSheet:errorsSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + [NSApp runModalForWindow:errorsSheet]; + + [NSApp endSheet:errorsSheet]; + [errorsSheet orderOut:nil]; + } + + //free arrays + fieldMappingArray = nil; + importArray = nil; + } + + // Import finished Growl notification + [[SPGrowlController sharedGrowlController] notifyWithTitle:@"Import Finished" + description:[NSString stringWithFormat:NSLocalizedString(@"Finished importing %@",@"description for finished importing growl notification"), [[sheet filename] lastPathComponent]] + notificationName:@"Import Finished"]; +} + +- (void)setupFieldMappingArray +/* + sets up the fieldMapping array to be shown in the tableView + */ +{ + int i, value; + + if ( fieldMappingArray ) { + +// for ( i = 0 ; i < [fieldMappingArray count] ; i++ ) { +// +// if ( [[[importArray objectAtIndex:currentRow] objectAtIndex:i] isKindOfClass:[NSNull class]] ) { +// [fieldMappingArray replaceObjectAtIndex:i withObject:0]; +// +// } else { +// [fieldMappingArray replaceObjectAtIndex:i withObject:[[importArray objectAtIndex:currentRow] objectAtIndex:0]]; +// } +// } + + } else { + fieldMappingArray = [NSMutableArray array]; + + for (i = 0; i < [[tableSourceInstance fieldNames] count]; i++) { + if (i < [[importArray objectAtIndex:currentRow] count] && ![[[importArray objectAtIndex:currentRow] objectAtIndex:i] isKindOfClass:[NSNull class]]) { + value = i + 1; + } else { + value = 0; + } + + [fieldMappingArray addObject:[NSNumber numberWithInt:value]]; + } + + [fieldMappingArray retain]; + } + + [fieldMappingTableView reloadData]; +} + + +- (IBAction)stepRow:(id)sender +/* + displays next/previous row in fieldMapping tableView + */ +{ + if ( [sender tag] == 0 ) { + currentRow--; + } else { + currentRow++; + } + + //-----------[self setupFieldMappingArray]; + [fieldMappingTableView reloadData]; + + [recordCountLabel setStringValue:[NSString stringWithFormat:@"%i of %i records", currentRow+1, [importArray count]]]; + + // enable/disable buttons + [rowDownButton setEnabled:(currentRow != 0)]; + [rowUpButton setEnabled:(currentRow != ([importArray count]-1))]; +} + +#pragma mark - +#pragma mark format methods + + +/* + Dump the selected tables to a file handle in SQL format. + */ +- (BOOL)dumpSelectedTablesAsSqlToFileHandle:(NSFileHandle *)fileHandle +{ + int i,j,t,rowCount, progressBarWidth, lastProgressValue, queryLength; + CMMCPResult *queryResult; + NSString *tableName; + NSArray *fieldNames; + NSArray *theRow; + NSMutableArray *selectedTables = [NSMutableArray array]; + NSMutableString *headerString = [NSMutableString string]; + NSMutableString *cellValue = [NSMutableString string]; + NSMutableString *sqlString = [NSMutableString string]; + NSMutableString *errors = [NSMutableString string]; + NSStringEncoding connectionEncoding = [mySQLConnection encoding]; + NSScanner *sqlNumericTester; + id createTableSyntax; + + // Reset the interface + [errorsView setString:@""]; + [errorsView displayIfNeeded]; + [singleProgressText setStringValue:NSLocalizedString(@"Dumping...", @"text showing that app is writing dump")]; + [singleProgressText displayIfNeeded]; + progressBarWidth = (int)[singleProgressBar bounds].size.width; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + // Open the progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + + // Copy over the selected table names into a table in preparation for iteration + for ( i = 0 ; i < [tables count] ; i++ ) { + if ( [[[tables objectAtIndex:i] objectAtIndex:0] boolValue] ) { + [selectedTables addObject:[NSString stringWithString:[[tables objectAtIndex:i] objectAtIndex:1]]]; + } + } + + // Add the dump header to the dump file. + [headerString setString:@"# Sequel Pro dump\n"]; + [headerString appendString:[NSString stringWithFormat:@"# Version %@\n", + [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]]; + [headerString appendString:@"# http://code.google.com/p/sequel-pro\n#\n"]; + [headerString appendString:[NSString stringWithFormat:@"# Host: %@ (MySQL %@)\n", + [tableDocumentInstance host], [tableDocumentInstance mySQLVersion]]]; + [headerString appendString:[NSString stringWithFormat:@"# Database: %@\n", [tableDocumentInstance database]]]; + [headerString appendString:[NSString stringWithFormat:@"# Generation Time: %@\n", [NSDate date]]]; + [headerString appendString:@"# ************************************************************\n\n"]; + [fileHandle writeData:[headerString dataUsingEncoding:connectionEncoding]]; + + // Loop through the selected tables + for ( i = 0 ; i < [selectedTables count] ; i++ ) { + lastProgressValue = 0; + + // Update the progress text and reset the progress bar to indeterminate status while fetching data + tableName = [selectedTables objectAtIndex:i]; + [singleProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %i of %i (%@): Fetching data...", @"text showing that app is fetching data for table dump"), (i+1), [selectedTables count], tableName]]; + [singleProgressText displayIfNeeded]; + [singleProgressBar setIndeterminate:YES]; + [singleProgressBar setUsesThreadedAnimation:YES]; + [singleProgressBar startAnimation:self]; + + // Add the name of table + [fileHandle writeData:[[NSString stringWithFormat:@"# Dump of table %@\n# ------------------------------------------------------------\n\n", tableName] + dataUsingEncoding:connectionEncoding]]; + + + // Add a "drop table" command if specified in the export dialog + if ( [addDropTableSwitch state] == NSOnState ) + [fileHandle writeData:[[NSString stringWithFormat:@"DROP TABLE IF EXISTS `%@`;\n\n", tableName] + dataUsingEncoding:connectionEncoding]]; + + // Add the create syntax for the table if specified in the export dialog + if ( [addCreateTableSwitch state] == NSOnState ) { + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW CREATE TABLE `%@`", tableName]]; + if ( [queryResult numOfRows] ) { + createTableSyntax = [[queryResult fetchRowAsDictionary] objectForKey:@"Create Table"]; + if ( [createTableSyntax isKindOfClass:[NSData class]] ) { + createTableSyntax = [[[NSString alloc] initWithData:createTableSyntax encoding:connectionEncoding] autorelease]; + } + [fileHandle writeData:[createTableSyntax dataUsingEncoding:connectionEncoding]]; + [fileHandle writeData:[[NSString stringWithString:@";\n\n"] dataUsingEncoding:connectionEncoding]]; + } + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [errors appendString:[NSString stringWithFormat:@"%@\n", [mySQLConnection getLastErrorMessage]]]; + if ( [addErrorsSwitch state] == NSOnState ) { + [fileHandle writeData:[[NSString stringWithFormat:@"# Error: %@\n", [mySQLConnection getLastErrorMessage]] dataUsingEncoding:connectionEncoding]]; + } + } + } + + // Add the table content if required + if ( [addTableContentSwitch state] == NSOnState ) { + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SELECT * FROM `%@`", tableName]]; + fieldNames = [queryResult fetchFieldNames]; + rowCount = [queryResult numOfRows]; + + // Update the progress text and set the progress bar back to determinate + [singleProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %i of %i (%@): Dumping...", @"text showing that app is writing data for table dump"), (i+1), [selectedTables count], tableName]]; + [singleProgressText displayIfNeeded]; + [singleProgressBar stopAnimation:self]; + [singleProgressBar setUsesThreadedAnimation:NO]; + [singleProgressBar setIndeterminate:NO]; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + if (rowCount) { + [queryResult dataSeek:0]; + queryLength = 0; + + // Construct the start of the insertion command + [fileHandle writeData:[[NSString stringWithFormat:@"INSERT INTO `%@` (`%@`)\nVALUES\n\t(", + tableName, [fieldNames componentsJoinedByString:@"`,`"]] dataUsingEncoding:connectionEncoding]]; + + // Iterate through the rows to construct a VALUES group for each + for ( j = 0 ; j < rowCount ; j++ ) { + theRow = [queryResult fetchRowAsArray]; + [sqlString setString:@""]; + + // Update the progress bar + [singleProgressBar setDoubleValue:((j+1)*100/rowCount)]; + if ((int)[singleProgressBar doubleValue] > lastProgressValue) { + lastProgressValue = (int)[singleProgressBar doubleValue]; + [singleProgressBar displayIfNeeded]; + } + + for ( t = 0 ; t < [theRow count] ; t++ ) { + + // Add NULL values directly to the output row + if ( [[theRow objectAtIndex:t] isMemberOfClass:[NSNull class]] ) { + [sqlString appendString:@"NULL"]; + + // Add data types directly as hex data + } else if ( [[theRow objectAtIndex:t] isKindOfClass:[NSData class]] ) { + [sqlString appendString:@"X'"]; + [sqlString appendString:[mySQLConnection prepareBinaryData:[theRow objectAtIndex:t]]]; + [sqlString appendString:@"'"]; + + } else { + [cellValue setString:[[theRow objectAtIndex:t] description]]; + + // Add empty strings as a pair of quotes + if ([cellValue length] == 0) { + [sqlString appendString:@"''"]; + + } else { + + // Test whether this cell contains a number + sqlNumericTester = [NSScanner scannerWithString:cellValue]; + + // If it does contain a number, add the number directly + if ([sqlNumericTester scanFloat:nil] && [sqlNumericTester isAtEnd]) { + [sqlString appendString:cellValue]; + + // Otherwise add a quoted string with special characters escaped + } else { + [sqlString appendString:@"'"]; + [sqlString appendString:[mySQLConnection prepareString:cellValue]]; + [sqlString appendString:@"'"]; + } + } + } + + // Add the field separator if this isn't the last cell in the row + if (t != [theRow count] - 1) [sqlString appendString:@","]; + } + + queryLength += [sqlString length]; + + // Close this VALUES group and set up the next one if appropriate + if (j != rowCount - 1) { + + // Add a new INSERT starter command every ~250k of data. + if (queryLength > 250000) { + [sqlString appendString:[NSString stringWithFormat:@");\n\nINSERT INTO `%@` (`%@`)\nVALUES\n\t(", + tableName, [fieldNames componentsJoinedByString:@"`,`"]]]; + queryLength = 0; + } else { + [sqlString appendString:@"),\n\t("]; + } + } else { + [sqlString appendString:@")"]; + } + + // Write this row to the file + [fileHandle writeData:[sqlString dataUsingEncoding:connectionEncoding]]; + } + + // Complete the command + [fileHandle writeData:[[NSString stringWithString:@";\n\n"] dataUsingEncoding:connectionEncoding]]; + + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [errors appendString:[NSString stringWithFormat:@"%@\n", [mySQLConnection getLastErrorMessage]]]; + if ( [addErrorsSwitch state] == NSOnState ) { + [fileHandle writeData:[[NSString stringWithFormat:@"# Error: %@\n", [mySQLConnection getLastErrorMessage]] + dataUsingEncoding:connectionEncoding]]; + } + } + } + } + + // Add an additional separator between tables + [fileHandle writeData:[[NSString stringWithString:@"\n\n"] dataUsingEncoding:connectionEncoding]]; + } + + // Close the progress sheet + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + + // Show errors sheet if there have been errors + if ( [errors length] ) { + [errorsView setString:errors]; + [NSApp beginSheet:errorsSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + [NSApp runModalForWindow:errorsSheet]; + + [NSApp endSheet:errorsSheet]; + [errorsSheet orderOut:nil]; + } + + return TRUE; +} + +/* + Takes an array and writes it in CSV format to the supplied NSFileHandle + */ +- (BOOL)writeCsvForArray:(NSArray *)array orQueryResult:(CMMCPResult *)queryResult toFileHandle:(NSFileHandle *)fileHandle outputFieldNames:(BOOL)outputFieldNames terminatedBy:(NSString *)fieldSeparatorString + enclosedBy:(NSString *)enclosingString escapedBy:(NSString *)escapeString lineEnds:(NSString *)lineEndString silently:(BOOL)silently; +{ + NSStringEncoding tableEncoding = [CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance encoding] cString]]; + NSMutableString *csvCell = [NSMutableString string]; + NSMutableArray *csvRow = [NSMutableArray array]; + NSMutableString *csvString = [NSMutableString string]; + NSString *nullString = [NSString stringWithString:[prefs objectForKey:@"nullValue"]]; + NSString *escapedEscapeString, *escapedFieldSeparatorString, *escapedEnclosingString, *escapedLineEndString; + NSString *dataConversionString; + NSScanner *csvNumericTester; + BOOL quoteFieldSeparators = [enclosingString isEqualToString:@""]; + BOOL csvCellIsNumeric; + int i, j, startingRow, totalRows, progressBarWidth, lastProgressValue; + + if (queryResult != nil && [queryResult numOfRows]) [queryResult dataSeek:0]; + + // Detect and restore special characters being used as terminating or line end strings + NSMutableString *tempSeparatorString = [NSMutableString stringWithString:fieldSeparatorString]; + [tempSeparatorString replaceOccurrencesOfString:@"\\t" withString:@"\t" + options:NSLiteralSearch + range:NSMakeRange(0, [tempSeparatorString length])]; + [tempSeparatorString replaceOccurrencesOfString:@"\\n" withString:@"\n" + options:NSLiteralSearch + range:NSMakeRange(0, [tempSeparatorString length])]; + [tempSeparatorString replaceOccurrencesOfString:@"\\r" withString:@"\r" + options:NSLiteralSearch + range:NSMakeRange(0, [tempSeparatorString length])]; + fieldSeparatorString = [NSString stringWithString:tempSeparatorString]; + NSMutableString *tempLineEndString = [NSMutableString stringWithString:lineEndString]; + [tempLineEndString replaceOccurrencesOfString:@"\\t" withString:@"\t" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEndString length])]; + [tempLineEndString replaceOccurrencesOfString:@"\\n" withString:@"\n" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEndString length])]; + [tempLineEndString replaceOccurrencesOfString:@"\\r" withString:@"\r" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEndString length])]; + lineEndString = [NSString stringWithString:tempLineEndString]; + + // Updating the progress bar can take >20% of processing time - store details to only update when required + progressBarWidth = (int)[singleProgressBar bounds].size.width; + lastProgressValue = 0; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + if ( !silently ) { + + // Set the progress text + [singleProgressText setStringValue:NSLocalizedString(@"Exporting...", @"text showing that app is exporting to text file")]; + [singleProgressText displayIfNeeded]; + + + // Open progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + } + + // Set up escaped versions of strings for substitution within the loop + escapedEscapeString = [NSString stringWithFormat:@"%@%@", escapeString, escapeString]; + escapedFieldSeparatorString = [NSString stringWithFormat:@"%@%@", escapeString, fieldSeparatorString]; + escapedEnclosingString = [NSString stringWithFormat:@"%@%@", escapeString, enclosingString]; + escapedLineEndString = [NSString stringWithFormat:@"%@%@", escapeString, lineEndString]; + + // Determine the total number of rows and starting row depending on supplied data format + if (array == nil) { + startingRow = outputFieldNames ? -1 : 0; + totalRows = [queryResult numOfRows]; + } else { + startingRow = outputFieldNames ? 0 : 1; + totalRows = [array count]; + } + + // Walk through the supplied data constructing the CSV string + for ( i = startingRow ; i < totalRows ; i++ ) { + + // Update the progress bar + [singleProgressBar setDoubleValue:((i+1)*100/totalRows)]; + if ((int)[singleProgressBar doubleValue] > lastProgressValue) { + lastProgressValue = (int)[singleProgressBar doubleValue]; + [singleProgressBar displayIfNeeded]; + } + + // Retrieve the row from the supplied data + if (array == nil) { + + // Header row + if (i == -1) { + [csvRow setArray:[queryResult fetchFieldNames]]; + } else { + [csvRow setArray:[queryResult fetchRowAsArray]]; + } + } else { + [csvRow setArray:[array objectAtIndex:i]]; + } + + [csvString setString:@""]; + for ( j = 0 ; j < [csvRow count] ; j++ ) { + + // For NULL objects supplied from a queryResult, no data is added to the cell + if ([[csvRow objectAtIndex:j] isKindOfClass:[NSNull class]]) { + [csvString appendString:fieldSeparatorString]; + continue; + } + + // Retrieve the contents of this cell + if ([[csvRow objectAtIndex:j] isKindOfClass:[NSData class]]) { + dataConversionString = [[NSString alloc] initWithData:[csvRow objectAtIndex:j] encoding:tableEncoding]; + [csvCell setString:[NSString stringWithString:dataConversionString]]; + [dataConversionString release]; + } else { + [csvCell setString:[[csvRow objectAtIndex:j] description]]; + } + + // For NULL values supplied via an array no cell needs to be written. + if ( [csvCell isEqualToString:nullString] ) { + + // Add empty strings as a pair of enclosing characters. + } else if ( [csvCell length] == 0 ) { + [csvString appendString:enclosingString]; + [csvString appendString:enclosingString]; + + } else { + + // Test whether this cell contains a number + if ([[csvRow objectAtIndex:j] isKindOfClass:[NSData class]]) { + csvCellIsNumeric = FALSE; + } else { + csvNumericTester = [NSScanner scannerWithString:csvCell]; + csvCellIsNumeric = [csvNumericTester scanFloat:nil] && [csvNumericTester isAtEnd]; + } + + // Escape any occurrences of the escaping character + [csvCell replaceOccurrencesOfString:escapeString + withString:escapedEscapeString + options:NSLiteralSearch + range:NSMakeRange(0,[csvCell length])]; + + // Escape any occurrences of the enclosure string + if ( ![escapeString isEqualToString:enclosingString] ) { + [csvCell replaceOccurrencesOfString:enclosingString + withString:escapedEnclosingString + options:NSLiteralSearch + range:NSMakeRange(0,[csvCell length])]; + } + + // If the string isn't quoted or otherwise enclosed, escape occurrences of the + // field separators and the line ending separator. + if ( quoteFieldSeparators || csvCellIsNumeric ) { + [csvCell replaceOccurrencesOfString:fieldSeparatorString + withString:escapedFieldSeparatorString + options:NSLiteralSearch + range:NSMakeRange(0,[csvCell length])]; + [csvCell replaceOccurrencesOfString:lineEndString + withString:escapedLineEndString + options:NSLiteralSearch + range:NSMakeRange(0,[csvCell length])]; + } + + // Write out the cell data by appending strings - this is significantly faster than stringWithFormat. + if (csvCellIsNumeric) { + [csvString appendString:csvCell]; + } else { + [csvString appendString:enclosingString]; + [csvString appendString:csvCell]; + [csvString appendString:enclosingString]; + } + } + [csvString appendString:fieldSeparatorString]; + } + + // Append the line ending to the string for this row + [csvString appendString:lineEndString]; + + // Write it to the fileHandle + [fileHandle writeData:[csvString dataUsingEncoding:tableEncoding]]; + } + + // Close the progress sheet if it's present + if ( !silently ) { + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + } + + return TRUE; +} + +- (NSArray *)arrayForCSV:(NSString *)csv terminatedBy:(NSString *)terminated + enclosedBy:(NSString *)enclosed escapedBy:(NSString *)escaped lineEnds:(NSString *)lineEnds +/* + loads a csv string into an array + */ +{ + NSMutableString *tempTerminated, *tempLineEnds; + NSMutableArray *tempArray = [NSMutableArray array]; + NSMutableArray *tempRowArray = [NSMutableArray array]; + NSMutableString *mutableField; + NSScanner *scanner; + NSString *scanString; + NSMutableString *tempString = [NSMutableString string]; + NSMutableArray *linesArray = [NSMutableArray array]; + BOOL isEscaped, br; + int fieldCount = nil; + int x,i,j; + + //repare tabs and line ends + tempTerminated = [NSMutableString stringWithString:terminated]; + [tempTerminated replaceOccurrencesOfString:@"\\t" withString:@"\t" + options:NSLiteralSearch + range:NSMakeRange(0, [tempTerminated length])]; + [tempTerminated replaceOccurrencesOfString:@"\\n" withString:@"\n" + options:NSLiteralSearch + range:NSMakeRange(0, [tempTerminated length])]; + [tempTerminated replaceOccurrencesOfString:@"\\r" withString:@"\r" + options:NSLiteralSearch + range:NSMakeRange(0, [tempTerminated length])]; + terminated = [NSString stringWithString:tempTerminated]; + tempLineEnds = [NSMutableString stringWithString:lineEnds]; + [tempLineEnds replaceOccurrencesOfString:@"\\t" withString:@"\t" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEnds length])]; + [tempLineEnds replaceOccurrencesOfString:@"\\n" withString:@"\n" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEnds length])]; + [tempLineEnds replaceOccurrencesOfString:@"\\r" withString:@"\r" + options:NSLiteralSearch + range:NSMakeRange(0, [tempLineEnds length])]; + lineEnds = [NSString stringWithString:tempLineEnds]; + + //array with one line per object + scanner = [NSScanner scannerWithString:csv]; + [scanner setCharactersToBeSkipped:nil]; + + while ( ![scanner isAtEnd] ) { + [tempString setString:@""]; + br = NO; + + while ( !br ) { + scanString = @""; + [scanner scanUpToString:lineEnds intoString:&scanString]; + [tempString appendString:scanString]; + [scanner scanString:lineEnds intoString:&scanString]; + + //test if lineEnds-character is escaped + isEscaped = NO; + j = 1; + if ( ![escaped isEqualToString:enclosed] && ![escaped isEqualToString:@""] ) { + while ( ((j*[escaped length])<=[tempString length]) && + ([[tempString substringWithRange:NSMakeRange(([tempString length]-(j*[escaped length])),[escaped length])] isEqualToString:escaped]) ) { + isEscaped = !isEscaped; + j++; + } + } + if ( !isEscaped || [scanner isAtEnd] ) { + //end of row + br = YES; + } else { + //lineEnds-character was escaped + [tempString appendString:scanString]; + } + } + + //add line to array + [linesArray addObject:[NSString stringWithString:tempString]]; + } + + for ( x = 0 ; x < [linesArray count] ; x++ ) { + + //separate fields + [tempRowArray removeAllObjects]; + [tempRowArray addObjectsFromArray:[self arrayForString:[linesArray objectAtIndex:x] enclosed:enclosed escaped:escaped terminated:terminated]]; + if ( x == 0 ) { + fieldCount = [tempRowArray count]; + } else { + while ( [tempRowArray count] < fieldCount ) { + [tempRowArray addObject:@"NULL"]; + } + } + for ( i = 0 ; i < [tempRowArray count] ; i++ ) { + if ( [[tempRowArray objectAtIndex:i] isEqualToString:@"NULL"] || [[tempRowArray objectAtIndex:i] isEqualToString:@""] || [[tempRowArray objectAtIndex:i] isEqualToString:@"\\N"] || [[tempRowArray objectAtIndex:i] isEqualToString:[prefs objectForKey:@"nullValue"]] ) { + + //put nsnull object to array if field contains un-enclosed NULL string + [tempRowArray replaceObjectAtIndex:i withObject:[NSNull null]]; + + } else { + + //strip enclosed and escaped characters + mutableField = [NSMutableString stringWithString:[tempRowArray objectAtIndex:i]]; + + //strip enclosed characters + if ( [mutableField length] >= (2*[enclosed length]) ) { + if ( [[mutableField substringToIndex:[enclosed length]] isEqualToString:enclosed] ) { + [mutableField deleteCharactersInRange:NSMakeRange(0,[enclosed length])]; + } + if ( [[mutableField substringFromIndex:([mutableField length]-[enclosed length])] isEqualToString:enclosed] ) { + [mutableField deleteCharactersInRange:NSMakeRange(([mutableField length]-[enclosed length]),[enclosed length])]; + } + } + //strip escaped characters + if ( ![enclosed isEqualToString:@""] ) { + [mutableField replaceOccurrencesOfString:[NSString stringWithFormat:@"%@%@", escaped, enclosed] withString:enclosed options:NSLiteralSearch range:NSMakeRange(0, [mutableField length])]; + } else { + [mutableField replaceOccurrencesOfString:[NSString stringWithFormat:@"%@%@", escaped, terminated] withString:terminated options:NSLiteralSearch range:NSMakeRange(0, [mutableField length])]; + } + if ( ![lineEnds isEqualToString:@""] ) { + [mutableField replaceOccurrencesOfString:[NSString stringWithFormat:@"%@%@", escaped, lineEnds] withString:lineEnds options:NSLiteralSearch range:NSMakeRange(0, [mutableField length])]; + } + if ( ![escaped isEqualToString:@""] && ![escaped isEqualToString:enclosed] ) { + [mutableField replaceOccurrencesOfString:[NSString stringWithFormat:@"%@%@", escaped, escaped] withString:escaped options:NSLiteralSearch range:NSMakeRange(0, [mutableField length])]; + } + //add field to tempRowArray + [tempRowArray replaceObjectAtIndex:i withObject:[NSString stringWithString:mutableField]]; + } + } + //add row to tempArray + [tempArray addObject:[NSArray arrayWithArray:tempRowArray]]; + } + + return [NSArray arrayWithArray:tempArray]; +} + + +/* + Takes an array and writes it in XML format to the supplied NSFileHandle + */ +- (BOOL)writeXmlForArray:(NSArray *)array orQueryResult:(CMMCPResult *)queryResult toFileHandle:(NSFileHandle *)fileHandle tableName:(NSString *)table withHeader:(BOOL)header silently:(BOOL)silently +{ + NSStringEncoding tableEncoding = [CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance encoding] cString]]; + NSMutableArray *xmlTags = [NSMutableArray array]; + NSMutableArray *xmlRow = [NSMutableArray array]; + NSMutableString *xmlString = [NSMutableString string]; + NSMutableString *xmlItem = [NSMutableString string]; + NSString *dataConversionString; + int i,j, startingRow, totalRows, progressBarWidth, lastProgressValue; + + if (queryResult != nil && [queryResult numOfRows]) [queryResult dataSeek:0]; + + // Updating the progress bar can take >20% of processing time - store details to only update when required + progressBarWidth = (int)[singleProgressBar bounds].size.width; + lastProgressValue = 0; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + // Set up an array of encoded field names as opening and closing tags + if (array == nil) { + [xmlRow setArray:[queryResult fetchFieldNames]]; + } else { + [xmlRow setArray:[array objectAtIndex:0]]; + } + for ( j = 0; j < [xmlRow count]; j++ ) { + [xmlTags addObject:[NSMutableArray array]]; + [[xmlTags objectAtIndex:j] addObject:[NSString stringWithFormat:@"\t\t<%@>", + [self htmlEscapeString:[[xmlRow objectAtIndex:j] description]]]]; + [[xmlTags objectAtIndex:j] addObject:[NSString stringWithFormat:@"</%@>\n", + [self htmlEscapeString:[[xmlRow objectAtIndex:j] description]]]]; + } + + if ( !silently ) { + + // Set the progress text + [singleProgressText setStringValue:NSLocalizedString(@"Writing...", @"text showing that app is writing text file")]; + [singleProgressText displayIfNeeded]; + + // Open progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + } + + // Output the XML header if required + if ( header ) { + [xmlString setString:@"<?xml version=\"1.0\"?>\n\n"]; + [xmlString appendString:@"<!--\n-\n"]; + [xmlString appendString:@"- Sequel Pro dump\n"]; + [xmlString appendString:[NSString stringWithFormat:@"- Version %@\n", + [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]]; + [xmlString appendString:@"- http://code.google.com/p/sequel-pro\n-\n"]; + [xmlString appendString:[NSString stringWithFormat:@"- Host: %@ (MySQL %@)\n", + [tableDocumentInstance host], [tableDocumentInstance mySQLVersion]]]; + [xmlString appendString:[NSString stringWithFormat:@"- Database: %@\n", [tableDocumentInstance database]]]; + [xmlString appendString:[NSString stringWithFormat:@"- Generation Time: %@\n", [NSDate date]]]; + [xmlString appendString:@"-\n-->\n\n"]; + [fileHandle writeData:[xmlString dataUsingEncoding:tableEncoding]]; + } + + // Write an opening tag in the form of the table name + [fileHandle writeData:[[NSString stringWithFormat:@"\t<%@>\n", + [self htmlEscapeString:table]] + dataUsingEncoding:tableEncoding]]; + + // Determine the total number of rows and starting row depending on supplied data format + if (array == nil) { + startingRow = 0; + totalRows = [queryResult numOfRows]; + } else { + startingRow = 1; + totalRows = [array count]; + } + + // Walk through the array, contructing the XML string. + for ( i = 1 ; i < totalRows ; i++ ) { + + // Update the progress bar + [singleProgressBar setDoubleValue:((i+1)*100/totalRows)]; + if ((int)[singleProgressBar doubleValue] > lastProgressValue) { + lastProgressValue = (int)[singleProgressBar doubleValue]; + [singleProgressBar displayIfNeeded]; + } + + // Retrieve the row from the supplied data + if (array == nil) { + [xmlRow setArray:[queryResult fetchRowAsArray]]; + } else { + [xmlRow setArray:[array objectAtIndex:i]]; + } + + // Construct the row + [xmlString setString:@"\t<row>\n"]; + for ( j = 0 ; j < [xmlRow count] ; j++ ) { + + // Retrieve the contents of this tag + if ([[xmlRow objectAtIndex:j] isKindOfClass:[NSData class]]) { + dataConversionString = [[NSString alloc] initWithData:[xmlRow objectAtIndex:j] encoding:tableEncoding]; + [xmlItem setString:[NSString stringWithString:dataConversionString]]; + [dataConversionString release]; + } else { + [xmlItem setString:[[xmlRow objectAtIndex:j] description]]; + } + + // Add the opening and closing tag and the contents to the XML string + [xmlString appendString:[[xmlTags objectAtIndex:j] objectAtIndex:0]]; + [xmlString appendString:[self htmlEscapeString:xmlItem]]; + [xmlString appendString:[[xmlTags objectAtIndex:j] objectAtIndex:1]]; + } + [xmlString appendString:@"\t</row>\n"]; + + // Write the row to the filehandle + [fileHandle writeData:[xmlString dataUsingEncoding:tableEncoding]]; + } + + // Write the closing tag for the table + [fileHandle writeData:[[NSString stringWithFormat:@"\t</%@>", + [self htmlEscapeString:table]] + dataUsingEncoding:tableEncoding]]; + + // Close the progress sheet if appropriate + if ( !silently ) { + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + } + + return TRUE; +} + +/* + Processes the selected tables within the multiple table export accessory view and passes them + to be exported. + */ +- (BOOL)exportSelectedTablesToFileHandle:(NSFileHandle *)fileHandle usingFormat:(NSString *)type +{ + int i; + NSMutableArray *selectedTables = [NSMutableArray array]; + + // Extract the table names of the selected tables + for ( i = 0 ; i < [tables count] ; i++ ) { + if ( [[[tables objectAtIndex:i] objectAtIndex:0] boolValue] ) { + [selectedTables addObject:[NSString stringWithString:[[tables objectAtIndex:i] objectAtIndex:1]]]; + } + } + + return [self exportTables:selectedTables toFileHandle:fileHandle usingFormat:type]; +} + +/* + Walks through the selected tables and exports them to a file handle. The export type must be + "csv" for CSV format, and "xml" for XML format. + */ +- (BOOL)exportTables:(NSArray *)selectedTables toFileHandle:(NSFileHandle *)fileHandle usingFormat:(NSString *)type +{ + int i; + CMMCPResult *queryResult; + NSString *tableName; + NSMutableString *infoString = [NSMutableString string]; + NSMutableString *errors = [NSMutableString string]; + NSStringEncoding connectionEncoding = [mySQLConnection encoding]; + + // Reset the interface + [errorsView setString:@""]; + [errorsView displayIfNeeded]; + [singleProgressText setStringValue:NSLocalizedString(@"Writing...", @"text showing that app is writing text file")]; + [singleProgressText displayIfNeeded]; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + // Open the progress sheet + [NSApp beginSheet:singleProgressSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + + + // Add the dump header to the dump file, dependant on export type. + if ( [type isEqualToString:@"csv"] ) { + [infoString setString:[NSString stringWithFormat:@"Host: %@ Database: %@ Generation Time: %@\n\n", + [tableDocumentInstance host], [tableDocumentInstance database], [NSDate date]]]; + } else if ( [type isEqualToString:@"xml"] ) { + [infoString setString:@"<?xml version=\"1.0\"?>\n\n"]; + [infoString appendString:@"<!--\n-\n"]; + [infoString appendString:@"- Sequel Pro dump\n"]; + [infoString appendString:[NSString stringWithFormat:@"- Version %@\n", + [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]]; + [infoString appendString:@"- http://code.google.com/p/sequel-pro\n-\n"]; + [infoString appendString:[NSString stringWithFormat:@"- Host: %@ (MySQL %@)\n", + [tableDocumentInstance host], [tableDocumentInstance mySQLVersion]]]; + [infoString appendString:[NSString stringWithFormat:@"- Database: %@\n", [tableDocumentInstance database]]]; + [infoString appendString:[NSString stringWithFormat:@"- Generation Time: %@\n", [NSDate date]]]; + [infoString appendString:@"-\n-->\n\n\n"]; + [infoString appendString:[NSString stringWithFormat:@"<%@>\n\n\n", + [self htmlEscapeString:[tableDocumentInstance database]]]]; + } + [fileHandle writeData:[infoString dataUsingEncoding:connectionEncoding]]; + + // Loop through the selected tables + for ( i = 0 ; i < [selectedTables count] ; i++ ) { + + // Update the progress text and reset the progress bar to indeterminate status + tableName = [selectedTables objectAtIndex:i]; + [singleProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %i of %i (%@): fetching data...", @"text showing that app is fetching data for table dump"), (i+1), [selectedTables count], tableName]]; + [singleProgressText displayIfNeeded]; + [singleProgressBar setIndeterminate:YES]; + [singleProgressBar setUsesThreadedAnimation:YES]; + [singleProgressBar startAnimation:self]; + + // For CSV exports, output the name of the table + if ( [type isEqualToString:@"csv"] ) { + [fileHandle writeData:[[NSString stringWithFormat:@"Table %@\n\n", tableName] dataUsingEncoding:connectionEncoding]]; + } + + // Retrieve all the content within this table + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SELECT * FROM `%@`", tableName]]; + + // Note any errors during retrieval + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [errors appendString:[NSString stringWithFormat:@"%@\n", [mySQLConnection getLastErrorMessage]]]; + } + + // Update the progress text and set the progress bar back to determinate + [singleProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %i of %i (%@): Writing...", @"text showing that app is writing data for table export"), (i+1), [selectedTables count], tableName]]; + [singleProgressText displayIfNeeded]; + [singleProgressBar stopAnimation:self]; + [singleProgressBar setUsesThreadedAnimation:NO]; + [singleProgressBar setIndeterminate:NO]; + [singleProgressBar setDoubleValue:0]; + [singleProgressBar displayIfNeeded]; + + // Use the appropriate export method to write the data to file + if ( [type isEqualToString:@"csv"] ) { + [self writeCsvForArray:nil orQueryResult:queryResult + toFileHandle:fileHandle + outputFieldNames:[exportMultipleFieldNamesSwitch state] + terminatedBy:[exportMultipleFieldsTerminatedField stringValue] + enclosedBy:[exportMultipleFieldsEnclosedField stringValue] + escapedBy:[exportMultipleFieldsEscapedField stringValue] + lineEnds:[exportMultipleLinesTerminatedField stringValue] + silently:YES]; + } else if ( [type isEqualToString:@"xml"] ) { + [self writeXmlForArray:nil orQueryResult:queryResult + toFileHandle:fileHandle + tableName:tableName + withHeader:NO + silently:YES]; + } + + // Add a spacer to the file + [fileHandle writeData:[[NSString stringWithString:@"\n\n\n"] dataUsingEncoding:connectionEncoding]]; + } + + // For XML output, close the database tag + if ( [type isEqualToString:@"xml"] ) { + [fileHandle writeData:[[NSString stringWithFormat:@"</%@>", + [self htmlEscapeString:[tableDocumentInstance database]]] + dataUsingEncoding:connectionEncoding]]; + } + + // Close the progress sheet + [NSApp endSheet:singleProgressSheet]; + [singleProgressSheet orderOut:nil]; + + // Show the errors sheet if there have been errors + if ( [errors length] ) { + [errorsView setString:errors]; + [NSApp beginSheet:errorsSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + [NSApp runModalForWindow:errorsSheet]; + + [NSApp endSheet:errorsSheet]; + [errorsSheet orderOut:nil]; + } + + return TRUE; +} + +- (NSString *)htmlEscapeString:(NSString *)string +/* + html escapes a string + */ +{ + NSMutableString *mutableString = [NSMutableString stringWithString:string]; + + [mutableString replaceOccurrencesOfString:@"&" withString:@"&" + options:NSLiteralSearch + range:NSMakeRange(0, [mutableString length])]; + [mutableString replaceOccurrencesOfString:@"<" withString:@"<" + options:NSLiteralSearch + range:NSMakeRange(0, [mutableString length])]; + [mutableString replaceOccurrencesOfString:@">" withString:@">" + options:NSLiteralSearch + range:NSMakeRange(0, [mutableString length])]; + [mutableString replaceOccurrencesOfString:@"\"" withString:@""" + options:NSLiteralSearch + range:NSMakeRange(0, [mutableString length])]; + + return [NSString stringWithString:mutableString]; +} + +- (NSArray *)arrayForString:(NSString *)string enclosed:(NSString *)enclosed + escaped:(NSString *)escaped terminated:(NSString *)terminated +/* + split a string by the terminated-character if this is not escaped + if enclosed-character is given, ignores characters inside enclosed-characters + */ +{ + NSMutableArray *tempArray = [NSMutableArray array]; + BOOL inString = NO; + BOOL isEscaped = NO; + BOOL br = NO; + unsigned i, j, start; + char enc = nil; + char esc = nil; + char ter = nil; + + //we take only first character by now (too complicated otherwise) + if ( [enclosed length] ) { + enc = [enclosed characterAtIndex:0]; + } + if ( [escaped length] ) { + esc = [escaped characterAtIndex:0]; + } + if ( [terminated length] ) { + ter = [terminated characterAtIndex:0]; + } + + start = 0; + + for ( i = 0 ; i < [string length] ; i++ ) { + if ( inString ) { + //we are in a string + br = NO; + while ( !br ) { + if ( i >= [string length] ) { + //end of string -> no second enclose character found + br = YES; + } else if ( [string characterAtIndex:i] == enc ) { + //second enclose-character found + //enclose-character escaped? + isEscaped = NO; + j = 1; + while ( (i-j>0) && ([string characterAtIndex:(i-j)] == esc) ) { + isEscaped = !isEscaped; + j++; + } + if ( !isEscaped ) { + inString = NO; + br = YES; + } + } + if ( !br ) + i++; + } + } else if ( [string characterAtIndex:i] == ter ) { + //terminated-character found + if ( [enclosed isEqualToString:@""] ) { + //check if terminated character is escaped + isEscaped = NO; + j = 1; + while ( (i-j>0) && ([string characterAtIndex:(i-j)] == esc) ) { + isEscaped = !isEscaped; + j++; + } + if ( !isEscaped ) { + [tempArray addObject:[string substringWithRange:NSMakeRange(start,(i-start))]]; + start = i + 1; + } + } else { + //add object to array + //NSLog([string substringWithRange:NSMakeRange(start,(i-start))]); + [tempArray addObject:[string substringWithRange:NSMakeRange(start,(i-start))]]; + start = i + 1; + } + } else if ( [string characterAtIndex:i] == enc ) { + //enclosed-character found + inString = YES; + } + } + + //add rest of string to array + [tempArray addObject:[string substringWithRange:NSMakeRange(start,([string length]-start))]]; + + return [NSArray arrayWithArray:tempArray]; +} + +- (NSArray *)splitQueries:(NSString *)query +/* + splits the queries by ;'s which aren't inside any ", ' or ` characters + */ +{ + NSMutableString *queries = [NSMutableString stringWithString:query]; + NSMutableArray *queryArray = [NSMutableArray array]; + char stringType = nil; + BOOL inString = NO; + BOOL escaped; + unsigned lineStart = 0; + unsigned i, j, x, currentLineLength; + + //parse string + for ( i = 0 ; i < [queries length] ; i++ ) { + if ( inString ) { + //we are in a string + //look for end of string + for ( ; i < [queries length] ; i++ ) { + + // For the backtick character treat the string as ended + if ( ([queries characterAtIndex:i] == '`') && (stringType == '`') ) { + + inString = NO; + break; + + // Otherwise, prepare to treat the string as ended after a stringType.... + } else if ( [queries characterAtIndex:i] == stringType ) { + + // ...but only if the stringType isn't escaped with an *odd* number of escaping characters. + escaped = NO; + j = 1; + currentLineLength = i - lineStart; + while ( ((currentLineLength-j) > 0) && ([queries characterAtIndex:i-j] == '\\') ) { + escaped = !escaped; + j++; + } + + // If an odd number have been found, it really is the end of the string. + if ( !escaped ) { + inString = NO; + break; + } + } + } + } else if ( ([queries characterAtIndex:i] == '#') || + ((i+2<[queries length]) && + ([queries characterAtIndex:i] == '-') && + ([queries characterAtIndex:i+1] == '-') && + ([queries characterAtIndex:i+2] == ' ')) ) { + //it's a comment -> delete it + x = i; + while ( (x<[queries length]) && ([queries characterAtIndex:x] != '\r') && ([queries characterAtIndex:x] != '\n') ) { + x++; + } + [queries deleteCharactersInRange:NSMakeRange(i,x-i)]; + } else if ( [queries characterAtIndex:i] == ';' ) { + //we are at the end of a query + [queryArray addObject:[queries substringWithRange:NSMakeRange(lineStart, (i-lineStart))]]; + while ( ((i+1)<[queries length]) && (([queries characterAtIndex:i+1]=='\n') || ([queries characterAtIndex:i+1]=='\r') || ([queries characterAtIndex:i+1]==' ')) ) { + i++; + } + lineStart = i + 1; + } else if ( ([queries characterAtIndex:i] == '\'') || + ([queries characterAtIndex:i] == '"') || + ([queries characterAtIndex:i] == '`') ) { + //we are entering a string + inString = YES; + stringType = [queries characterAtIndex:i]; + } + } + + //add rest of string to array (if last line has not ended with a ";") + if ( lineStart < [queries length] ) { + [queryArray addObject:[queries substringWithRange:NSMakeRange(lineStart, ([queries length]-lineStart))]]; + } + + //return array + return [NSArray arrayWithArray:queryArray]; +} + + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection +/* + sets the connection (received from TableDocument) and makes things that have to be done only once + */ +{ + NSButtonCell *switchButton = [[NSButtonCell alloc] init]; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + + mySQLConnection = theConnection; + + //set up the interface + [switchButton setButtonType:NSSwitchButton]; + [switchButton setControlSize:NSSmallControlSize]; + [[exportDumpTableView tableColumnWithIdentifier:@"switch"] setDataCell:switchButton]; + [[exportMultipleCSVTableView tableColumnWithIdentifier:@"switch"] setDataCell:switchButton]; + [[exportMultipleXMLTableView tableColumnWithIdentifier:@"switch"] setDataCell:switchButton]; + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [[[exportDumpTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [[[exportMultipleCSVTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [[[exportMultipleXMLTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [[[fieldMappingTableView tableColumnWithIdentifier:@"0"] dataCell] + setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + [errorsView setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } else { + [[[exportDumpTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [[[exportMultipleCSVTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [[[exportMultipleXMLTableView tableColumnWithIdentifier:@"tables"] dataCell] + setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [[[fieldMappingTableView tableColumnWithIdentifier:@"0"] dataCell] + setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + [errorsView setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + // [self reloadTables:self]; +} + +#pragma mark - +#pragma mark tableView datasource methods + +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +{ + if ( aTableView == fieldMappingTableView ) { + return [[tableSourceInstance fieldNames] count]; + } else { + return [tables count]; + } +} + +- (void)tableView:(NSTableView *)aTableView + willDisplayCell:(id)aCell + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ( [[NSUserDefaults standardUserDefaults] boolForKey:@"useMonospacedFonts"] ) { + [aCell setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } + else + { + [aCell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } +} + +- (id)tableView:(NSTableView *)aTableView +objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ( aTableView == fieldMappingTableView ) { + if ([[aTableColumn identifier] isEqualToString:@"field"]) { + return [[tableSourceInstance fieldNames] objectAtIndex:rowIndex]; + + } else if ([[aTableColumn identifier] isEqualToString:@"value"]) { + if ([[[aTableColumn dataCell] class] isEqualTo:[NSPopUpButtonCell class]]) { + [(NSPopUpButtonCell *)[aTableColumn dataCell] removeAllItems]; + [(NSPopUpButtonCell *)[aTableColumn dataCell] addItemWithTitle:NSLocalizedString(@"Do not import", @"text for csv import drop downs")]; + [(NSPopUpButtonCell *)[aTableColumn dataCell] addItemsWithTitles:[importArray objectAtIndex:currentRow]]; + //[(NSPopUpButtonCell *)[aTableColumn dataCell] selectItemAtIndex:[fieldMappingArray objectAtIndex:rowIndex]]; + } + + return [fieldMappingArray objectAtIndex:rowIndex]; + } + } else { + if ( [[aTableColumn identifier] isEqualToString:@"switch"] ) { + return [[tables objectAtIndex:rowIndex] objectAtIndex:0]; + } else { + return [[tables objectAtIndex:rowIndex] objectAtIndex:1]; + } + } +} + +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ( aTableView == fieldMappingTableView ) { + [fieldMappingArray replaceObjectAtIndex:rowIndex withObject:anObject]; + + } else { + [[tables objectAtIndex:rowIndex] replaceObjectAtIndex:0 withObject:anObject]; + } +} + +#pragma mark - +#pragma mark other +//last but not least +- (id)init; +{ + self = [super init]; + + tables = [[NSMutableArray alloc] init]; + + return self; +} + +- (void)dealloc +{ + // NSLog(@"TableDump dealloc"); + + [tables release]; + [importArray release]; + [fieldMappingArray release]; + [savePath release]; + [openPath release]; + [prefs release]; + + [super dealloc]; +} + + +@end diff --git a/trunk/TableSource.h b/trunk/TableSource.h new file mode 100644 index 00000000..2a62232c --- /dev/null +++ b/trunk/TableSource.h @@ -0,0 +1,127 @@ +// +// TableSource.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + + +@interface TableSource : NSObject { + + IBOutlet id tablesListInstance; + + IBOutlet id tableWindow; + IBOutlet id indexSheet; + IBOutlet id keySheet; + IBOutlet id tableSourceView; + IBOutlet id indexView; + IBOutlet id addFieldButton; + IBOutlet id copyFieldButton; + IBOutlet id removeFieldButton; + IBOutlet id addIndexButton; + IBOutlet id removeIndexButton; + IBOutlet id indexTypeField; + IBOutlet id indexNameField; + IBOutlet id indexedColumnsField; + IBOutlet id chooseKeyButton; + IBOutlet id tableTypeButton; + IBOutlet id structureGrabber; + + CMMCPConnection *mySQLConnection; + CMMCPResult *tableSourceResult; + CMMCPResult *indexResult; + + NSString *selectedTable; + NSString *tableType; + NSMutableArray *tableFields, *indexes; + NSMutableDictionary *oldRow, *enumFields; + NSDictionary *defaultValues; + BOOL isEditingRow, isEditingNewRow, alertSheetOpened; + NSUserDefaults *prefs; +} + +//table methods +- (void)loadTable:(NSString *)aTable; +- (IBAction)reloadTable:(id)sender; + +//edit methods +- (IBAction)addField:(id)sender; +- (IBAction)copyField:(id)sender; +- (IBAction)addIndex:(id)sender; +- (IBAction)removeField:(id)sender; +- (IBAction)removeIndex:(id)sender; +- (IBAction)typeChanged:(id)sender; + +//index sheet methods +- (IBAction)openIndexSheet:(id)sender; +- (IBAction)closeIndexSheet:(id)sender; +- (IBAction)chooseIndexType:(id)sender; +- (void)closeAlertSheet; + +//key sheet methods +- (IBAction)closeKeySheet:(id)sender; + +//additional methods +- (void)setConnection:(CMMCPConnection *)theConnection; +- (NSArray *)fetchResultAsArray:(CMMCPResult *)theResult; +- (BOOL)addRowToDB; +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; + +//getter methods +- (NSString *)defaultValueForField:(NSString *)field; +- (NSArray *)fieldNames; +- (NSDictionary *)enumFields; + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//tableView drag&drop datasource methods +- (BOOL)tableView:(NSTableView *)tv writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard; +- (NSDragOperation)tableView:(NSTableView*)tv validateDrop:(id <NSDraggingInfo>)info proposedRow:(int)row + proposedDropOperation:(NSTableViewDropOperation)operation; +- (BOOL)tableView:(NSTableView*)tv acceptDrop:(id <NSDraggingInfo>)info row:(int)row dropOperation:(NSTableViewDropOperation)operation; + +//tableView delegate methods +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView; +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command; + +//slitView delegate methods +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview; +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset; +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset; +- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex; + +//last but not least +- (id)init; +- (void)dealloc; + +@end diff --git a/trunk/TableSource.m b/trunk/TableSource.m new file mode 100644 index 00000000..58c5fb34 --- /dev/null +++ b/trunk/TableSource.m @@ -0,0 +1,1065 @@ +// +// TableSource.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "TableSource.h" +#import "TablesList.h" + + +@implementation TableSource + +/* +loads aTable, put it in an array, update the tableViewColumns and reload the tableView +*/ +- (void)loadTable:(NSString *)aTable +{ + NSEnumerator *enumerator; + id field; + NSScanner *scanner = [NSScanner alloc]; + NSArray *extrasArray; + NSMutableDictionary *tempDefaultValues; + NSEnumerator *extrasEnumerator; + id extra; + int i; + + selectedTable = aTable; + [tableSourceView deselectAll:self]; + + if ( isEditingRow ) + return; + + // empty variables + [enumFields removeAllObjects]; + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + if ( [aTable isEqualToString:@""] || !aTable ) { + [tableFields removeAllObjects]; + [indexes removeAllObjects]; + [tableSourceView reloadData]; + [indexView reloadData]; + [addFieldButton setEnabled:NO]; + [copyFieldButton setEnabled:NO]; + [removeFieldButton setEnabled:NO]; + [addIndexButton setEnabled:NO]; + [removeIndexButton setEnabled:NO]; + + // set the table type menu back to the default, and disable it + [tableTypeButton selectItemAtIndex:0]; + [tableTypeButton setEnabled:NO]; + tableType = nil; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + [scanner release]; + + return; + } + + //perform queries and load results in array (each row as a dictionary) + tableSourceResult = [[mySQLConnection queryString:[NSString stringWithFormat:@"SHOW COLUMNS FROM `%@`", selectedTable]] retain]; + + // listFieldsFromTable is broken in the current version of the framework (no back-ticks for table name)! + // tableSourceResult = [[mySQLConnection listFieldsFromTable:selectedTable] retain]; + // [tableFields setArray:[[self fetchResultAsArray:tableSourceResult] retain]]; + [tableFields setArray:[self fetchResultAsArray:tableSourceResult]]; + [tableSourceResult release]; + + indexResult = [[mySQLConnection queryString:[NSString stringWithFormat:@"SHOW INDEX FROM `%@`", selectedTable]] retain]; + // [indexes setArray:[[self fetchResultAsArray:indexResult] retain]]; + [indexes setArray:[self fetchResultAsArray:indexResult]]; + [indexResult release]; + + CMMCPResult *tableStatusResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW TABLE STATUS LIKE '%@'", selectedTable]]; + [tableType release]; + + NSDictionary *tempRow = [tableStatusResult fetchRowAsDictionary]; + if ( [tempRow objectForKey:@"Type"]) { + tableType = [tempRow objectForKey:@"Type"]; + } else { + tableType = [tempRow objectForKey:@"Engine"]; + } + [tableType retain]; + + //get table default values + if ( defaultValues ) { + [defaultValues release]; + defaultValues = nil; + } + + tempDefaultValues = [NSMutableDictionary dictionary]; + for ( i = 0 ; i < [tableFields count] ; i++ ) { + [tempDefaultValues setObject:[[tableFields objectAtIndex:i] objectForKey:@"Default"] forKey:[[tableFields objectAtIndex:i] objectForKey:@"Field"]]; + } + defaultValues = [[NSDictionary dictionaryWithDictionary:tempDefaultValues] retain]; + + //put field length and extras in separate key + enumerator = [tableFields objectEnumerator]; + + while ( (field = [enumerator nextObject]) ) { + NSString *type; + NSString *length; + NSString *extras; + + // scan for length and extras like unsigned + [scanner initWithString:[field objectForKey:@"Type"]]; + [scanner scanUpToString:@"(" intoString:&type]; + [scanner scanString:@"(" intoString:nil]; + + if ( ![scanner scanUpToString:@")" intoString:&length] ) + length = @""; + + [scanner scanString:@")" intoString:nil]; + if ( ![scanner scanUpToString:@"" intoString:&extras] ) { + extras = @""; + } + + // get possible values if field is enum or set + if ( [type isEqualToString:@"enum"] || [type isEqualToString:@"set"] ) { + NSMutableArray *possibleValues = [[[length substringWithRange:NSMakeRange(1,[length length]-2)] componentsSeparatedByString:@"','"] mutableCopy]; + NSMutableString *possibleValue = [NSMutableString string]; + + for ( i = 0 ; i < [possibleValues count] ; i++ ) { + [possibleValue setString:[possibleValues objectAtIndex:i]]; + [possibleValue replaceOccurrencesOfString:@"''" withString:@"'" options:nil range:NSMakeRange(0,[possibleValue length])]; + [possibleValue replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:nil range:NSMakeRange(0,[possibleValue length])]; + [possibleValues replaceObjectAtIndex:i withObject:[NSString stringWithString:possibleValue]]; + } + + [enumFields setObject:[NSArray arrayWithArray:possibleValues] forKey:[field objectForKey:@"Field"]]; + [possibleValues release]; + } + + // scan extras for values like unsigned, zerofill, binary + extrasArray = [extras componentsSeparatedByString:@" "]; + extrasEnumerator = [extrasArray objectEnumerator]; + + while ( (extra = [extrasEnumerator nextObject]) ) { + if ( [extra isEqualToString:@"unsigned"] ) { + [field setObject:@"1" forKey:@"unsigned"]; + } else if ( [extra isEqualToString:@"zerofill"] ) { + [field setObject:@"1" forKey:@"zerofill"]; + } else if ( [extra isEqualToString:@"binary"] ) { + [field setObject:@"1" forKey:@"binary"]; + } else { + if ( ![extra isEqualToString:@""] ) + NSLog(@"ERROR: unknown option in field definition: %@", extra); + } + } + + [field setObject:type forKey:@"Type"]; + [field setObject:length forKey:@"Length"]; + } + + // Determine the table type + if ( ![tableType isKindOfClass:[NSNull class]] ) { + [tableTypeButton selectItemWithTitle:tableType]; + [tableTypeButton setEnabled:YES]; + } else { + [tableTypeButton selectItemWithTitle:@"--"]; + [tableTypeButton setEnabled:NO]; + } + + //enable buttons + [addFieldButton setEnabled:YES]; + [copyFieldButton setEnabled:YES]; + [removeFieldButton setEnabled:YES]; + [addIndexButton setEnabled:YES]; + [removeIndexButton setEnabled:YES]; + + //add columns to indexedColumnsField + [indexedColumnsField removeAllItems]; + enumerator = [tableFields objectEnumerator]; + + while ( (field = [enumerator nextObject]) ) { + [indexedColumnsField addItemWithObjectValue:[field objectForKey:@"Field"]]; + } + + if ( [tableFields count] < 10 ) { + [indexedColumnsField setNumberOfVisibleItems:[tableFields count]]; + } else { + [indexedColumnsField setNumberOfVisibleItems:10]; + } + + [tableSourceView reloadData]; + [indexView reloadData]; + + // display and *then* tile to force scroll bars to be in the correct position + [[tableSourceView enclosingScrollView] display]; + [[tableSourceView enclosingScrollView] tile]; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + [scanner release]; +} + +/* +reloads the table (performing a new mysql-query) +*/ +- (IBAction)reloadTable:(id)sender +{ + [self loadTable:selectedTable]; +} + + +#pragma mark Edit methods + +/* +adds an empty row to the tableSource-array and goes into edit mode +*/ +- (IBAction)addField:(id)sender +{ +/* + if ( ![self addRowToDB] ) + return; +*/ + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + [tableFields addObject:[NSMutableDictionary + dictionaryWithObjects:[NSArray arrayWithObjects:@"",@"int",@"",@"0",@"0",@"0",@"YES",@"",[prefs stringForKey:@"nullValue"],@"None",nil] + forKeys:[NSArray arrayWithObjects:@"Field",@"Type",@"Length",@"unsigned",@"zerofill",@"binary",@"Null",@"Key",@"Default",@"Extra",nil]]]; + + isEditingRow = YES; + isEditingNewRow = YES; + [tableSourceView reloadData]; + [tableSourceView selectRow:[tableSourceView numberOfRows]-1 byExtendingSelection:NO]; + [tableSourceView editColumn:0 row:[tableSourceView numberOfRows]-1 withEvent:nil select:YES]; +} + +/* +copies a field and goes in edit mode for the new field +*/ +- (IBAction)copyField:(id)sender +{ + NSMutableDictionary *tempRow; + + if ( ![tableSourceView numberOfSelectedRows] ) + return; + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + //add copy of selected row and go in edit mode + tempRow = [NSMutableDictionary dictionaryWithDictionary:[tableFields objectAtIndex:[tableSourceView selectedRow]]]; + [tempRow setObject:[[tempRow objectForKey:@"Field"] stringByAppendingString:@"Copy"] forKey:@"Field"]; + [tempRow setObject:@"" forKey:@"Key"]; + [tempRow setObject:@"None" forKey:@"Extra"]; + [tableFields addObject:tempRow]; + isEditingRow = YES; + isEditingNewRow = YES; + [tableSourceView reloadData]; + [tableSourceView selectRow:[tableSourceView numberOfRows]-1 byExtendingSelection:NO]; + [tableSourceView editColumn:0 row:[tableSourceView numberOfRows]-1 withEvent:nil select:YES]; +} + +/* +adds the index to the mysql-db and stops modal session with code 1 when success, 0 when error and -1 when no columns specified +*/ +- (IBAction)addIndex:(id)sender +{ + NSString *indexName; + NSArray *indexedColumns; + NSMutableArray *tempIndexedColumns = [NSMutableArray array]; + NSEnumerator *enumerator; + NSString *string; + + if ( [[indexedColumnsField stringValue] isEqualToString:@""] ) { + [NSApp stopModalWithCode:-1]; + } else { + if ( [[indexNameField stringValue] isEqualToString:@"PRIMARY"] ) { + indexName = @""; + } else { + if ( [[indexNameField stringValue] isEqualToString:@""] ) + { + indexName = @""; + } else { + indexName = [NSString stringWithFormat:@"`%@`", [indexNameField stringValue]]; + } + } + indexedColumns = [[indexedColumnsField stringValue] componentsSeparatedByString:@","]; + enumerator = [indexedColumns objectEnumerator]; + while ( (string = [enumerator nextObject]) ) { + if ( ([string characterAtIndex:0] == ' ') ) { + [tempIndexedColumns addObject:[string substringWithRange:NSMakeRange(1,([string length]-1))]]; + } else { + [tempIndexedColumns addObject:[NSString stringWithString:string]]; + } + } + + [mySQLConnection queryString:[NSString stringWithFormat:@"ALTER TABLE `%@` ADD %@ %@ (`%@`)", + selectedTable, [indexTypeField titleOfSelectedItem], indexName, + [tempIndexedColumns componentsJoinedByString:@"`,`"]]]; + +/* +NSLog([NSString stringWithFormat:@"ALTER TABLE `%@` ADD %@ %@ (`%@`)", + selectedTable, [indexTypeField titleOfSelectedItem], indexName, + [[[indexedColumnsField stringValue] componentsSeparatedByString:@","] componentsJoinedByString:@"`,`"]]); +*/ + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [self loadTable:selectedTable]; + [NSApp stopModalWithCode:1]; + } else { + [NSApp stopModalWithCode:0]; + } + } +} + +/* +opens alertsheet and asks for confirmation +*/ +- (IBAction)removeField:(id)sender +{ + if ( ![tableSourceView numberOfSelectedRows] ) + return; + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"removefield", [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the field %@?", @"message of panel asking for confirmation for deleting field"), + [[tableFields objectAtIndex:[tableSourceView selectedRow]] objectForKey:@"Field"]] ); +} + +/* +opens alertsheet and asks for confirmation +*/ +- (IBAction)removeIndex:(id)sender +{ + if ( ![indexView numberOfSelectedRows] ) + return; + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"removeindex", [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the index %@?", @"message of panel asking for confirmation for deleting index"), + [[indexes objectAtIndex:[indexView selectedRow]] objectForKey:@"Key_name"]] ); +} + +- (IBAction)typeChanged:(id)sender +{ + NSString* selectedItem = [sender titleOfSelectedItem]; + if([selectedItem isEqualToString:@"--"] || [tableType isEqualToString:selectedItem]) { + [sender selectItemWithTitle:tableType]; + } else { + // alert any listeners that we are about to perform a query. + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + NSString *query = [NSString stringWithFormat:@"ALTER TABLE `%@` TYPE = %@",selectedTable,selectedItem]; + [mySQLConnection queryString:query]; + + // The query is now complete. + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + // Did the alter work? If so, we need to record the new data. If not, we must revert back to + // the previous state. + if([mySQLConnection getLastErrorID] == 0) + { + // Make sure "tableType" is changed and the status tab is flagged for reload... + [tableType release]; + tableType = selectedItem; + [tableType retain]; + +// [[NSNotificationCenter defaultCenter] postNotificationName:@"SelectedTableStatusHasChanged" object:self]; + + // Mark the content table for refresh + [tablesListInstance setContentRequiresReload:YES]; + } else { + [sender selectItemWithTitle:tableType]; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't change table type.\nMySQL said: %@", @"message of panel when table type cannot be removed"), [mySQLConnection getLastErrorMessage]]); + } + } +} + + +#pragma mark Index sheet methods + +/* +opens the indexSheet +*/ +- (IBAction)openIndexSheet:(id)sender +{ + int code = 0; + + if ( ![self selectionShouldChangeInTableView:nil] ) + return; + + [indexTypeField selectItemAtIndex:0]; + [indexNameField setEnabled:NO]; + [indexNameField setStringValue:@"PRIMARY"]; + [indexedColumnsField setStringValue:@""]; + + [NSApp beginSheet:indexSheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + code = [NSApp runModalForWindow:indexSheet]; + + [NSApp endSheet:indexSheet]; + [indexSheet orderOut:nil]; + + //code == -1 -> no columns specified + //code == 0 -> error while adding index + //code == 1 -> index added with succes OR sheet closed without adding index + if ( code == 0 ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't add index.\nMySQL said: %@", @"message of panel when index cannot be created"), [mySQLConnection getLastErrorMessage]]); + } else if ( code == -1 ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, @selector(closeAlertSheet), nil, + NSLocalizedString(@"Please insert the columns you want to index.", @"message of panel when no columns are specified to be indexed")); + } +} + +/* +closes the indexSheet without adding the index (stops modal session with code 1) +*/ +- (IBAction)closeIndexSheet:(id)sender +{ + [NSApp stopModalWithCode:1]; +} + +/* +invoked when user chooses an index type +*/ +- (IBAction)chooseIndexType:(id)sender +{ + if ( [[indexTypeField titleOfSelectedItem] isEqualToString:@"PRIMARY KEY"] ) { + [indexNameField setEnabled:NO]; + [indexNameField setStringValue:@"PRIMARY"]; + } else { + [indexNameField setEnabled:YES]; + if ( [[indexNameField stringValue] isEqualToString:@"PRIMARY"] ) + [indexNameField setStringValue:@""]; + } +} + +/* +reopens indexSheet after errorSheet (no columns specified) +*/ +- (void)closeAlertSheet +{ + [self openIndexSheet:self]; +} + +/* +closes the keySheet +*/ +- (IBAction)closeKeySheet:(id)sender +{ + [NSApp stopModalWithCode:[sender tag]]; +} + + +#pragma mark Additional methods + +/* +sets the connection (received from TableDocument) and makes things that have to be done only once +*/ +- (void)setConnection:(CMMCPConnection *)theConnection +{ + NSEnumerator *indexColumnsEnumerator = [[indexView tableColumns] objectEnumerator]; + NSEnumerator *fieldColumnsEnumerator = [[tableSourceView tableColumns] objectEnumerator]; + id indexColumn; + id fieldColumn; + + mySQLConnection = theConnection; + + prefs = [[NSUserDefaults standardUserDefaults] retain]; + + //set up tableView + [tableSourceView registerForDraggedTypes:[NSArray arrayWithObjects:@"SequelProPasteboard", nil]]; + + while ( (indexColumn = [indexColumnsEnumerator nextObject]) ) { + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [[indexColumn dataCell] setFont:[NSFont fontWithName:@"Monaco" size:10]]; + } + else + { + [[indexColumn dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + } + while ( (fieldColumn = [fieldColumnsEnumerator nextObject]) ) { + if ( [prefs boolForKey:@"useMonospacedFonts"] ) { + [[fieldColumn dataCell] setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } + else + { + [[fieldColumn dataCell] setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + } +} + +/* +fetches the result as an array with a dictionary for each row in it +*/ +- (NSArray *)fetchResultAsArray:(CMMCPResult *)theResult +{ + NSMutableArray *tempResult = [NSMutableArray array]; + NSMutableDictionary *tempRow; + NSEnumerator *enumerator; + id key; + int i; + + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + tempRow = [NSMutableDictionary dictionaryWithDictionary:[theResult fetchRowAsDictionary]]; + + //use NULL string from preferences instead of the NSNull oject returned by the framework + enumerator = [tempRow keyEnumerator]; + while ( (key = [enumerator nextObject]) ) { + if ( [[tempRow objectForKey:key] isMemberOfClass:[NSNull class]] ) + [tempRow setObject:[prefs objectForKey:@"nullValue"] forKey:key]; + } + // change some fields to be more human-readable or GUI compatible + if ( [[tempRow objectForKey:@"Extra"] isEqualToString:@""] ) { + [tempRow setObject:@"None" forKey:@"Extra"]; + } + if ( [[tempRow objectForKey:@"Null"] isEqualToString:@"YES"] ) { +// [tempRow setObject:[NSNumber numberWithInt:0] forKey:@"Null"]; + [tempRow setObject:@"YES" forKey:@"Null"]; + } else { +// [tempRow setObject:[NSNumber numberWithInt:1] forKey:@"Null"]; + [tempRow setObject:@"NO" forKey:@"Null"]; + } + [tempResult addObject:tempRow]; + } + + return tempResult; +} + +- (BOOL)addRowToDB; +/* +tries to write row to mysql-db +returns YES if row written to db, otherwies NO +returns YES if no row is beeing edited and nothing has to be written to db +*/ +{ + NSDictionary *theRow; + NSMutableString *queryString; + int code; + + if ( !isEditingRow || ![tableSourceView numberOfSelectedRows] ) + return YES; + if ( alertSheetOpened ) + return NO; + + theRow = [tableFields objectAtIndex:[tableSourceView selectedRow]]; + + if ( isEditingNewRow ) { + //ADD syntax + if ( [[theRow objectForKey:@"Length"] isEqualToString:@""] || ![theRow objectForKey:@"Length"] ) { + queryString = [NSMutableString stringWithFormat:@"ALTER TABLE `%@` ADD `%@` %@", + selectedTable, [theRow objectForKey:@"Field"], [theRow objectForKey:@"Type"]]; + } else { + queryString = [NSMutableString stringWithFormat:@"ALTER TABLE `%@` ADD `%@` %@(%@)", + selectedTable, [theRow objectForKey:@"Field"], [theRow objectForKey:@"Type"], + [theRow objectForKey:@"Length"]]; + } + } else { + //CHANGE syntax + if ( [[theRow objectForKey:@"Length"] isEqualToString:@""] || ![theRow objectForKey:@"Length"] ) { + queryString = [NSMutableString stringWithFormat:@"ALTER TABLE `%@` CHANGE `%@` `%@` %@", + selectedTable, [oldRow objectForKey:@"Field"], [theRow objectForKey:@"Field"], + [theRow objectForKey:@"Type"]]; + } else { + queryString = [NSMutableString stringWithFormat:@"ALTER TABLE `%@` CHANGE `%@` `%@` %@(%@)", + selectedTable, [oldRow objectForKey:@"Field"], [theRow objectForKey:@"Field"], + [theRow objectForKey:@"Type"], [theRow objectForKey:@"Length"]]; + } + } + + //field specification + if ( [[theRow objectForKey:@"unsigned"] intValue] == 1 ) { + [queryString appendString:@" UNSIGNED"]; + } + if ( [[theRow objectForKey:@"zerofill"] intValue] == 1 ) { + [queryString appendString:@" ZEROFILL"]; + } + if ( [[theRow objectForKey:@"binary"] intValue] == 1 ) { + [queryString appendString:@" BINARY"]; + } +// if ( [[theRow objectForKey:@"Null"] isEqualToString:@"NO"] || [[theRow objectForKey:@"Null"] isEqualToString:@"NOT NULL"] +// || [[theRow objectForKey:@"Null"] isEqualToString:@"no"] || [[theRow objectForKey:@"Null"] isEqualToString:@"not null"]) + if ( [[theRow objectForKey:@"Null"] isEqualToString:@"NO"] ) + [queryString appendString:@" NOT NULL"]; + if ( ![[theRow objectForKey:@"Extra"] isEqualToString:@"auto_increment"] && !([[theRow objectForKey:@"Type"] isEqualToString:@"timestamp"] && [[theRow objectForKey:@"Default"] isEqualToString:@"NULL"]) ) { + if ( [[theRow objectForKey:@"Default"] isEqualToString:[prefs objectForKey:@"nullValue"]] ) { + if ([[theRow objectForKey:@"Null"] isEqualToString:@"YES"] ) { + [queryString appendString:@" DEFAULT NULL "]; + } + } else if ( [[theRow objectForKey:@"Type"] isEqualToString:@"timestamp"] && ([[theRow objectForKey:@"Default"] isEqualToString:@"CURRENT_TIMESTAMP"] || [[theRow objectForKey:@"Default"] isEqualToString:@"current_timestamp"]) ) { + [queryString appendString:@" DEFAULT CURRENT_TIMESTAMP "]; + } else { + // [queryString appendString:[NSString stringWithFormat:@" DEFAULT \"%@\" ", [theRow objectForKey:@"Default"]]]; + [queryString appendString:[NSString stringWithFormat:@" DEFAULT '%@' ", [mySQLConnection prepareString:[theRow objectForKey:@"Default"]]]]; + } + } else { + [queryString appendString:@" "]; + } + + if ( ![[theRow objectForKey:@"Extra"] isEqualToString:@""] && ![[theRow objectForKey:@"Extra"] isEqualToString:@"None"] && [theRow objectForKey:@"Extra"] ) { + [queryString appendString:[theRow objectForKey:@"Extra"]]; + } + + //asks to add an index to query if auto_increment is set and field isn't indexed + if ( [[theRow objectForKey:@"Extra"] isEqualToString:@"auto_increment"] + && ([[theRow objectForKey:@"Key"] isEqualToString:@""] || ![theRow objectForKey:@"Key"]) ) { + [chooseKeyButton selectItemAtIndex:0]; + [NSApp beginSheet:keySheet + modalForWindow:tableWindow modalDelegate:self + didEndSelector:nil contextInfo:nil]; + code = [NSApp runModalForWindow:keySheet]; + + [NSApp endSheet:keySheet]; + [keySheet orderOut:nil]; + + if ( code ) { + if ( [chooseKeyButton indexOfSelectedItem] == 0 ) { + [queryString appendString:@" PRIMARY KEY"]; + } else { + [queryString appendString:[NSString stringWithFormat:@", ADD %@ (`%@`)", + [chooseKeyButton titleOfSelectedItem], [theRow objectForKey:@"Field"]]]; + } + } + } + + [mySQLConnection queryString:queryString]; + + //NSLog(queryString); + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + isEditingRow = NO; + isEditingNewRow = NO; + [self loadTable:selectedTable]; + + // Mark the content table for refresh + [tablesListInstance setContentRequiresReload:YES]; + + return YES; + } else { + alertSheetOpened = YES; + //problem: alert sheet doesn't respond to first click + if ( isEditingNewRow ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"addrow", [NSString stringWithFormat:NSLocalizedString(@"Couldn't add field %@.\nMySQL said: %@", @"message of panel when field cannot be added"), + [theRow objectForKey:@"Field"], [mySQLConnection getLastErrorMessage]]); + } else { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, @selector(sheetDidEnd:returnCode:contextInfo:), + nil, @"addrow", [NSString stringWithFormat:NSLocalizedString(@"Couldn't change field %@.\nMySQL said: %@", @"message of panel when field cannot be changed"), + [theRow objectForKey:@"Field"], [mySQLConnection getLastErrorMessage]]); + } + return NO; + } +} + +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +{ + /* + if contextInfo == addrow: remain in edit-mode if user hits OK, otherwise cancel editing + if contextInfo == removefield: removes row from mysql-db if user hits ok + if contextInfo == removeindex: removes index from mysql-db if user hits ok + */ + + [sheet orderOut:self]; + + if ( [contextInfo isEqualToString:@"addrow"] ) { + alertSheetOpened = NO; + if ( returnCode == NSAlertDefaultReturn ) { + //problem: reentering edit mode for first cell doesn't function + [tableSourceView editColumn:0 row:[tableSourceView selectedRow] withEvent:nil select:YES]; + } else { + if ( !isEditingNewRow ) { + [tableFields replaceObjectAtIndex:[tableSourceView selectedRow] + withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]]; + isEditingRow = NO; + } else { + [tableFields removeObjectAtIndex:[tableSourceView selectedRow]]; + isEditingRow = NO; + isEditingNewRow = NO; + } + } + [tableSourceView reloadData]; + } else if ( [contextInfo isEqualToString:@"removefield"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + //remove row + [mySQLConnection queryString:[NSString stringWithFormat:@"ALTER TABLE `%@` DROP `%@`", + selectedTable, [[tableFields objectAtIndex:[tableSourceView selectedRow]] objectForKey:@"Field"]]]; + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [self loadTable:selectedTable]; + + // Mark the content table for refresh + [tablesListInstance setContentRequiresReload:YES]; + } else { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove field %@.\nMySQL said: %@", @"message of panel when field cannot be removed"), + [[tableFields objectAtIndex:[tableSourceView selectedRow]] objectForKey:@"Field"], + [mySQLConnection getLastErrorMessage]]); + } + } + } else if ( [contextInfo isEqualToString:@"removeindex"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + //remove index + if ( [[[indexes objectAtIndex:[indexView selectedRow]] objectForKey:@"Key_name"] isEqualToString:@"PRIMARY"] ) { + [mySQLConnection queryString:[NSString stringWithFormat:@"ALTER TABLE `%@` DROP PRIMARY KEY", selectedTable]]; + } else { + [mySQLConnection queryString:[NSString stringWithFormat:@"ALTER TABLE `%@` DROP INDEX `%@`", + selectedTable, [[indexes objectAtIndex:[indexView selectedRow]] objectForKey:@"Key_name"]]]; + } + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + [self loadTable:selectedTable]; + } else { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove index.\nMySQL said: %@", @"message of panel when index cannot be removed"), [mySQLConnection getLastErrorMessage]]); + } + } + } +} + + +#pragma mark Getter methods + +/* +get the default value for a specified field +*/ +- (NSString *)defaultValueForField:(NSString *)field +{ + if ( ![defaultValues objectForKey:field] ) { + return [prefs objectForKey:@"nullValue"]; + } else if ( [[defaultValues objectForKey:field] isMemberOfClass:[NSNull class]] ) { + return [prefs objectForKey:@"nullValue"]; + } else { + return [defaultValues objectForKey:field]; + } +} + +/* +returns an array containing the field names of the selected table +*/ +- (NSArray *)fieldNames +{ + NSMutableArray *tempArray = [NSMutableArray array]; + NSEnumerator *enumerator; + id field; + + //load table if not already done + if ( ![tablesListInstance structureLoaded] ) { + [self loadTable:(NSString *)[tablesListInstance table]]; + } + + //get field names + enumerator = [tableFields objectEnumerator]; + while ( (field = [enumerator nextObject]) ) { + [tempArray addObject:[field objectForKey:@"Field"]]; + } + + return [NSArray arrayWithArray:tempArray]; +} + +/* +returns a dictionary containing enum/set field names as key and possible values as array +*/ +- (NSDictionary *)enumFields +{ + return [NSDictionary dictionaryWithDictionary:enumFields]; +} + +#pragma mark TableView datasource methods + +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + if ( aTableView == tableSourceView ) { + return [tableFields count]; + } else { + return [indexes count]; + } +} + +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + id theRow, theValue; + + if ( aTableView == tableSourceView ) { + theRow = [tableFields objectAtIndex:rowIndex]; + } else { + theRow = [indexes objectAtIndex:rowIndex]; + } + theValue = [theRow objectForKey:[aTableColumn identifier]]; + + return theValue; +} + +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if ( !isEditingRow ) { + [oldRow setDictionary:[tableFields objectAtIndex:rowIndex]]; + isEditingRow = YES; + } + if ( anObject ) { + [[tableFields objectAtIndex:rowIndex] setObject:anObject forKey:[aTableColumn identifier]]; + } else { + [[tableFields objectAtIndex:rowIndex] setObject:@"" forKey:[aTableColumn identifier]]; + } +} + +/* +Begin a drag and drop operation from the table - copy a single dragged row to the drag pasteboard. +*/ +- (BOOL)tableView:(NSTableView *)tableView writeRows:(NSArray*)rows toPasteboard:(NSPasteboard*)pboard +{ + int originalRow; + NSArray *pboardTypes; + + if ( ![self selectionShouldChangeInTableView:nil] ) + return NO; + + if ( ([rows count] == 1) && (tableView == tableSourceView) ) { + pboardTypes=[NSArray arrayWithObjects:@"SequelProPasteboard", nil]; + originalRow = [[rows objectAtIndex:0] intValue]; + + [pboard declareTypes:pboardTypes owner:nil]; + [pboard setString:[[NSNumber numberWithInt:originalRow] stringValue] forType:@"SequelProPasteboard"]; + + return YES; + } else { + return NO; + } +} + +/* +Determine whether to allow a drag and drop operation on this table - for the purposes of drag reordering, +validate that the original source is of the correct type and within the same table, and that the drag +would result in a position change. +*/ +- (NSDragOperation)tableView:(NSTableView*)tableView validateDrop:(id <NSDraggingInfo>)info proposedRow:(int)row + proposedDropOperation:(NSTableViewDropOperation)operation +{ + NSArray *pboardTypes = [[info draggingPasteboard] types]; + int originalRow; + + // Ensure the drop is of the correct type + if (operation == NSTableViewDropAbove && row != -1 && [pboardTypes containsObject:@"SequelProPasteboard"]) { + + // Ensure the drag originated within this table + if ([info draggingSource] == tableView) { + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + + if (row != originalRow && row != (originalRow+1)) { + return NSDragOperationMove; + } + } + } + + return NSDragOperationNone; +} + +/* +Having validated a drop, perform the field/column reordering to match. +*/ +- (BOOL)tableView:(NSTableView*)tableView acceptDrop:(id <NSDraggingInfo>)info row:(int)destinationRow dropOperation:(NSTableViewDropOperation)operation +{ + int originalRow; + NSMutableString *queryString; + + // Extract the original row position from the pasteboard. + originalRow = [[[info draggingPasteboard] stringForType:@"SequelProPasteboard"] intValue]; + + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + // Begin construction of the reordering query + queryString = [NSMutableString stringWithFormat:@"ALTER TABLE `%@` MODIFY COLUMN `%@` %@", selectedTable, + [[tableFields objectAtIndex:originalRow] objectForKey:@"Field"], + [[tableFields objectAtIndex:originalRow] objectForKey:@"Type"]]; + + // Add the length parameter if necessary + if ( [[tableFields objectAtIndex:originalRow] objectForKey:@"Length"] && + ![[[tableFields objectAtIndex:originalRow] objectForKey:@"Length"] isEqualToString:@""]) + { + [queryString appendString:[NSString stringWithFormat:@"(%@)", + [[tableFields objectAtIndex:originalRow] objectForKey:@"Length"]]]; + } + + // Add the new location + if ( destinationRow == 0 ){ + [queryString appendString:@" FIRST"]; + } else { + [queryString appendString:[NSString stringWithFormat:@" AFTER `%@`", + [[tableFields objectAtIndex:destinationRow-1] objectForKey:@"Field"]]]; + } + + // Run the query; report any errors, or reload the table on success + [mySQLConnection queryString:queryString]; + if ( ![[mySQLConnection getLastErrorMessage] isEqualTo:@""] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't move field. MySQL said: %@", @"message of panel when field cannot be added in drag&drop operation"), [mySQLConnection getLastErrorMessage]]); + } else { + [self loadTable:selectedTable]; + if ( originalRow < destinationRow ) { + [tableSourceView selectRow:destinationRow-1 byExtendingSelection:NO]; + } else { + [tableSourceView selectRow:destinationRow byExtendingSelection:NO]; + } + } + + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + // Mark the content table for refresh + [tablesListInstance setContentRequiresReload:YES]; + + return YES; +} + +#pragma mark TtableView delegate methods + +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView +{ +/* + int row = [tableSourceView editedRow]; + int column = [tableSourceView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + + if ( row != -1 ) { + tableColumn = [[tableSourceView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[tableSourceView currentEditor]]; + } +*/ +//end editing (otherwise problems when user hits reload button) + [tableWindow endEditingFor:nil]; + + return [self addRowToDB]; +} + +/* +traps enter and esc and make/cancel editing without entering next row +*/ +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command +{ + int row, column; + + row = [tableSourceView editedRow]; + column = [tableSourceView editedColumn]; + + if ( [textView methodForSelector:command] == [textView methodForSelector:@selector(insertNewline:)] || + [textView methodForSelector:command] == [textView methodForSelector:@selector(insertTab:)] ) //trap enter and tab + { + //save current line + [[control window] makeFirstResponder:control]; + if ( column == 9 ) { + if ( [self addRowToDB] && [textView methodForSelector:command] == [textView methodForSelector:@selector(insertTab:)] ) { + if ( row < ([tableSourceView numberOfRows] - 1) ) { + [tableSourceView selectRow:row+1 byExtendingSelection:NO]; + [tableSourceView editColumn:0 row:row+1 withEvent:nil select:YES]; + } else { + [tableSourceView selectRow:0 byExtendingSelection:NO]; + [tableSourceView editColumn:0 row:0 withEvent:nil select:YES]; + } + } + } else { + if ( column == 2 ) { + [tableSourceView editColumn:column+4 row:row withEvent:nil select:YES]; + } else if ( column == 6 ) { + [tableSourceView editColumn:column+2 row:row withEvent:nil select:YES]; + } else { + [tableSourceView editColumn:column+1 row:row withEvent:nil select:YES]; + } + } + return TRUE; + + } else if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(_cancelKey:)] || + [textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) { + //abort editing + [control abortEditing]; + if ( isEditingRow && !isEditingNewRow ) { + isEditingRow = NO; + [tableFields replaceObjectAtIndex:row withObject:[NSMutableDictionary dictionaryWithDictionary:oldRow]]; + } else if ( isEditingNewRow ) { + isEditingRow = NO; + isEditingNewRow = NO; + [tableFields removeObjectAtIndex:row]; + [tableSourceView reloadData]; + } + return TRUE; + } else { + return FALSE; + } +} + + +#pragma mark SplitView delegate methods + +- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview +{ + return YES; +} + +- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset +{ + return proposedMax - 150; +} + +- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset +{ + return proposedMin + 150; +} + +- (NSRect)splitView:(NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex:(int)dividerIndex +{ + return [structureGrabber convertRect:[structureGrabber bounds] toView:splitView]; +} + +//last but not least +- (id)init +{ + self = [super init]; + + tableFields = [[NSMutableArray alloc] init]; + indexes = [[NSMutableArray alloc] init]; + oldRow = [[NSMutableDictionary alloc] init]; + enumFields = [[NSMutableDictionary alloc] init]; + + return self; +} + +- (void)dealloc +{ + [tableFields release]; + [indexes release]; + [oldRow release]; + [defaultValues release]; + [prefs release]; + [enumFields release]; + + [super dealloc]; +} + +@end diff --git a/trunk/TableStatus.h b/trunk/TableStatus.h new file mode 100644 index 00000000..cb631435 --- /dev/null +++ b/trunk/TableStatus.h @@ -0,0 +1,63 @@ +// +// TableContent.h +// sequel-pro +// +// Created by Jason Hallford (jason.hallford@byu.edu) on Th July 08 2004. +// sequel-pro Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + +@interface TableStatus : NSObject +{ + IBOutlet id commentsBox; + IBOutlet id rowsNumber; + IBOutlet id rowsFormat; + IBOutlet id rowsAvgLength; + IBOutlet id rowsAutoIncrement; + IBOutlet id sizeData; + IBOutlet id sizeFree; + IBOutlet id sizeIndex; + IBOutlet id sizeMaxData; + IBOutlet id tableCreatedAt; + IBOutlet id tableName; + IBOutlet id tableType; + IBOutlet id tableUpdatedAt; + + CMMCPConnection *mySQLConnection; + CMMCPResult *tableStatusResult; + + NSString *selectedTable; + NSDictionary* statusFields; +} + +// Table methods +- (void)loadTable:(NSString *)aTable; +- (IBAction)reloadTable:(id)sender; + +// Additional methods +- (void)setConnection:(CMMCPConnection *)theConnection; +- (void)awakeFromNib; + +// Initialization +- (id)init; +@end diff --git a/trunk/TableStatus.m b/trunk/TableStatus.m new file mode 100644 index 00000000..5bfd5513 --- /dev/null +++ b/trunk/TableStatus.m @@ -0,0 +1,113 @@ +#import "TableStatus.h" + +@implementation TableStatus + +- (void)awakeFromNib +{ + // TODO: implement awake code. +} + +- (void)setConnection:(CMMCPConnection *)theConnection +{ + mySQLConnection = theConnection; + [mySQLConnection retain]; +} + +- (NSString*)getSQLColumnValue:(NSString *)withName usingFields:(NSDictionary*)fields withLabel:(NSString*)label +{ + NSString* value = [fields objectForKey:withName]; + if([value isKindOfClass:[NSNull class]]) + { + value = @"--"; + } + + NSString* labelVal = [NSString stringWithFormat:@"%@: %@",label,value]; + + return labelVal; +} + +- (void)loadTable:(NSString *)aTable +{ + // Store the table name away for future use... + selectedTable = aTable; + + // Notify any listeners that a query is about to begin... + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + // no table selected + if([aTable isEqualToString:@""] || !aTable) { + [tableName setStringValue:@"Name: --"]; + [tableType setStringValue:@"Type: --"]; + [tableCreatedAt setStringValue:@"Created At: --"]; + [tableUpdatedAt setStringValue:@"Updated At: --"]; + + // Assign the row values... + [rowsNumber setStringValue:@"Number Of: --"]; + [rowsFormat setStringValue:@"Format: --"]; + [rowsAvgLength setStringValue:@"Avg. Length: --"]; + [rowsAutoIncrement setStringValue:@"Auto Increment: --"]; + + // Assign the size values... + [sizeData setStringValue:@"Data: --"]; + [sizeMaxData setStringValue:@"Max Data: --"]; + [sizeIndex setStringValue:@"Index: --"]; + [sizeFree setStringValue:@"Free: --"]; + + // Finally, set the value of the comments box + [commentsBox setStringValue:@"--"]; + + // Tell everyone we've finished with our query... + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + return; + } + + // Run the query to retrieve the status of the selected table. We'll then use this information to populate + // the associated view's controls. + tableStatusResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW TABLE STATUS LIKE '%@'", selectedTable]]; + + statusFields = [tableStatusResult fetchRowAsDictionary]; + + // Assign the table values... + [tableName setStringValue:[NSString stringWithFormat:@"Name: %@",selectedTable]]; + if ( [statusFields objectForKey:@"Type"] ) { + [tableType setStringValue:[self getSQLColumnValue:@"Type" usingFields:statusFields withLabel:@"Type"]]; + } else { + // mysql > 4.1 + [tableType setStringValue:[self getSQLColumnValue:@"Engine" usingFields:statusFields withLabel:@"Type"]]; + } + [tableCreatedAt setStringValue:[self getSQLColumnValue:@"Create_time" usingFields:statusFields withLabel:@"Created At"]]; + [tableUpdatedAt setStringValue:[self getSQLColumnValue:@"Update_time" usingFields:statusFields withLabel:@"Updated At"]]; + + // Assign the row values... + [rowsNumber setStringValue:[self getSQLColumnValue:@"Rows" usingFields:statusFields withLabel:@"Number Of"]]; + [rowsFormat setStringValue:[self getSQLColumnValue:@"Row_format" usingFields:statusFields withLabel:@"Format"]]; + [rowsAvgLength setStringValue:[self getSQLColumnValue:@"Avg_row_length" usingFields:statusFields withLabel:@"Avg. Length"]]; + [rowsAutoIncrement setStringValue:[self getSQLColumnValue:@"Auto_increment" usingFields:statusFields withLabel:@"Auto Increment"]]; + + // Assign the size values... + [sizeData setStringValue:[self getSQLColumnValue:@"Data_length" usingFields:statusFields withLabel:@"Data"]]; + [sizeMaxData setStringValue:[self getSQLColumnValue:@"Max_data_length" usingFields:statusFields withLabel:@"Max Data"]]; + [sizeIndex setStringValue:[self getSQLColumnValue:@"Index_length" usingFields:statusFields withLabel:@"Index"]]; + [sizeFree setStringValue:[self getSQLColumnValue:@"Data_free" usingFields:statusFields withLabel:@"Free"]]; + + // Finally, assign the comments... + [commentsBox setStringValue:[statusFields objectForKey:@"Comment"]]; + + // Tell everyone we've finished with our query... + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; + + return; +} + +- (IBAction)reloadTable:(id)sender +{ + [self loadTable:selectedTable]; +} + +- (id)init +{ + self = [super init]; + + return self; +} +@end diff --git a/trunk/TablesList.h b/trunk/TablesList.h new file mode 100644 index 00000000..d7d37d2e --- /dev/null +++ b/trunk/TablesList.h @@ -0,0 +1,99 @@ +// +// TablesList.h +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import <Cocoa/Cocoa.h> +#import <MCPKit_bundled/MCPKit_bundled.h> + +@class CMMCResult; +@class CMMCPConnection; + +@interface TablesList : NSObject { + + IBOutlet id tableDocumentInstance; + IBOutlet id tableSourceInstance; + IBOutlet id tableContentInstance; + IBOutlet id customQueryInstance; + IBOutlet id tableDumpInstance; + IBOutlet id tableStatusInstance; + + IBOutlet id tableWindow; + IBOutlet id copyTableSheet; + IBOutlet id tablesListView; + IBOutlet id copyTableNameField; + IBOutlet id copyTableContentSwitch; + IBOutlet id tabView; + + CMMCPConnection *mySQLConnection; + NSMutableArray *tables; +// NSUserDefaults *prefs; + BOOL structureLoaded, contentLoaded, statusLoaded, alertSheetOpened; +} + +//IBAction methods +- (IBAction)updateTables:(id)sender; +- (IBAction)addTable:(id)sender; +- (IBAction)removeTable:(id)sender; +- (IBAction)copyTable:(id)sender; + +//alert sheet methods +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo; + +//copyTableSheet methods +- (IBAction)closeCopyTableSheet:(id)sender; + +//additional methods +- (void)removeTable; +- (void)setConnection:(CMMCPConnection *)theConnection; +- (void)doPerformQueryService:(NSString *)query; + +//getter methods +- (NSString *)table; +- (NSArray *)tables; +- (BOOL)structureLoaded; +- (BOOL)contentLoaded; +- (BOOL)statusLoaded; + +// Setter methods +- (void)setContentRequiresReload:(BOOL)reload; + +//tableView datasource methods +- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex; + +//tableView delegate methods +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command; +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView; +- (void)tableViewSelectionDidChange:(NSNotification *)aNotification; + +//last but not least +- (id)init; +- (void)dealloc; + +@end diff --git a/trunk/TablesList.m b/trunk/TablesList.m new file mode 100644 index 00000000..500ac349 --- /dev/null +++ b/trunk/TablesList.m @@ -0,0 +1,698 @@ +// +// TablesList.m +// sequel-pro +// +// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002. +// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved. +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at <http://code.google.com/p/sequel-pro/> +// Or mail to <lorenz@textor.ch> + +#import "TablesList.h" +#import "TableDocument.h" +#import "TableSource.h" +#import "TableContent.h" +#import "TableDump.h" +#import "ImageAndTextCell.h" +#import "CMMCPConnection.h" +#import "CMMCPResult.h" + +@implementation TablesList + + +#pragma mark IBAction methods + +/* +loads all table names in array tables and reload the tableView +*/ +- (IBAction)updateTables:(id)sender +{ + CMMCPResult *theResult; + int i; + + //query started + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:self]; + + [tablesListView deselectAll:self]; + [tables removeAllObjects]; + [tables addObject:NSLocalizedString(@"TABLES",@"header for table list")]; + + theResult = (CMMCPResult *)[mySQLConnection listTables]; + if ([theResult numOfRows]) [theResult dataSeek:0]; + for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { + [tables addObject:[[theResult fetchRowAsArray] objectAtIndex:0]]; + } + + [tablesListView reloadData]; + + //query finished + [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; +} + +/* +adds a new table to the tables-array (no changes in mysql-db) +*/ +- (IBAction)addTable:(id)sender +{ + if ( ![tableSourceInstance selectionShouldChangeInTableView:nil] || + ![tableContentInstance selectionShouldChangeInTableView:nil] || + ![tableDocumentInstance database] ) + return; + [tableWindow endEditingFor:nil]; + + [tables addObject:@""]; + [tablesListView reloadData]; + [tablesListView selectRow:[tables count]-1 byExtendingSelection:NO]; + [tablesListView editColumn:0 row:[tables count]-1 withEvent:nil select:YES]; +} + +/* +invoked when user hits the remove button +alert sheet to ask user if he really wants to delete the table +*/ +- (IBAction)removeTable:(id)sender +{ + if ( ![tablesListView numberOfSelectedRows] ) + return; + [tableWindow endEditingFor:nil]; + + if ( [tablesListView numberOfSelectedRows] == 1 ) { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, + @"removeRow", [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the table %@?", @"message of panel asking for confirmation for deleting table"), + [tables objectAtIndex:[tablesListView selectedRow]]]); + } else { + NSBeginAlertSheet(NSLocalizedString(@"Warning", @"warning"), NSLocalizedString(@"Delete", @"delete button"), NSLocalizedString(@"Cancel", @"cancel button"), nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, + @"removeRow", [NSString stringWithFormat:NSLocalizedString(@"Do you really want to delete the selected tables?", @"message of panel asking for confirmation for deleting tables"), + [tables objectAtIndex:[tablesListView selectedRow]]]); + } +} + +/* +copies a table, if desired with content +*/ +- (IBAction)copyTable:(id)sender +{ + CMMCPResult *queryResult; + NSScanner *scanner = [NSScanner alloc]; + NSString *scanString; +// NSArray *fieldNames; +// NSArray *theRow; +// NSMutableString *rowValue = [NSMutableString string]; +// NSMutableArray *fieldValues; + int code; +// int rowCount, i, j; +// BOOL errors = NO; + + if ( [tablesListView numberOfSelectedRows] != 1 ) + return; + if ( ![tableSourceInstance selectionShouldChangeInTableView:nil] || ![tableContentInstance selectionShouldChangeInTableView:nil] ) + return; + [tableWindow endEditingFor:nil]; + + //open copyTableSheet + [copyTableNameField setStringValue:[NSString stringWithFormat:@"%@Copy", [tables objectAtIndex:[tablesListView selectedRow]]]]; + [copyTableContentSwitch setState:NSOffState]; + [NSApp beginSheet:copyTableSheet + modalForWindow:tableWindow + modalDelegate:self + didEndSelector:nil + contextInfo:nil]; + + code = [NSApp runModalForWindow:copyTableSheet]; + + [NSApp endSheet:copyTableSheet]; + [copyTableSheet orderOut:nil]; + + if ( !code ) + return; + if ( [[copyTableNameField stringValue] isEqualToString:@""] ) { + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, NSLocalizedString(@"Table must have a name.", @"message of panel when no name is given for table")); + return; + } + + //get table structure + queryResult = [mySQLConnection queryString:[NSString stringWithFormat:@"SHOW CREATE TABLE `%@`", + [tables objectAtIndex:[tablesListView selectedRow]]]]; + + if ( ![queryResult numOfRows] ) { + //error while getting table structure + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't get table information.\nMySQL said: %@", @"message of panel when table information cannot be retrieved"), [mySQLConnection getLastErrorMessage]]); + + } else { + //insert new table name in create syntax and create new table + [scanner initWithString:[[queryResult fetchRowAsDictionary] objectForKey:@"Create Table"]]; + [scanner scanUpToString:@"(" intoString:nil]; + [scanner scanUpToString:@"" intoString:&scanString]; + [mySQLConnection queryString:[NSString stringWithFormat:@"CREATE TABLE `%@` %@", [copyTableNameField stringValue], scanString]]; + + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //error while creating new table + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't create table.\nMySQL said: %@", @"message of panel when table cannot be created"), [mySQLConnection getLastErrorMessage]]); + } else { + + if ( [copyTableContentSwitch state] == NSOnState ) { + //copy table content + [mySQLConnection queryString:[NSString stringWithFormat: + @"INSERT INTO `%@` SELECT * FROM `%@`", + [copyTableNameField stringValue], + [tables objectAtIndex:[tablesListView selectedRow]] + ]]; + + if ( ![[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + NSBeginAlertSheet( + NSLocalizedString(@"Warning", @"warning"), + NSLocalizedString(@"OK", @"OK button"), + nil, + nil, + tableWindow, + self, + nil, + nil, + nil, + NSLocalizedString(@"There have been errors while copying table content. Please control the new table.", @"message of panel when table content cannot be copied") + ); + } + } + + [tables insertObject:[copyTableNameField stringValue] atIndex:[tablesListView selectedRow]+1]; + [tablesListView reloadData]; + [tablesListView selectRow:[tablesListView selectedRow]+1 byExtendingSelection:NO]; + [tablesListView scrollRowToVisible:[tablesListView selectedRow]]; + } + } +} + + +#pragma mark Alert sheet methods + +/* +method for alert sheets +invoked when user wants to delete a table +*/ +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(NSString *)contextInfo +{ + if ( [contextInfo isEqualToString:@"addRow"] ) { + alertSheetOpened = NO; + } else if ( [contextInfo isEqualToString:@"removeRow"] ) { + if ( returnCode == NSAlertDefaultReturn ) { + [sheet orderOut:self]; + [self removeTable]; + } + } +} + +/* +closes copyTableSheet and stops modal session +*/ +- (IBAction)closeCopyTableSheet:(id)sender +{ + [NSApp stopModalWithCode:[sender tag]]; +} + +#pragma mark Additional methods + +/* +removes selected table(s) from mysql-db and tableView +*/ +- (void)removeTable; +{ + NSIndexSet *indexes = [tablesListView selectedRowIndexes]; + NSString *errorText; + BOOL error = FALSE; + + // get last index + unsigned currentIndex = [indexes lastIndex]; + while (currentIndex != NSNotFound) + { + [mySQLConnection queryString:[NSString stringWithFormat:@"DROP TABLE `%@`", [tables objectAtIndex:currentIndex]]]; + + if ( [[mySQLConnection getLastErrorMessage] isEqualTo:@""] ) { + //dropped table with success + [tables removeObjectAtIndex:currentIndex]; + } else { + //couldn't drop table + error = TRUE; + errorText = [mySQLConnection getLastErrorMessage]; + } + + // get next index (beginning from the end) + currentIndex = [indexes indexLessThanIndex:currentIndex]; + } + + [tablesListView deselectAll:self]; + //[tableSourceInstance loadTable:nil]; + //[tableContentInstance loadTable:nil]; + //[tableStatusInstance loadTable:nil]; + [tablesListView reloadData]; + + // set window title + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@", [tableDocumentInstance mySQLVersion], [tableDocumentInstance user], + [tableDocumentInstance host], [tableDocumentInstance database]]]; + if ( error ) + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, nil, nil, nil, + [NSString stringWithFormat:NSLocalizedString(@"Couldn't remove table.\nMySQL said: %@", @"message of panel when table cannot be removed"), errorText]); +} + +/* +sets the connection (received from TableDocument) and makes things that have to be done only once +*/ +- (void)setConnection:(CMMCPConnection *)theConnection +{ + mySQLConnection = theConnection; + [self updateTables:self]; +} + +/* +selects customQuery tab and passes query to customQueryInstance +*/ +- (void)doPerformQueryService:(NSString *)query +{ + [tabView selectTabViewItemAtIndex:2]; + [customQueryInstance doPerformQueryService:query]; +} + + +#pragma mark Getter methods + +/* +returns the currently selected table or nil if no table or mulitple tables are selected +*/ +- (NSString *)table +{ + if ( [tablesListView numberOfSelectedRows] == 1 ) { + return [tables objectAtIndex:[tablesListView selectedRow]]; + } else if ([tablesListView numberOfSelectedRows] > 1) { + return @""; + } else { + return nil; + } +} + +- (NSArray *)tables +{ + return tables; +} + +/* +returns YES if table source has already been loaded +*/ +- (BOOL)structureLoaded +{ + return structureLoaded; +} + +/* +returns YES if table content has already been loaded +*/ +- (BOOL)contentLoaded +{ + return contentLoaded; +} + +/* +returns YES if table status has already been loaded +*/ +- (BOOL)statusLoaded +{ + return statusLoaded; +} + +#pragma mark Setter methods + +/* +Mark the content table for refresh when it's next switched to +*/ +- (void)setContentRequiresReload:(BOOL)reload +{ + contentLoaded = !reload; +} + +#pragma mark Datasource methods + +- (int)numberOfRowsInTableView:(NSTableView *)aTableView +{ + return [tables count]; +} + +- (id)tableView:(NSTableView *)aTableView + objectValueForTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + return [tables objectAtIndex:rowIndex]; +} + +/** + * adds or renames a table (in tables-array and mysql-db) + * removes new table from table-array if renaming had no success + */ +- (void)tableView:(NSTableView *)aTableView + setObjectValue:(id)anObject + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + + if ( [[tables objectAtIndex:rowIndex] isEqualToString:@""] ) { + //new table + if ( [anObject isEqualToString:@""] ) { + //table has no name + alertSheetOpened = YES; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, @"addRow", NSLocalizedString(@"Table must have a name.", @"message of panel when no name is given for table")); + [tables removeObjectAtIndex:rowIndex]; + [tablesListView reloadData]; + } else { + if ( [tableDocumentInstance supportsEncoding] ) { + [mySQLConnection queryString:[NSString stringWithFormat:@"CREATE TABLE `%@` (id int) DEFAULT CHARACTER SET %@", anObject, [tableDocumentInstance encoding]]]; + } else { + [mySQLConnection queryString:[NSString stringWithFormat:@"CREATE TABLE `%@` (id int)", anObject]]; + } + + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { + //added table with success + [tables replaceObjectAtIndex:rowIndex withObject:anObject]; + + if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0 ) { + [tableSourceInstance loadTable:anObject]; + structureLoaded = YES; + contentLoaded = NO; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 1 ) { + [tableSourceInstance loadTable:anObject]; + [tableContentInstance loadTable:anObject]; + structureLoaded = YES; + contentLoaded = YES; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 3 ) { + [tableStatusInstance loadTable:anObject]; + statusLoaded = YES; + structureLoaded = NO; + contentLoaded = NO; + } else { + statusLoaded = NO; + structureLoaded = NO; + contentLoaded = NO; + } + + // set window title + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@/%@", [tableDocumentInstance mySQLVersion], [tableDocumentInstance user], + [tableDocumentInstance host], [tableDocumentInstance database], anObject]]; + } else { + + //error while adding new table + alertSheetOpened = YES; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, @"addRow", + [NSString stringWithFormat:NSLocalizedString(@"Couldn't add table %@.\nMySQL said: %@", @"message of panel when table cannot be created with the given name"), + anObject, [mySQLConnection getLastErrorMessage]]); + [tables removeObjectAtIndex:rowIndex]; + [tablesListView reloadData]; + } + } + } else { + + //table modification + if ( [[tables objectAtIndex:rowIndex] isEqualToString:anObject] ) { + //no changes in table name +// NSLog(@"no changes in table name"); + } else if ( [anObject isEqualToString:@""] ) { + //table has no name +// NSLog(@"name is nil"); + alertSheetOpened = YES; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, @"addRow", NSLocalizedString(@"Table must have a name.", @"message of panel when no name is given for table")); + } else { + [mySQLConnection queryString:[NSString stringWithFormat:@"RENAME TABLE `%@` TO `%@`", [tables objectAtIndex:rowIndex], anObject]]; + if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) { +// NSLog(@"renamed table with success"); + //renamed with success + [tables replaceObjectAtIndex:rowIndex withObject:anObject]; + + if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0 ) { + [tableSourceInstance loadTable:anObject]; + structureLoaded = YES; + contentLoaded = NO; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 1 ) { + [tableSourceInstance loadTable:anObject]; + [tableContentInstance loadTable:anObject]; + structureLoaded = YES; + contentLoaded = YES; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 3 ) { + [tableStatusInstance loadTable:anObject]; + structureLoaded = NO; + contentLoaded = NO; + statusLoaded = YES; + } else { + statusLoaded = NO; + structureLoaded = NO; + contentLoaded = NO; + } + + // set window title + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@/%@", [tableDocumentInstance mySQLVersion], [tableDocumentInstance user], + [tableDocumentInstance host], [tableDocumentInstance database], anObject]]; + } else { + //error while renaming +// NSLog(@"couldn't rename table"); + alertSheetOpened = YES; + NSBeginAlertSheet(NSLocalizedString(@"Error", @"error"), NSLocalizedString(@"OK", @"OK button"), nil, nil, tableWindow, self, + @selector(sheetDidEnd:returnCode:contextInfo:), nil, @"addRow", + [NSString stringWithFormat:NSLocalizedString(@"Couldn't rename table.\nMySQL said: %@", @"message of panel when table cannot be renamed"), + [mySQLConnection getLastErrorMessage]]); + } + } + } +} + +#pragma mark TableView delegate methods + +/* +traps enter and esc and edit/cancel without entering next row +*/ +- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command +{ + if ( [textView methodForSelector:command] == [textView methodForSelector:@selector(insertNewline:)] ) { + //save current line + [[control window] makeFirstResponder:control]; + return TRUE; + + } else if ( [[control window] methodForSelector:command] == [[control window] methodForSelector:@selector(_cancelKey:)] || + [textView methodForSelector:command] == [textView methodForSelector:@selector(complete:)] ) { + + //abort editing + [control abortEditing]; + + if ( [[tables objectAtIndex:[tablesListView selectedRow]] isEqualToString:@""] ) { + //user added new table and then pressed escape + [tables removeObjectAtIndex:[tablesListView selectedRow]]; + [tablesListView reloadData]; + } + + return TRUE; + } else{ + return FALSE; + } +} + +- (BOOL)selectionShouldChangeInTableView:(NSTableView *)aTableView +{ +/* + int row = [tablesListView editedRow]; + int column = [tablesListView editedColumn]; + NSTableColumn *tableColumn; + NSCell *cell; + + if ( row != -1 ) { + tableColumn = [[tablesListView tableColumns] objectAtIndex:column]; + cell = [tableColumn dataCellForRow:row]; + [cell endEditing:[tablesListView currentEditor]]; + } +*/ + //end editing (otherwise problems when user hits reload button) + [tableWindow endEditingFor:nil]; + if ( alertSheetOpened ) { + return NO; + } + + //we have to be sure that TableSource and TableContent have finished editing +// if ( ![tableSourceInstance addRowToDB] || ![tableContentInstance addRowToDB] ) { + if ( ![tableSourceInstance selectionShouldChangeInTableView:nil] || + ![tableContentInstance selectionShouldChangeInTableView:nil] ) { + return NO; + } else { + return YES; + } +} + +/* +loads a table in content or source view (if tab selected) +*/ +- (void)tableViewSelectionDidChange:(NSNotification *)aNotification +{ + if ( [tablesListView numberOfSelectedRows] == 1 ) { + if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0 ) { + [tableSourceInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + structureLoaded = YES; + contentLoaded = NO; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 1 ) { + [tableSourceInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + [tableContentInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + structureLoaded = YES; + contentLoaded = YES; + statusLoaded = NO; + } else if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 3 ) { + [tableStatusInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + structureLoaded = NO; + contentLoaded = NO; + statusLoaded = YES; + } else { + structureLoaded = NO; + contentLoaded = NO; + statusLoaded = NO; + } + + // set window title + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@/%@", [tableDocumentInstance mySQLVersion], [tableDocumentInstance user], + [tableDocumentInstance host], [tableDocumentInstance database], [tables objectAtIndex:[tablesListView selectedRow]]]]; + + } else { + [tableSourceInstance loadTable:nil]; + [tableContentInstance loadTable:nil]; + [tableStatusInstance loadTable:nil]; + structureLoaded = NO; + contentLoaded = NO; + statusLoaded = NO; + + // set window title + [tableWindow setTitle:[NSString stringWithFormat:@"(MySQL %@) %@@%@/%@", [tableDocumentInstance mySQLVersion], [tableDocumentInstance user], + [tableDocumentInstance host], [tableDocumentInstance database]]]; + } +} + + + +- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(int)rowIndex +{ + return (rowIndex != 0); +} + + +- (BOOL)tableView:(NSTableView *)aTableView isGroupRow:(int)row +{ + return (row == 0); +} + +- (void)tableView:(NSTableView *)aTableView + willDisplayCell:(id)aCell + forTableColumn:(NSTableColumn *)aTableColumn + row:(int)rowIndex +{ + if (rowIndex > 0 && [[aTableColumn identifier] isEqualToString:@"tables"]) { + [(ImageAndTextCell*)aCell setImage:[NSImage imageNamed:@"table-small"]]; + [(ImageAndTextCell*)aCell setIndentationLevel:1]; + if ( [[NSUserDefaults standardUserDefaults] boolForKey:@"useMonospacedFonts"] ) { + [(ImageAndTextCell*)aCell setFont:[NSFont fontWithName:@"Monaco" size:[NSFont smallSystemFontSize]]]; + } + else + { + [(ImageAndTextCell*)aCell setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]]; + } + + } else { + [(ImageAndTextCell*)aCell setImage:nil]; + [(ImageAndTextCell*)aCell setIndentationLevel:0]; + } +} + +- (float)tableView:(NSTableView *)tableView heightOfRow:(int)row +{ + if (row == 0) { + return 25; + } else { + return 17; + } +} + +#pragma mark - +#pragma mark TabView delegate methods + +/* +loads structure or source if tab selected the first time +*/ +- (void)tabView:(NSTabView *)aTabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem +{ + if ( [tablesListView numberOfSelectedRows] == 1 ) { + + if ( ([tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 0) && !structureLoaded ) { + + [tableSourceInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + structureLoaded = YES; + } + + if ( ([tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 1) && !contentLoaded ) { + + if ( !structureLoaded ) { + [tableSourceInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + structureLoaded = YES; + } + + [tableContentInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + contentLoaded = YES; + } + + if ( ([tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 3) && !statusLoaded ) { + [tableStatusInstance loadTable:[tables objectAtIndex:[tablesListView selectedRow]]]; + statusLoaded = YES; + } + } +/* + if ( [tabView indexOfTabViewItem:[tabView selectedTabViewItem]] == 3 ) { + [tableDumpInstance reloadTables:self]; + } +*/ +} + +#pragma mark - +//last but not least +- (id)init +{ + self = [super init]; + + tables = [[NSMutableArray alloc] init]; + structureLoaded = NO; + contentLoaded = NO; + [tables addObject:NSLocalizedString(@"TABLES",@"header for table list")]; + return self; +} + +- (void)dealloc +{ +// NSLog(@"TableList dealloc"); + + [tables release]; + + [super dealloc]; +} + + +@end diff --git a/trunk/askForPass.sh b/trunk/askForPass.sh new file mode 100755 index 00000000..9dc68933 --- /dev/null +++ b/trunk/askForPass.sh @@ -0,0 +1,12 @@ +#!/bin/sh +PF=$* +UUID=`uuidgen` +mkfifo /tmp/$UUID +SCRIPT=`echo tell application \"Sequel Pro\" to authenticate tunnel \"$TUNNEL_NAME\" query phrase \"$PF\" fifo \"/tmp/$UUID\"` +echo $SCRIPT > /tmp/test +#PASS=`osascript -e "$SCRIPT"`; +osascript -e "$SCRIPT" > /dev/null 2>&1 +#echo $PASS; +PASS=`cat /tmp/$UUID` +echo $PASS +rm -f /tmp/$UUID
\ No newline at end of file diff --git a/trunk/images/CodeAssistantProtocol.tiff b/trunk/images/CodeAssistantProtocol.tiff Binary files differnew file mode 100644 index 00000000..5e701423 --- /dev/null +++ b/trunk/images/CodeAssistantProtocol.tiff diff --git a/trunk/images/appicon.icns b/trunk/images/appicon.icns Binary files differnew file mode 100755 index 00000000..a4c1523c --- /dev/null +++ b/trunk/images/appicon.icns diff --git a/trunk/images/clearconsole.tiff b/trunk/images/clearconsole.tiff Binary files differnew file mode 100644 index 00000000..ec7d181a --- /dev/null +++ b/trunk/images/clearconsole.tiff diff --git a/trunk/images/columnadd.tiff b/trunk/images/columnadd.tiff Binary files differnew file mode 100644 index 00000000..1eaa8822 --- /dev/null +++ b/trunk/images/columnadd.tiff diff --git a/trunk/images/columncopy.tiff b/trunk/images/columncopy.tiff Binary files differnew file mode 100644 index 00000000..55848ac1 --- /dev/null +++ b/trunk/images/columncopy.tiff diff --git a/trunk/images/columndelete.tiff b/trunk/images/columndelete.tiff Binary files differnew file mode 100644 index 00000000..5ddee6ff --- /dev/null +++ b/trunk/images/columndelete.tiff diff --git a/trunk/images/columnrefresh.tiff b/trunk/images/columnrefresh.tiff Binary files differnew file mode 100644 index 00000000..37ba5d75 --- /dev/null +++ b/trunk/images/columnrefresh.tiff diff --git a/trunk/images/connectionadd.tiff b/trunk/images/connectionadd.tiff Binary files differnew file mode 100644 index 00000000..73437571 --- /dev/null +++ b/trunk/images/connectionadd.tiff diff --git a/trunk/images/connectioncopy.tiff b/trunk/images/connectioncopy.tiff Binary files differnew file mode 100644 index 00000000..1072e270 --- /dev/null +++ b/trunk/images/connectioncopy.tiff diff --git a/trunk/images/connectiondelete.tiff b/trunk/images/connectiondelete.tiff Binary files differnew file mode 100644 index 00000000..edd40a9e --- /dev/null +++ b/trunk/images/connectiondelete.tiff diff --git a/trunk/images/connectionrefresh.tiff b/trunk/images/connectionrefresh.tiff Binary files differnew file mode 100644 index 00000000..4dd27062 --- /dev/null +++ b/trunk/images/connectionrefresh.tiff diff --git a/trunk/images/createtablesyntax.tiff b/trunk/images/createtablesyntax.tiff Binary files differnew file mode 100644 index 00000000..0bf7f1a2 --- /dev/null +++ b/trunk/images/createtablesyntax.tiff diff --git a/trunk/images/databases.tiff b/trunk/images/databases.tiff Binary files differnew file mode 100644 index 00000000..f535fb2c --- /dev/null +++ b/trunk/images/databases.tiff diff --git a/trunk/images/dbadd.tiff b/trunk/images/dbadd.tiff Binary files differnew file mode 100644 index 00000000..8b5a71ca --- /dev/null +++ b/trunk/images/dbadd.tiff diff --git a/trunk/images/dbdelete.tiff b/trunk/images/dbdelete.tiff Binary files differnew file mode 100644 index 00000000..0b1c1eaf --- /dev/null +++ b/trunk/images/dbdelete.tiff diff --git a/trunk/images/dbrefresh.tiff b/trunk/images/dbrefresh.tiff Binary files differnew file mode 100644 index 00000000..e85c6d1e --- /dev/null +++ b/trunk/images/dbrefresh.tiff diff --git a/trunk/images/flushprivileges.tiff b/trunk/images/flushprivileges.tiff Binary files differnew file mode 100644 index 00000000..94c4fca1 --- /dev/null +++ b/trunk/images/flushprivileges.tiff diff --git a/trunk/images/grabber-horizontal.png b/trunk/images/grabber-horizontal.png Binary files differnew file mode 100644 index 00000000..2604c89a --- /dev/null +++ b/trunk/images/grabber-horizontal.png diff --git a/trunk/images/grabber-vertical.png b/trunk/images/grabber-vertical.png Binary files differnew file mode 100644 index 00000000..b93c1211 --- /dev/null +++ b/trunk/images/grabber-vertical.png diff --git a/trunk/images/hideconsole.tiff b/trunk/images/hideconsole.tiff Binary files differnew file mode 100644 index 00000000..d6c116ea --- /dev/null +++ b/trunk/images/hideconsole.tiff diff --git a/trunk/images/indexadd.tiff b/trunk/images/indexadd.tiff Binary files differnew file mode 100644 index 00000000..b985d693 --- /dev/null +++ b/trunk/images/indexadd.tiff diff --git a/trunk/images/indexdelete.tiff b/trunk/images/indexdelete.tiff Binary files differnew file mode 100644 index 00000000..d692adf7 --- /dev/null +++ b/trunk/images/indexdelete.tiff diff --git a/trunk/images/logo-48.png b/trunk/images/logo-48.png Binary files differnew file mode 100644 index 00000000..ca8ddbcf --- /dev/null +++ b/trunk/images/logo-48.png diff --git a/trunk/images/optimizetable.tiff b/trunk/images/optimizetable.tiff Binary files differnew file mode 100644 index 00000000..761e44cd --- /dev/null +++ b/trunk/images/optimizetable.tiff diff --git a/trunk/images/query.tiff b/trunk/images/query.tiff Binary files differnew file mode 100644 index 00000000..4d7d23e1 --- /dev/null +++ b/trunk/images/query.tiff diff --git a/trunk/images/queryadd.tiff b/trunk/images/queryadd.tiff Binary files differnew file mode 100644 index 00000000..e174b9b0 --- /dev/null +++ b/trunk/images/queryadd.tiff diff --git a/trunk/images/querycopy.tiff b/trunk/images/querycopy.tiff Binary files differnew file mode 100644 index 00000000..54f43e93 --- /dev/null +++ b/trunk/images/querycopy.tiff diff --git a/trunk/images/querydelete.tiff b/trunk/images/querydelete.tiff Binary files differnew file mode 100644 index 00000000..98e5a0c1 --- /dev/null +++ b/trunk/images/querydelete.tiff diff --git a/trunk/images/queryrefresh.tiff b/trunk/images/queryrefresh.tiff Binary files differnew file mode 100644 index 00000000..5d233769 --- /dev/null +++ b/trunk/images/queryrefresh.tiff diff --git a/trunk/images/reload.tiff b/trunk/images/reload.tiff Binary files differnew file mode 100644 index 00000000..40d020e5 --- /dev/null +++ b/trunk/images/reload.tiff diff --git a/trunk/images/rowadd.tiff b/trunk/images/rowadd.tiff Binary files differnew file mode 100644 index 00000000..9cc750b6 --- /dev/null +++ b/trunk/images/rowadd.tiff diff --git a/trunk/images/rowcopy.tiff b/trunk/images/rowcopy.tiff Binary files differnew file mode 100644 index 00000000..348a53ce --- /dev/null +++ b/trunk/images/rowcopy.tiff diff --git a/trunk/images/rowdelete.tiff b/trunk/images/rowdelete.tiff Binary files differnew file mode 100644 index 00000000..8f5cd340 --- /dev/null +++ b/trunk/images/rowdelete.tiff diff --git a/trunk/images/rowrefresh.tiff b/trunk/images/rowrefresh.tiff Binary files differnew file mode 100644 index 00000000..09231808 --- /dev/null +++ b/trunk/images/rowrefresh.tiff diff --git a/trunk/images/selectall.tiff b/trunk/images/selectall.tiff Binary files differnew file mode 100644 index 00000000..17b35cad --- /dev/null +++ b/trunk/images/selectall.tiff diff --git a/trunk/images/selectnone.tiff b/trunk/images/selectnone.tiff Binary files differnew file mode 100644 index 00000000..de505f10 --- /dev/null +++ b/trunk/images/selectnone.tiff diff --git a/trunk/images/sheettotable.tiff b/trunk/images/sheettotable.tiff Binary files differnew file mode 100644 index 00000000..90f7ccb7 --- /dev/null +++ b/trunk/images/sheettotable.tiff diff --git a/trunk/images/showconsole.tiff b/trunk/images/showconsole.tiff Binary files differnew file mode 100644 index 00000000..861be377 --- /dev/null +++ b/trunk/images/showconsole.tiff diff --git a/trunk/images/showvariables.tiff b/trunk/images/showvariables.tiff Binary files differnew file mode 100644 index 00000000..4c4b3400 --- /dev/null +++ b/trunk/images/showvariables.tiff diff --git a/trunk/images/spyglass.tiff b/trunk/images/spyglass.tiff Binary files differnew file mode 100644 index 00000000..0a561926 --- /dev/null +++ b/trunk/images/spyglass.tiff diff --git a/trunk/images/table-small.tif b/trunk/images/table-small.tif Binary files differnew file mode 100644 index 00000000..d3c3a705 --- /dev/null +++ b/trunk/images/table-small.tif diff --git a/trunk/images/tableadd.tiff b/trunk/images/tableadd.tiff Binary files differnew file mode 100644 index 00000000..792277d9 --- /dev/null +++ b/trunk/images/tableadd.tiff diff --git a/trunk/images/tablecopy.tiff b/trunk/images/tablecopy.tiff Binary files differnew file mode 100644 index 00000000..39e8bbdd --- /dev/null +++ b/trunk/images/tablecopy.tiff diff --git a/trunk/images/tabledelete.tiff b/trunk/images/tabledelete.tiff Binary files differnew file mode 100644 index 00000000..a915bf8e --- /dev/null +++ b/trunk/images/tabledelete.tiff diff --git a/trunk/images/tablerefresh.tiff b/trunk/images/tablerefresh.tiff Binary files differnew file mode 100644 index 00000000..f452b4bb --- /dev/null +++ b/trunk/images/tablerefresh.tiff diff --git a/trunk/images/tables.tiff b/trunk/images/tables.tiff Binary files differnew file mode 100644 index 00000000..217dcd07 --- /dev/null +++ b/trunk/images/tables.tiff diff --git a/trunk/images/tabletosheet.tiff b/trunk/images/tabletosheet.tiff Binary files differnew file mode 100644 index 00000000..a35755e5 --- /dev/null +++ b/trunk/images/tabletosheet.tiff diff --git a/trunk/images/textencode.tiff b/trunk/images/textencode.tiff Binary files differnew file mode 100644 index 00000000..671ade4d --- /dev/null +++ b/trunk/images/textencode.tiff diff --git a/trunk/images/toolbar-switch-to-browse.png b/trunk/images/toolbar-switch-to-browse.png Binary files differnew file mode 100644 index 00000000..762659f8 --- /dev/null +++ b/trunk/images/toolbar-switch-to-browse.png diff --git a/trunk/images/toolbar-switch-to-sql.png b/trunk/images/toolbar-switch-to-sql.png Binary files differnew file mode 100644 index 00000000..9c1a58a1 --- /dev/null +++ b/trunk/images/toolbar-switch-to-sql.png diff --git a/trunk/images/toolbar-switch-to-structure.png b/trunk/images/toolbar-switch-to-structure.png Binary files differnew file mode 100644 index 00000000..0e2c819a --- /dev/null +++ b/trunk/images/toolbar-switch-to-structure.png diff --git a/trunk/images/toolbar-switch-to-table-info.png b/trunk/images/toolbar-switch-to-table-info.png Binary files differnew file mode 100644 index 00000000..3a72aecf --- /dev/null +++ b/trunk/images/toolbar-switch-to-table-info.png diff --git a/trunk/main.m b/trunk/main.m new file mode 100644 index 00000000..593bb3ac --- /dev/null +++ b/trunk/main.m @@ -0,0 +1,6 @@ +#import <Cocoa/Cocoa.h> + +int main(int argc, char *argv[]) +{ + return NSApplicationMain(argc, (const char **) argv); +} diff --git a/trunk/sequel-pro.scriptSuite b/trunk/sequel-pro.scriptSuite new file mode 100755 index 00000000..74053c27 --- /dev/null +++ b/trunk/sequel-pro.scriptSuite @@ -0,0 +1,37 @@ +{ + "Name" = "Sequel Pro"; + "AppleEventCode" = "cmec"; + + "Classes" = { + "MainController" = { + "Superclass" = "NSCoreSuite.NSAbstractObject"; + "AppleEventCode" = "capp"; + "SupportedCommands" = { + "authenticate" = "authenticate:"; + "NSCoreSuite.Quit" = "handleQuitScriptCommand:"; + }; + }; + }; + "Commands" = { + "authenticate" = { + "CommandClass" = "NSScriptCommand"; + "AppleEventCode" = "auth"; + "Class" = "NSString"; + "ResultAppleEventCode" = "****"; + "Arguments" = { + "query" = { + "Type" = "NSString"; + "AppleEventCode" = "qery"; + }; + "fifo" = { + "Type" = "NSString"; + "AppleEventCode" = "fifo"; + }; + "tunnelName" = { + "Type" = "NSString"; + "AppleEventCode" = "tunn"; + }; + }; + }; + }; +}
\ No newline at end of file diff --git a/trunk/sequel-pro.scriptTerminology b/trunk/sequel-pro.scriptTerminology new file mode 100755 index 00000000..78ff78dc --- /dev/null +++ b/trunk/sequel-pro.scriptTerminology @@ -0,0 +1,31 @@ +{ + "Name" = "Sequel Pro suite"; + "Description" = "Suite for handling tunnel management"; + "Classes" = { + "MainController" = { + "Name" = "application"; + "PluralName" = "applications"; + "Description" = "Sequel Pro application"; + }; + }; + "Commands" = { + "authenticate" = { + "Name" = "authenticate"; + "Description" = "Open the dialog asking for password or passphrase"; + "Arguments" = { + "query" = { + "Name" = "query phrase"; + "Description" = "The string to show in the dialog"; + }; + "fifo" = { + "Name" = "fifo"; + "Description" = "The FIFO file where expecting the passphrase"; + }; + "tunnelName" = { + "Name" = "tunnel"; + "Description" = "Tunnel's name"; + }; + }; + }; + }; +}
\ No newline at end of file diff --git a/trunk/sequel-pro.xcodeproj/TemplateIcon.icns b/trunk/sequel-pro.xcodeproj/TemplateIcon.icns Binary files differnew file mode 100644 index 00000000..62cb7015 --- /dev/null +++ b/trunk/sequel-pro.xcodeproj/TemplateIcon.icns diff --git a/trunk/sequel-pro.xcodeproj/project.pbxproj b/trunk/sequel-pro.xcodeproj/project.pbxproj new file mode 100644 index 00000000..775de82c --- /dev/null +++ b/trunk/sequel-pro.xcodeproj/project.pbxproj @@ -0,0 +1,752 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + +/* Begin PBXBuildFile section */ + 173BFC220EDF7D01003B06C8 /* SPGrowlController.m in Sources */ = {isa = PBXBuildFile; fileRef = 173BFC210EDF7D01003B06C8 /* SPGrowlController.m */; }; + 1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD582A0DA1D0D100B32029 /* MainMenu.xib */; }; + 4D700D280EC2B97C00C9F09E /* appicon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF20EC2B97C00C9F09E /* appicon.icns */; }; + 4D700D290EC2B97C00C9F09E /* clearconsole.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF30EC2B97C00C9F09E /* clearconsole.tiff */; }; + 4D700D2A0EC2B97C00C9F09E /* CodeAssistantProtocol.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF40EC2B97C00C9F09E /* CodeAssistantProtocol.tiff */; }; + 4D700D2B0EC2B97C00C9F09E /* columnadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF50EC2B97C00C9F09E /* columnadd.tiff */; }; + 4D700D2C0EC2B97C00C9F09E /* columncopy.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF60EC2B97C00C9F09E /* columncopy.tiff */; }; + 4D700D2D0EC2B97C00C9F09E /* columndelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF70EC2B97C00C9F09E /* columndelete.tiff */; }; + 4D700D2E0EC2B97C00C9F09E /* columnrefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF80EC2B97C00C9F09E /* columnrefresh.tiff */; }; + 4D700D2F0EC2B97C00C9F09E /* connectionadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CF90EC2B97C00C9F09E /* connectionadd.tiff */; }; + 4D700D300EC2B97C00C9F09E /* connectioncopy.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFA0EC2B97C00C9F09E /* connectioncopy.tiff */; }; + 4D700D310EC2B97C00C9F09E /* connectiondelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFB0EC2B97C00C9F09E /* connectiondelete.tiff */; }; + 4D700D320EC2B97C00C9F09E /* connectionrefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFC0EC2B97C00C9F09E /* connectionrefresh.tiff */; }; + 4D700D330EC2B97C00C9F09E /* createtablesyntax.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFD0EC2B97C00C9F09E /* createtablesyntax.tiff */; }; + 4D700D340EC2B97C00C9F09E /* databases.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFE0EC2B97C00C9F09E /* databases.tiff */; }; + 4D700D350EC2B97C00C9F09E /* dbadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700CFF0EC2B97C00C9F09E /* dbadd.tiff */; }; + 4D700D360EC2B97C00C9F09E /* dbdelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D000EC2B97C00C9F09E /* dbdelete.tiff */; }; + 4D700D370EC2B97C00C9F09E /* dbrefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D010EC2B97C00C9F09E /* dbrefresh.tiff */; }; + 4D700D380EC2B97C00C9F09E /* flushprivileges.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D020EC2B97C00C9F09E /* flushprivileges.tiff */; }; + 4D700D390EC2B97C00C9F09E /* grabber-horizontal.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D030EC2B97C00C9F09E /* grabber-horizontal.png */; }; + 4D700D3A0EC2B97C00C9F09E /* grabber-vertical.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D040EC2B97C00C9F09E /* grabber-vertical.png */; }; + 4D700D3B0EC2B97C00C9F09E /* hideconsole.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D050EC2B97C00C9F09E /* hideconsole.tiff */; }; + 4D700D3C0EC2B97C00C9F09E /* indexadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D060EC2B97C00C9F09E /* indexadd.tiff */; }; + 4D700D3D0EC2B97C00C9F09E /* indexdelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D070EC2B97C00C9F09E /* indexdelete.tiff */; }; + 4D700D3E0EC2B97C00C9F09E /* logo-48.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D080EC2B97C00C9F09E /* logo-48.png */; }; + 4D700D3F0EC2B97C00C9F09E /* optimizetable.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D090EC2B97C00C9F09E /* optimizetable.tiff */; }; + 4D700D400EC2B97C00C9F09E /* query.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0A0EC2B97C00C9F09E /* query.tiff */; }; + 4D700D410EC2B97C00C9F09E /* queryadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0B0EC2B97C00C9F09E /* queryadd.tiff */; }; + 4D700D420EC2B97C00C9F09E /* querycopy.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0C0EC2B97C00C9F09E /* querycopy.tiff */; }; + 4D700D430EC2B97C00C9F09E /* querydelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0D0EC2B97C00C9F09E /* querydelete.tiff */; }; + 4D700D440EC2B97C00C9F09E /* queryrefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0E0EC2B97C00C9F09E /* queryrefresh.tiff */; }; + 4D700D450EC2B97C00C9F09E /* reload.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D0F0EC2B97C00C9F09E /* reload.tiff */; }; + 4D700D460EC2B97C00C9F09E /* rowadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D100EC2B97C00C9F09E /* rowadd.tiff */; }; + 4D700D470EC2B97C00C9F09E /* rowcopy.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D110EC2B97C00C9F09E /* rowcopy.tiff */; }; + 4D700D480EC2B97C00C9F09E /* rowdelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D120EC2B97C00C9F09E /* rowdelete.tiff */; }; + 4D700D490EC2B97C00C9F09E /* rowrefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D130EC2B97C00C9F09E /* rowrefresh.tiff */; }; + 4D700D4A0EC2B97C00C9F09E /* selectall.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D140EC2B97C00C9F09E /* selectall.tiff */; }; + 4D700D4B0EC2B97C00C9F09E /* selectnone.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D150EC2B97C00C9F09E /* selectnone.tiff */; }; + 4D700D4C0EC2B97C00C9F09E /* sheettotable.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D160EC2B97C00C9F09E /* sheettotable.tiff */; }; + 4D700D4D0EC2B97C00C9F09E /* showconsole.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D170EC2B97C00C9F09E /* showconsole.tiff */; }; + 4D700D4E0EC2B97C00C9F09E /* showvariables.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D180EC2B97C00C9F09E /* showvariables.tiff */; }; + 4D700D510EC2B97C00C9F09E /* spyglass.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D1B0EC2B97C00C9F09E /* spyglass.tiff */; }; + 4D700D520EC2B97C00C9F09E /* table-small.tif in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D1C0EC2B97C00C9F09E /* table-small.tif */; }; + 4D700D530EC2B97C00C9F09E /* tableadd.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D1D0EC2B97C00C9F09E /* tableadd.tiff */; }; + 4D700D540EC2B97C00C9F09E /* tablecopy.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D1E0EC2B97C00C9F09E /* tablecopy.tiff */; }; + 4D700D550EC2B97C00C9F09E /* tabledelete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D1F0EC2B97C00C9F09E /* tabledelete.tiff */; }; + 4D700D560EC2B97C00C9F09E /* tablerefresh.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D200EC2B97C00C9F09E /* tablerefresh.tiff */; }; + 4D700D570EC2B97C00C9F09E /* tables.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D210EC2B97C00C9F09E /* tables.tiff */; }; + 4D700D580EC2B97C00C9F09E /* tabletosheet.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D220EC2B97C00C9F09E /* tabletosheet.tiff */; }; + 4D700D590EC2B97C00C9F09E /* textencode.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D230EC2B97C00C9F09E /* textencode.tiff */; }; + 4D700D5A0EC2B97C00C9F09E /* toolbar-switch-to-browse.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D240EC2B97C00C9F09E /* toolbar-switch-to-browse.png */; }; + 4D700D5B0EC2B97C00C9F09E /* toolbar-switch-to-sql.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D250EC2B97C00C9F09E /* toolbar-switch-to-sql.png */; }; + 4D700D5C0EC2B97C00C9F09E /* toolbar-switch-to-structure.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D260EC2B97C00C9F09E /* toolbar-switch-to-structure.png */; }; + 4D700D5D0EC2B97C00C9F09E /* toolbar-switch-to-table-info.png in Resources */ = {isa = PBXBuildFile; fileRef = 4D700D270EC2B97C00C9F09E /* toolbar-switch-to-table-info.png */; }; + 4DECC3350EC2A170008D359E /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DECC3320EC2A170008D359E /* Sparkle.framework */; }; + 4DECC3360EC2A170008D359E /* MCPKit_bundled.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DECC3330EC2A170008D359E /* MCPKit_bundled.framework */; }; + 4DECC3370EC2A170008D359E /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DECC3340EC2A170008D359E /* Growl.framework */; }; + 4DECC3C60EC2A4AD008D359E /* TableDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3BB0EC2A4AD008D359E /* TableDocument.m */; }; + 4DECC3C70EC2A4AD008D359E /* MainController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3BD0EC2A4AD008D359E /* MainController.m */; }; + 4DECC3C80EC2A4AD008D359E /* TableSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3BF0EC2A4AD008D359E /* TableSource.m */; }; + 4DECC3C90EC2A4AD008D359E /* TableContent.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3C10EC2A4AD008D359E /* TableContent.m */; }; + 4DECC3CA0EC2A4AD008D359E /* CustomQuery.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3C30EC2A4AD008D359E /* CustomQuery.m */; }; + 4DECC3CB0EC2A4AD008D359E /* TableDump.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3C50EC2A4AD008D359E /* TableDump.m */; }; + 4DECC3D20EC2A4B9008D359E /* TableStatus.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3CD0EC2A4B9008D359E /* TableStatus.m */; }; + 4DECC3D30EC2A4B9008D359E /* TablesList.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3CF0EC2A4B9008D359E /* TablesList.m */; }; + 4DECC3D40EC2A4B9008D359E /* SPTableInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3D10EC2A4B9008D359E /* SPTableInfo.m */; }; + 4DECC3DF0EC2A4D3008D359E /* ImageAndTextCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3DC0EC2A4D3008D359E /* ImageAndTextCell.m */; }; + 4DECC3E00EC2A4D3008D359E /* TableDocumentSplitView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3DE0EC2A4D3008D359E /* TableDocumentSplitView.m */; }; + 4DECC3E50EC2A528008D359E /* CMMCPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3E20EC2A528008D359E /* CMMCPConnection.m */; }; + 4DECC3E60EC2A528008D359E /* CMMCPResult.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3E40EC2A528008D359E /* CMMCPResult.m */; }; + 4DECC3E90EC2A534008D359E /* KeyChain.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3E80EC2A534008D359E /* KeyChain.m */; }; + 4DECC3F00EC2A54E008D359E /* CMCopyTable.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3EB0EC2A54E008D359E /* CMCopyTable.m */; }; + 4DECC3F10EC2A54E008D359E /* CMImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3ED0EC2A54E008D359E /* CMImageView.m */; }; + 4DECC3FA0EC2A573008D359E /* SSHTunnel.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3F40EC2A573008D359E /* SSHTunnel.m */; }; + 4DECC3FB0EC2A573008D359E /* askForPass.sh in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC3F50EC2A573008D359E /* askForPass.sh */; }; + 4DECC3FC0EC2A573008D359E /* sequel-pro.scriptTerminology in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC3F60EC2A573008D359E /* sequel-pro.scriptTerminology */; }; + 4DECC3FD0EC2A573008D359E /* sequel-pro.scriptSuite in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC3F70EC2A573008D359E /* sequel-pro.scriptSuite */; }; + 4DECC4870EC2B109008D359E /* english_help in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC46D0EC2B109008D359E /* english_help */; }; + 4DECC48C0EC2B180008D359E /* DBView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC48A0EC2B180008D359E /* DBView.xib */; }; + 4DECC48F0EC2B436008D359E /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4DECC3320EC2A170008D359E /* Sparkle.framework */; }; + 4DECC4900EC2B436008D359E /* MCPKit_bundled.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4DECC3330EC2A170008D359E /* MCPKit_bundled.framework */; }; + 4DECC4910EC2B436008D359E /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4DECC3340EC2A170008D359E /* Growl.framework */; }; + 4DECC5000EC2B76E008D359E /* Growl Registration Ticket.growlRegDict in Resources */ = {isa = PBXBuildFile; fileRef = 4DECC4FF0EC2B76E008D359E /* Growl Registration Ticket.growlRegDict */; }; + 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */; }; + 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; }; + 8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; + 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; }; + B5BE825C0ED18C0B00831294 /* CMTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DECC3EF0EC2A54E008D359E /* CMTextView.m */; }; + B5EAC0FD0EC87FF900CC579C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B5EAC0FC0EC87FF900CC579C /* Security.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 4DECC4940EC2B447008D359E /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 4DECC48F0EC2B436008D359E /* Sparkle.framework in CopyFiles */, + 4DECC4900EC2B436008D359E /* MCPKit_bundled.framework in CopyFiles */, + 4DECC4910EC2B436008D359E /* Growl.framework in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 089C1660FE840EACC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; + 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; + 173BFC200EDF7D01003B06C8 /* SPGrowlController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPGrowlController.h; sourceTree = "<group>"; }; + 173BFC210EDF7D01003B06C8 /* SPGrowlController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPGrowlController.m; sourceTree = "<group>"; }; + 1DDD582B0DA1D0D100B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; }; + 2A37F4B0FDCFA73011CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; + 2A37F4BAFDCFA73011CA2CEA /* English */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = English; path = English.lproj/Credits.rtf; sourceTree = "<group>"; }; + 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; + 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; + 32DBCF750370BD2300C91783 /* sequel-pro_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "sequel-pro_Prefix.pch"; sourceTree = "<group>"; }; + 4D700CF20EC2B97C00C9F09E /* appicon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = appicon.icns; sourceTree = "<group>"; }; + 4D700CF30EC2B97C00C9F09E /* clearconsole.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = clearconsole.tiff; sourceTree = "<group>"; }; + 4D700CF40EC2B97C00C9F09E /* CodeAssistantProtocol.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = CodeAssistantProtocol.tiff; sourceTree = "<group>"; }; + 4D700CF50EC2B97C00C9F09E /* columnadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = columnadd.tiff; sourceTree = "<group>"; }; + 4D700CF60EC2B97C00C9F09E /* columncopy.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = columncopy.tiff; sourceTree = "<group>"; }; + 4D700CF70EC2B97C00C9F09E /* columndelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = columndelete.tiff; sourceTree = "<group>"; }; + 4D700CF80EC2B97C00C9F09E /* columnrefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = columnrefresh.tiff; sourceTree = "<group>"; }; + 4D700CF90EC2B97C00C9F09E /* connectionadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = connectionadd.tiff; sourceTree = "<group>"; }; + 4D700CFA0EC2B97C00C9F09E /* connectioncopy.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = connectioncopy.tiff; sourceTree = "<group>"; }; + 4D700CFB0EC2B97C00C9F09E /* connectiondelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = connectiondelete.tiff; sourceTree = "<group>"; }; + 4D700CFC0EC2B97C00C9F09E /* connectionrefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = connectionrefresh.tiff; sourceTree = "<group>"; }; + 4D700CFD0EC2B97C00C9F09E /* createtablesyntax.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = createtablesyntax.tiff; sourceTree = "<group>"; }; + 4D700CFE0EC2B97C00C9F09E /* databases.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = databases.tiff; sourceTree = "<group>"; }; + 4D700CFF0EC2B97C00C9F09E /* dbadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = dbadd.tiff; sourceTree = "<group>"; }; + 4D700D000EC2B97C00C9F09E /* dbdelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = dbdelete.tiff; sourceTree = "<group>"; }; + 4D700D010EC2B97C00C9F09E /* dbrefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = dbrefresh.tiff; sourceTree = "<group>"; }; + 4D700D020EC2B97C00C9F09E /* flushprivileges.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = flushprivileges.tiff; sourceTree = "<group>"; }; + 4D700D030EC2B97C00C9F09E /* grabber-horizontal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "grabber-horizontal.png"; sourceTree = "<group>"; }; + 4D700D040EC2B97C00C9F09E /* grabber-vertical.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "grabber-vertical.png"; sourceTree = "<group>"; }; + 4D700D050EC2B97C00C9F09E /* hideconsole.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = hideconsole.tiff; sourceTree = "<group>"; }; + 4D700D060EC2B97C00C9F09E /* indexadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = indexadd.tiff; sourceTree = "<group>"; }; + 4D700D070EC2B97C00C9F09E /* indexdelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = indexdelete.tiff; sourceTree = "<group>"; }; + 4D700D080EC2B97C00C9F09E /* logo-48.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "logo-48.png"; sourceTree = "<group>"; }; + 4D700D090EC2B97C00C9F09E /* optimizetable.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = optimizetable.tiff; sourceTree = "<group>"; }; + 4D700D0A0EC2B97C00C9F09E /* query.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = query.tiff; sourceTree = "<group>"; }; + 4D700D0B0EC2B97C00C9F09E /* queryadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = queryadd.tiff; sourceTree = "<group>"; }; + 4D700D0C0EC2B97C00C9F09E /* querycopy.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = querycopy.tiff; sourceTree = "<group>"; }; + 4D700D0D0EC2B97C00C9F09E /* querydelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = querydelete.tiff; sourceTree = "<group>"; }; + 4D700D0E0EC2B97C00C9F09E /* queryrefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = queryrefresh.tiff; sourceTree = "<group>"; }; + 4D700D0F0EC2B97C00C9F09E /* reload.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = reload.tiff; sourceTree = "<group>"; }; + 4D700D100EC2B97C00C9F09E /* rowadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = rowadd.tiff; sourceTree = "<group>"; }; + 4D700D110EC2B97C00C9F09E /* rowcopy.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = rowcopy.tiff; sourceTree = "<group>"; }; + 4D700D120EC2B97C00C9F09E /* rowdelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = rowdelete.tiff; sourceTree = "<group>"; }; + 4D700D130EC2B97C00C9F09E /* rowrefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = rowrefresh.tiff; sourceTree = "<group>"; }; + 4D700D140EC2B97C00C9F09E /* selectall.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = selectall.tiff; sourceTree = "<group>"; }; + 4D700D150EC2B97C00C9F09E /* selectnone.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = selectnone.tiff; sourceTree = "<group>"; }; + 4D700D160EC2B97C00C9F09E /* sheettotable.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = sheettotable.tiff; sourceTree = "<group>"; }; + 4D700D170EC2B97C00C9F09E /* showconsole.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = showconsole.tiff; sourceTree = "<group>"; }; + 4D700D180EC2B97C00C9F09E /* showvariables.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = showvariables.tiff; sourceTree = "<group>"; }; + 4D700D1B0EC2B97C00C9F09E /* spyglass.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = spyglass.tiff; sourceTree = "<group>"; }; + 4D700D1C0EC2B97C00C9F09E /* table-small.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = "table-small.tif"; sourceTree = "<group>"; }; + 4D700D1D0EC2B97C00C9F09E /* tableadd.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tableadd.tiff; sourceTree = "<group>"; }; + 4D700D1E0EC2B97C00C9F09E /* tablecopy.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tablecopy.tiff; sourceTree = "<group>"; }; + 4D700D1F0EC2B97C00C9F09E /* tabledelete.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tabledelete.tiff; sourceTree = "<group>"; }; + 4D700D200EC2B97C00C9F09E /* tablerefresh.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tablerefresh.tiff; sourceTree = "<group>"; }; + 4D700D210EC2B97C00C9F09E /* tables.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tables.tiff; sourceTree = "<group>"; }; + 4D700D220EC2B97C00C9F09E /* tabletosheet.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = tabletosheet.tiff; sourceTree = "<group>"; }; + 4D700D230EC2B97C00C9F09E /* textencode.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = textencode.tiff; sourceTree = "<group>"; }; + 4D700D240EC2B97C00C9F09E /* toolbar-switch-to-browse.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toolbar-switch-to-browse.png"; sourceTree = "<group>"; }; + 4D700D250EC2B97C00C9F09E /* toolbar-switch-to-sql.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toolbar-switch-to-sql.png"; sourceTree = "<group>"; }; + 4D700D260EC2B97C00C9F09E /* toolbar-switch-to-structure.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toolbar-switch-to-structure.png"; sourceTree = "<group>"; }; + 4D700D270EC2B97C00C9F09E /* toolbar-switch-to-table-info.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "toolbar-switch-to-table-info.png"; sourceTree = "<group>"; }; + 4DECC3320EC2A170008D359E /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; }; + 4DECC3330EC2A170008D359E /* MCPKit_bundled.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MCPKit_bundled.framework; sourceTree = "<group>"; }; + 4DECC3340EC2A170008D359E /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Growl.framework; sourceTree = "<group>"; }; + 4DECC3BA0EC2A4AD008D359E /* TableDocument.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableDocument.h; sourceTree = "<group>"; }; + 4DECC3BB0EC2A4AD008D359E /* TableDocument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableDocument.m; sourceTree = "<group>"; }; + 4DECC3BC0EC2A4AD008D359E /* MainController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainController.h; sourceTree = "<group>"; }; + 4DECC3BD0EC2A4AD008D359E /* MainController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainController.m; sourceTree = "<group>"; }; + 4DECC3BE0EC2A4AD008D359E /* TableSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableSource.h; sourceTree = "<group>"; }; + 4DECC3BF0EC2A4AD008D359E /* TableSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableSource.m; sourceTree = "<group>"; }; + 4DECC3C00EC2A4AD008D359E /* TableContent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableContent.h; sourceTree = "<group>"; }; + 4DECC3C10EC2A4AD008D359E /* TableContent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableContent.m; sourceTree = "<group>"; }; + 4DECC3C20EC2A4AD008D359E /* CustomQuery.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomQuery.h; sourceTree = "<group>"; }; + 4DECC3C30EC2A4AD008D359E /* CustomQuery.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomQuery.m; sourceTree = "<group>"; }; + 4DECC3C40EC2A4AD008D359E /* TableDump.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableDump.h; sourceTree = "<group>"; }; + 4DECC3C50EC2A4AD008D359E /* TableDump.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableDump.m; sourceTree = "<group>"; }; + 4DECC3CC0EC2A4B9008D359E /* TableStatus.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableStatus.h; sourceTree = "<group>"; }; + 4DECC3CD0EC2A4B9008D359E /* TableStatus.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableStatus.m; sourceTree = "<group>"; }; + 4DECC3CE0EC2A4B9008D359E /* TablesList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TablesList.h; sourceTree = "<group>"; }; + 4DECC3CF0EC2A4B9008D359E /* TablesList.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TablesList.m; sourceTree = "<group>"; }; + 4DECC3D00EC2A4B9008D359E /* SPTableInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPTableInfo.h; sourceTree = "<group>"; }; + 4DECC3D10EC2A4B9008D359E /* SPTableInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPTableInfo.m; sourceTree = "<group>"; }; + 4DECC3DB0EC2A4D3008D359E /* ImageAndTextCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageAndTextCell.h; sourceTree = "<group>"; }; + 4DECC3DC0EC2A4D3008D359E /* ImageAndTextCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageAndTextCell.m; sourceTree = "<group>"; }; + 4DECC3DD0EC2A4D3008D359E /* TableDocumentSplitView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableDocumentSplitView.h; sourceTree = "<group>"; }; + 4DECC3DE0EC2A4D3008D359E /* TableDocumentSplitView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TableDocumentSplitView.m; sourceTree = "<group>"; }; + 4DECC3E10EC2A528008D359E /* CMMCPConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CMMCPConnection.h; sourceTree = "<group>"; }; + 4DECC3E20EC2A528008D359E /* CMMCPConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CMMCPConnection.m; sourceTree = "<group>"; }; + 4DECC3E30EC2A528008D359E /* CMMCPResult.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CMMCPResult.h; sourceTree = "<group>"; }; + 4DECC3E40EC2A528008D359E /* CMMCPResult.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CMMCPResult.m; sourceTree = "<group>"; }; + 4DECC3E70EC2A534008D359E /* KeyChain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeyChain.h; sourceTree = "<group>"; }; + 4DECC3E80EC2A534008D359E /* KeyChain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KeyChain.m; sourceTree = "<group>"; }; + 4DECC3EA0EC2A54E008D359E /* CMCopyTable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CMCopyTable.h; sourceTree = "<group>"; }; + 4DECC3EB0EC2A54E008D359E /* CMCopyTable.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CMCopyTable.m; sourceTree = "<group>"; }; + 4DECC3EC0EC2A54E008D359E /* CMImageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CMImageView.h; sourceTree = "<group>"; }; + 4DECC3ED0EC2A54E008D359E /* CMImageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CMImageView.m; sourceTree = "<group>"; }; + 4DECC3EE0EC2A54E008D359E /* CMTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CMTextView.h; sourceTree = "<group>"; }; + 4DECC3EF0EC2A54E008D359E /* CMTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CMTextView.m; sourceTree = "<group>"; }; + 4DECC3F30EC2A573008D359E /* SSHTunnel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSHTunnel.h; sourceTree = "<group>"; }; + 4DECC3F40EC2A573008D359E /* SSHTunnel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSHTunnel.m; sourceTree = "<group>"; }; + 4DECC3F50EC2A573008D359E /* askForPass.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = askForPass.sh; sourceTree = "<group>"; }; + 4DECC3F60EC2A573008D359E /* sequel-pro.scriptTerminology */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.scriptTerminology; path = "sequel-pro.scriptTerminology"; sourceTree = "<group>"; }; + 4DECC3F70EC2A573008D359E /* sequel-pro.scriptSuite */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.scriptSuite; path = "sequel-pro.scriptSuite"; sourceTree = "<group>"; }; + 4DECC3F80EC2A573008D359E /* SSHTunnel_old.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SSHTunnel_old.h; sourceTree = "<group>"; }; + 4DECC3F90EC2A573008D359E /* SSHTunnel_old.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SSHTunnel_old.m; sourceTree = "<group>"; }; + 4DECC46E0EC2B109008D359E /* English */ = {isa = PBXFileReference; lastKnownFileType = folder; name = English; path = English.lproj/english_help; sourceTree = "<group>"; }; + 4DECC48B0EC2B180008D359E /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/DBView.xib; sourceTree = "<group>"; }; + 4DECC4FF0EC2B76E008D359E /* Growl Registration Ticket.growlRegDict */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = "Growl Registration Ticket.growlRegDict"; sourceTree = "<group>"; }; + 8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + 8D15AC370486D014006FF6A4 /* Sequel Pro.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Sequel Pro.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + B5EAC0FC0EC87FF900CC579C /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 8D15AC330486D014006FF6A4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */, + 4DECC3350EC2A170008D359E /* Sparkle.framework in Frameworks */, + 4DECC3360EC2A170008D359E /* MCPKit_bundled.framework in Frameworks */, + 4DECC3370EC2A170008D359E /* Growl.framework in Frameworks */, + B5EAC0FD0EC87FF900CC579C /* Security.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */ = { + isa = PBXGroup; + children = ( + 4DECC3320EC2A170008D359E /* Sparkle.framework */, + 4DECC3330EC2A170008D359E /* MCPKit_bundled.framework */, + 4DECC3340EC2A170008D359E /* Growl.framework */, + 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */, + ); + name = "Linked Frameworks"; + sourceTree = "<group>"; + }; + 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + B5EAC0FC0EC87FF900CC579C /* Security.framework */, + 2A37F4C4FDCFA73011CA2CEA /* AppKit.framework */, + 2A37F4C5FDCFA73011CA2CEA /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = "<group>"; + }; + 19C28FB0FE9D524F11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 8D15AC370486D014006FF6A4 /* Sequel Pro.app */, + ); + name = Products; + sourceTree = "<group>"; + }; + 2A37F4AAFDCFA73011CA2CEA /* sequel-pro */ = { + isa = PBXGroup; + children = ( + 4DECC3B20EC2A42B008D359E /* Controllers */, + 4DECC3B30EC2A432008D359E /* Model */, + 4DECC3B40EC2A43E008D359E /* Views */, + 4DECC3B50EC2A442008D359E /* Other */, + 2A37F4B8FDCFA73011CA2CEA /* Resources */, + 2A37F4C3FDCFA73011CA2CEA /* Frameworks */, + 19C28FB0FE9D524F11CA2CBB /* Products */, + ); + name = "sequel-pro"; + sourceTree = "<group>"; + }; + 2A37F4B8FDCFA73011CA2CEA /* Resources */ = { + isa = PBXGroup; + children = ( + 4D700CF10EC2B97C00C9F09E /* images */, + 4DECC4FF0EC2B76E008D359E /* Growl Registration Ticket.growlRegDict */, + 4DECC48A0EC2B180008D359E /* DBView.xib */, + 4DECC46D0EC2B109008D359E /* english_help */, + 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */, + 8D15AC360486D014006FF6A4 /* Info.plist */, + 089C165FFE840EACC02AAC07 /* InfoPlist.strings */, + 1DDD582A0DA1D0D100B32029 /* MainMenu.xib */, + ); + name = Resources; + sourceTree = "<group>"; + }; + 2A37F4C3FDCFA73011CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 1058C7A6FEA54F5311CA2CBB /* Linked Frameworks */, + 1058C7A8FEA54F5311CA2CBB /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = "<group>"; + }; + 4D700CF10EC2B97C00C9F09E /* images */ = { + isa = PBXGroup; + children = ( + 4D700CF20EC2B97C00C9F09E /* appicon.icns */, + 4D700CF30EC2B97C00C9F09E /* clearconsole.tiff */, + 4D700CF40EC2B97C00C9F09E /* CodeAssistantProtocol.tiff */, + 4D700CF50EC2B97C00C9F09E /* columnadd.tiff */, + 4D700CF60EC2B97C00C9F09E /* columncopy.tiff */, + 4D700CF70EC2B97C00C9F09E /* columndelete.tiff */, + 4D700CF80EC2B97C00C9F09E /* columnrefresh.tiff */, + 4D700CF90EC2B97C00C9F09E /* connectionadd.tiff */, + 4D700CFA0EC2B97C00C9F09E /* connectioncopy.tiff */, + 4D700CFB0EC2B97C00C9F09E /* connectiondelete.tiff */, + 4D700CFC0EC2B97C00C9F09E /* connectionrefresh.tiff */, + 4D700CFD0EC2B97C00C9F09E /* createtablesyntax.tiff */, + 4D700CFE0EC2B97C00C9F09E /* databases.tiff */, + 4D700CFF0EC2B97C00C9F09E /* dbadd.tiff */, + 4D700D000EC2B97C00C9F09E /* dbdelete.tiff */, + 4D700D010EC2B97C00C9F09E /* dbrefresh.tiff */, + 4D700D020EC2B97C00C9F09E /* flushprivileges.tiff */, + 4D700D030EC2B97C00C9F09E /* grabber-horizontal.png */, + 4D700D040EC2B97C00C9F09E /* grabber-vertical.png */, + 4D700D050EC2B97C00C9F09E /* hideconsole.tiff */, + 4D700D060EC2B97C00C9F09E /* indexadd.tiff */, + 4D700D070EC2B97C00C9F09E /* indexdelete.tiff */, + 4D700D080EC2B97C00C9F09E /* logo-48.png */, + 4D700D090EC2B97C00C9F09E /* optimizetable.tiff */, + 4D700D0A0EC2B97C00C9F09E /* query.tiff */, + 4D700D0B0EC2B97C00C9F09E /* queryadd.tiff */, + 4D700D0C0EC2B97C00C9F09E /* querycopy.tiff */, + 4D700D0D0EC2B97C00C9F09E /* querydelete.tiff */, + 4D700D0E0EC2B97C00C9F09E /* queryrefresh.tiff */, + 4D700D0F0EC2B97C00C9F09E /* reload.tiff */, + 4D700D100EC2B97C00C9F09E /* rowadd.tiff */, + 4D700D110EC2B97C00C9F09E /* rowcopy.tiff */, + 4D700D120EC2B97C00C9F09E /* rowdelete.tiff */, + 4D700D130EC2B97C00C9F09E /* rowrefresh.tiff */, + 4D700D140EC2B97C00C9F09E /* selectall.tiff */, + 4D700D150EC2B97C00C9F09E /* selectnone.tiff */, + 4D700D160EC2B97C00C9F09E /* sheettotable.tiff */, + 4D700D170EC2B97C00C9F09E /* showconsole.tiff */, + 4D700D180EC2B97C00C9F09E /* showvariables.tiff */, + 4D700D1B0EC2B97C00C9F09E /* spyglass.tiff */, + 4D700D1C0EC2B97C00C9F09E /* table-small.tif */, + 4D700D1D0EC2B97C00C9F09E /* tableadd.tiff */, + 4D700D1E0EC2B97C00C9F09E /* tablecopy.tiff */, + 4D700D1F0EC2B97C00C9F09E /* tabledelete.tiff */, + 4D700D200EC2B97C00C9F09E /* tablerefresh.tiff */, + 4D700D210EC2B97C00C9F09E /* tables.tiff */, + 4D700D220EC2B97C00C9F09E /* tabletosheet.tiff */, + 4D700D230EC2B97C00C9F09E /* textencode.tiff */, + 4D700D240EC2B97C00C9F09E /* toolbar-switch-to-browse.png */, + 4D700D250EC2B97C00C9F09E /* toolbar-switch-to-sql.png */, + 4D700D260EC2B97C00C9F09E /* toolbar-switch-to-structure.png */, + 4D700D270EC2B97C00C9F09E /* toolbar-switch-to-table-info.png */, + ); + path = images; + sourceTree = "<group>"; + }; + 4DECC3B20EC2A42B008D359E /* Controllers */ = { + isa = PBXGroup; + children = ( + 4DECC3BA0EC2A4AD008D359E /* TableDocument.h */, + 4DECC3BB0EC2A4AD008D359E /* TableDocument.m */, + 4DECC3BC0EC2A4AD008D359E /* MainController.h */, + 4DECC3BD0EC2A4AD008D359E /* MainController.m */, + 4DECC3BE0EC2A4AD008D359E /* TableSource.h */, + 4DECC3BF0EC2A4AD008D359E /* TableSource.m */, + 4DECC3C00EC2A4AD008D359E /* TableContent.h */, + 4DECC3C10EC2A4AD008D359E /* TableContent.m */, + 4DECC3C20EC2A4AD008D359E /* CustomQuery.h */, + 4DECC3C30EC2A4AD008D359E /* CustomQuery.m */, + 4DECC3C40EC2A4AD008D359E /* TableDump.h */, + 4DECC3C50EC2A4AD008D359E /* TableDump.m */, + 173BFC200EDF7D01003B06C8 /* SPGrowlController.h */, + 173BFC210EDF7D01003B06C8 /* SPGrowlController.m */, + ); + name = Controllers; + sourceTree = "<group>"; + }; + 4DECC3B30EC2A432008D359E /* Model */ = { + isa = PBXGroup; + children = ( + 4DECC3CC0EC2A4B9008D359E /* TableStatus.h */, + 4DECC3CD0EC2A4B9008D359E /* TableStatus.m */, + 4DECC3CE0EC2A4B9008D359E /* TablesList.h */, + 4DECC3CF0EC2A4B9008D359E /* TablesList.m */, + 4DECC3D00EC2A4B9008D359E /* SPTableInfo.h */, + 4DECC3D10EC2A4B9008D359E /* SPTableInfo.m */, + ); + name = Model; + sourceTree = "<group>"; + }; + 4DECC3B40EC2A43E008D359E /* Views */ = { + isa = PBXGroup; + children = ( + 4DECC3DB0EC2A4D3008D359E /* ImageAndTextCell.h */, + 4DECC3DC0EC2A4D3008D359E /* ImageAndTextCell.m */, + 4DECC3DD0EC2A4D3008D359E /* TableDocumentSplitView.h */, + 4DECC3DE0EC2A4D3008D359E /* TableDocumentSplitView.m */, + ); + name = Views; + sourceTree = "<group>"; + }; + 4DECC3B50EC2A442008D359E /* Other */ = { + isa = PBXGroup; + children = ( + 2A37F4B0FDCFA73011CA2CEA /* main.m */, + 32DBCF750370BD2300C91783 /* sequel-pro_Prefix.pch */, + 4DECC3B60EC2A44D008D359E /* KeyChain */, + 4DECC3B70EC2A453008D359E /* MCPKit */, + 4DECC3B80EC2A458008D359E /* GUI */, + 4DECC3B90EC2A45C008D359E /* SSHTunnel */, + ); + name = Other; + sourceTree = "<group>"; + }; + 4DECC3B60EC2A44D008D359E /* KeyChain */ = { + isa = PBXGroup; + children = ( + 4DECC3E70EC2A534008D359E /* KeyChain.h */, + 4DECC3E80EC2A534008D359E /* KeyChain.m */, + ); + name = KeyChain; + sourceTree = "<group>"; + }; + 4DECC3B70EC2A453008D359E /* MCPKit */ = { + isa = PBXGroup; + children = ( + 4DECC3E10EC2A528008D359E /* CMMCPConnection.h */, + 4DECC3E20EC2A528008D359E /* CMMCPConnection.m */, + 4DECC3E30EC2A528008D359E /* CMMCPResult.h */, + 4DECC3E40EC2A528008D359E /* CMMCPResult.m */, + ); + name = MCPKit; + sourceTree = "<group>"; + }; + 4DECC3B80EC2A458008D359E /* GUI */ = { + isa = PBXGroup; + children = ( + 4DECC3EA0EC2A54E008D359E /* CMCopyTable.h */, + 4DECC3EB0EC2A54E008D359E /* CMCopyTable.m */, + 4DECC3EC0EC2A54E008D359E /* CMImageView.h */, + 4DECC3ED0EC2A54E008D359E /* CMImageView.m */, + 4DECC3EE0EC2A54E008D359E /* CMTextView.h */, + 4DECC3EF0EC2A54E008D359E /* CMTextView.m */, + ); + name = GUI; + sourceTree = "<group>"; + }; + 4DECC3B90EC2A45C008D359E /* SSHTunnel */ = { + isa = PBXGroup; + children = ( + 4DECC3F30EC2A573008D359E /* SSHTunnel.h */, + 4DECC3F40EC2A573008D359E /* SSHTunnel.m */, + 4DECC3F50EC2A573008D359E /* askForPass.sh */, + 4DECC3F60EC2A573008D359E /* sequel-pro.scriptTerminology */, + 4DECC3F70EC2A573008D359E /* sequel-pro.scriptSuite */, + 4DECC3F80EC2A573008D359E /* SSHTunnel_old.h */, + 4DECC3F90EC2A573008D359E /* SSHTunnel_old.m */, + ); + name = SSHTunnel; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 8D15AC270486D014006FF6A4 /* Sequel Pro */ = { + isa = PBXNativeTarget; + buildConfigurationList = C05733C708A9546B00998B17 /* Build configuration list for PBXNativeTarget "Sequel Pro" */; + buildPhases = ( + 8D15AC2B0486D014006FF6A4 /* Resources */, + 8D15AC300486D014006FF6A4 /* Sources */, + 8D15AC330486D014006FF6A4 /* Frameworks */, + 4DECC4940EC2B447008D359E /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Sequel Pro"; + productInstallPath = "$(HOME)/Applications"; + productName = "sequel-pro"; + productReference = 8D15AC370486D014006FF6A4 /* Sequel Pro.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2A37F4A9FDCFA73011CA2CEA /* Project object */ = { + isa = PBXProject; + buildConfigurationList = C05733CB08A9546B00998B17 /* Build configuration list for PBXProject "sequel-pro" */; + compatibilityVersion = "Xcode 3.1"; + hasScannedForEncodings = 1; + mainGroup = 2A37F4AAFDCFA73011CA2CEA /* sequel-pro */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8D15AC270486D014006FF6A4 /* Sequel Pro */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 8D15AC2B0486D014006FF6A4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D15AC2C0486D014006FF6A4 /* Credits.rtf in Resources */, + 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */, + 1DDD582D0DA1D0D100B32029 /* MainMenu.xib in Resources */, + 4DECC3FB0EC2A573008D359E /* askForPass.sh in Resources */, + 4DECC3FC0EC2A573008D359E /* sequel-pro.scriptTerminology in Resources */, + 4DECC3FD0EC2A573008D359E /* sequel-pro.scriptSuite in Resources */, + 4DECC4870EC2B109008D359E /* english_help in Resources */, + 4DECC48C0EC2B180008D359E /* DBView.xib in Resources */, + 4DECC5000EC2B76E008D359E /* Growl Registration Ticket.growlRegDict in Resources */, + 4D700D280EC2B97C00C9F09E /* appicon.icns in Resources */, + 4D700D290EC2B97C00C9F09E /* clearconsole.tiff in Resources */, + 4D700D2A0EC2B97C00C9F09E /* CodeAssistantProtocol.tiff in Resources */, + 4D700D2B0EC2B97C00C9F09E /* columnadd.tiff in Resources */, + 4D700D2C0EC2B97C00C9F09E /* columncopy.tiff in Resources */, + 4D700D2D0EC2B97C00C9F09E /* columndelete.tiff in Resources */, + 4D700D2E0EC2B97C00C9F09E /* columnrefresh.tiff in Resources */, + 4D700D2F0EC2B97C00C9F09E /* connectionadd.tiff in Resources */, + 4D700D300EC2B97C00C9F09E /* connectioncopy.tiff in Resources */, + 4D700D310EC2B97C00C9F09E /* connectiondelete.tiff in Resources */, + 4D700D320EC2B97C00C9F09E /* connectionrefresh.tiff in Resources */, + 4D700D330EC2B97C00C9F09E /* createtablesyntax.tiff in Resources */, + 4D700D340EC2B97C00C9F09E /* databases.tiff in Resources */, + 4D700D350EC2B97C00C9F09E /* dbadd.tiff in Resources */, + 4D700D360EC2B97C00C9F09E /* dbdelete.tiff in Resources */, + 4D700D370EC2B97C00C9F09E /* dbrefresh.tiff in Resources */, + 4D700D380EC2B97C00C9F09E /* flushprivileges.tiff in Resources */, + 4D700D390EC2B97C00C9F09E /* grabber-horizontal.png in Resources */, + 4D700D3A0EC2B97C00C9F09E /* grabber-vertical.png in Resources */, + 4D700D3B0EC2B97C00C9F09E /* hideconsole.tiff in Resources */, + 4D700D3C0EC2B97C00C9F09E /* indexadd.tiff in Resources */, + 4D700D3D0EC2B97C00C9F09E /* indexdelete.tiff in Resources */, + 4D700D3E0EC2B97C00C9F09E /* logo-48.png in Resources */, + 4D700D3F0EC2B97C00C9F09E /* optimizetable.tiff in Resources */, + 4D700D400EC2B97C00C9F09E /* query.tiff in Resources */, + 4D700D410EC2B97C00C9F09E /* queryadd.tiff in Resources */, + 4D700D420EC2B97C00C9F09E /* querycopy.tiff in Resources */, + 4D700D430EC2B97C00C9F09E /* querydelete.tiff in Resources */, + 4D700D440EC2B97C00C9F09E /* queryrefresh.tiff in Resources */, + 4D700D450EC2B97C00C9F09E /* reload.tiff in Resources */, + 4D700D460EC2B97C00C9F09E /* rowadd.tiff in Resources */, + 4D700D470EC2B97C00C9F09E /* rowcopy.tiff in Resources */, + 4D700D480EC2B97C00C9F09E /* rowdelete.tiff in Resources */, + 4D700D490EC2B97C00C9F09E /* rowrefresh.tiff in Resources */, + 4D700D4A0EC2B97C00C9F09E /* selectall.tiff in Resources */, + 4D700D4B0EC2B97C00C9F09E /* selectnone.tiff in Resources */, + 4D700D4C0EC2B97C00C9F09E /* sheettotable.tiff in Resources */, + 4D700D4D0EC2B97C00C9F09E /* showconsole.tiff in Resources */, + 4D700D4E0EC2B97C00C9F09E /* showvariables.tiff in Resources */, + 4D700D510EC2B97C00C9F09E /* spyglass.tiff in Resources */, + 4D700D520EC2B97C00C9F09E /* table-small.tif in Resources */, + 4D700D530EC2B97C00C9F09E /* tableadd.tiff in Resources */, + 4D700D540EC2B97C00C9F09E /* tablecopy.tiff in Resources */, + 4D700D550EC2B97C00C9F09E /* tabledelete.tiff in Resources */, + 4D700D560EC2B97C00C9F09E /* tablerefresh.tiff in Resources */, + 4D700D570EC2B97C00C9F09E /* tables.tiff in Resources */, + 4D700D580EC2B97C00C9F09E /* tabletosheet.tiff in Resources */, + 4D700D590EC2B97C00C9F09E /* textencode.tiff in Resources */, + 4D700D5A0EC2B97C00C9F09E /* toolbar-switch-to-browse.png in Resources */, + 4D700D5B0EC2B97C00C9F09E /* toolbar-switch-to-sql.png in Resources */, + 4D700D5C0EC2B97C00C9F09E /* toolbar-switch-to-structure.png in Resources */, + 4D700D5D0EC2B97C00C9F09E /* toolbar-switch-to-table-info.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 8D15AC300486D014006FF6A4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D15AC320486D014006FF6A4 /* main.m in Sources */, + 4DECC3C60EC2A4AD008D359E /* TableDocument.m in Sources */, + 4DECC3C70EC2A4AD008D359E /* MainController.m in Sources */, + 4DECC3C80EC2A4AD008D359E /* TableSource.m in Sources */, + 4DECC3C90EC2A4AD008D359E /* TableContent.m in Sources */, + 4DECC3CA0EC2A4AD008D359E /* CustomQuery.m in Sources */, + 4DECC3CB0EC2A4AD008D359E /* TableDump.m in Sources */, + 4DECC3D20EC2A4B9008D359E /* TableStatus.m in Sources */, + 4DECC3D30EC2A4B9008D359E /* TablesList.m in Sources */, + 4DECC3D40EC2A4B9008D359E /* SPTableInfo.m in Sources */, + 4DECC3DF0EC2A4D3008D359E /* ImageAndTextCell.m in Sources */, + 4DECC3E00EC2A4D3008D359E /* TableDocumentSplitView.m in Sources */, + 4DECC3E50EC2A528008D359E /* CMMCPConnection.m in Sources */, + 4DECC3E60EC2A528008D359E /* CMMCPResult.m in Sources */, + 4DECC3E90EC2A534008D359E /* KeyChain.m in Sources */, + 4DECC3F00EC2A54E008D359E /* CMCopyTable.m in Sources */, + 4DECC3F10EC2A54E008D359E /* CMImageView.m in Sources */, + B5BE825C0ED18C0B00831294 /* CMTextView.m in Sources */, + 4DECC3FA0EC2A573008D359E /* SSHTunnel.m in Sources */, + 173BFC220EDF7D01003B06C8 /* SPGrowlController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 089C165FFE840EACC02AAC07 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 089C1660FE840EACC02AAC07 /* English */, + ); + name = InfoPlist.strings; + sourceTree = "<group>"; + }; + 1DDD582A0DA1D0D100B32029 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 1DDD582B0DA1D0D100B32029 /* English */, + ); + name = MainMenu.xib; + sourceTree = "<group>"; + }; + 2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */ = { + isa = PBXVariantGroup; + children = ( + 2A37F4BAFDCFA73011CA2CEA /* English */, + ); + name = Credits.rtf; + sourceTree = "<group>"; + }; + 4DECC46D0EC2B109008D359E /* english_help */ = { + isa = PBXVariantGroup; + children = ( + 4DECC46E0EC2B109008D359E /* English */, + ); + name = english_help; + sourceTree = "<group>"; + }; + 4DECC48A0EC2B180008D359E /* DBView.xib */ = { + isa = PBXVariantGroup; + children = ( + 4DECC48B0EC2B180008D359E /* English */, + ); + name = DBView.xib; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + C05733C808A9546B00998B17 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)\"", + ); + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "sequel-pro_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "Sequel Pro"; + }; + name = Debug; + }; + C05733C908A9546B00998B17 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$(SRCROOT)\"", + ); + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "sequel-pro_Prefix.pch"; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "$(HOME)/Applications"; + PRODUCT_NAME = "Sequel Pro"; + }; + name = Release; + }; + C05733CC08A9546B00998B17 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IBC_FLATTEN_NIBS = NO; + ONLY_ACTIVE_ARCH = YES; + PREBINDING = NO; + SDKROOT = macosx10.4; + }; + name = Debug; + }; + C05733CD08A9546B00998B17 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + PREBINDING = NO; + SDKROOT = macosx10.4; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C05733C708A9546B00998B17 /* Build configuration list for PBXNativeTarget "Sequel Pro" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C05733C808A9546B00998B17 /* Debug */, + C05733C908A9546B00998B17 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C05733CB08A9546B00998B17 /* Build configuration list for PBXProject "sequel-pro" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C05733CC08A9546B00998B17 /* Debug */, + C05733CD08A9546B00998B17 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 2A37F4A9FDCFA73011CA2CEA /* Project object */; +} diff --git a/trunk/sequel-pro_Prefix.pch b/trunk/sequel-pro_Prefix.pch new file mode 100644 index 00000000..8df1011d --- /dev/null +++ b/trunk/sequel-pro_Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'sequel-pro' target in the 'sequel-pro' project +// + +#ifdef __OBJC__ + #import <Cocoa/Cocoa.h> +#endif |