aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-12 18:25:08 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-12 18:25:08 +0000
commit65e4e8b589aa102be41b2aed6d019b9951bd3c54 (patch)
treed3a5c28b49dce847ad9993aa7f713711145de592
parentf6da47de43fce8af785dfdc4672ebbb18f7ff118 (diff)
downloadsequelpro-65e4e8b589aa102be41b2aed6d019b9951bd3c54.tar.gz
sequelpro-65e4e8b589aa102be41b2aed6d019b9951bd3c54.tar.bz2
sequelpro-65e4e8b589aa102be41b2aed6d019b9951bd3c54.zip
• rewrote editSheet for editing and displaying BLOB or TEXT data completely
• added the possibility to QuickLook the current data by choosing a data format
-rw-r--r--Interfaces/English.lproj/DBView.xib1694
-rw-r--r--Source/TableContent.h111
-rw-r--r--Source/TableContent.m209
3 files changed, 1456 insertions, 558 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib
index 425fa9e5..2e26162a 100644
--- a/Interfaces/English.lproj/DBView.xib
+++ b/Interfaces/English.lproj/DBView.xib
@@ -8,7 +8,6 @@
<string key="IBDocument.HIToolboxVersion">353.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="27"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -46,7 +45,7 @@
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
<string key="NSWindowContentMinSize">{780, 480}</string>
<object class="NSView" key="NSWindowView" id="579726586">
- <reference key="NSNextResponder"/>
+ <nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -4389,7 +4388,6 @@
</object>
</object>
<string key="NSFrameSize">{944, 550}</string>
- <reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
<string key="NSMinSize">{780, 502}</string>
@@ -6158,7 +6156,7 @@
<object class="NSWindowTemplate" id="400229091">
<int key="NSWindowStyleMask">9</int>
<int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{115, 380}, {667, 425}}</string>
+ <string key="NSWindowRect">{{115, 389}, {667, 416}}</string>
<int key="NSWTFlags">1886912512</int>
<string key="NSWindowTitle">editSheet</string>
<string key="NSWindowClass">NSWindow</string>
@@ -6166,28 +6164,52 @@
<characters key="NS.bytes">View</characters>
</object>
<string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string>
- <string key="NSWindowContentMinSize">{350, 200}</string>
+ <string key="NSWindowContentMinSize">{560, 200}</string>
<object class="NSView" key="NSWindowView" id="999543752">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">4370</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSBox" id="427523434">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">34</int>
+ <string key="NSFrame">{{0, 36}, {667, 5}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <string key="NSOffsets">{0, 0}</string>
+ <object class="NSTextFieldCell" key="NSTitleCell">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">Box</string>
+ <reference key="NSSupport" ref="244931163"/>
+ <reference key="NSBackgroundColor" ref="480189472"/>
+ <object class="NSColor" key="NSTextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
+ </object>
+ </object>
+ <int key="NSBorderType">3</int>
+ <int key="NSBoxType">2</int>
+ <int key="NSTitlePosition">0</int>
+ <bool key="NSTransparent">NO</bool>
+ </object>
<object class="NSButton" id="253418976">
<reference key="NSNextResponder" ref="999543752"/>
<int key="NSvFlags">257</int>
- <string key="NSFrame">{{576, 13}, {76, 28}}</string>
+ <string key="NSFrame">{{581, 7}, {66, 25}}</string>
<reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
<int key="NSTag">1</int>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="614204575">
<int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">138018816</int>
+ <int key="NSCellFlags2">134348800</int>
<string key="NSContents">OK</string>
<reference key="NSSupport" ref="26"/>
<int key="NSTag">1</int>
<reference key="NSControlView" ref="253418976"/>
<int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">1</int>
+ <int key="NSButtonFlags2">35</int>
<reference key="NSAlternateImage" ref="932958253"/>
<string key="NSAlternateContents"/>
<string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
@@ -6198,8 +6220,9 @@
<object class="NSButton" id="87722169">
<reference key="NSNextResponder" ref="999543752"/>
<int key="NSvFlags">257</int>
- <string key="NSFrame">{{502, 13}, {76, 28}}</string>
+ <string key="NSFrame">{{507, 7}, {66, 25}}</string>
<reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="888101847">
<int key="NSCellFlags">67239424</int>
@@ -6208,387 +6231,573 @@
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="87722169"/>
<int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">1</int>
- <reference key="NSAlternateImage" ref="26"/>
+ <int key="NSButtonFlags2">35</int>
+ <reference key="NSAlternateImage" ref="790379580"/>
<string key="NSAlternateContents"/>
<string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
- <object class="NSTabView" id="473392579">
+ <object class="NSButton" id="871440870">
<reference key="NSNextResponder" ref="999543752"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrame">{{10, 32}, {647, 373}}</string>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{94, 7}, {66, 25}}</string>
<reference key="NSSuperview" ref="999543752"/>
- <object class="NSMutableArray" key="NSTabViewItems">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTabViewItem" id="964355507">
- <object class="NSMutableString" key="NSIdentifier">
- <characters key="NS.bytes">1</characters>
+ <reference key="NSWindow"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="46380971">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">134348800</int>
+ <string key="NSContents">Save...</string>
+ <reference key="NSSupport" ref="26"/>
+ <reference key="NSControlView" ref="871440870"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">268435491</int>
+ <reference key="NSAlternateImage" ref="790379580"/>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent">s</string>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ <object class="NSButton" id="938738159">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{20, 7}, {66, 25}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSButtonCell" key="NSCell" id="544799467">
+ <int key="NSCellFlags">67239424</int>
+ <int key="NSCellFlags2">134348800</int>
+ <string key="NSContents">Open...</string>
+ <reference key="NSSupport" ref="26"/>
+ <reference key="NSControlView" ref="938738159"/>
+ <int key="NSButtonFlags">-2038284033</int>
+ <int key="NSButtonFlags2">268435491</int>
+ <reference key="NSAlternateImage" ref="790379580"/>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent">o</string>
+ <int key="NSPeriodicDelay">200</int>
+ <int key="NSPeriodicInterval">25</int>
+ </object>
+ </object>
+ <object class="NSPopUpButton" id="620882358">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{328, 7}, {48, 25}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSPopUpButtonCell" key="NSCell" id="1049067135">
+ <int key="NSCellFlags">71433792</int>
+ <int key="NSCellFlags2">134350848</int>
+ <reference key="NSSupport" ref="26"/>
+ <reference key="NSControlView" ref="620882358"/>
+ <int key="NSButtonFlags">-2031075073</int>
+ <int key="NSButtonFlags2">33554467</int>
+ <object class="NSCustomResource" key="NSNormalImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">j</string>
+ </object>
+ <string key="NSAlternateContents"/>
+ <string key="NSKeyEquivalent"/>
+ <int key="NSPeriodicDelay">400</int>
+ <int key="NSPeriodicInterval">75</int>
+ <object class="NSMenuItem" key="NSMenuItem" id="414896542">
+ <reference key="NSMenu" ref="330923656"/>
+ <bool key="NSIsHidden">YES</bool>
+ <string key="NSTitle"/>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <object class="NSCustomResource" key="NSImage">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">NSQuickLookTemplate</string>
</object>
- <object class="NSView" key="NSView" id="375414526">
- <reference key="NSNextResponder" ref="473392579"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSScrollView" id="1020679422">
- <reference key="NSNextResponder" ref="375414526"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <bool key="NSMenuItemRespectAlignment">YES</bool>
+ <object class="NSMenu" key="NSMenu" id="330923656">
+ <string key="NSTitle">OtherViews</string>
+ <object class="NSMutableArray" key="NSMenuItems">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="414896542"/>
+ <object class="NSMenuItem" id="651311563">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">Image</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="290675907">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">Sound (m4a)</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="60551315">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">Sound (mp3)</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="313658995">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">Sound (linear)</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="405291739">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">Movie</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="624314986">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">pdf</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="337614031">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">html</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="950803686">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">doc</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ <object class="NSMenuItem" id="182514031">
+ <reference key="NSMenu" ref="330923656"/>
+ <string key="NSTitle">rtf</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="285877316"/>
+ <reference key="NSMixedImage" ref="800099743"/>
+ <string key="NSAction">_popUpItemAction:</string>
+ <reference key="NSTarget" ref="1049067135"/>
+ </object>
+ </object>
+ </object>
+ <bool key="NSPullDown">YES</bool>
+ <int key="NSPreferredEdge">1</int>
+ <bool key="NSUsesItemFromMenu">YES</bool>
+ <bool key="NSAltersState">YES</bool>
+ <int key="NSArrowPosition">2</int>
+ </object>
+ </object>
+ <object class="NSSegmentedControl" id="175886676">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">292</int>
+ <string key="NSFrame">{{183, 10}, {137, 19}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSSegmentedCell" key="NSCell" id="438375364">
+ <int key="NSCellFlags">-2080244224</int>
+ <int key="NSCellFlags2">131072</int>
+ <reference key="NSSupport" ref="26"/>
+ <reference key="NSControlView" ref="175886676"/>
+ <object class="NSMutableArray" key="NSSegmentImages">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSSegmentItem">
+ <double key="NSSegmentItemWidth">4.500000e+01</double>
+ <string key="NSSegmentItemLabel">Text</string>
+ <string key="NSSegmentItemTooltip">Show data as text</string>
+ <int key="NSSegmentItemImageScaling">0</int>
+ </object>
+ <object class="NSSegmentItem">
+ <double key="NSSegmentItemWidth">4.400000e+01</double>
+ <string key="NSSegmentItemLabel">Image</string>
+ <string key="NSSegmentItemTooltip">Try to show data as image</string>
+ <int key="NSSegmentItemTag">1</int>
+ <bool key="NSSegmentItemSelected">YES</bool>
+ <int key="NSSegmentItemImageScaling">0</int>
+ </object>
+ <object class="NSSegmentItem">
+ <double key="NSSegmentItemWidth">4.400000e+01</double>
+ <string key="NSSegmentItemLabel">Hex</string>
+ <string key="NSSegmentItemTooltip">Show data hexadecimal</string>
+ <int key="NSSegmentItemImageScaling">0</int>
+ </object>
+ </object>
+ <int key="NSSelectedSegment">1</int>
+ <int key="NSSegmentStyle">2</int>
+ </object>
+ </object>
+ <object class="NSScrollView" id="533559056">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSClipView" id="106608808">
+ <reference key="NSNextResponder" ref="533559056"/>
+ <int key="NSvFlags">2304</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextView" id="283256023">
+ <reference key="NSNextResponder" ref="106608808"/>
+ <int key="NSvFlags">2322</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSClipView" id="134546146">
- <reference key="NSNextResponder" ref="1020679422"/>
- <int key="NSvFlags">2304</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTextView" id="1011820278">
- <reference key="NSNextResponder" ref="134546146"/>
- <int key="NSvFlags">2322</int>
- <string key="NSFrameSize">{574, 14}</string>
- <reference key="NSSuperview" ref="134546146"/>
- <object class="NSTextContainer" key="NSTextContainer" id="609699272">
- <object class="NSLayoutManager" key="NSLayoutManager">
- <object class="NSTextStorage" key="NSTextStorage">
- <object class="NSMutableString" key="NSString">
- <characters key="NS.bytes"/>
- </object>
- <nil key="NSDelegate"/>
- </object>
- <object class="NSMutableArray" key="NSTextContainers">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="609699272"/>
- </object>
- <int key="NSLMFlags">6</int>
- <nil key="NSDelegate"/>
- </object>
- <reference key="NSTextView" ref="1011820278"/>
- <double key="NSWidth">5.740000e+02</double>
- <int key="NSTCFlags">1</int>
- </object>
- <object class="NSTextViewSharedData" key="NSSharedData">
- <int key="NSFlags">4067</int>
- <reference key="NSBackgroundColor" ref="449903125"/>
- <reference key="NSInsertionColor" ref="304829493"/>
- <object class="NSDictionary" key="NSSelectedAttributes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSBackgroundColor</string>
- <string>NSColor</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="905060551"/>
- <reference ref="63182758"/>
- </object>
- </object>
- <nil key="NSMarkedAttributes"/>
- <object class="NSDictionary" key="NSLinkAttributes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSColor</string>
- <string>NSCursor</string>
- <string>NSUnderline</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="114422645"/>
- <object class="NSCursor">
- <string key="NSHotSpot">{8, -8}</string>
- <int key="NSCursorType">13</int>
- </object>
- <reference ref="9"/>
- </object>
- </object>
- <nil key="NSDefaultParagraphStyle"/>
- </object>
- <int key="NSTVFlags">6</int>
- <string key="NSMaxSize">{1161, 1e+07}</string>
- <string key="NSMinize">{87, 0}</string>
- <nil key="NSDelegate"/>
- </object>
+ <string>Apple HTML pasteboard type</string>
+ <string>Apple PDF pasteboard type</string>
+ <string>Apple PICT pasteboard type</string>
+ <string>CorePasteboardFlavorType 0x6D6F6F76</string>
+ <string>NSColor pasteboard type</string>
+ <string>NSFilenamesPboardType</string>
+ <string>NSStringPboardType</string>
+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
+ <string>NeXT RTFD pasteboard type</string>
+ <string>NeXT Rich Text Format v1.0 pasteboard type</string>
+ <string>NeXT TIFF v4.0 pasteboard type</string>
+ </object>
+ </object>
+ <string key="NSFrameSize">{667, 14}</string>
+ <reference key="NSSuperview" ref="106608808"/>
+ <reference key="NSWindow"/>
+ <object class="NSTextContainer" key="NSTextContainer" id="883111283">
+ <object class="NSLayoutManager" key="NSLayoutManager">
+ <object class="NSTextStorage" key="NSTextStorage">
+ <object class="NSMutableString" key="NSString">
+ <characters key="NS.bytes"/>
</object>
- <string key="NSFrame">{{1, 1}, {574, 293}}</string>
- <reference key="NSSuperview" ref="1020679422"/>
- <reference key="NSNextKeyView" ref="1011820278"/>
- <reference key="NSDocView" ref="1011820278"/>
- <reference key="NSBGColor" ref="449903125"/>
- <reference key="NSCursor" ref="32917531"/>
- <int key="NScvFlags">4</int>
- </object>
- <object class="NSScroller" id="435247014">
- <reference key="NSNextResponder" ref="1020679422"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{575, 1}, {11, 293}}</string>
- <reference key="NSSuperview" ref="1020679422"/>
- <int key="NSsFlags">256</int>
- <reference key="NSTarget" ref="1020679422"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSPercent">6.016427e-01</double>
+ <nil key="NSDelegate"/>
</object>
- <object class="NSScroller" id="767953750">
- <reference key="NSNextResponder" ref="1020679422"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
- <reference key="NSSuperview" ref="1020679422"/>
- <int key="NSsFlags">257</int>
- <reference key="NSTarget" ref="1020679422"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSCurValue">1.000000e+00</double>
- <double key="NSPercent">9.456522e-01</double>
+ <object class="NSMutableArray" key="NSTextContainers">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="883111283"/>
</object>
+ <int key="NSLMFlags">6</int>
+ <nil key="NSDelegate"/>
</object>
- <string key="NSFrame">{{20, 20}, {587, 295}}</string>
- <reference key="NSSuperview" ref="375414526"/>
- <reference key="NSNextKeyView" ref="134546146"/>
- <int key="NSsFlags">18</int>
- <reference key="NSVScroller" ref="435247014"/>
- <reference key="NSHScroller" ref="767953750"/>
- <reference key="NSContentView" ref="134546146"/>
+ <reference key="NSTextView" ref="283256023"/>
+ <double key="NSWidth">6.670000e+02</double>
+ <int key="NSTCFlags">1</int>
</object>
- </object>
- <string key="NSFrame">{{10, 25}, {627, 335}}</string>
- <reference key="NSSuperview" ref="473392579"/>
- </object>
- <string key="NSLabel">Text</string>
- <reference key="NSColor" ref="62854682"/>
- <reference key="NSTabView" ref="473392579"/>
- </object>
- <object class="NSTabViewItem" id="413352462">
- <object class="NSMutableString" key="NSIdentifier">
- <characters key="NS.bytes">2</characters>
- </object>
- <object class="NSView" key="NSView" id="948951370">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSImageView" id="976680482">
- <reference key="NSNextResponder" ref="948951370"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableSet" key="NSDragTypes">
+ <object class="NSTextViewSharedData" key="NSSharedData">
+ <int key="NSFlags">2917</int>
+ <reference key="NSBackgroundColor" ref="449903125"/>
+ <reference key="NSInsertionColor" ref="304829493"/>
+ <object class="NSDictionary" key="NSSelectedAttributes">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="set.sortedObjects">
+ <object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>Apple PDF pasteboard type</string>
- <string>Apple PICT pasteboard type</string>
- <string>Apple PNG pasteboard type</string>
- <string>NSFilenamesPboardType</string>
- <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
- <string>NeXT TIFF v4.0 pasteboard type</string>
+ <string>NSBackgroundColor</string>
+ <string>NSColor</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="905060551"/>
+ <reference ref="63182758"/>
</object>
</object>
- <string key="NSFrame">{{17, 17}, {593, 301}}</string>
- <reference key="NSSuperview" ref="948951370"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSImageCell" key="NSCell" id="11045283">
- <int key="NSCellFlags">270663168</int>
- <int key="NSCellFlags2">0</int>
- <int key="NSAlign">0</int>
- <int key="NSScale">0</int>
- <int key="NSStyle">2</int>
- <bool key="NSAnimates">NO</bool>
- </object>
- <bool key="NSEditable">YES</bool>
+ <nil key="NSMarkedAttributes"/>
+ <nil key="NSLinkAttributes"/>
+ <nil key="NSDefaultParagraphStyle"/>
</object>
+ <int key="NSTVFlags">6</int>
+ <string key="NSMaxSize">{1334, 1e+07}</string>
+ <string key="NSMinize">{283, 0}</string>
+ <nil key="NSDelegate"/>
</object>
- <string key="NSFrame">{{10, 25}, {627, 335}}</string>
</object>
- <string key="NSLabel">Image</string>
- <reference key="NSColor" ref="62854682"/>
- <reference key="NSTabView" ref="473392579"/>
+ <string key="NSFrameSize">{667, 370}</string>
+ <reference key="NSSuperview" ref="533559056"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="283256023"/>
+ <reference key="NSDocView" ref="283256023"/>
+ <reference key="NSBGColor" ref="449903125"/>
+ <reference key="NSCursor" ref="32917531"/>
+ <int key="NScvFlags">4</int>
</object>
- <object class="NSTabViewItem" id="556753191">
- <string key="NSIdentifier">3</string>
- <object class="NSView" key="NSView" id="813036786">
- <nil key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSScrollView" id="533559056">
- <reference key="NSNextResponder" ref="813036786"/>
- <int key="NSvFlags">274</int>
- <object class="NSMutableArray" key="NSSubviews">
+ <object class="NSScroller" id="945638943">
+ <reference key="NSNextResponder" ref="533559056"/>
+ <int key="NSvFlags">-2147483392</int>
+ <string key="NSFrame">{{220, 1}, {11, 141}}</string>
+ <reference key="NSSuperview" ref="533559056"/>
+ <reference key="NSWindow"/>
+ <int key="NSsFlags">256</int>
+ <reference key="NSTarget" ref="533559056"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSPercent">9.929578e-01</double>
+ </object>
+ <object class="NSScroller" id="685320182">
+ <reference key="NSNextResponder" ref="533559056"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
+ <reference key="NSSuperview" ref="533559056"/>
+ <reference key="NSWindow"/>
+ <int key="NSsFlags">257</int>
+ <reference key="NSTarget" ref="533559056"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSCurValue">1.000000e+00</double>
+ <double key="NSPercent">9.456522e-01</double>
+ </object>
+ </object>
+ <string key="NSFrame">{{0, 39}, {667, 370}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="106608808"/>
+ <int key="NSsFlags">528</int>
+ <reference key="NSVScroller" ref="945638943"/>
+ <reference key="NSHScroller" ref="685320182"/>
+ <reference key="NSContentView" ref="106608808"/>
+ </object>
+ <object class="NSImageView" id="976680482">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="set.sortedObjects">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>Apple PDF pasteboard type</string>
+ <string>Apple PICT pasteboard type</string>
+ <string>Apple PNG pasteboard type</string>
+ <string>NSFilenamesPboardType</string>
+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
+ <string>NeXT TIFF v4.0 pasteboard type</string>
+ </object>
+ </object>
+ <string key="NSFrame">{{0, 39}, {667, 370}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <bool key="NSEnabled">YES</bool>
+ <object class="NSImageCell" key="NSCell" id="11045283">
+ <int key="NSCellFlags">270663168</int>
+ <int key="NSCellFlags2">32768</int>
+ <int key="NSAlign">0</int>
+ <int key="NSScale">0</int>
+ <int key="NSStyle">0</int>
+ <bool key="NSAnimates">YES</bool>
+ </object>
+ <bool key="NSEditable">YES</bool>
+ </object>
+ <object class="NSScrollView" id="1020679422">
+ <reference key="NSNextResponder" ref="999543752"/>
+ <int key="NSvFlags">274</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSClipView" id="134546146">
+ <reference key="NSNextResponder" ref="1020679422"/>
+ <int key="NSvFlags">2304</int>
+ <object class="NSMutableArray" key="NSSubviews">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSTextView" id="1011820278">
+ <reference key="NSNextResponder" ref="134546146"/>
+ <int key="NSvFlags">2322</int>
+ <object class="NSMutableSet" key="NSDragTypes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSClipView" id="106608808">
- <reference key="NSNextResponder" ref="533559056"/>
- <int key="NSvFlags">2304</int>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSTextView" id="283256023">
- <reference key="NSNextResponder" ref="106608808"/>
- <int key="NSvFlags">2322</int>
- <object class="NSMutableSet" key="NSDragTypes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="set.sortedObjects">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>Apple HTML pasteboard type</string>
- <string>Apple PDF pasteboard type</string>
- <string>Apple PICT pasteboard type</string>
- <string>CorePasteboardFlavorType 0x6D6F6F76</string>
- <string>NSColor pasteboard type</string>
- <string>NSFilenamesPboardType</string>
- <string>NSStringPboardType</string>
- <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
- <string>NeXT RTFD pasteboard type</string>
- <string>NeXT Rich Text Format v1.0 pasteboard type</string>
- <string>NeXT TIFF v4.0 pasteboard type</string>
- </object>
- </object>
- <string key="NSFrameSize">{574, 14}</string>
- <reference key="NSSuperview" ref="106608808"/>
- <object class="NSTextContainer" key="NSTextContainer" id="883111283">
- <object class="NSLayoutManager" key="NSLayoutManager">
- <object class="NSTextStorage" key="NSTextStorage">
- <object class="NSMutableString" key="NSString">
- <characters key="NS.bytes"/>
- </object>
- <nil key="NSDelegate"/>
- </object>
- <object class="NSMutableArray" key="NSTextContainers">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="883111283"/>
- </object>
- <int key="NSLMFlags">6</int>
- <nil key="NSDelegate"/>
- </object>
- <reference key="NSTextView" ref="283256023"/>
- <double key="NSWidth">5.740000e+02</double>
- <int key="NSTCFlags">1</int>
- </object>
- <object class="NSTextViewSharedData" key="NSSharedData">
- <int key="NSFlags">2917</int>
- <reference key="NSBackgroundColor" ref="449903125"/>
- <reference key="NSInsertionColor" ref="304829493"/>
- <object class="NSDictionary" key="NSSelectedAttributes">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSMutableArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>NSBackgroundColor</string>
- <string>NSColor</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="905060551"/>
- <reference ref="63182758"/>
- </object>
- </object>
- <nil key="NSMarkedAttributes"/>
- <nil key="NSLinkAttributes"/>
- <nil key="NSDefaultParagraphStyle"/>
- </object>
- <int key="NSTVFlags">6</int>
- <string key="NSMaxSize">{1161, 1e+07}</string>
- <string key="NSMinize">{87, 0}</string>
- <nil key="NSDelegate"/>
- </object>
+ <string>Apple HTML pasteboard type</string>
+ <string>Apple PDF pasteboard type</string>
+ <string>Apple PICT pasteboard type</string>
+ <string>Apple PNG pasteboard type</string>
+ <string>Apple URL pasteboard type</string>
+ <string>CorePasteboardFlavorType 0x6D6F6F76</string>
+ <string>CorePasteboardFlavorType 0x75726C20</string>
+ <string>NSColor pasteboard type</string>
+ <string>NSFilenamesPboardType</string>
+ <string>NSStringPboardType</string>
+ <string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
+ <string>NeXT RTFD pasteboard type</string>
+ <string>NeXT Rich Text Format v1.0 pasteboard type</string>
+ <string>NeXT TIFF v4.0 pasteboard type</string>
+ <string>NeXT font pasteboard type</string>
+ <string>NeXT ruler pasteboard type</string>
+ <string>WebURLsWithTitlesPboardType</string>
+ </object>
+ </object>
+ <string key="NSFrameSize">{667, 14}</string>
+ <reference key="NSSuperview" ref="134546146"/>
+ <reference key="NSWindow"/>
+ <object class="NSTextContainer" key="NSTextContainer" id="609699272">
+ <object class="NSLayoutManager" key="NSLayoutManager">
+ <object class="NSTextStorage" key="NSTextStorage">
+ <object class="NSMutableString" key="NSString">
+ <characters key="NS.bytes"/>
</object>
- <string key="NSFrame">{{1, 1}, {574, 293}}</string>
- <reference key="NSSuperview" ref="533559056"/>
- <reference key="NSNextKeyView" ref="283256023"/>
- <reference key="NSDocView" ref="283256023"/>
- <reference key="NSBGColor" ref="449903125"/>
- <reference key="NSCursor" ref="32917531"/>
- <int key="NScvFlags">4</int>
+ <nil key="NSDelegate"/>
</object>
- <object class="NSScroller" id="945638943">
- <reference key="NSNextResponder" ref="533559056"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{575, 1}, {11, 293}}</string>
- <reference key="NSSuperview" ref="533559056"/>
- <int key="NSsFlags">256</int>
- <reference key="NSTarget" ref="533559056"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSPercent">7.128954e-01</double>
+ <object class="NSMutableArray" key="NSTextContainers">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="609699272"/>
</object>
- <object class="NSScroller" id="685320182">
- <reference key="NSNextResponder" ref="533559056"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
- <reference key="NSSuperview" ref="533559056"/>
- <int key="NSsFlags">257</int>
- <reference key="NSTarget" ref="533559056"/>
- <string key="NSAction">_doScroller:</string>
- <double key="NSCurValue">1.000000e+00</double>
- <double key="NSPercent">9.456522e-01</double>
+ <int key="NSLMFlags">6</int>
+ <nil key="NSDelegate"/>
+ </object>
+ <reference key="NSTextView" ref="1011820278"/>
+ <double key="NSWidth">6.670000e+02</double>
+ <int key="NSTCFlags">1</int>
+ </object>
+ <object class="NSTextViewSharedData" key="NSSharedData">
+ <int key="NSFlags">4067</int>
+ <reference key="NSBackgroundColor" ref="449903125"/>
+ <reference key="NSInsertionColor" ref="304829493"/>
+ <object class="NSDictionary" key="NSSelectedAttributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSBackgroundColor</string>
+ <string>NSColor</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="905060551"/>
+ <reference ref="63182758"/>
</object>
</object>
- <string key="NSFrame">{{20, 20}, {587, 295}}</string>
- <reference key="NSSuperview" ref="813036786"/>
- <reference key="NSNextKeyView" ref="106608808"/>
- <int key="NSsFlags">18</int>
- <reference key="NSVScroller" ref="945638943"/>
- <reference key="NSHScroller" ref="685320182"/>
- <reference key="NSContentView" ref="106608808"/>
+ <nil key="NSMarkedAttributes"/>
+ <object class="NSDictionary" key="NSLinkAttributes">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>NSColor</string>
+ <string>NSCursor</string>
+ <string>NSUnderline</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="114422645"/>
+ <object class="NSCursor">
+ <string key="NSHotSpot">{8, -8}</string>
+ <int key="NSCursorType">13</int>
+ </object>
+ <reference ref="9"/>
+ </object>
+ </object>
+ <nil key="NSDefaultParagraphStyle"/>
</object>
+ <int key="NSTVFlags">6</int>
+ <string key="NSMaxSize">{1334, 1e+07}</string>
+ <string key="NSMinize">{87, 0}</string>
+ <nil key="NSDelegate"/>
</object>
- <string key="NSFrame">{{10, 25}, {627, 335}}</string>
</object>
- <string key="NSLabel">Hex</string>
- <reference key="NSColor" ref="62854682"/>
- <reference key="NSTabView" ref="473392579"/>
+ <string key="NSFrameSize">{667, 370}</string>
+ <reference key="NSSuperview" ref="1020679422"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="1011820278"/>
+ <reference key="NSDocView" ref="1011820278"/>
+ <reference key="NSBGColor" ref="449903125"/>
+ <reference key="NSCursor" ref="32917531"/>
+ <int key="NScvFlags">4</int>
+ </object>
+ <object class="NSScroller" id="435247014">
+ <reference key="NSNextResponder" ref="1020679422"/>
+ <int key="NSvFlags">-2147483392</int>
+ <string key="NSFrame">{{639, 2}, {11, 359}}</string>
+ <reference key="NSSuperview" ref="1020679422"/>
+ <reference key="NSWindow"/>
+ <int key="NSsFlags">256</int>
+ <reference key="NSTarget" ref="1020679422"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSPercent">6.016427e-01</double>
+ </object>
+ <object class="NSScroller" id="767953750">
+ <reference key="NSNextResponder" ref="1020679422"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrame">{{-100, -100}, {87, 18}}</string>
+ <reference key="NSSuperview" ref="1020679422"/>
+ <reference key="NSWindow"/>
+ <int key="NSsFlags">257</int>
+ <reference key="NSTarget" ref="1020679422"/>
+ <string key="NSAction">_doScroller:</string>
+ <double key="NSCurValue">1.000000e+00</double>
+ <double key="NSPercent">9.456522e-01</double>
</object>
</object>
- <reference key="NSSelectedTabViewItem" ref="964355507"/>
- <reference key="NSFont" ref="26"/>
- <int key="NSTvFlags">134217728</int>
- <bool key="NSAllowTruncatedLabels">YES</bool>
- <bool key="NSDrawsBackground">YES</bool>
- <object class="NSMutableArray" key="NSSubviews">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="375414526"/>
- </object>
+ <string key="NSFrame">{{0, 39}, {667, 370}}</string>
+ <reference key="NSSuperview" ref="999543752"/>
+ <reference key="NSWindow"/>
+ <reference key="NSNextKeyView" ref="134546146"/>
+ <int key="NSsFlags">528</int>
+ <reference key="NSVScroller" ref="435247014"/>
+ <reference key="NSHScroller" ref="767953750"/>
+ <reference key="NSContentView" ref="134546146"/>
</object>
- <object class="NSButton" id="871440870">
+ <object class="NSProgressIndicator" id="943659835">
<reference key="NSNextResponder" ref="999543752"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{89, 13}, {76, 28}}</string>
+ <int key="NSvFlags">1325</int>
+ <object class="NSPSMatrix" key="NSDrawMatrix"/>
+ <string key="NSFrame">{{325, 220}, {32, 32}}</string>
<reference key="NSSuperview" ref="999543752"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="46380971">
- <int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">134348800</int>
- <string key="NSContents">Save...</string>
- <reference key="NSSupport" ref="26"/>
- <reference key="NSControlView" ref="871440870"/>
- <int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">268435457</int>
- <reference key="NSAlternateImage" ref="26"/>
- <string key="NSAlternateContents"/>
- <string key="NSKeyEquivalent">s</string>
- <int key="NSPeriodicDelay">200</int>
- <int key="NSPeriodicInterval">25</int>
- </object>
+ <reference key="NSWindow"/>
+ <int key="NSpiFlags">28682</int>
+ <double key="NSMinValue">1.600000e+01</double>
+ <double key="NSMaxValue">1.000000e+02</double>
</object>
- <object class="NSButton" id="938738159">
+ <object class="NSBox" id="1064737236">
<reference key="NSNextResponder" ref="999543752"/>
- <int key="NSvFlags">256</int>
- <string key="NSFrame">{{15, 13}, {76, 28}}</string>
+ <int key="NSvFlags">10</int>
+ <string key="NSFrame">{{0, 407}, {667, 5}}</string>
<reference key="NSSuperview" ref="999543752"/>
- <bool key="NSEnabled">YES</bool>
- <object class="NSButtonCell" key="NSCell" id="544799467">
+ <reference key="NSWindow"/>
+ <string key="NSOffsets">{0, 0}</string>
+ <object class="NSTextFieldCell" key="NSTitleCell">
<int key="NSCellFlags">67239424</int>
- <int key="NSCellFlags2">134348800</int>
- <string key="NSContents">Open...</string>
- <reference key="NSSupport" ref="26"/>
- <reference key="NSControlView" ref="938738159"/>
- <int key="NSButtonFlags">-2038284033</int>
- <int key="NSButtonFlags2">268435457</int>
- <reference key="NSAlternateImage" ref="26"/>
- <string key="NSAlternateContents"/>
- <string key="NSKeyEquivalent">o</string>
- <int key="NSPeriodicDelay">200</int>
- <int key="NSPeriodicInterval">25</int>
+ <int key="NSCellFlags2">0</int>
+ <string key="NSContents">Box</string>
+ <reference key="NSSupport" ref="244931163"/>
+ <reference key="NSBackgroundColor" ref="480189472"/>
+ <object class="NSColor" key="NSTextColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MCAwLjgwMDAwMDAxAA</bytes>
+ </object>
</object>
+ <int key="NSBorderType">3</int>
+ <int key="NSBoxType">2</int>
+ <int key="NSTitlePosition">0</int>
+ <bool key="NSTransparent">NO</bool>
</object>
</object>
- <string key="NSFrameSize">{667, 425}</string>
+ <string key="NSFrameSize">{667, 416}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
- <string key="NSMinSize">{350, 222}</string>
+ <string key="NSMinSize">{560, 222}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
+ <string key="NSFrameAutosaveName">SPEditSheet</string>
</object>
<object class="NSWindowTemplate" id="466147946">
<int key="NSWindowStyleMask">9</int>
@@ -13307,14 +13516,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
- <string key="label">editTextView</string>
- <reference key="source" ref="392169872"/>
- <reference key="destination" ref="1011820278"/>
- </object>
- <int key="connectionID">1232</int>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
<string key="label">editImage</string>
<reference key="source" ref="392169872"/>
<reference key="destination" ref="976680482"/>
@@ -13322,14 +13523,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<int key="connectionID">1233</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">hexTextView</string>
- <reference key="source" ref="392169872"/>
- <reference key="destination" ref="283256023"/>
- </object>
- <int key="connectionID">1234</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">saveEditSheet:</string>
<reference key="source" ref="392169872"/>
@@ -14054,14 +14247,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<int key="connectionID">4796</int>
</object>
<object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">editSheetTabView</string>
- <reference key="source" ref="392169872"/>
- <reference key="destination" ref="473392579"/>
- </object>
- <int key="connectionID">4797</int>
- </object>
- <object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">addTable:</string>
<reference key="source" ref="438574515"/>
@@ -15773,6 +15958,142 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<int key="connectionID">5942</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">editTextView</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="1011820278"/>
+ </object>
+ <int key="connectionID">5960</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">hexTextView</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="283256023"/>
+ </object>
+ <int key="connectionID">5961</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">editSheetSegmentControl</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="175886676"/>
+ </object>
+ <int key="connectionID">5963</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">segmentControllerChanged:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="175886676"/>
+ </object>
+ <int key="connectionID">5964</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">editTextScrollView</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="1020679422"/>
+ </object>
+ <int key="connectionID">5965</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">hexTextScrollView</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="533559056"/>
+ </object>
+ <int key="connectionID">5966</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsImage:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="651311563"/>
+ </object>
+ <int key="connectionID">5969</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsPDF:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="624314986"/>
+ </object>
+ <int key="connectionID">5970</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsMovie:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="405291739"/>
+ </object>
+ <int key="connectionID">5973</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsWordDoc:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="950803686"/>
+ </object>
+ <int key="connectionID">5976</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsRTF:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="182514031"/>
+ </object>
+ <int key="connectionID">5977</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsSoundLinear:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="313658995"/>
+ </object>
+ <int key="connectionID">5980</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsSoundM4A:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="290675907"/>
+ </object>
+ <int key="connectionID">5982</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsSoundMP3:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="60551315"/>
+ </object>
+ <int key="connectionID">5983</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">editSheetProgressBar</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="943659835"/>
+ </object>
+ <int key="connectionID">5985</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">quickLookAsHTML:</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="337614031"/>
+ </object>
+ <int key="connectionID">5987</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">editSheetQuickLookButton</string>
+ <reference key="source" ref="392169872"/>
+ <reference key="destination" ref="620882358"/>
+ </object>
+ <int key="connectionID">5988</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -16270,11 +16591,18 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference key="object" ref="999543752"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="427523434"/>
<reference ref="253418976"/>
- <reference ref="87722169"/>
- <reference ref="473392579"/>
- <reference ref="871440870"/>
<reference ref="938738159"/>
+ <reference ref="871440870"/>
+ <reference ref="87722169"/>
+ <reference ref="175886676"/>
+ <reference ref="620882358"/>
+ <reference ref="976680482"/>
+ <reference ref="533559056"/>
+ <reference ref="1020679422"/>
+ <reference ref="943659835"/>
+ <reference ref="1064737236"/>
</object>
<reference key="parent" ref="400229091"/>
</object>
@@ -16297,112 +16625,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference key="parent" ref="999543752"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">1215</int>
- <reference key="object" ref="473392579"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="964355507"/>
- <reference ref="413352462"/>
- <reference ref="556753191"/>
- </object>
- <reference key="parent" ref="999543752"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1216</int>
- <reference key="object" ref="964355507"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="375414526"/>
- </object>
- <reference key="parent" ref="473392579"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1217</int>
- <reference key="object" ref="375414526"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="1020679422"/>
- </object>
- <reference key="parent" ref="964355507"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1221</int>
- <reference key="object" ref="1020679422"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="1011820278"/>
- <reference ref="435247014"/>
- <reference ref="767953750"/>
- </object>
- <reference key="parent" ref="375414526"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1222</int>
- <reference key="object" ref="1011820278"/>
- <reference key="parent" ref="1020679422"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1218</int>
- <reference key="object" ref="413352462"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="948951370"/>
- </object>
- <reference key="parent" ref="473392579"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1214</int>
- <reference key="object" ref="948951370"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="976680482"/>
- </object>
- <reference key="parent" ref="413352462"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1227</int>
- <reference key="object" ref="976680482"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="11045283"/>
- </object>
- <reference key="parent" ref="948951370"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1223</int>
- <reference key="object" ref="556753191"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="813036786"/>
- </object>
- <reference key="parent" ref="473392579"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1224</int>
- <reference key="object" ref="813036786"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="533559056"/>
- </object>
- <reference key="parent" ref="556753191"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1230</int>
- <reference key="object" ref="533559056"/>
- <object class="NSMutableArray" key="children">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="283256023"/>
- <reference ref="945638943"/>
- <reference ref="685320182"/>
- </object>
- <reference key="parent" ref="813036786"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">1231</int>
- <reference key="object" ref="283256023"/>
- <reference key="parent" ref="533559056"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">1225</int>
<reference key="object" ref="871440870"/>
<object class="NSMutableArray" key="children">
@@ -17323,11 +17545,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference key="parent" ref="87722169"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">3841</int>
- <reference key="object" ref="11045283"/>
- <reference key="parent" ref="976680482"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">3842</int>
<reference key="object" ref="46380971"/>
<reference key="parent" ref="871440870"/>
@@ -17627,26 +17844,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference key="parent" ref="392618957"/>
</object>
<object class="IBObjectRecord">
- <int key="objectID">3935</int>
- <reference key="object" ref="435247014"/>
- <reference key="parent" ref="1020679422"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">3936</int>
- <reference key="object" ref="767953750"/>
- <reference key="parent" ref="1020679422"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">3937</int>
- <reference key="object" ref="945638943"/>
- <reference key="parent" ref="533559056"/>
- </object>
- <object class="IBObjectRecord">
- <int key="objectID">3938</int>
- <reference key="object" ref="685320182"/>
- <reference key="parent" ref="533559056"/>
- </object>
- <object class="IBObjectRecord">
<int key="objectID">3939</int>
<reference key="object" ref="850107135"/>
<reference key="parent" ref="271089627"/>
@@ -22377,6 +22574,187 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference key="object" ref="647656972"/>
<reference key="parent" ref="231853805"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5943</int>
+ <reference key="object" ref="620882358"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="1049067135"/>
+ </object>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5944</int>
+ <reference key="object" ref="1049067135"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="330923656"/>
+ </object>
+ <reference key="parent" ref="620882358"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5945</int>
+ <reference key="object" ref="330923656"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="290675907"/>
+ <reference ref="414896542"/>
+ <reference ref="651311563"/>
+ <reference ref="405291739"/>
+ <reference ref="950803686"/>
+ <reference ref="182514031"/>
+ <reference ref="313658995"/>
+ <reference ref="60551315"/>
+ <reference ref="624314986"/>
+ <reference ref="337614031"/>
+ </object>
+ <reference key="parent" ref="1049067135"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5946</int>
+ <reference key="object" ref="290675907"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5947</int>
+ <reference key="object" ref="651311563"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5948</int>
+ <reference key="object" ref="624314986"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5949</int>
+ <reference key="object" ref="414896542"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5951</int>
+ <reference key="object" ref="427523434"/>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5952</int>
+ <reference key="object" ref="175886676"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="438375364"/>
+ </object>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5953</int>
+ <reference key="object" ref="438375364"/>
+ <reference key="parent" ref="175886676"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1230</int>
+ <reference key="object" ref="533559056"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="283256023"/>
+ <reference ref="945638943"/>
+ <reference ref="685320182"/>
+ </object>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1231</int>
+ <reference key="object" ref="283256023"/>
+ <reference key="parent" ref="533559056"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3937</int>
+ <reference key="object" ref="945638943"/>
+ <reference key="parent" ref="533559056"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3938</int>
+ <reference key="object" ref="685320182"/>
+ <reference key="parent" ref="533559056"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1227</int>
+ <reference key="object" ref="976680482"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="11045283"/>
+ </object>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3841</int>
+ <reference key="object" ref="11045283"/>
+ <reference key="parent" ref="976680482"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1221</int>
+ <reference key="object" ref="1020679422"/>
+ <object class="NSMutableArray" key="children">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <reference ref="767953750"/>
+ <reference ref="435247014"/>
+ <reference ref="1011820278"/>
+ </object>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3936</int>
+ <reference key="object" ref="767953750"/>
+ <reference key="parent" ref="1020679422"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">3935</int>
+ <reference key="object" ref="435247014"/>
+ <reference key="parent" ref="1020679422"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1222</int>
+ <reference key="object" ref="1011820278"/>
+ <reference key="parent" ref="1020679422"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5972</int>
+ <reference key="object" ref="405291739"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5974</int>
+ <reference key="object" ref="950803686"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5975</int>
+ <reference key="object" ref="182514031"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5978</int>
+ <reference key="object" ref="313658995"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5981</int>
+ <reference key="object" ref="60551315"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5984</int>
+ <reference key="object" ref="943659835"/>
+ <reference key="parent" ref="999543752"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5986</int>
+ <reference key="object" ref="337614031"/>
+ <reference key="parent" ref="330923656"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">5989</int>
+ <reference key="object" ref="1064737236"/>
+ <reference key="parent" ref="999543752"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -22503,16 +22881,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>120.ImportedFromIB2</string>
<string>121.IBPluginDependency</string>
<string>121.ImportedFromIB2</string>
- <string>1214.IBPluginDependency</string>
- <string>1214.ImportedFromIB2</string>
- <string>1215.IBPluginDependency</string>
- <string>1215.ImportedFromIB2</string>
- <string>1216.IBPluginDependency</string>
- <string>1216.ImportedFromIB2</string>
- <string>1217.IBPluginDependency</string>
- <string>1217.ImportedFromIB2</string>
- <string>1218.IBPluginDependency</string>
- <string>1218.ImportedFromIB2</string>
<string>122.CustomClassName</string>
<string>122.IBPluginDependency</string>
<string>122.ImportedFromIB2</string>
@@ -22520,10 +22888,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>1221.ImportedFromIB2</string>
<string>1222.IBPluginDependency</string>
<string>1222.ImportedFromIB2</string>
- <string>1223.IBPluginDependency</string>
- <string>1223.ImportedFromIB2</string>
- <string>1224.IBPluginDependency</string>
- <string>1224.ImportedFromIB2</string>
<string>1225.IBPluginDependency</string>
<string>1225.ImportedFromIB2</string>
<string>1226.IBPluginDependency</string>
@@ -23727,6 +24091,28 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>5904.IBPluginDependency</string>
<string>5905.IBPluginDependency</string>
<string>5906.IBPluginDependency</string>
+ <string>5943.IBAttributePlaceholdersKey</string>
+ <string>5943.IBPluginDependency</string>
+ <string>5944.IBPluginDependency</string>
+ <string>5945.IBEditorWindowLastContentRect</string>
+ <string>5945.IBPluginDependency</string>
+ <string>5946.IBPluginDependency</string>
+ <string>5947.IBPluginDependency</string>
+ <string>5948.IBPluginDependency</string>
+ <string>5949.IBPluginDependency</string>
+ <string>5951.IBPluginDependency</string>
+ <string>5952.IBPluginDependency</string>
+ <string>5952.IBSegmentedControlTracker.RoundRobinState</string>
+ <string>5952.IBSegmentedControlTracker.WasGrowing</string>
+ <string>5953.IBPluginDependency</string>
+ <string>5972.IBPluginDependency</string>
+ <string>5974.IBPluginDependency</string>
+ <string>5975.IBPluginDependency</string>
+ <string>5978.IBPluginDependency</string>
+ <string>5981.IBPluginDependency</string>
+ <string>5984.IBPluginDependency</string>
+ <string>5986.IBPluginDependency</string>
+ <string>5989.IBPluginDependency</string>
<string>6.IBPluginDependency</string>
<string>6.ImportedFromIB2</string>
<string>604.IBEditorWindowLastContentRect</string>
@@ -24137,16 +24523,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference ref="9"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
<string>CMTextView</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
@@ -24158,10 +24534,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<reference ref="9"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <reference ref="9"/>
<string>CMImageView</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
@@ -24993,7 +25365,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{72, 240}, {175, 93}}</string>
+ <string>{{71, 99}, {175, 93}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableDictionary">
@@ -25015,8 +25387,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8</string>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{310, -112}, {944, 550}}</string>
- <string>{{310, -112}, {944, 550}}</string>
+ <string>{{171, 147}, {944, 550}}</string>
+ <string>{{171, 147}, {944, 550}}</string>
<reference ref="9"/>
<reference ref="9"/>
<string>{{62, 352}, {845, 504}}</string>
@@ -25621,15 +25993,44 @@ aGUgYWN0aXZlIHNlbGVjdGlvbiAo4oyl4oyYUik</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <object class="NSMutableDictionary">
+ <string key="NS.key.0">ToolTip</string>
+ <object class="IBToolTipAttribute" key="NS.object.0">
+ <string key="name">ToolTip</string>
+ <reference key="object" ref="620882358"/>
+ <string key="toolTip">Choose a data format to display the current data by using QuickLook</string>
+ </object>
+ </object>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>{{503, 95}, {137, 173}}</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <reference ref="8"/>
+ <reference ref="9"/>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
- <string>{{62, 225}, {667, 425}}</string>
- <string>{{62, 225}, {667, 425}}</string>
+ <string>{{230, 340}, {667, 416}}</string>
+ <string>{{230, 340}, {667, 416}}</string>
<reference ref="9"/>
<reference ref="8"/>
<reference ref="9"/>
<string>{3.40282e+38, 3.40282e+38}</string>
- <string>{350, 200}</string>
+ <string>{560, 200}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="9"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -25875,7 +26276,7 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">5942</int>
+ <int key="maxID">5989</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -27158,6 +27559,223 @@ Y2hhbmdlIHRoZSBvcmRlcg</string>
</object>
</object>
</object>
+ <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="IBPartialClassDescription">
+ <string key="className">TableContent</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addRow:</string>
+ <string>closeEditSheet:</string>
+ <string>copyRow:</string>
+ <string>dropImage:</string>
+ <string>filterTable:</string>
+ <string>openEditSheet:</string>
+ <string>quickLookAsHTML:</string>
+ <string>quickLookAsImage:</string>
+ <string>quickLookAsMovie:</string>
+ <string>quickLookAsPDF:</string>
+ <string>quickLookAsRTF:</string>
+ <string>quickLookAsSoundLinear:</string>
+ <string>quickLookAsSoundM4A:</string>
+ <string>quickLookAsSoundMP3:</string>
+ <string>quickLookAsWordDoc:</string>
+ <string>reloadTable:</string>
+ <string>reloadTableValues:</string>
+ <string>removeRow:</string>
+ <string>saveEditSheet:</string>
+ <string>segmentControllerChanged:</string>
+ <string>setCompareTypes:</string>
+ <string>showAll:</string>
+ <string>stepLimitRows:</string>
+ <string>toggleFilterField:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addButton</string>
+ <string>argumentField</string>
+ <string>compareField</string>
+ <string>copyButton</string>
+ <string>countText</string>
+ <string>editData</string>
+ <string>editImage</string>
+ <string>editSheet</string>
+ <string>editSheetProgressBar</string>
+ <string>editSheetQuickLookButton</string>
+ <string>editSheetSegmentControl</string>
+ <string>editTextScrollView</string>
+ <string>editTextView</string>
+ <string>fieldField</string>
+ <string>filterButton</string>
+ <string>hexTextScrollView</string>
+ <string>hexTextView</string>
+ <string>limitRowsButton</string>
+ <string>limitRowsField</string>
+ <string>limitRowsStepper</string>
+ <string>limitRowsText</string>
+ <string>multipleLineEditingButton</string>
+ <string>removeButton</string>
+ <string>tableContentView</string>
+ <string>tableDataInstance</string>
+ <string>tableDocumentInstance</string>
+ <string>tableWindow</string>
+ <string>tablesListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>CMCopyTable</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBDocumentRelativeSource</string>
+ <string key="minorKey">../../Source/TableContent.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">TableSource</string>
+ <string key="superclassName">NSObject</string>
+ <object class="NSMutableDictionary" key="actions">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addField:</string>
+ <string>addIndex:</string>
+ <string>chooseIndexType:</string>
+ <string>closeIndexSheet:</string>
+ <string>closeKeySheet:</string>
+ <string>copyField:</string>
+ <string>openIndexSheet:</string>
+ <string>reloadTable:</string>
+ <string>removeField:</string>
+ <string>removeIndex:</string>
+ <string>typeChanged:</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="NSMutableDictionary" key="outlets">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMutableArray" key="dict.sortedKeys">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>addFieldButton</string>
+ <string>addIndexButton</string>
+ <string>chooseKeyButton</string>
+ <string>copyFieldButton</string>
+ <string>indexNameField</string>
+ <string>indexSheet</string>
+ <string>indexTypeField</string>
+ <string>indexView</string>
+ <string>indexedColumnsField</string>
+ <string>keySheet</string>
+ <string>removeFieldButton</string>
+ <string>removeIndexButton</string>
+ <string>structureGrabber</string>
+ <string>tableDataInstance</string>
+ <string>tableSourceView</string>
+ <string>tableTypeButton</string>
+ <string>tableWindow</string>
+ <string>tablesListInstance</string>
+ </object>
+ <object class="NSMutableArray" key="dict.values">
+ <bool key="EncodedWithXMLCoder">YES</bool>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ <string>id</string>
+ </object>
+ </object>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBDocumentRelativeSource</string>
+ <string key="minorKey">../../Source/TableSource.h</string>
+ </object>
+ </object>
+ </object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.LastKnownRelativeProjectPath">../../sequel-pro.xcodeproj</string>
diff --git a/Source/TableContent.h b/Source/TableContent.h
index ddae12df..0e5aad67 100644
--- a/Source/TableContent.h
+++ b/Source/TableContent.h
@@ -28,6 +28,97 @@
#import <Cocoa/Cocoa.h>
#import <MCPKit_bundled/MCPKit_bundled.h>
+@interface QLPreviewPanel : NSPanel
+{
+}
+
++ (id)sharedPreviewPanel;
++ (id)_previewPanel;
++ (BOOL)isSharedPreviewPanelLoaded;
+- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(unsigned int)fp28 defer:(BOOL)fp32;
+- (id)initWithCoder:(id)fp8;
+- (void)dealloc;
+- (BOOL)isOpaque;
+- (BOOL)canBecomeKeyWindow;
+- (BOOL)canBecomeMainWindow;
+- (BOOL)shouldIgnorePanelFrameChanges;
+- (BOOL)isOpen;
+- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24 animate:(BOOL)fp28;
+- (id)_subEffectsForWindow:(id)fp8 itemFrame:(struct _NSRect)fp12 transitionWindow:(id *)fp28;
+- (id)_scaleEffectForItemFrame:(struct _NSRect)fp8 transitionWindow:(id *)fp24;
+- (void)_invertCurrentEffect;
+- (struct _NSRect)_currentItemFrame;
+- (void)setAutosizesAndCenters:(BOOL)fp8;
+- (BOOL)autosizesAndCenters;
+- (void)makeKeyAndOrderFront:(id)fp8;
+- (void)makeKeyAndOrderFrontWithEffect:(int)fp8;
+- (void)makeKeyAndGoFullscreenWithEffect:(int)fp8;
+- (void)makeKeyAndOrderFrontWithEffect:(int)fp8 canClose:(BOOL)fp12;
+- (void)_makeKeyAndOrderFrontWithEffect:(int)fp8 canClose:(BOOL)fp12 willOpen:(BOOL)fp16 toFullscreen:(BOOL)fp20;
+- (int)openingEffect;
+- (void)closePanel;
+- (void)close;
+- (void)closeWithEffect:(int)fp8;
+- (void)closeWithEffect:(int)fp8 canReopen:(BOOL)fp12;
+- (void)_closeWithEffect:(int)fp8 canReopen:(BOOL)fp12;
+- (void)windowEffectDidTerminate:(id)fp8;
+- (void)_close:(id)fp8;
+- (void)sendEvent:(id)fp8;
+- (void)selectNextItem;
+- (void)selectPreviousItem;
+- (void)setURLs:(id)fp8 currentIndex:(unsigned int)fp12 preservingDisplayState:(BOOL)fp16;
+- (void)setURLs:(id)fp8 preservingDisplayState:(BOOL)fp12;
+- (void)setURLs:(id)fp8;
+- (id)URLs;
+- (unsigned int)indexOfCurrentURL;
+- (void)setIndexOfCurrentURL:(unsigned int)fp8;
+- (void)setDelegate:(id)fp8;
+- (id)sharedPreviewView;
+- (void)setSharedPreviewView:(id)fp8;
+- (void)setCyclesSelection:(BOOL)fp8;
+- (BOOL)cyclesSelection;
+- (void)setShowsAddToiPhotoButton:(BOOL)fp8;
+- (BOOL)showsAddToiPhotoButton;
+- (void)setShowsiChatTheaterButton:(BOOL)fp8;
+- (BOOL)showsiChatTheaterButton;
+- (void)setShowsFullscreenButton:(BOOL)fp8;
+- (BOOL)showsFullscreenButton;
+- (void)setShowsIndexSheetButton:(BOOL)fp8;
+- (BOOL)showsIndexSheetButton;
+- (void)setAutostarts:(BOOL)fp8;
+- (BOOL)autostarts;
+- (void)setPlaysDuringPanelAnimation:(BOOL)fp8;
+- (BOOL)playsDuringPanelAnimation;
+- (void)setDeferredLoading:(BOOL)fp8;
+- (BOOL)deferredLoading;
+- (void)setEnableDragNDrop:(BOOL)fp8;
+- (BOOL)enableDragNDrop;
+- (void)start:(id)fp8;
+- (void)stop:(id)fp8;
+- (void)setShowsIndexSheet:(BOOL)fp8;
+- (BOOL)showsIndexSheet;
+- (void)setShareWithiChat:(BOOL)fp8;
+- (BOOL)shareWithiChat;
+- (void)setPlaysSlideShow:(BOOL)fp8;
+- (BOOL)playsSlideShow;
+- (void)setIsFullscreen:(BOOL)fp8;
+- (BOOL)isFullscreen;
+- (void)setMandatoryClient:(id)fp8;
+- (id)mandatoryClient;
+- (void)setForcedContentTypeUTI:(id)fp8;
+- (id)forcedContentTypeUTI;
+- (void)setDocumentURLs:(id)fp8;
+- (void)setDocumentURLs:(id)fp8 preservingDisplayState:(BOOL)fp12;
+- (void)setDocumentURLs:(id)fp8 itemFrame:(struct _NSRect)fp12;
+- (void)setURLs:(id)fp8 itemFrame:(struct _NSRect)fp12;
+- (void)setAutoSizeAndCenterOnScreen:(BOOL)fp8;
+- (void)setShowsAddToiPhoto:(BOOL)fp8;
+- (void)setShowsiChatTheater:(BOOL)fp8;
+- (void)setShowsFullscreen:(BOOL)fp8;
+
+@end
+
+
@class CMMCPConnection, CMMCPResult, CMCopyTable;
@interface TableContent : NSObject
@@ -36,13 +127,18 @@
IBOutlet id tablesListInstance;
IBOutlet id tableDataInstance;
+ IBOutlet id editSheetProgressBar;
+
IBOutlet id tableWindow;
IBOutlet CMCopyTable *tableContentView;
IBOutlet id editSheet;
- IBOutlet id editSheetTabView;
+ IBOutlet id editSheetSegmentControl;
+ IBOutlet id editSheetQuickLookButton;
IBOutlet id editImage;
IBOutlet id editTextView;
IBOutlet id hexTextView;
+ IBOutlet id editTextScrollView;
+ IBOutlet id hexTextScrollView;
IBOutlet id fieldField;
IBOutlet id compareField;
IBOutlet id argumentField;
@@ -68,6 +164,8 @@
NSUserDefaults *prefs;
int numRows, currentlyEditingRow, maxNumRowsOfCurrentTable;
bool areShowingAllRows;
+
+ int qlPane;
}
//table methods
@@ -89,6 +187,17 @@
- (IBAction)closeEditSheet:(id)sender;
- (IBAction)openEditSheet:(id)sender;
- (IBAction)saveEditSheet:(id)sender;
+- (IBAction)segmentControllerChanged:(id)sender;
+- (IBAction)quickLookAsMovie:(id)sender;
+- (IBAction)quickLookAsSoundLinear:(id)sender;
+- (IBAction)quickLookAsSoundM4A:(id)sender;
+- (IBAction)quickLookAsSoundMP3:(id)sender;
+- (IBAction)quickLookAsImage:(id)sender;
+- (IBAction)quickLookAsPDF:(id)sender;
+- (IBAction)quickLookAsWordDoc:(id)sender;
+- (IBAction)quickLookAsRTF:(id)sender;
+- (IBAction)quickLookAsHTML:(id)sender;
+- (void)invokeQuickLookOfType:(NSString *)type;
- (void)processUpdatedImageData:(NSData *)data;
- (IBAction)dropImage:(id)sender;
- (void)textDidChange:(NSNotification *)notification;
diff --git a/Source/TableContent.m b/Source/TableContent.m
index a6c297b2..62737a5c 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -69,6 +69,9 @@
{
// Set the table content view's vertical gridlines if required
[tableContentView setGridStyleMask:([prefs boolForKey:@"DisplayTableViewVerticalGridlines"]) ? NSTableViewSolidVerticalGridLineMask : NSTableViewGridNone];
+ // if([[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load])
+ // NSLog(@"Quick Look loaded!");
+
}
/*
@@ -856,7 +859,9 @@
if ( [panel runModal] == NSOKButton ) {
NSString *fileName = [panel filename];
-
+
+ [editSheetProgressBar startAnimation:self];
+
// free old data
if ( editData != nil ) {
[editData release];
@@ -866,7 +871,7 @@
editData = [[NSData alloc] initWithContentsOfFile:fileName];
NSImage *image = [[NSImage alloc] initWithData:editData];
NSString *contents = [NSString stringWithContentsOfFile:fileName];
-
+
// set the image preview, string contents and hex representation
[editImage setImage:image];
[editTextView setString:contents];
@@ -874,15 +879,53 @@
// If the image cell now contains a valid image, select the image tab
if (image) {
- [editSheetTabView selectTabViewItemAtIndex:1];
+ [editSheetSegmentControl setSelectedSegment:1];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ [editImage setHidden:NO];
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
// Otherwise deselect the image tab if it's selected but now not showing anything
} else {
- if ([editSheetTabView indexOfTabViewItem:[editSheetTabView selectedTabViewItem]] == 1)
- [editSheetTabView selectTabViewItemAtIndex:0];
+ [editSheetSegmentControl setSelectedSegment:0];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ [editImage setHidden:YES];
+ [editTextView setHidden:NO];
+ [editTextScrollView setHidden:NO];
}
[image release];
+
+ [editSheetProgressBar stopAnimation:self];
+ }
+}
+
+- (IBAction)segmentControllerChanged:(id)sender
+{
+ switch([sender selectedSegment]){
+ case 0:
+ [editTextView setHidden:NO];
+ [editTextScrollView setHidden:NO];
+ [editImage setHidden:YES];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ break;
+ case 1:
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
+ [editImage setHidden:NO];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ break;
+ case 2:
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
+ [editImage setHidden:YES];
+ [hexTextView setHidden:NO];
+ [hexTextScrollView setHidden:NO];
+ break;
}
}
@@ -894,6 +937,9 @@
NSSavePanel *panel = [NSSavePanel savePanel];
if ( [panel runModal] == NSOKButton ) {
+
+ [editSheetProgressBar startAnimation:self];
+
NSString *fileName = [panel filename];
// Write binary field types directly to the file
@@ -907,9 +953,110 @@
encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance connectionEncoding] UTF8String]]
error:NULL];
}
+
+ [editSheetProgressBar stopAnimation:self];
+
+ }
+}
+
+- (IBAction)quickLookAsWordDoc:(id)sender
+{
+ [self invokeQuickLookOfType:@"doc"];
+}
+- (IBAction)quickLookAsRTF:(id)sender
+{
+ [self invokeQuickLookOfType:@"rtf"];
+}
+- (IBAction)quickLookAsMovie:(id)sender
+{
+ [self invokeQuickLookOfType:@"mov"];
+}
+- (IBAction)quickLookAsSoundM4A:(id)sender
+{
+ [self invokeQuickLookOfType:@"m4a"];
+}
+- (IBAction)quickLookAsSoundMP3:(id)sender
+{
+ [self invokeQuickLookOfType:@"mp3"];
+}
+- (IBAction)quickLookAsSoundLinear:(id)sender
+{
+ [self invokeQuickLookOfType:@"wav"];
+}
+- (IBAction)quickLookAsImage:(id)sender
+{
+ [self invokeQuickLookOfType:@"pict"];
+}
+- (IBAction)quickLookAsPDF:(id)sender
+{
+ [self invokeQuickLookOfType:@"pdf"];
+}
+- (IBAction)quickLookAsHTML:(id)sender
+{
+ [self invokeQuickLookOfType:@"html"];
+}
+
+- (void)invokeQuickLookOfType:(NSString *)type
+{
+
+ if([[NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/QuickLookUI.framework"] load]) {
+
+ [editSheetProgressBar startAnimation:self];
+
+ NSString *tmpFileName = [NSString stringWithFormat:@"/tmp/SequelProQuickLook.%@", type];
+
+ if ( [editData isKindOfClass:[NSData class]] ) {
+ [editData writeToFile:tmpFileName atomically:YES];
+
+ // Write other field types' representations to the file via the current encoding
+ } else {
+ [[editData description] writeToFile:tmpFileName
+ atomically:YES
+ encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance connectionEncoding] UTF8String]]
+ error:NULL];
+ }
+
+ [[[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] delegate] setDelegate:self];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] setURLs:[NSArray arrayWithObject:
+ [NSURL fileURLWithPath:tmpFileName]] currentIndex:0 preservingDisplayState:YES];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] setShowsAddToiPhotoButton:NO];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] setShowsiChatTheaterButton:NO];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] setShowsFullscreenButton:NO];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] setEnableDragNDrop:NO];
+ [[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] makeKeyAndOrderFrontWithEffect:2 canClose:YES]; // 1 = fade in
+
+ qlPane = 0;
+
+ [editSheetProgressBar stopAnimation:self];
+
+ NSModalSession session = [NSApp beginModalSessionForWindow:[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel]];
+ for (;;) {
+ if ([NSApp runModalSession:session] != NSRunContinuesResponse || qlPane == 1 || ![[NSClassFromString(@"QLPreviewPanel") sharedPreviewPanel] isVisible])
+ break;
+ }
+ [NSApp endModalSession:session];
+
}
+
+}
+
+// This is the delegate method
+// It should return the frame for the item represented by the URL
+// If an empty frame is returned then the panel will fade in/out instead
+- (NSRect)previewPanel:(NSPanel*)panel frameForURL:(NSURL*)URL
+{
+
+ // Close modal session defined in invokeQuickLookOfType:
+ // if user closes the QuickLook view
+ qlPane = 1;
+
+ NSRect r = [editSheetQuickLookButton convertRectToBase:[editSheetQuickLookButton frame]];
+ // NSLog(@"%@ %@", r, [[NSApp mainWindow] frame]);
+ r.origin.y=400;
+ return r;
}
+
/*
* Invoked when the imageView in the connection sheet has the contents deleted
* or a file dragged and dropped onto it.
@@ -2053,47 +2200,70 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
// Open the sheet if the multipleLineEditingButton is enabled or the column was a blob or a text.
if ( [multipleLineEditingButton state] == NSOnState || [tableDataInstance columnIsBlobOrText:[aTableColumn identifier]] ) {
+
theValue = [[filteredResult objectAtIndex:rowIndex] objectForKey:[aTableColumn identifier]];
NSImage *image = nil;
editData = [theValue retain];
-
+
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ [editImage setHidden:YES];
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
+
+ [NSApp beginSheet:editSheet modalForWindow:tableWindow modalDelegate:self didEndSelector:nil contextInfo:nil];
+
+ [editSheetProgressBar startAnimation:self];
+
if ( [theValue isKindOfClass:[NSData class]] ) {
image = [[[NSImage alloc] initWithData:theValue] autorelease];
[hexTextView setString:[self dataToHex:theValue]];
stringValue = [[NSString alloc] initWithData:theValue encoding:[mySQLConnection encoding]];
if (stringValue == nil)
stringValue = [[NSString alloc] initWithData:theValue encoding:NSASCIIStringEncoding];
+ [hexTextView setHidden:NO];
+ [hexTextScrollView setHidden:NO];
+ [editImage setHidden:YES];
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
+ [editSheetSegmentControl setSelectedSegment:2];
} else {
[hexTextView setString:@""];
stringValue = [[NSString alloc] initWithString:[theValue description]];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ [editImage setHidden:YES];
+ [editTextView setHidden:NO];
+ [editTextScrollView setHidden:NO];
+ [editSheetSegmentControl setSelectedSegment:0];
}
if (image) {
[editImage setImage:image];
+ [hexTextView setHidden:YES];
+ [hexTextScrollView setHidden:YES];
+ [editImage setHidden:NO];
+ [editTextView setHidden:YES];
+ [editTextScrollView setHidden:YES];
+ [editSheetSegmentControl setSelectedSegment:1];
} else {
- [editImage setImage:nil];
+ [editImage setImage:nil];
}
if (stringValue) {
[editTextView setString:stringValue];
- [editTextView setSelectedRange:NSMakeRange(0,[[editTextView string] length])];
+ //[editTextView setSelectedRange:NSMakeRange(0,[[editTextView string] length])];
[stringValue release];
}
- // If the cell contains a valid image, select the image tab
- if (image) {
- [editSheetTabView selectTabViewItemAtIndex:1];
+ [editSheetProgressBar stopAnimation:self];
- // Otherwise default to text tab
- } else {
- [editSheetTabView selectTabViewItemAtIndex:0];
- }
-
- [NSApp beginSheet:editSheet modalForWindow:tableWindow modalDelegate:self didEndSelector:nil contextInfo:nil];
code = [NSApp runModalForWindow:editSheet];
[NSApp endSheet:editSheet];
[editSheet orderOut:nil];
+ qlPane = 1;
+
if ( code ) {
if ( !isEditingRow ) {
[oldRow setDictionary:[filteredResult objectAtIndex:rowIndex]];
@@ -2102,7 +2272,6 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
}
[[filteredResult objectAtIndex:rowIndex] setObject:[editData copy] forKey:[aTableColumn identifier]];
-
// Clean up
[editImage setImage:nil];
[editTextView setString:@""];
@@ -2110,8 +2279,11 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
if ( editData ) {
[editData release];
}
+
}
+
return NO;
+
} else {
return YES;
}
@@ -2241,7 +2413,6 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
[tableContentView setGridStyleMask:([[change objectForKey:NSKeyValueChangeNewKey] boolValue]) ? NSTableViewSolidVerticalGridLineMask : NSTableViewGridNone];
}
}
-
// Last but not least
- (void)dealloc
{