aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-01 11:52:33 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-01 11:52:33 +0000
commitfe555b6d511a51f3bdfb5c0a2b00a3206993076b (patch)
tree1f524ac84f9985bd2604c8c82df4dde970dc8668
parent028e39c55017490c02cfd140b3aa8da78d1c7434 (diff)
downloadsequelpro-fe555b6d511a51f3bdfb5c0a2b00a3206993076b.tar.gz
sequelpro-fe555b6d511a51f3bdfb5c0a2b00a3206993076b.tar.bz2
sequelpro-fe555b6d511a51f3bdfb5c0a2b00a3206993076b.zip
Bring outline view branch up to date with trunk (r3594:r3602).
-rw-r--r--Interfaces/English.lproj/IndexesView.xib1836
-rw-r--r--Source/SPIndexesController.h1
-rw-r--r--Source/SPIndexesController.m160
3 files changed, 1786 insertions, 211 deletions
diff --git a/Interfaces/English.lproj/IndexesView.xib b/Interfaces/English.lproj/IndexesView.xib
index 2489b11c..2efa5785 100644
--- a/Interfaces/English.lproj/IndexesView.xib
+++ b/Interfaces/English.lproj/IndexesView.xib
@@ -2,9 +2,9 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
- <string key="IBDocument.SystemVersion">10H574</string>
- <string key="IBDocument.InterfaceBuilderVersion">788</string>
- <string key="IBDocument.AppKitVersion">1038.35</string>
+ <string key="IBDocument.SystemVersion">10K549</string>
+ <string key="IBDocument.InterfaceBuilderVersion">851</string>
+ <string key="IBDocument.AppKitVersion">1038.36</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -15,17 +15,18 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>788</string>
+ <string>851</string>
<string>1.2.5</string>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <integer value="14"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.brandonwalkin.BWToolkit</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
@@ -52,7 +53,7 @@
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
- <string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
+ <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSWindowContentMinSize">{267, 274}</string>
<object class="NSView" key="NSWindowView" id="762677578">
<reference key="NSNextResponder"/>
@@ -64,7 +65,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{83, 233}, {167, 22}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSPopUpButtonCell" key="NSCell" id="431781347">
<int key="NSCellFlags">-2076049856</int>
@@ -84,23 +84,23 @@
</object>
<int key="NSPeriodicDelay">400</int>
<int key="NSPeriodicInterval">75</int>
- <object class="NSMenuItem" key="NSMenuItem" id="71932948">
+ <object class="NSMenuItem" key="NSMenuItem" id="453090810">
<reference key="NSMenu" ref="71441725"/>
- <string key="NSTitle">FULLTEXT</string>
+ <string key="NSTitle">UNIQUE</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="600203078">
+ <object class="NSCustomResource" key="NSOnImage" id="206997792">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSMenuCheckmark</string>
</object>
- <object class="NSCustomResource" key="NSMixedImage" id="752378347">
+ <object class="NSCustomResource" key="NSMixedImage" id="551729884">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSMenuMixedState</string>
</object>
<string key="NSAction">_popUpItemAction:</string>
- <int key="NSTag">3</int>
+ <int key="NSTag">2</int>
<reference key="NSTarget" ref="431781347"/>
</object>
<bool key="NSMenuItemRespectAlignment">YES</bool>
@@ -116,8 +116,8 @@
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<reference key="NSTarget" ref="431781347"/>
</object>
@@ -127,28 +127,16 @@
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<int key="NSTag">1</int>
<reference key="NSTarget" ref="431781347"/>
</object>
- <object class="NSMenuItem" id="453090810">
- <reference key="NSMenu" ref="71441725"/>
- <string key="NSTitle">UNIQUE</string>
- <string key="NSKeyEquiv"/>
- <int key="NSKeyEquivModMask">1048576</int>
- <int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
- <string key="NSAction">_popUpItemAction:</string>
- <int key="NSTag">2</int>
- <reference key="NSTarget" ref="431781347"/>
- </object>
- <reference ref="71932948"/>
+ <reference ref="453090810"/>
</object>
</object>
- <int key="NSSelectedIndex">3</int>
+ <int key="NSSelectedIndex">2</int>
<int key="NSPreferredEdge">3</int>
<bool key="NSUsesItemFromMenu">YES</bool>
<bool key="NSAltersState">YES</bool>
@@ -160,7 +148,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{86, 211}, {161, 19}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="1000744513">
<int key="NSCellFlags">-1267597759</int>
@@ -195,7 +182,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{17, 213}, {64, 14}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="568966163">
<int key="NSCellFlags">67239424</int>
@@ -209,7 +195,7 @@
<string key="NSColorName">controlColor</string>
<object class="NSColor" key="NSColor" id="1009303974">
<int key="NSColorSpace">3</int>
- <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
+ <bytes key="NSWhite">MC42NjY2NjY2ODY1AA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor" id="723855329">
@@ -225,7 +211,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{17, 238}, {64, 14}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="217993475">
<int key="NSCellFlags">67239424</int>
@@ -252,14 +237,12 @@
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{267, 80}</string>
<reference key="NSSuperview" ref="726923866"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTableHeaderView" key="NSHeaderView" id="1016340205">
<reference key="NSNextResponder" ref="218049294"/>
<int key="NSvFlags">256</int>
<string key="NSFrameSize">{267, 17}</string>
<reference key="NSSuperview" ref="218049294"/>
- <reference key="NSWindow"/>
<reference key="NSTableView" ref="633969417"/>
</object>
<object class="_NSCornerView" key="NSCornerView" id="310534340">
@@ -267,13 +250,12 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{224, 0}, {16, 17}}</string>
<reference key="NSSuperview" ref="561916229"/>
- <reference key="NSWindow"/>
</object>
<object class="NSMutableArray" key="NSTableColumns">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSTableColumn" id="785937115">
<string key="NSIdentifier">name</string>
- <double key="NSWidth">264</double>
+ <double key="NSWidth">185</double>
<double key="NSMinWidth">40</double>
<double key="NSMaxWidth">1000</double>
<object class="NSTableHeaderCell" key="NSHeaderCell">
@@ -396,9 +378,76 @@
</object>
<object class="NSTextFieldCell" key="NSDataCell" id="305657856">
<int key="NSCellFlags">337772096</int>
- <int key="NSCellFlags2">133120</int>
+ <int key="NSCellFlags2">-2147350528</int>
<string key="NSContents">Text Cell</string>
<reference key="NSSupport" ref="26"/>
+ <object class="NSNumberFormatter" key="NSFormatter" id="432571781">
+ <object class="NSMutableDictionary" key="NS.attributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>allowsFloats</string>
+ <string>formatterBehavior</string>
+ <string>locale</string>
+ <string>minimum</string>
+ <string>negativeInfinitySymbol</string>
+ <string>nilSymbol</string>
+ <string>positiveInfinitySymbol</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <boolean value="YES"/>
+ <integer value="1040"/>
+ <object class="NSLocale" id="600911376">
+ <string key="NS.identifier"/>
+ </object>
+ <real value="0.0"/>
+ <string>-∞</string>
+ <string/>
+ <string>+∞</string>
+ </object>
+ </object>
+ <string key="NS.positiveformat">#</string>
+ <string key="NS.negativeformat">#</string>
+ <nil key="NS.positiveattrs"/>
+ <nil key="NS.negativeattrs"/>
+ <nil key="NS.zero"/>
+ <object class="NSAttributedString" key="NS.nil">
+ <string key="NSString"/>
+ </object>
+ <object class="NSAttributedString" key="NS.nan">
+ <string key="NSString">NaN</string>
+ <object class="NSDictionary" key="NSAttributes" id="595783291">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys" id="0">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ </object>
+ </object>
+ </object>
+ <real value="0.0" key="NS.min"/>
+ <object class="NSDecimalNumberPlaceholder" key="NS.max">
+ <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>
+ <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">NO</bool>
+ <bool key="NS.allowsfloats">YES</bool>
+ </object>
<string key="NSPlaceholderString">optional</string>
<reference key="NSControlView" ref="633969417"/>
<reference key="NSBackgroundColor" ref="433719363"/>
@@ -406,7 +455,6 @@
</object>
<bool key="NSIsEditable">YES</bool>
<reference key="NSTableView" ref="633969417"/>
- <bool key="NSHidden">YES</bool>
</object>
</object>
<double key="NSIntercellSpacingWidth">3</double>
@@ -427,7 +475,6 @@
</object>
<string key="NSFrame">{{1, 17}, {267, 80}}</string>
<reference key="NSSuperview" ref="561916229"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="633969417"/>
<reference key="NSDocView" ref="633969417"/>
<reference key="NSBGColor" ref="433719363"/>
@@ -438,7 +485,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{224, 17}, {15, 102}}</string>
<reference key="NSSuperview" ref="561916229"/>
- <reference key="NSWindow"/>
<reference key="NSTarget" ref="561916229"/>
<string key="NSAction">_doScroller:</string>
<double key="NSPercent">0.80263155698776245</double>
@@ -448,7 +494,6 @@
<int key="NSvFlags">-2147483392</int>
<string key="NSFrame">{{-100, -100}, {225, 11}}</string>
<reference key="NSSuperview" ref="561916229"/>
- <reference key="NSWindow"/>
<int key="NSsFlags">257</int>
<reference key="NSTarget" ref="561916229"/>
<string key="NSAction">_doScroller:</string>
@@ -463,7 +508,6 @@
</object>
<string key="NSFrame">{{1, 0}, {267, 17}}</string>
<reference key="NSSuperview" ref="561916229"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1016340205"/>
<reference key="NSDocView" ref="1016340205"/>
<reference key="NSBGColor" ref="433719363"/>
@@ -473,7 +517,6 @@
</object>
<string key="NSFrame">{{-1, 97}, {269, 98}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="726923866"/>
<int key="NSsFlags">530</int>
<reference key="NSVScroller" ref="181568637"/>
@@ -501,13 +544,12 @@
<object class="NSTextField" id="925790600">
<reference key="NSNextResponder" ref="361997881"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{21, 42}, {78, 14}}</string>
+ <string key="NSFrame">{{21, 42}, {116, 14}}</string>
<reference key="NSSuperview" ref="361997881"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="971022587">
<int key="NSCellFlags">68288064</int>
- <int key="NSCellFlags2">272761856</int>
+ <int key="NSCellFlags2">71435264</int>
<string key="NSContents">Storage Type:</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="925790600"/>
@@ -518,9 +560,8 @@
<object class="NSPopUpButton" id="645455211">
<reference key="NSNextResponder" ref="361997881"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{101, 37}, {162, 22}}</string>
+ <string key="NSFrame">{{139, 37}, {124, 22}}</string>
<reference key="NSSuperview" ref="361997881"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSPopUpButtonCell" key="NSCell" id="747441327">
<int key="NSCellFlags">-2076049856</int>
@@ -540,8 +581,8 @@
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
<int key="NSState">1</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<reference key="NSTarget" ref="747441327"/>
</object>
@@ -558,8 +599,8 @@
<string key="NSTitle"/>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<reference key="NSTarget" ref="747441327"/>
</object>
@@ -569,8 +610,8 @@
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<reference key="NSTarget" ref="747441327"/>
</object>
@@ -580,8 +621,8 @@
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
<string key="NSAction">_popUpItemAction:</string>
<reference key="NSTarget" ref="747441327"/>
</object>
@@ -601,13 +642,12 @@
<object class="NSTextField" id="711967371">
<reference key="NSNextResponder" ref="361997881"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{15, 16}, {84, 14}}</string>
+ <string key="NSFrame">{{15, 16}, {122, 14}}</string>
<reference key="NSSuperview" ref="361997881"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="408249519">
<int key="NSCellFlags">68288064</int>
- <int key="NSCellFlags2">272761856</int>
+ <int key="NSCellFlags2">71435264</int>
<string key="NSContents">Key Block Size:</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="711967371"/>
@@ -618,9 +658,8 @@
<object class="NSTextField" id="417214146">
<reference key="NSNextResponder" ref="361997881"/>
<int key="NSvFlags">268</int>
- <string key="NSFrame">{{104, 14}, {63, 19}}</string>
+ <string key="NSFrame">{{142, 14}, {63, 19}}</string>
<reference key="NSSuperview" ref="361997881"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="659211423">
<int key="NSCellFlags">-1804468671</int>
@@ -646,9 +685,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<boolean value="YES"/>
<integer value="1040"/>
- <object class="NSLocale">
- <string key="NS.identifier"/>
- </object>
+ <reference ref="600911376"/>
<real value="10000"/>
<real value="0.0"/>
<string>-∞</string>
@@ -667,15 +704,7 @@
</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" id="0">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- </object>
- </object>
+ <reference key="NSAttributes" ref="595783291"/>
</object>
<real value="0.0" key="NS.min"/>
<real value="10000" key="NS.max"/>
@@ -700,12 +729,10 @@
</object>
<string key="NSFrame">{{1, 1}, {278, 71}}</string>
<reference key="NSSuperview" ref="197030792"/>
- <reference key="NSWindow"/>
</object>
</object>
<string key="NSFrame">{{-5, -4}, {280, 73}}</string>
<reference key="NSSuperview" ref="30022357"/>
- <reference key="NSWindow"/>
<string key="NSOffsets">{0, 0}</string>
<object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
@@ -729,7 +756,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{-83, 41}, {100, 18}}</string>
<reference key="NSSuperview" ref="30022357"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="708153532">
<int key="NSCellFlags">67239424</int>
@@ -755,7 +781,6 @@
</object>
<string key="NSFrame">{{-2, -30}, {272, 67}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<string key="NSClassName">NSView</string>
</object>
<object class="NSButton" id="1003402112">
@@ -763,7 +788,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{0, 40}, {29, 26}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="782137189">
<int key="NSCellFlags">67239424</int>
@@ -785,7 +809,6 @@
<int key="NSvFlags">292</int>
<string key="NSFrame">{{24, 41}, {214, 22}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="958218934">
<int key="NSCellFlags">-2080244224</int>
@@ -811,7 +834,6 @@
<int key="NSvFlags">289</int>
<string key="NSFrame">{{152, 13}, {100, 28}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<int key="NSTag">1</int>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="289434200">
@@ -838,7 +860,6 @@
<int key="NSvFlags">289</int>
<string key="NSFrame">{{54, 13}, {100, 28}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="758521208">
<int key="NSCellFlags">67239424</int>
@@ -865,7 +886,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{1, 0}, {32, 24}}</string>
<reference key="NSSuperview" ref="797179406"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredButtonCell" key="NSCell" id="78847401">
<int key="NSCellFlags">67239424</int>
@@ -890,7 +910,6 @@
<int key="NSvFlags">268</int>
<string key="NSFrame">{{32, 0}, {32, 24}}</string>
<reference key="NSSuperview" ref="797179406"/>
- <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="BWAnchoredButtonCell" key="NSCell" id="88287488">
<int key="NSCellFlags">604110336</int>
@@ -913,7 +932,6 @@
</object>
<string key="NSFrame">{{-2, 74}, {270, 24}}</string>
<reference key="NSSuperview" ref="762677578"/>
- <reference key="NSWindow"/>
<bool key="BWABBIsResizable">NO</bool>
<bool key="BWABBIsAtBottom">NO</bool>
<bool key="BWABBHandleIsRightAligned">NO</bool>
@@ -922,11 +940,10 @@
</object>
<string key="NSFrameSize">{267, 274}</string>
<reference key="NSSuperview"/>
- <reference key="NSWindow"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
<string key="NSMinSize">{267, 296}</string>
- <string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
+ <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
</object>
<object class="NSMenu" id="644710844">
<string key="NSTitle"/>
@@ -937,8 +954,8 @@
<string key="NSTitle">Remove Field</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
- <reference key="NSOnImage" ref="600203078"/>
- <reference key="NSMixedImage" ref="752378347"/>
+ <reference key="NSOnImage" ref="206997792"/>
+ <reference key="NSMixedImage" ref="551729884"/>
</object>
</object>
</object>
@@ -1310,7 +1327,6 @@
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="453090810"/>
- <reference ref="71932948"/>
<reference ref="262306657"/>
<reference ref="828450159"/>
</object>
@@ -1322,11 +1338,6 @@
<reference key="parent" ref="71441725"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">18</int>
- <reference key="object" ref="71932948"/>
- <reference key="parent" ref="71441725"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">19</int>
<reference key="object" ref="1000744513"/>
<reference key="parent" ref="978293712"/>
@@ -1399,6 +1410,10 @@
<object class="IBObjectRecord">
<int key="objectID">59</int>
<reference key="object" ref="305657856"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="432571781"/>
+ </object>
<reference key="parent" ref="785090057"/>
</object>
<object class="IBObjectRecord">
@@ -1663,6 +1678,11 @@
<reference key="object" ref="828450159"/>
<reference key="parent" ref="71441725"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">139</int>
+ <reference key="object" ref="432571781"/>
+ <reference key="parent" ref="305657856"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -1699,6 +1719,9 @@
<string>136.IBPluginDependency</string>
<string>138.IBPluginDependency</string>
<string>138.ImportedFromIB2</string>
+ <string>139.IBNumberFormatterBehaviorMetadataKey</string>
+ <string>139.IBNumberFormatterLocalizesFormatMetadataKey</string>
+ <string>139.IBPluginDependency</string>
<string>14.IBEditorWindowLastContentRect</string>
<string>14.IBPluginDependency</string>
<string>14.ImportedFromIB2</string>
@@ -1706,8 +1729,6 @@
<string>16.ImportedFromIB2</string>
<string>17.IBPluginDependency</string>
<string>17.ImportedFromIB2</string>
- <string>18.IBPluginDependency</string>
- <string>18.ImportedFromIB2</string>
<string>19.IBPluginDependency</string>
<string>23.IBPluginDependency</string>
<string>24.IBPluginDependency</string>
@@ -1806,7 +1827,7 @@
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{663, 479}, {142, 23}}</string>
+ <string>{{944, 348}, {142, 23}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1818,7 +1839,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSAffineTransform">
- <bytes key="NSTransformStruct">P4AAAL+AAABC0AAAwgwAAA</bytes>
+ <bytes key="NSTransformStruct">P4AAAL+AAABC0AAAwfgAAA</bytes>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1041"/>
@@ -1826,9 +1847,10 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
- <string>{{683, 655}, {167, 71}}</string>
+ <integer value="1041"/>
+ <boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <integer value="1"/>
+ <string>{{536, 557}, {167, 54}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1838,9 +1860,9 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{611, 471}, {267, 274}}</string>
+ <string>{{464, 356}, {267, 274}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{611, 471}, {267, 274}}</string>
+ <string>{{464, 356}, {267, 274}}</string>
<integer value="1"/>
<integer value="0"/>
<integer value="1"/>
@@ -1894,7 +1916,7 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{772, 286}, {168, 64}}</string>
+ <string>{{695, 433}, {162, 64}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -1922,7 +1944,7 @@
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">138</int>
+ <int key="maxID">139</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -1945,21 +1967,21 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Frameworks/MCPKit/MCPFoundationKit/MCPNull.h</string>
+ <string key="minorKey">Frameworks/PSMTabBar/PSMTabBarCell.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Frameworks/PSMTabBar/PSMTabBarCell.h</string>
+ <string key="minorKey">Frameworks/PSMTabBar/PSMTabBarControl.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Frameworks/PSMTabBar/PSMTabBarControl.h</string>
+ <string key="minorKey">Frameworks/PSMTabBar/PSMTabBarController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -2001,6 +2023,13 @@
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPObjectAdditions.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
<string key="minorKey">Source/SPQueryFavoriteManager.h</string>
</object>
</object>
@@ -2167,6 +2196,641 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">SPCopyTable</string>
+ <string key="superclassName">SPTableView</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>copy:</string>
+ <string>executeBundleItemForDataTable:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>copy:</string>
+ <string>executeBundleItemForDataTable:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">copy:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">executeBundleItemForDataTable:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <string key="NS.key.0">mySQLConnection</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <string key="NS.key.0">mySQLConnection</string>
+ <object class="IBToOneOutletInfo" key="NS.object.0">
+ <string key="name">mySQLConnection</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPCopyTable.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SPCustomQuery</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>chooseQueryFavorite:</string>
+ <string>chooseQueryHistory:</string>
+ <string>clearQueryHistory:</string>
+ <string>closeSheet:</string>
+ <string>copyQueryHistory:</string>
+ <string>filterQueryFavorites:</string>
+ <string>filterQueryHistory:</string>
+ <string>gearMenuItemSelected:</string>
+ <string>helpSearchFindNextInPage:</string>
+ <string>helpSearchFindPreviousInPage:</string>
+ <string>helpSegmentDispatcher:</string>
+ <string>helpSelectHelpTargetMySQL:</string>
+ <string>helpSelectHelpTargetPage:</string>
+ <string>helpSelectHelpTargetWeb:</string>
+ <string>helpTargetDispatcher:</string>
+ <string>runAllQueries:</string>
+ <string>runSelectedQueries:</string>
+ <string>saveQueryHistory:</string>
+ <string>showAutoHelpForCurrentWord:</string>
+ <string>showCompletionList:</string>
+ <string>showHelpForCurrentWord:</string>
+ <string>showHelpForSearchString:</string>
+ <string>toggleQueryInfoPaneCollapse:</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>NSButton</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>chooseQueryFavorite:</string>
+ <string>chooseQueryHistory:</string>
+ <string>clearQueryHistory:</string>
+ <string>closeSheet:</string>
+ <string>copyQueryHistory:</string>
+ <string>filterQueryFavorites:</string>
+ <string>filterQueryHistory:</string>
+ <string>gearMenuItemSelected:</string>
+ <string>helpSearchFindNextInPage:</string>
+ <string>helpSearchFindPreviousInPage:</string>
+ <string>helpSegmentDispatcher:</string>
+ <string>helpSelectHelpTargetMySQL:</string>
+ <string>helpSelectHelpTargetPage:</string>
+ <string>helpSelectHelpTargetWeb:</string>
+ <string>helpTargetDispatcher:</string>
+ <string>runAllQueries:</string>
+ <string>runSelectedQueries:</string>
+ <string>saveQueryHistory:</string>
+ <string>showAutoHelpForCurrentWord:</string>
+ <string>showCompletionList:</string>
+ <string>showHelpForCurrentWord:</string>
+ <string>showHelpForSearchString:</string>
+ <string>toggleQueryInfoPaneCollapse:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">chooseQueryFavorite:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">chooseQueryHistory:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">clearQueryHistory:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">closeSheet:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">copyQueryHistory:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">filterQueryFavorites:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">filterQueryHistory:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">gearMenuItemSelected:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSearchFindNextInPage:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSearchFindPreviousInPage:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSegmentDispatcher:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSelectHelpTargetMySQL:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSelectHelpTargetPage:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpSelectHelpTargetWeb:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">helpTargetDispatcher:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">runAllQueries:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">runSelectedQueries:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">saveQueryHistory:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showAutoHelpForCurrentWord:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showCompletionList:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showHelpForCurrentWord:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showHelpForSearchString:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleQueryInfoPaneCollapse:</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>affectedRowsText</string>
+ <string>autohelpMenuItem</string>
+ <string>autoindentMenuItem</string>
+ <string>autopairMenuItem</string>
+ <string>autouppercaseKeywordsMenuItem</string>
+ <string>clearHistoryMenuItem</string>
+ <string>commentCurrentQueryMenuItem</string>
+ <string>commentLineOrSelectionMenuItem</string>
+ <string>completionListMenuItem</string>
+ <string>copyHistoryMenuItem</string>
+ <string>customQueryScrollView</string>
+ <string>customQueryView</string>
+ <string>editorFontMenuItem</string>
+ <string>encodingPopUp</string>
+ <string>errorText</string>
+ <string>errorTextScrollView</string>
+ <string>helpNavigator</string>
+ <string>helpSearchField</string>
+ <string>helpSearchFieldCell</string>
+ <string>helpTargetSelector</string>
+ <string>helpWebView</string>
+ <string>helpWebViewWindow</string>
+ <string>multipleLineEditingButton</string>
+ <string>nextHistoryMenuItem</string>
+ <string>previousHistoryMenuItem</string>
+ <string>queryFavoriteNameTextField</string>
+ <string>queryFavoritesButton</string>
+ <string>queryFavoritesSaveAllMenuItem</string>
+ <string>queryFavoritesSaveAsMenuItem</string>
+ <string>queryFavoritesSearchField</string>
+ <string>queryFavoritesSearchFieldView</string>
+ <string>queryFavoritesSearchMenuItem</string>
+ <string>queryFavoritesSheet</string>
+ <string>queryHistoryButton</string>
+ <string>queryHistorySearchField</string>
+ <string>queryHistorySearchFieldView</string>
+ <string>queryHistorySearchMenuItem</string>
+ <string>queryInfoButton</string>
+ <string>queryInfoPaneSplitView</string>
+ <string>runAllButton</string>
+ <string>runAllMenuItem</string>
+ <string>runSelectionButton</string>
+ <string>runSelectionMenuItem</string>
+ <string>saveHistoryMenuItem</string>
+ <string>saveQueryFavoriteButton</string>
+ <string>saveQueryFavoriteGlobal</string>
+ <string>shiftLeftMenuItem</string>
+ <string>shiftRightMenuItem</string>
+ <string>tableDocumentInstance</string>
+ <string>tablesListInstance</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>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSScrollView</string>
+ <string>SPCopyTable</string>
+ <string>NSMenuItem</string>
+ <string>NSPopUpButton</string>
+ <string>id</string>
+ <string>NSScrollView</string>
+ <string>NSSegmentedControl</string>
+ <string>NSSearchField</string>
+ <string>NSSearchFieldCell</string>
+ <string>NSSegmentedControl</string>
+ <string>WebView</string>
+ <string>NSWindow</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSTextField</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSSearchField</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSWindow</string>
+ <string>id</string>
+ <string>NSSearchField</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSButton</string>
+ <string>NSSplitView</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>id</string>
+ <string>id</string>
+ <string>SPTextView</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>affectedRowsText</string>
+ <string>autohelpMenuItem</string>
+ <string>autoindentMenuItem</string>
+ <string>autopairMenuItem</string>
+ <string>autouppercaseKeywordsMenuItem</string>
+ <string>clearHistoryMenuItem</string>
+ <string>commentCurrentQueryMenuItem</string>
+ <string>commentLineOrSelectionMenuItem</string>
+ <string>completionListMenuItem</string>
+ <string>copyHistoryMenuItem</string>
+ <string>customQueryScrollView</string>
+ <string>customQueryView</string>
+ <string>editorFontMenuItem</string>
+ <string>encodingPopUp</string>
+ <string>errorText</string>
+ <string>errorTextScrollView</string>
+ <string>helpNavigator</string>
+ <string>helpSearchField</string>
+ <string>helpSearchFieldCell</string>
+ <string>helpTargetSelector</string>
+ <string>helpWebView</string>
+ <string>helpWebViewWindow</string>
+ <string>multipleLineEditingButton</string>
+ <string>nextHistoryMenuItem</string>
+ <string>previousHistoryMenuItem</string>
+ <string>queryFavoriteNameTextField</string>
+ <string>queryFavoritesButton</string>
+ <string>queryFavoritesSaveAllMenuItem</string>
+ <string>queryFavoritesSaveAsMenuItem</string>
+ <string>queryFavoritesSearchField</string>
+ <string>queryFavoritesSearchFieldView</string>
+ <string>queryFavoritesSearchMenuItem</string>
+ <string>queryFavoritesSheet</string>
+ <string>queryHistoryButton</string>
+ <string>queryHistorySearchField</string>
+ <string>queryHistorySearchFieldView</string>
+ <string>queryHistorySearchMenuItem</string>
+ <string>queryInfoButton</string>
+ <string>queryInfoPaneSplitView</string>
+ <string>runAllButton</string>
+ <string>runAllMenuItem</string>
+ <string>runSelectionButton</string>
+ <string>runSelectionMenuItem</string>
+ <string>saveHistoryMenuItem</string>
+ <string>saveQueryFavoriteButton</string>
+ <string>saveQueryFavoriteGlobal</string>
+ <string>shiftLeftMenuItem</string>
+ <string>shiftRightMenuItem</string>
+ <string>tableDocumentInstance</string>
+ <string>tablesListInstance</string>
+ <string>textView</string>
+ <string>valueSheet</string>
+ <string>valueTextField</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">affectedRowsText</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">autohelpMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">autoindentMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">autopairMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">autouppercaseKeywordsMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">clearHistoryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">commentCurrentQueryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">commentLineOrSelectionMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">completionListMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">copyHistoryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">customQueryScrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">customQueryView</string>
+ <string key="candidateClassName">SPCopyTable</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">editorFontMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">encodingPopUp</string>
+ <string key="candidateClassName">NSPopUpButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">errorText</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">errorTextScrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpNavigator</string>
+ <string key="candidateClassName">NSSegmentedControl</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpSearchField</string>
+ <string key="candidateClassName">NSSearchField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpSearchFieldCell</string>
+ <string key="candidateClassName">NSSearchFieldCell</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpTargetSelector</string>
+ <string key="candidateClassName">NSSegmentedControl</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpWebView</string>
+ <string key="candidateClassName">WebView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">helpWebViewWindow</string>
+ <string key="candidateClassName">NSWindow</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">multipleLineEditingButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">nextHistoryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">previousHistoryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoriteNameTextField</string>
+ <string key="candidateClassName">NSTextField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSaveAllMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSaveAsMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSearchField</string>
+ <string key="candidateClassName">NSSearchField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSearchFieldView</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSearchMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryFavoritesSheet</string>
+ <string key="candidateClassName">NSWindow</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryHistoryButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryHistorySearchField</string>
+ <string key="candidateClassName">NSSearchField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryHistorySearchFieldView</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryHistorySearchMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryInfoButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">queryInfoPaneSplitView</string>
+ <string key="candidateClassName">NSSplitView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">runAllButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">runAllMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">runSelectionButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">runSelectionMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">saveHistoryMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">saveQueryFavoriteButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">saveQueryFavoriteGlobal</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">shiftLeftMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">shiftRightMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDocumentInstance</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tablesListInstance</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">textView</string>
+ <string key="candidateClassName">SPTextView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">valueSheet</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">valueTextField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPCustomQuery.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SPDatabaseData</string>
+ <string key="superclassName">NSObject</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPDatabaseData.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">SPDatabaseDocument</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
@@ -2527,6 +3191,8 @@
<string>databaseRenameSheet</string>
<string>databaseSheet</string>
<string>dbTablesTableView</string>
+ <string>delegate</string>
+ <string>documentActivityScrollView</string>
<string>encodingPopUp</string>
<string>exportControllerInstance</string>
<string>extendedTableInfoInstance</string>
@@ -2554,11 +3220,11 @@
<string>statusTableAccessoryView</string>
<string>statusTableCopyChecksum</string>
<string>statusTableView</string>
- <string>statusValues</string>
<string>tableContentInstance</string>
<string>tableDataInstance</string>
<string>tableDumpInstance</string>
<string>tableInfoCollapseButton</string>
+ <string>tableInfoScrollView</string>
<string>tableInfoTable</string>
<string>tableListSplitter</string>
<string>tableRelationsInstance</string>
@@ -2582,7 +3248,7 @@
<string>NSWindow</string>
<string>NSSplitView</string>
<string>id</string>
- <string>id</string>
+ <string>NSButton</string>
<string>id</string>
<string>NSTextField</string>
<string>NSTextView</string>
@@ -2598,6 +3264,8 @@
<string>id</string>
<string>id</string>
<string>NSTableView</string>
+ <string>id</string>
+ <string>NSScrollView</string>
<string>NSPopUpButton</string>
<string>id</string>
<string>id</string>
@@ -2609,34 +3277,34 @@
<string>id</string>
<string>NSSearchField</string>
<string>NSView</string>
+ <string>NSProgressIndicator</string>
<string>id</string>
<string>id</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
<string>NSSecureTextField</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSButton</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>SPTableContent</string>
+ <string>SPTableData</string>
<string>id</string>
<string>NSButton</string>
+ <string>NSScrollView</string>
<string>NSTableView</string>
<string>NSSplitView</string>
<string>id</string>
- <string>id</string>
+ <string>SPTableStructure</string>
<string>NSTabView</string>
<string>id</string>
- <string>id</string>
+ <string>SPTablesList</string>
<string>NSButton</string>
<string>id</string>
<string>id</string>
@@ -2672,6 +3340,8 @@
<string>databaseRenameSheet</string>
<string>databaseSheet</string>
<string>dbTablesTableView</string>
+ <string>delegate</string>
+ <string>documentActivityScrollView</string>
<string>encodingPopUp</string>
<string>exportControllerInstance</string>
<string>extendedTableInfoInstance</string>
@@ -2699,11 +3369,11 @@
<string>statusTableAccessoryView</string>
<string>statusTableCopyChecksum</string>
<string>statusTableView</string>
- <string>statusValues</string>
<string>tableContentInstance</string>
<string>tableDataInstance</string>
<string>tableDumpInstance</string>
<string>tableInfoCollapseButton</string>
+ <string>tableInfoScrollView</string>
<string>tableInfoTable</string>
<string>tableListSplitter</string>
<string>tableRelationsInstance</string>
@@ -2744,7 +3414,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">copyDatabaseDataButton</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">copyDatabaseMessageField</string>
@@ -2807,6 +3477,14 @@
<string key="candidateClassName">NSTableView</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">delegate</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">documentActivityScrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">encodingPopUp</string>
<string key="candidateClassName">NSPopUpButton</string>
</object>
@@ -2852,7 +3530,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">queryProgressBar</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSProgressIndicator</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">renameDatabaseButton</string>
@@ -2868,11 +3546,11 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionAutoConnect</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionEncrypt</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionEncryptString</string>
@@ -2880,15 +3558,15 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionIncludeData</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionIncludeQuery</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionSavePassword</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">saveConnectionSavePasswordAlert</string>
@@ -2915,16 +3593,12 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">statusValues</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
<string key="name">tableContentInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableContent</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDataInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableData</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDumpInstance</string>
@@ -2935,6 +3609,10 @@
<string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">tableInfoScrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">tableInfoTable</string>
<string key="candidateClassName">NSTableView</string>
</object>
@@ -2948,7 +3626,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableSourceInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableStructure</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableTabView</string>
@@ -2960,7 +3638,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tablesListInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTablesList</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">taskCancelButton</string>
@@ -3243,7 +3921,7 @@
<string>NSPopUpButton</string>
<string>NSScrollView</string>
<string>NSTableView</string>
- <string>NSTableView</string>
+ <string>SPTableView</string>
<string>NSButton</string>
<string>NSButton</string>
<string>SPTableData</string>
@@ -3351,7 +4029,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">indexesTableView</string>
- <string key="candidateClassName">NSTableView</string>
+ <string key="candidateClassName">SPTableView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">removeIndexButton</string>
@@ -3381,6 +4059,477 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">SPTableContent</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addRow:</string>
+ <string>closeSheet:</string>
+ <string>duplicateRow:</string>
+ <string>filterTable:</string>
+ <string>navigatePaginationFromButton:</string>
+ <string>reloadTable:</string>
+ <string>removeRow:</string>
+ <string>setCompareTypes:</string>
+ <string>setDefaultOperator:</string>
+ <string>showDefaultOperaterHelp:</string>
+ <string>showFilterTable:</string>
+ <string>swapFilterTable:</string>
+ <string>tableFilterClear:</string>
+ <string>toggleDistinctSelect:</string>
+ <string>toggleFilterField:</string>
+ <string>toggleLookAllFieldsMode:</string>
+ <string>toggleNegateClause:</string>
+ <string>togglePagination:</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>NSButton</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addRow:</string>
+ <string>closeSheet:</string>
+ <string>duplicateRow:</string>
+ <string>filterTable:</string>
+ <string>navigatePaginationFromButton:</string>
+ <string>reloadTable:</string>
+ <string>removeRow:</string>
+ <string>setCompareTypes:</string>
+ <string>setDefaultOperator:</string>
+ <string>showDefaultOperaterHelp:</string>
+ <string>showFilterTable:</string>
+ <string>swapFilterTable:</string>
+ <string>tableFilterClear:</string>
+ <string>toggleDistinctSelect:</string>
+ <string>toggleFilterField:</string>
+ <string>toggleLookAllFieldsMode:</string>
+ <string>toggleNegateClause:</string>
+ <string>togglePagination:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">addRow:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">closeSheet:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">duplicateRow:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">filterTable:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">navigatePaginationFromButton:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">reloadTable:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">removeRow:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">setCompareTypes:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">setDefaultOperator:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showDefaultOperaterHelp:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">showFilterTable:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">swapFilterTable:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">tableFilterClear:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleDistinctSelect:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleFilterField:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleLookAllFieldsMode:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleNegateClause:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">togglePagination:</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addButton</string>
+ <string>argumentField</string>
+ <string>betweenTextField</string>
+ <string>compareField</string>
+ <string>contentViewPane</string>
+ <string>countText</string>
+ <string>duplicateButton</string>
+ <string>fieldField</string>
+ <string>filterButton</string>
+ <string>filterTableClearButton</string>
+ <string>filterTableDistinctMenuItem</string>
+ <string>filterTableFilterButton</string>
+ <string>filterTableGearLookAllFields</string>
+ <string>filterTableLiveSearchCheckbox</string>
+ <string>filterTableNegateCheckbox</string>
+ <string>filterTableSetDefaultOperatorSheet</string>
+ <string>filterTableSetDefaultOperatorValue</string>
+ <string>filterTableView</string>
+ <string>filterTableWhereClause</string>
+ <string>filterTableWindow</string>
+ <string>firstBetweenField</string>
+ <string>limitRowsButton</string>
+ <string>limitRowsField</string>
+ <string>limitRowsStepper</string>
+ <string>multipleLineEditingButton</string>
+ <string>paginationButton</string>
+ <string>paginationNextButton</string>
+ <string>paginationPageField</string>
+ <string>paginationPageStepper</string>
+ <string>paginationPreviousButton</string>
+ <string>paginationView</string>
+ <string>reloadButton</string>
+ <string>removeButton</string>
+ <string>secondBetweenField</string>
+ <string>spHistoryControllerInstance</string>
+ <string>tableContentView</string>
+ <string>tableDataInstance</string>
+ <string>tableDocumentInstance</string>
+ <string>tableInfoInstance</string>
+ <string>tableSourceInstance</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>NSView</string>
+ <string>id</string>
+ <string>id</string>
+ <string>NSPopUpButton</string>
+ <string>id</string>
+ <string>NSButton</string>
+ <string>NSMenuItem</string>
+ <string>NSButton</string>
+ <string>NSMenuItem</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSPanel</string>
+ <string>NSComboBox</string>
+ <string>SPCopyTable</string>
+ <string>SPTextView</string>
+ <string>NSPanel</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSButton</string>
+ <string>NSTextField</string>
+ <string>NSStepper</string>
+ <string>NSButton</string>
+ <string>NSView</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>SPHistoryController</string>
+ <string>SPCopyTable</string>
+ <string>SPTableData</string>
+ <string>SPDatabaseDocument</string>
+ <string>SPTableInfo</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addButton</string>
+ <string>argumentField</string>
+ <string>betweenTextField</string>
+ <string>compareField</string>
+ <string>contentViewPane</string>
+ <string>countText</string>
+ <string>duplicateButton</string>
+ <string>fieldField</string>
+ <string>filterButton</string>
+ <string>filterTableClearButton</string>
+ <string>filterTableDistinctMenuItem</string>
+ <string>filterTableFilterButton</string>
+ <string>filterTableGearLookAllFields</string>
+ <string>filterTableLiveSearchCheckbox</string>
+ <string>filterTableNegateCheckbox</string>
+ <string>filterTableSetDefaultOperatorSheet</string>
+ <string>filterTableSetDefaultOperatorValue</string>
+ <string>filterTableView</string>
+ <string>filterTableWhereClause</string>
+ <string>filterTableWindow</string>
+ <string>firstBetweenField</string>
+ <string>limitRowsButton</string>
+ <string>limitRowsField</string>
+ <string>limitRowsStepper</string>
+ <string>multipleLineEditingButton</string>
+ <string>paginationButton</string>
+ <string>paginationNextButton</string>
+ <string>paginationPageField</string>
+ <string>paginationPageStepper</string>
+ <string>paginationPreviousButton</string>
+ <string>paginationView</string>
+ <string>reloadButton</string>
+ <string>removeButton</string>
+ <string>secondBetweenField</string>
+ <string>spHistoryControllerInstance</string>
+ <string>tableContentView</string>
+ <string>tableDataInstance</string>
+ <string>tableDocumentInstance</string>
+ <string>tableInfoInstance</string>
+ <string>tableSourceInstance</string>
+ <string>tablesListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">addButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">argumentField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">betweenTextField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">compareField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">contentViewPane</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">countText</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">duplicateButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">fieldField</string>
+ <string key="candidateClassName">NSPopUpButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableClearButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableDistinctMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableFilterButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableGearLookAllFields</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableLiveSearchCheckbox</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableNegateCheckbox</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableSetDefaultOperatorSheet</string>
+ <string key="candidateClassName">NSPanel</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableSetDefaultOperatorValue</string>
+ <string key="candidateClassName">NSComboBox</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableView</string>
+ <string key="candidateClassName">SPCopyTable</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableWhereClause</string>
+ <string key="candidateClassName">SPTextView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableWindow</string>
+ <string key="candidateClassName">NSPanel</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">firstBetweenField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">limitRowsButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">limitRowsField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">limitRowsStepper</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">multipleLineEditingButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationNextButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationPageField</string>
+ <string key="candidateClassName">NSTextField</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationPageStepper</string>
+ <string key="candidateClassName">NSStepper</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationPreviousButton</string>
+ <string key="candidateClassName">NSButton</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">paginationView</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">reloadButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">removeButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">secondBetweenField</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">spHistoryControllerInstance</string>
+ <string key="candidateClassName">SPHistoryController</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableContentView</string>
+ <string key="candidateClassName">SPCopyTable</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDataInstance</string>
+ <string key="candidateClassName">SPTableData</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDocumentInstance</string>
+ <string key="candidateClassName">SPDatabaseDocument</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableInfoInstance</string>
+ <string key="candidateClassName">SPTableInfo</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableSourceInstance</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tablesListInstance</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTableContent.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SPTableContent</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTableContentDataSource.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SPTableContent</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTableContentDelegate.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">SPTableData</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
@@ -3392,6 +4541,58 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>SPDatabaseDocument</string>
+ <string>SPTablesList</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>tableDocumentInstance</string>
+ <string>tableListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDocumentInstance</string>
+ <string key="candidateClassName">SPDatabaseDocument</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableListInstance</string>
+ <string key="candidateClassName">SPTablesList</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTableData.h</string>
+ </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="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>activitiesTable</string>
+ <string>containerView</string>
+ <string>infoTable</string>
+ <string>tableDataInstance</string>
+ <string>tableDocumentInstance</string>
+ <string>tableInfoScrollView</string>
+ <string>tableList</string>
+ <string>tableListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSTableView</string>
+ <string>NSView</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>NSScrollView</string>
<string>id</string>
<string>id</string>
</object>
@@ -3400,16 +4601,46 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <string>activitiesTable</string>
+ <string>containerView</string>
+ <string>infoTable</string>
+ <string>tableDataInstance</string>
<string>tableDocumentInstance</string>
+ <string>tableInfoScrollView</string>
+ <string>tableList</string>
<string>tableListInstance</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBToOneOutletInfo">
+ <string key="name">activitiesTable</string>
+ <string key="candidateClassName">NSTableView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">containerView</string>
+ <string key="candidateClassName">NSView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">infoTable</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDataInstance</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">tableDocumentInstance</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">tableInfoScrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableList</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">tableListInstance</string>
<string key="candidateClassName">id</string>
</object>
@@ -3417,7 +4648,7 @@
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
- <string key="minorKey">Source/SPTableData.h</string>
+ <string key="minorKey">Source/SPTableInfo.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
@@ -3429,7 +4660,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addField:</string>
<string>closeSheet:</string>
- <string>copyField:</string>
+ <string>duplicateField:</string>
<string>reloadTable:</string>
<string>removeField:</string>
<string>resetAutoIncrement:</string>
@@ -3446,7 +4677,7 @@
<string>id</string>
<string>id</string>
<string>id</string>
- <string>id</string>
+ <string>NSMenuItem</string>
<string>id</string>
</object>
</object>
@@ -3456,7 +4687,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addField:</string>
<string>closeSheet:</string>
- <string>copyField:</string>
+ <string>duplicateField:</string>
<string>reloadTable:</string>
<string>removeField:</string>
<string>resetAutoIncrement:</string>
@@ -3475,7 +4706,7 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
- <string key="name">copyField:</string>
+ <string key="name">duplicateField:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
@@ -3496,7 +4727,7 @@
</object>
<object class="IBActionInfo">
<string key="name">toggleColumnView:</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSMenuItem</string>
</object>
<object class="IBActionInfo">
<string key="name">unhideIndexesView:</string>
@@ -3511,8 +4742,8 @@
<string>addFieldButton</string>
<string>addIndexButton</string>
<string>chooseKeyButton</string>
- <string>copyFieldButton</string>
<string>databaseDataInstance</string>
+ <string>duplicateFieldButton</string>
<string>editTableButton</string>
<string>encodingPopupCell</string>
<string>extendedTableInfoInstance</string>
@@ -3541,13 +4772,14 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>SPDatabaseData</string>
<string>id</string>
<string>id</string>
+ <string>NSPopUpButtonCell</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
+ <string>SPIndexesController</string>
<string>NSButton</string>
+ <string>SPTableView</string>
<string>id</string>
<string>id</string>
<string>id</string>
@@ -3557,13 +4789,12 @@
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>SPTableData</string>
+ <string>SPDatabaseDocument</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
- <string>id</string>
+ <string>SPTableView</string>
<string>NSSplitView</string>
- <string>id</string>
+ <string>SPTablesList</string>
<string>id</string>
</object>
</object>
@@ -3574,8 +4805,8 @@
<string>addFieldButton</string>
<string>addIndexButton</string>
<string>chooseKeyButton</string>
- <string>copyFieldButton</string>
<string>databaseDataInstance</string>
+ <string>duplicateFieldButton</string>
<string>editTableButton</string>
<string>encodingPopupCell</string>
<string>extendedTableInfoInstance</string>
@@ -3614,11 +4845,11 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">copyFieldButton</string>
- <string key="candidateClassName">id</string>
+ <string key="name">databaseDataInstance</string>
+ <string key="candidateClassName">SPDatabaseData</string>
</object>
<object class="IBToOneOutletInfo">
- <string key="name">databaseDataInstance</string>
+ <string key="name">duplicateFieldButton</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
@@ -3627,7 +4858,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">encodingPopupCell</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSPopUpButtonCell</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">extendedTableInfoInstance</string>
@@ -3635,7 +4866,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">indexesController</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPIndexesController</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">indexesShowButton</string>
@@ -3643,7 +4874,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">indexesTableView</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">keySheet</string>
@@ -3683,11 +4914,11 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDataInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableData</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDocumentInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPDatabaseDocument</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableInfoInstance</string>
@@ -3695,7 +4926,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableSourceView</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tablesIndexesSplitView</string>
@@ -3703,7 +4934,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tablesListInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTablesList</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">viewColumnsMenu</string>
@@ -3724,6 +4955,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">SPTableView</string>
+ <string key="superclassName">NSTableView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTableView.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">SPTablesList</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
@@ -3819,6 +5058,8 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addTableButton</string>
+ <string>copyCreateSyntaxContextMenuItem</string>
+ <string>copyCreateSyntaxMenuItem</string>
<string>copyTableButton</string>
<string>copyTableContentSwitch</string>
<string>copyTableMessageField</string>
@@ -3838,8 +5079,10 @@
<string>renameTableMenuItem</string>
<string>separatorTableContextMenuItem</string>
<string>separatorTableContextMenuItem2</string>
+ <string>separatorTableContextMenuItem3</string>
<string>separatorTableMenuItem</string>
<string>separatorTableMenuItem2</string>
+ <string>separatorTableMenuItem3</string>
<string>showCreateSyntaxContextMenuItem</string>
<string>showCreateSyntaxMenuItem</string>
<string>spHistoryControllerInstance</string>
@@ -3860,6 +5103,7 @@
<string>tablesListView</string>
<string>toolbarActionsButton</string>
<string>toolbarAddButton</string>
+ <string>toolbarDeleteButton</string>
<string>toolbarReloadButton</string>
<string>truncateTableButton</string>
<string>truncateTableContextMenuItem</string>
@@ -3867,13 +5111,15 @@
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
<string>id</string>
+ <string>NSButton</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
+ <string>SPDatabaseData</string>
<string>NSMenuItem</string>
<string>NSMenuItem</string>
<string>id</string>
@@ -3890,10 +5136,12 @@
<string>NSMenuItem</string>
<string>NSMenuItem</string>
<string>NSMenuItem</string>
+ <string>NSMenuItem</string>
+ <string>NSMenuItem</string>
<string>SPHistoryController</string>
+ <string>SPTableContent</string>
<string>id</string>
- <string>id</string>
- <string>id</string>
+ <string>SPDatabaseDocument</string>
<string>id</string>
<string>id</string>
<string>NSButton</string>
@@ -3902,9 +5150,10 @@
<string>NSSplitView</string>
<string>id</string>
<string>id</string>
+ <string>SPTableStructure</string>
<string>id</string>
<string>id</string>
- <string>id</string>
+ <string>SPTableView</string>
<string>id</string>
<string>id</string>
<string>id</string>
@@ -3918,6 +5167,8 @@
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addTableButton</string>
+ <string>copyCreateSyntaxContextMenuItem</string>
+ <string>copyCreateSyntaxMenuItem</string>
<string>copyTableButton</string>
<string>copyTableContentSwitch</string>
<string>copyTableMessageField</string>
@@ -3937,8 +5188,10 @@
<string>renameTableMenuItem</string>
<string>separatorTableContextMenuItem</string>
<string>separatorTableContextMenuItem2</string>
+ <string>separatorTableContextMenuItem3</string>
<string>separatorTableMenuItem</string>
<string>separatorTableMenuItem2</string>
+ <string>separatorTableMenuItem3</string>
<string>showCreateSyntaxContextMenuItem</string>
<string>showCreateSyntaxMenuItem</string>
<string>spHistoryControllerInstance</string>
@@ -3959,6 +5212,7 @@
<string>tablesListView</string>
<string>toolbarActionsButton</string>
<string>toolbarAddButton</string>
+ <string>toolbarDeleteButton</string>
<string>toolbarReloadButton</string>
<string>truncateTableButton</string>
<string>truncateTableContextMenuItem</string>
@@ -3970,12 +5224,20 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">copyCreateSyntaxContextMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">copyCreateSyntaxMenuItem</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">copyTableButton</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">copyTableContentSwitch</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">NSButton</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">copyTableMessageField</string>
@@ -3995,7 +5257,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">databaseDataInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPDatabaseData</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">duplicateTableContextMenuItem</string>
@@ -4046,6 +5308,10 @@
<string key="candidateClassName">NSMenuItem</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">separatorTableContextMenuItem3</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">separatorTableMenuItem</string>
<string key="candidateClassName">NSMenuItem</string>
</object>
@@ -4054,6 +5320,10 @@
<string key="candidateClassName">NSMenuItem</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">separatorTableMenuItem3</string>
+ <string key="candidateClassName">NSMenuItem</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">showCreateSyntaxContextMenuItem</string>
<string key="candidateClassName">NSMenuItem</string>
</object>
@@ -4067,7 +5337,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableContentInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableContent</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDataInstance</string>
@@ -4075,7 +5345,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDocumentInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPDatabaseDocument</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableDumpInstance</string>
@@ -4111,7 +5381,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableSourceInstance</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableStructure</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">tableTriggersInstance</string>
@@ -4123,7 +5393,7 @@
</object>
<object class="IBToOneOutletInfo">
<string key="name">tablesListView</string>
- <string key="candidateClassName">id</string>
+ <string key="candidateClassName">SPTableView</string>
</object>
<object class="IBToOneOutletInfo">
<string key="name">toolbarActionsButton</string>
@@ -4134,6 +5404,10 @@
<string key="candidateClassName">id</string>
</object>
<object class="IBToOneOutletInfo">
+ <string key="name">toolbarDeleteButton</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
<string key="name">toolbarReloadButton</string>
<string key="candidateClassName">id</string>
</object>
@@ -4149,6 +5423,71 @@
</object>
<reference key="sourceIdentifier" ref="538142793"/>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">SPTextView</string>
+ <string key="superclassName">NSTextView</string>
+ <object class="NSMutableDictionary" key="actions">
+ <string key="NS.key.0">showMySQLHelpForCurrentWord:</string>
+ <string key="NS.object.0">id</string>
+ </object>
+ <object class="NSMutableDictionary" key="actionInfosByName">
+ <string key="NS.key.0">showMySQLHelpForCurrentWord:</string>
+ <object class="IBActionInfo" key="NS.object.0">
+ <string key="name">showMySQLHelpForCurrentWord:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>customQueryInstance</string>
+ <string>scrollView</string>
+ <string>tableDocumentInstance</string>
+ <string>tablesListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>SPCustomQuery</string>
+ <string>NSScrollView</string>
+ <string>SPDatabaseDocument</string>
+ <string>SPTablesList</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="toOneOutletInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>customQueryInstance</string>
+ <string>scrollView</string>
+ <string>tableDocumentInstance</string>
+ <string>tablesListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBToOneOutletInfo">
+ <string key="name">customQueryInstance</string>
+ <string key="candidateClassName">SPCustomQuery</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">scrollView</string>
+ <string key="candidateClassName">NSScrollView</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tableDocumentInstance</string>
+ <string key="candidateClassName">SPDatabaseDocument</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">tablesListInstance</string>
+ <string key="candidateClassName">SPTablesList</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">Source/SPTextView.h</string>
+ </object>
+ </object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -4267,6 +5606,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">NSComboBox</string>
+ <string key="superclassName">NSTextField</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">AppKit.framework/Headers/NSComboBox.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSComboBoxCell</string>
<string key="superclassName">NSTextFieldCell</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -4693,6 +6040,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">NSPanel</string>
+ <string key="superclassName">NSWindow</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">AppKit.framework/Headers/NSPanel.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSPopUpButton</string>
<string key="superclassName">NSButton</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -4709,6 +6064,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">NSProgressIndicator</string>
+ <string key="superclassName">NSView</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">AppKit.framework/Headers/NSProgressIndicator.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
@@ -4748,6 +6111,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">NSSearchFieldCell</string>
+ <string key="superclassName">NSTextFieldCell</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">AppKit.framework/Headers/NSSearchFieldCell.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSSecureTextField</string>
<string key="superclassName">NSTextField</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -4772,6 +6143,14 @@
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">NSStepper</string>
+ <string key="superclassName">NSControl</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">AppKit.framework/Headers/NSStepper.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSTabView</string>
<string key="superclassName">NSView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -4910,6 +6289,109 @@
<string key="minorKey">AppKit.framework/Headers/NSWindowController.h</string>
</object>
</object>
+ <object class="IBPartialClassDescription">
+ <string key="className">WebView</string>
+ <string key="superclassName">NSView</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>goBack:</string>
+ <string>goForward:</string>
+ <string>makeTextLarger:</string>
+ <string>makeTextSmaller:</string>
+ <string>makeTextStandardSize:</string>
+ <string>reload:</string>
+ <string>reloadFromOrigin:</string>
+ <string>stopLoading:</string>
+ <string>takeStringURLFrom:</string>
+ <string>toggleContinuousSpellChecking:</string>
+ <string>toggleSmartInsertDelete:</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="actionInfosByName">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>goBack:</string>
+ <string>goForward:</string>
+ <string>makeTextLarger:</string>
+ <string>makeTextSmaller:</string>
+ <string>makeTextStandardSize:</string>
+ <string>reload:</string>
+ <string>reloadFromOrigin:</string>
+ <string>stopLoading:</string>
+ <string>takeStringURLFrom:</string>
+ <string>toggleContinuousSpellChecking:</string>
+ <string>toggleSmartInsertDelete:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBActionInfo">
+ <string key="name">goBack:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">goForward:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">makeTextLarger:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">makeTextSmaller:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">makeTextStandardSize:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">reload:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">reloadFromOrigin:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">stopLoading:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">takeStringURLFrom:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleContinuousSpellChecking:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
+ <string key="name">toggleSmartInsertDelete:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">WebKit.framework/Headers/WebView.h</string>
+ </object>
+ </object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
diff --git a/Source/SPIndexesController.h b/Source/SPIndexesController.h
index e014a4a7..8c79f4af 100644
--- a/Source/SPIndexesController.h
+++ b/Source/SPIndexesController.h
@@ -68,6 +68,7 @@
#endif
BOOL _mainNibLoaded;
+ BOOL isMyISAMTale;
NSString *table;
NSMutableArray *fields, *indexes, *indexedFields;
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m
index 44de06c8..9db491ae 100644
--- a/Source/SPIndexesController.m
+++ b/Source/SPIndexesController.m
@@ -44,6 +44,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
@interface SPIndexesController (PrivateAPI)
+- (void)_addAdditionalIndexTypes;
- (void)_reloadIndexedColumnsTableData;
- (void)_addIndexUsingDetails:(NSDictionary *)indexDetails;
@@ -58,6 +59,13 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
@synthesize table;
@synthesize connection;
+#ifdef SP_REFACTOR
+@synthesize indexesTableView;
+@synthesize tableStructure;
+@synthesize addIndexButton;
+@synthesize removeIndexButton;
+#endif
+
#pragma mark -
/**
@@ -65,8 +73,13 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
*/
- (id)init
{
- if ((self = [super initWithWindowNibName:@"IndexesView"])) {
+#ifndef SP_REFACTOR
+ NSString* nibName = @"IndexesView";
+#else
+ NSString* nibName = @"SQLIndexes";
+#endif
+ if ((self = [super initWithWindowNibName:nibName])) {
_mainNibLoaded = NO;
table = @"";
@@ -76,13 +89,13 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
#ifndef SP_REFACTOR /* init ivars */
prefs = [NSUserDefaults standardUserDefaults];
-#endif
showAdvancedView = NO;
heightOffset = 0;
windowMinWidth = [[self window] minSize].width;
windowMinHeigth = [[self window] minSize].height;
+#endif
// Create an array of field types that supporting specifying an index length prefix
supportsLength = [[NSArray alloc] initWithObjects:
@@ -103,7 +116,6 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
*/
- (void)awakeFromNib
{
-
// As this controller also loads its own nib, it may call awakeFromNib multiple times; perform setup only once.
if (_mainNibLoaded) return;
_mainNibLoaded = YES;
@@ -144,13 +156,14 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
*/
- (IBAction)addIndex:(id)sender
{
-
// Check whether table editing is permitted (necessary as some actions - eg table double-click - bypass validation)
if ([dbDocument isWorking] || [tablesList tableType] != SPTableTypeTable) return;
// Check whether a save of the current field row is required.
if (![tableStructure saveRowOnDeselect]) return;
-
+
+ isMyISAMTale = [[[tableData statusValues] objectForKey:@"Engine"] isEqualToString:@"MyISAM"];
+
// Reset visibility of the primary key item
[[[indexTypePopUpButton menu] itemWithTag:SPPrimaryKeyMenuTag] setHidden:NO];
@@ -159,19 +172,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[indexNameTextField setEnabled:NO];
[indexNameTextField setStringValue:@"PRIMARY"];
- // Remove any existing SPATIAL menu item
- if ([indexTypePopUpButton indexOfItemWithTag:SPSpatialMenuTag] != -1)
- [indexTypePopUpButton removeItemAtIndex:[indexTypePopUpButton indexOfItemWithTag:SPSpatialMenuTag]];
-
- // If the table is of type MyISAM and Spatial extension support is available, (re-)add the SPATIAL type
- NSString *engine = [[tableData statusValues] objectForKey:@"Engine"];
-
- if ([engine isEqualToString:@"MyISAM"] && [[dbDocument serverSupport] supportsSpatialExtensions]) {
- NSMenuItem *spatialMenuItem = [[[NSMenuItem alloc] init] autorelease];
- [spatialMenuItem setTitle:NSLocalizedString(@"SPATIAL", @"Spatial index menu item title")];
- [spatialMenuItem setTag:SPSpatialMenuTag];
- [[indexTypePopUpButton menu] addItem:spatialMenuItem];
- }
+ [self _addAdditionalIndexTypes];
// Check to see whether a primary key already exists for the table, and if so select INDEX instead
for (NSDictionary *field in fields)
@@ -224,17 +225,19 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
// initial key has a required size
[indexSizeTableColumn setHidden:![requiresLength containsObject:[[initialField objectForKey:@"type"] uppercaseString]]];
- [indexedColumnsTableView reloadData];
+ [self _reloadIndexedColumnsTableData];
[addIndexedColumnButton setEnabled:([indexedFields count] < [fields count])];
+#ifndef SP_REFACTOR
// MyISAM and InnoDB tables only support BTREE storage types so disable the storage type popup button
// as it's the default anyway.
- [indexStorageTypePopUpButton setEnabled:(!([engine isEqualToString:@"MyISAM"] || [engine isEqualToString:@"InnoDB"]))];
+ [indexStorageTypePopUpButton setEnabled:(!(isMyISAMTale || [[[tableData statusValues] objectForKey:@"Engine"] isEqualToString:@"InnoDB"]))];
// The ability to specify an index's key block size was added in MySQL 5.1.10 so disable the textfield
// if it's not supported.
[indexKeyBlockSizeTextField setEnabled:[[dbDocument serverSupport] supportsIndexKeyBlockSize]];
+#endif
// Begin the sheet
[NSApp beginSheet:[self window]
@@ -285,7 +288,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
defaultButton:NSLocalizedString(@"Delete", @"delete button")
alternateButton:NSLocalizedString(@"Cancel", @"cancel button")
otherButton:nil
- informativeTextWithFormat:(hasForeignKey) ? [NSString stringWithFormat:NSLocalizedString(@"The foreign key relationship '%@' has a dependency on this index. This relationship must be removed before the index can be deleted.\n\nAre you sure you want to continue to delete the relationship and the index? This action cannot be undone.", @"delete index and foreign key informative message"), constraintName] : [NSString stringWithFormat:NSLocalizedString(@"Are you sure you want to delete the index '%@'? This action cannot be undone.", @"delete index informative message"), keyName]];
+ informativeTextWithFormat:hasForeignKey ? [NSString stringWithFormat:NSLocalizedString(@"The foreign key relationship '%@' has a dependency on this index. This relationship must be removed before the index can be deleted.\n\nAre you sure you want to continue to delete the relationship and the index? This action cannot be undone.", @"delete index and foreign key informative message"), constraintName] : [NSString stringWithFormat:NSLocalizedString(@"Are you sure you want to delete the index '%@'? This action cannot be undone.", @"delete index informative message"), keyName]];
[alert setAlertStyle:NSCriticalAlertStyle];
@@ -309,7 +312,9 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
if (indexType == SPPrimaryKeyMenuTag) {
[indexNameTextField setEnabled:NO];
[indexNameTextField setStringValue:@"PRIMARY"];
+#ifndef SP_REFACTOR
[indexStorageTypePopUpButton setEnabled:NO];
+#endif
}
else {
[indexNameTextField setEnabled:YES];
@@ -318,9 +323,16 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[indexNameTextField setStringValue:@""];
}
+#ifndef SP_REFACTOR
+ NSString *engine = [[tableData statusValues] objectForKey:@"Engine"];
+
// Specifiying an index storage type (i.e. HASH or BTREE) is not permitted with SPATIAL indexes
- [indexStorageTypePopUpButton setEnabled:(indexType != SPSpatialMenuTag)];
+ [indexStorageTypePopUpButton setEnabled:(indexType != SPSpatialMenuTag) && !(isMyISAMTale || [engine isEqualToString:@"InnoDB"])];
+#endif
}
+
+ [indexSizeTableColumn setHidden:[[indexTypePopUpButton selectedItem] tag] == SPFullTextMenuTag];
+ [indexesTableView reloadData];
}
/**
@@ -328,10 +340,12 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
*/
- (IBAction)closeSheet:(id)sender
{
+#ifndef SP_REFACTOR
// Close the advanced options view if it's open
[indexAdvancedOptionsView setHidden:YES];
[indexAdvancedOptionsViewButton setState:NSOffState];
showAdvancedView = NO;
+#endif
// Hide the size column
[indexSizeTableColumn setHidden:YES];
@@ -341,8 +355,10 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[NSApp endSheet:[sender window] returnCode:[sender tag]];
[[sender window] orderOut:self];
+#ifndef SP_REFACTOR
// Clear the index key block size field
[indexKeyBlockSizeTextField setStringValue:@""];
+#endif
}
/**
@@ -369,7 +385,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[self _reloadIndexedColumnsTableData];
// Select new added row
- [indexedColumnsTableView selectRowIndexes:[NSIndexSet indexSetWithIndex:[indexedFields count]-1] byExtendingSelection:NO];
+ [indexedColumnsTableView selectRowIndexes:[NSIndexSet indexSetWithIndex:[indexedFields count] - 1] byExtendingSelection:NO];
[addIndexedColumnButton setEnabled:([indexedFields count] < [fields count])];
}
@@ -391,6 +407,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
*/
- (IBAction)toggleAdvancedIndexOptionsView:(id)sender
{
+#ifndef SP_REFACTOR
showAdvancedView = (!showAdvancedView);
[indexAdvancedOptionsViewButton setState:showAdvancedView];
@@ -399,14 +416,18 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
// When hiding the advanced options, the size column would normally be hidden as well
// - unless any of the ndexes fields have a required key size.
BOOL hideSizesColumn = !showAdvancedView;
+
if (hideSizesColumn) {
- for (NSDictionary *aField in indexedFields) {
+ for (NSDictionary *aField in indexedFields)
+ {
if ([requiresLength containsObject:[[aField objectForKey:@"type"] uppercaseString]]) hideSizesColumn = NO;
}
}
+
[indexSizeTableColumn setHidden:hideSizesColumn];
[self _resizeWindowForAdvancedOptionsViewByHeightDelta:(showAdvancedView) ? ([indexAdvancedOptionsView frame].size.height + 10) : 0];
+#endif
}
#pragma mark -
@@ -425,9 +446,11 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
}
else {
id object = [[indexedFields objectAtIndex:rowIndex] objectForKey:[tableColumn identifier]];
+
if ([[tableColumn identifier] isEqualToString:@"Size"] && object) {
object = [NSNumber numberWithLongLong:[object longLongValue]];
}
+
return object;
}
}
@@ -453,9 +476,11 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
if ([object isKindOfClass:[NSNumber class]]) {
object = [NSString stringWithFormat:@"%llu", [object unsignedLongLongValue]];
}
+
if (object) {
[[indexedFields objectAtIndex:rowIndex] setObject:object forKey:[tableColumn identifier]];
- } else {
+ }
+ else {
[[indexedFields objectAtIndex:rowIndex] removeObjectForKey:[tableColumn identifier]];
}
}
@@ -468,8 +493,10 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
if ([[tableColumn identifier] isEqualToString:@"Size"]) {
// If the field is of type TEXT or BLOB then a index prefix length is required so change the default
- // placeholder of 'optional' to 'required'.
- [cell setPlaceholderString:([requiresLength containsObject:[[[indexedFields objectAtIndex:rowIndex] objectForKey:@"type"] uppercaseString]]) ? NSLocalizedString(@"required", @"required placeholder string") : NSLocalizedString(@"optional", @"optional placeholder string")];
+ // placeholder of 'optional' to 'required', BUT only if the index type is not FULLTEXT.
+ BOOL isFullTextType = [[indexTypePopUpButton selectedItem] tag] == SPFullTextMenuTag;
+
+ [cell setPlaceholderString:([requiresLength containsObject:[[[indexedFields objectAtIndex:rowIndex] objectForKey:@"type"] uppercaseString]] && !isFullTextType) ? NSLocalizedString(@"required", @"required placeholder string") : NSLocalizedString(@"optional", @"optional placeholder string")];
}
}
@@ -584,7 +611,9 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[indexDetails setObject:indexedFields forKey:SPNewIndexIndexedColumns];
[indexDetails setObject:[indexNameTextField stringValue] forKey:SPNewIndexIndexName];
- switch ([[indexTypePopUpButton selectedItem] tag]) {
+
+ switch ([[indexTypePopUpButton selectedItem] tag])
+ {
case SPPrimaryKeyMenuTag:
[indexDetails setObject:@"PRIMARY KEY" forKey:SPNewIndexIndexType];
break;
@@ -602,6 +631,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
break;
}
+#ifndef SP_REFACTOR
// If there is a key block size set it means the database version supports it
if ([[indexKeyBlockSizeTextField stringValue] length]) {
[indexDetails setObject:[NSNumber numberWithInteger:[indexKeyBlockSizeTextField integerValue]] forKey:SPNewIndexKeyBlockSize];
@@ -610,6 +640,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
if (([indexStorageTypePopUpButton indexOfSelectedItem] > 0) && ([[indexTypePopUpButton selectedItem] tag] != SPSpatialMenuTag)) {
[indexDetails setObject:[indexStorageTypePopUpButton titleOfSelectedItem] forKey:SPNewIndexStorageType];
}
+#endif
if ([NSThread isMainThread]) {
[NSThread detachNewThreadSelector:@selector(_addIndexUsingDetails:) toTarget:self withObject:indexDetails];
@@ -708,6 +739,39 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
#pragma mark Private API methods
/**
+ * Adds any additional index types depending on the table type.
+ */
+- (void)_addAdditionalIndexTypes
+{
+ if ([indexTypePopUpButton indexOfItemWithTag:SPSpatialMenuTag] > -1) {
+ [indexTypePopUpButton removeItemAtIndex:[indexTypePopUpButton indexOfItemWithTag:SPSpatialMenuTag]];
+ }
+
+ if ([indexTypePopUpButton indexOfItemWithTag:SPFullTextMenuTag] > -1) {
+ [indexTypePopUpButton removeItemAtIndex:[indexTypePopUpButton indexOfItemWithTag:SPFullTextMenuTag]];
+ }
+
+ // FULLTEXT and SPATIAL index types are only available using the MyISAM engine
+ if (isMyISAMTale) {
+ if ([[dbDocument serverSupport] supportsSpatialExtensions]) {
+ NSMenuItem *spatialMenuItem = [[[NSMenuItem alloc] init] autorelease];
+
+ [spatialMenuItem setTitle:NSLocalizedString(@"SPATIAL", @"spatial index menu item title")];
+ [spatialMenuItem setTag:SPSpatialMenuTag];
+
+ [[indexTypePopUpButton menu] addItem:spatialMenuItem];
+ }
+
+ NSMenuItem *fullTextMenuItem = [[[NSMenuItem alloc] init] autorelease];
+
+ [fullTextMenuItem setTitle:NSLocalizedString(@"FULLTEXT", @"full text index menu item title")];
+ [fullTextMenuItem setTag:SPFullTextMenuTag];
+
+ [[indexTypePopUpButton menu] addItem:fullTextMenuItem];
+ }
+}
+
+/**
* Reloads the indexed columns table view data and displays the size column if required.
*/
- (void)_reloadIndexedColumnsTableData
@@ -715,20 +779,25 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
NSUInteger sizeRequiredFieldAndNotYetSet = 0;
NSUInteger sizeRequired = 0;
- for (NSDictionary *field in indexedFields) {
+ for (NSDictionary *field in indexedFields)
+ {
if ([requiresLength containsObject:[[field objectForKey:@"type"] uppercaseString]]) {
sizeRequired++;
sizeRequiredFieldAndNotYetSet++;
- if([field objectForKey:@"Size"] && [(NSString *)[field objectForKey:@"Size"] length])
+
+ if ([field objectForKey:@"Size"] && [(NSString *)[field objectForKey:@"Size"] length]) {
sizeRequiredFieldAndNotYetSet--;
+ }
}
}
+#ifndef SP_REFACTOR
// Only toggle the sizes column if the advanced view is hidden and at least one field requires a size
- if (!showAdvancedView) [indexSizeTableColumn setHidden:(!sizeRequired)];
+ if (!showAdvancedView) [indexSizeTableColumn setHidden:!sizeRequired];
+#endif
// Validate Add Button
- [confirmAddIndexButton setEnabled:(!sizeRequiredFieldAndNotYetSet)];
+ [confirmAddIndexButton setEnabled:!sizeRequiredFieldAndNotYetSet];
[indexedColumnsTableView reloadData];
}
@@ -773,11 +842,13 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
if ((![columnName length]) || (![columnType length])) continue;
+ BOOL isFullTextType = [indexType isEqualToString:@"FULLTEXT"];
+
// If this field type requires a length and one hasn't been specified (interface validation
// should ensure this doesn't happen), then skip it.
- if ([requiresLength containsObject:[columnType uppercaseString]] && (![(NSString *)[column objectForKey:@"Size"] length])) continue;
+ if ([requiresLength containsObject:[columnType uppercaseString]] && (![(NSString *)[column objectForKey:@"Size"] length]) && !isFullTextType) continue;
- if ([column objectForKey:@"Size"] && [supportsLength containsObject:columnType]) {
+ if ([column objectForKey:@"Size"] && [supportsLength containsObject:columnType] && !isFullTextType) {
[tempIndexedColumns addObject:[NSString stringWithFormat:@"%@ (%@)", [columnName backtickQuotedString], [column objectForKey:@"Size"]]];
}
@@ -924,11 +995,14 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
NSUInteger popUpMask = [indexTypePopUpButton autoresizingMask];
NSUInteger nameFieldMask = [indexNameTextField autoresizingMask];
NSUInteger scrollMask = [indexedColumnsScrollView autoresizingMask];
+#ifndef SP_REFACTOR
NSUInteger buttonMask = [indexAdvancedOptionsViewButton autoresizingMask];
NSUInteger textFieldMask = [indexAdvancedOptionsViewLabelButton autoresizingMask];
NSUInteger advancedViewMask = [indexAdvancedOptionsView autoresizingMask];
+#endif
NSUInteger typeLabelMask = [indexTypeLabel autoresizingMask];
NSUInteger nameLabelMask = [indexNameLabel autoresizingMask];
+#ifndef SP_REFACTOR
NSUInteger buttonBarMask = [(NSView*)anchoredButtonBar autoresizingMask];
NSRect frame = [[self window] frame];
@@ -939,21 +1013,27 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[[self window] setFrame:frame display:YES animate:YES];
}
+#endif
[indexTypePopUpButton setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
[indexNameTextField setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
[indexedColumnsScrollView setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
+#ifndef SP_REFACTOR
[indexAdvancedOptionsViewButton setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
[indexAdvancedOptionsViewLabelButton setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
[indexAdvancedOptionsView setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
+#endif
[indexTypeLabel setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
[indexNameLabel setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
+#ifndef SP_REFACTOR
[(NSView*)anchoredButtonBar setAutoresizingMask:NSViewNotSizable | NSViewMinYMargin];
NSInteger newMinHeight = (windowMinHeigth - heightOffset + delta < windowMinHeigth) ? windowMinHeigth : windowMinHeigth - heightOffset + delta;
[[self window] setMinSize:NSMakeSize(windowMinWidth, newMinHeight)];
+#endif
+#ifndef SP_REFACTOR
frame.origin.y += heightOffset;
frame.size.height -= heightOffset;
@@ -963,16 +1043,21 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
frame.size.height += heightOffset;
[[self window] setFrame:frame display:YES animate:YES];
+#endif
[indexTypePopUpButton setAutoresizingMask:popUpMask];
[indexNameTextField setAutoresizingMask:nameFieldMask];
[indexedColumnsScrollView setAutoresizingMask:scrollMask];
+#ifndef SP_REFACTOR
[indexAdvancedOptionsViewButton setAutoresizingMask:buttonMask];
[indexAdvancedOptionsViewLabelButton setAutoresizingMask:textFieldMask];
[indexAdvancedOptionsView setAutoresizingMask:advancedViewMask];
+#endif
[indexTypeLabel setAutoresizingMask:typeLabelMask];
[indexNameLabel setAutoresizingMask:nameLabelMask];
+#ifndef SP_REFACTOR
[(NSView*)anchoredButtonBar setAutoresizingMask:buttonBarMask];
+#endif
}
#pragma mark -
@@ -998,4 +1083,11 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[super dealloc];
}
+#ifdef SP_REFACTOR
+- (void)setDatabaseDocument:(SPDatabaseDocument*)db
+{
+ dbDocument = db;
+}
+#endif
+
@end