aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Interfaces/English.lproj/DBView.xib954
-rw-r--r--Resources/English.lproj/DBView.stringsbin99310 -> 100836 bytes
-rw-r--r--Source/SPTableTriggers.h2
-rw-r--r--Source/SPTableTriggers.m186
4 files changed, 280 insertions, 862 deletions
diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib
index 0e85b00d..3d816896 100644
--- a/Interfaces/English.lproj/DBView.xib
+++ b/Interfaces/English.lproj/DBView.xib
@@ -3,7 +3,7 @@
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">10F569</string>
- <string key="IBDocument.InterfaceBuilderVersion">788</string>
+ <string key="IBDocument.InterfaceBuilderVersion">804</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
@@ -16,14 +16,15 @@
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
- <string>788</string>
- <string>788</string>
+ <string>804</string>
+ <string>804</string>
<string>1.2.5</string>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
- <integer value="673"/>
+ <integer value="6735"/>
+ <integer value="25"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -940,7 +941,7 @@
<object class="NSTabViewItem" id="831053945">
<string key="NSIdentifier">source</string>
<object class="NSView" key="NSView" id="461236772">
- <reference key="NSNextResponder" ref="714795046"/>
+ <nil key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -1055,7 +1056,6 @@
</object>
</object>
</object>
- <int key="NSSelectedIndex">1</int>
<bool key="NSPullDown">YES</bool>
<int key="NSPreferredEdge">1</int>
<bool key="NSUsesItemFromMenu">YES</bool>
@@ -2419,7 +2419,6 @@
</object>
</object>
<string key="NSFrame">{{10, 7}, {706, 544}}</string>
- <reference key="NSSuperview" ref="714795046"/>
</object>
<string key="NSLabel">Structure</string>
<reference key="NSColor" ref="62854682"/>
@@ -5728,7 +5727,7 @@
<object class="NSTabViewItem" id="75945221">
<string key="NSIdentifier">triggers</string>
<object class="NSView" key="NSView" id="776303855">
- <nil key="NSNextResponder"/>
+ <reference key="NSNextResponder" ref="714795046"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -6161,20 +6160,21 @@
</object>
</object>
<string key="NSFrame">{{10, 7}, {706, 544}}</string>
+ <reference key="NSSuperview" ref="714795046"/>
</object>
<string key="NSLabel">Triggers</string>
<reference key="NSColor" ref="62854682"/>
<reference key="NSTabView" ref="714795046"/>
</object>
</object>
- <reference key="NSSelectedTabViewItem" ref="831053945"/>
+ <reference key="NSSelectedTabViewItem" ref="75945221"/>
<reference key="NSFont" ref="26"/>
<int key="NSTvFlags">134217731</int>
<bool key="NSAllowTruncatedLabels">YES</bool>
<bool key="NSDrawsBackground">YES</bool>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
- <reference ref="461236772"/>
+ <reference ref="776303855"/>
</object>
</object>
</object>
@@ -11560,6 +11560,14 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="NSTitle"/>
<object class="NSMutableArray" key="NSMenuItems">
<bool key="EncodedWithXMLCoder">YES</bool>
+ <object class="NSMenuItem" id="456870714">
+ <reference key="NSMenu" ref="107658659"/>
+ <string key="NSTitle">Edit Trigger</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="450876295"/>
+ <reference key="NSMixedImage" ref="414351669"/>
+ </object>
<object class="NSMenuItem" id="1062047500">
<reference key="NSMenu" ref="107658659"/>
<string key="NSTitle">Delete Trigger</string>
@@ -16151,6 +16159,14 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
</object>
<int key="connectionID">7667</int>
</object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">editTrigger:</string>
+ <reference key="source" ref="33487092"/>
+ <reference key="destination" ref="456870714"/>
+ </object>
+ <int key="connectionID">7669</int>
+ </object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -18145,6 +18161,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="1062047500"/>
+ <reference ref="456870714"/>
</object>
<reference key="parent" ref="0"/>
<string key="objectName">Table Triggers Menu</string>
@@ -22664,6 +22681,11 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<reference key="object" ref="746368739"/>
<reference key="parent" ref="361834046"/>
</object>
+ <object class="IBObjectRecord">
+ <int key="objectID">7668</int>
+ <reference key="object" ref="456870714"/>
+ <reference key="parent" ref="107658659"/>
+ </object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
@@ -23966,6 +23988,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>7656.IBPluginDependency</string>
<string>7660.IBPluginDependency</string>
<string>7661.IBPluginDependency</string>
+ <string>7668.IBPluginDependency</string>
<string>858.IBPluginDependency</string>
<string>858.ImportedFromIB2</string>
<string>959.IBEditorWindowLastContentRect</string>
@@ -25111,7 +25134,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{539, 190}, {150, 23}}</string>
+ <string>{{463, 559}, {150, 43}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -25298,7 +25321,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string>{{85, 417}, {943, 549}}</string>
+ <string>{{109, 183}, {943, 549}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<boolean value="YES"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -25752,6 +25775,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1"/>
<string>{{265, 489}, {405, 267}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@@ -25789,7 +25813,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
</object>
</object>
<nil key="sourceID"/>
- <int key="maxID">7667</int>
+ <int key="maxID">7669</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -27049,6 +27073,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>importFromClipboard:</string>
<string>openCurrentConnectionInNewWindow:</string>
<string>optimizeTable:</string>
+ <string>refreshTables:</string>
<string>removeDatabase:</string>
<string>renameDatabase:</string>
<string>repairTable:</string>
@@ -27122,6 +27147,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@@ -27154,6 +27180,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>importFromClipboard:</string>
<string>openCurrentConnectionInNewWindow:</string>
<string>optimizeTable:</string>
+ <string>refreshTables:</string>
<string>removeDatabase:</string>
<string>renameDatabase:</string>
<string>repairTable:</string>
@@ -27284,6 +27311,10 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
+ <string key="name">refreshTables:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
<string key="name">removeDatabase:</string>
<string key="candidateClassName">id</string>
</object>
@@ -29463,16 +29494,21 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addRow:</string>
+ <string>closeSheet:</string>
<string>copyRow:</string>
<string>filterTable:</string>
<string>navigatePaginationFromButton:</string>
<string>reloadTable:</string>
<string>removeRow:</string>
<string>setCompareTypes:</string>
- <string>showTableFilter:</string>
+ <string>setDefaultOperator:</string>
+ <string>showFilterTable:</string>
+ <string>swapFilterTable:</string>
<string>tableFilterClear:</string>
- <string>tableFilterExecute:</string>
+ <string>toggleDistinctSelect:</string>
<string>toggleFilterField:</string>
+ <string>toggleLookAllFieldsMode:</string>
+ <string>toggleNegateClause:</string>
<string>togglePagination:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -29489,6 +29525,11 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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">
@@ -29496,16 +29537,21 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>addRow:</string>
+ <string>closeSheet:</string>
<string>copyRow:</string>
<string>filterTable:</string>
<string>navigatePaginationFromButton:</string>
<string>reloadTable:</string>
<string>removeRow:</string>
<string>setCompareTypes:</string>
- <string>showTableFilter:</string>
+ <string>setDefaultOperator:</string>
+ <string>showFilterTable:</string>
+ <string>swapFilterTable:</string>
<string>tableFilterClear:</string>
- <string>tableFilterExecute:</string>
+ <string>toggleDistinctSelect:</string>
<string>toggleFilterField:</string>
+ <string>toggleLookAllFieldsMode:</string>
+ <string>toggleNegateClause:</string>
<string>togglePagination:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -29515,6 +29561,10 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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">copyRow:</string>
<string key="candidateClassName">id</string>
</object>
@@ -29539,7 +29589,15 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
- <string key="name">showTableFilter:</string>
+ <string key="name">setDefaultOperator:</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">
@@ -29547,7 +29605,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
- <string key="name">tableFilterExecute:</string>
+ <string key="name">toggleDistinctSelect:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
@@ -29555,6 +29613,14 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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">id</string>
</object>
@@ -29575,7 +29641,13 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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>
@@ -29614,7 +29686,13 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>NSPopUpButton</string>
<string>id</string>
<string>NSButton</string>
+ <string>NSMenuItem</string>
<string>NSButton</string>
+ <string>NSMenuItem</string>
+ <string>id</string>
+ <string>id</string>
+ <string>NSPanel</string>
+ <string>NSComboBox</string>
<string>SPCopyTable</string>
<string>SPTextView</string>
<string>NSPanel</string>
@@ -29656,7 +29734,13 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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>
@@ -29729,10 +29813,34 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<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">id</string>
+ </object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">filterTableNegateCheckbox</string>
+ <string key="candidateClassName">id</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>
@@ -30163,6 +30271,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>removeField:</string>
<string>resetAutoIncrement:</string>
<string>showOptimizedFieldType:</string>
+ <string>toggleColumnView:</string>
<string>unhideIndexesView:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -30176,6 +30285,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@@ -30190,6 +30300,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>removeField:</string>
<string>resetAutoIncrement:</string>
<string>showOptimizedFieldType:</string>
+ <string>toggleColumnView:</string>
<string>unhideIndexesView:</string>
</object>
<object class="NSMutableArray" key="dict.values">
@@ -30227,6 +30338,10 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
+ <string key="name">toggleColumnView:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
<string key="name">unhideIndexesView:</string>
<string key="candidateClassName">id</string>
</object>
@@ -30262,6 +30377,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>tableSourceView</string>
<string>tablesIndexesSplitView</string>
<string>tablesListInstance</string>
+ <string>viewColumnsMenu</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -30291,6 +30407,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>id</string>
<string>NSSplitView</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
@@ -30323,6 +30440,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>tableSourceView</string>
<string>tablesIndexesSplitView</string>
<string>tablesListInstance</string>
+ <string>viewColumnsMenu</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -30430,6 +30548,10 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="name">tablesListInstance</string>
<string key="candidateClassName">id</string>
</object>
+ <object class="IBToOneOutletInfo">
+ <string key="name">viewColumnsMenu</string>
+ <string key="candidateClassName">id</string>
+ </object>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -30463,6 +30585,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>addTrigger:</string>
<string>closeTriggerSheet:</string>
<string>confirmAddTrigger:</string>
+ <string>editTrigger:</string>
<string>refreshTriggers:</string>
<string>removeTrigger:</string>
</object>
@@ -30473,6 +30596,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>id</string>
<string>id</string>
<string>id</string>
+ <string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
@@ -30482,6 +30606,7 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string>addTrigger:</string>
<string>closeTriggerSheet:</string>
<string>confirmAddTrigger:</string>
+ <string>editTrigger:</string>
<string>refreshTriggers:</string>
<string>removeTrigger:</string>
</object>
@@ -30500,6 +30625,10 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
+ <string key="name">editTrigger:</string>
+ <string key="candidateClassName">id</string>
+ </object>
+ <object class="IBActionInfo">
<string key="name">refreshTriggers:</string>
<string key="candidateClassName">id</string>
</object>
@@ -31146,769 +31275,6 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
</object>
</object>
</object>
- <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <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>copyRow:</string>
- <string>filterTable:</string>
- <string>navigatePaginationFromButton:</string>
- <string>reloadTable:</string>
- <string>removeRow:</string>
- <string>setCompareTypes:</string>
- <string>setDefaultOperator:</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>
- </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>copyRow:</string>
- <string>filterTable:</string>
- <string>navigatePaginationFromButton:</string>
- <string>reloadTable:</string>
- <string>removeRow:</string>
- <string>setCompareTypes:</string>
- <string>setDefaultOperator:</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">copyRow:</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">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">id</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>contentFilterManager</string>
- <string>contentViewPane</string>
- <string>copyButton</string>
- <string>countText</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>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>id</string>
- <string>id</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>id</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>id</string>
- <string>id</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>contentFilterManager</string>
- <string>contentViewPane</string>
- <string>copyButton</string>
- <string>countText</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">contentFilterManager</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">copyButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">countText</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">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">filterTableNegateCheckbox</string>
- <string key="candidateClassName">id</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">id</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">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">tableDocumentInstance</string>
- <string key="candidateClassName">id</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">IBDocumentRelativeSource</string>
- <string key="minorKey">../../Source/SPTableContent.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SPTableStructure</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>addField:</string>
- <string>closeKeySheet:</string>
- <string>closeSheet:</string>
- <string>copyField:</string>
- <string>reloadTable:</string>
- <string>removeField:</string>
- <string>resetAutoIncrement:</string>
- <string>showOptimizedFieldType:</string>
- <string>toggleColumnView:</string>
- <string>unhideIndexesView:</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>
- </object>
- </object>
- <object class="NSMutableDictionary" key="actionInfosByName">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="NSArray" key="dict.sortedKeys">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <string>addField:</string>
- <string>closeKeySheet:</string>
- <string>closeSheet:</string>
- <string>copyField:</string>
- <string>reloadTable:</string>
- <string>removeField:</string>
- <string>resetAutoIncrement:</string>
- <string>showOptimizedFieldType:</string>
- <string>toggleColumnView:</string>
- <string>unhideIndexesView:</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBActionInfo">
- <string key="name">addField:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">closeKeySheet:</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">copyField:</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">removeField:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">resetAutoIncrement:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">showOptimizedFieldType:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">toggleColumnView:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo">
- <string key="name">unhideIndexesView:</string>
- <string key="candidateClassName">id</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>addFieldButton</string>
- <string>addIndexButton</string>
- <string>chooseKeyButton</string>
- <string>copyFieldButton</string>
- <string>databaseDataInstance</string>
- <string>editTableButton</string>
- <string>encodingPopupCell</string>
- <string>extendedTableInfoInstance</string>
- <string>indexesController</string>
- <string>indexesShowButton</string>
- <string>indexesTableView</string>
- <string>keySheet</string>
- <string>refreshIndexesButton</string>
- <string>reloadFieldsButton</string>
- <string>removeFieldButton</string>
- <string>removeIndexButton</string>
- <string>resetAutoIncrementLine</string>
- <string>resetAutoIncrementSheet</string>
- <string>resetAutoIncrementValue</string>
- <string>structureGrabber</string>
- <string>tableDataInstance</string>
- <string>tableDocumentInstance</string>
- <string>tableInfoInstance</string>
- <string>tableSourceView</string>
- <string>tablesIndexesSplitView</string>
- <string>tablesListInstance</string>
- <string>viewColumnsMenu</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>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>id</string>
- <string>id</string>
- <string>NSSplitView</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>addFieldButton</string>
- <string>addIndexButton</string>
- <string>chooseKeyButton</string>
- <string>copyFieldButton</string>
- <string>databaseDataInstance</string>
- <string>editTableButton</string>
- <string>encodingPopupCell</string>
- <string>extendedTableInfoInstance</string>
- <string>indexesController</string>
- <string>indexesShowButton</string>
- <string>indexesTableView</string>
- <string>keySheet</string>
- <string>refreshIndexesButton</string>
- <string>reloadFieldsButton</string>
- <string>removeFieldButton</string>
- <string>removeIndexButton</string>
- <string>resetAutoIncrementLine</string>
- <string>resetAutoIncrementSheet</string>
- <string>resetAutoIncrementValue</string>
- <string>structureGrabber</string>
- <string>tableDataInstance</string>
- <string>tableDocumentInstance</string>
- <string>tableInfoInstance</string>
- <string>tableSourceView</string>
- <string>tablesIndexesSplitView</string>
- <string>tablesListInstance</string>
- <string>viewColumnsMenu</string>
- </object>
- <object class="NSMutableArray" key="dict.values">
- <bool key="EncodedWithXMLCoder">YES</bool>
- <object class="IBToOneOutletInfo">
- <string key="name">addFieldButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">addIndexButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">chooseKeyButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">copyFieldButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">databaseDataInstance</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">editTableButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">encodingPopupCell</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">extendedTableInfoInstance</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">indexesController</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">indexesShowButton</string>
- <string key="candidateClassName">NSButton</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">indexesTableView</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">keySheet</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">refreshIndexesButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">reloadFieldsButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">removeFieldButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">removeIndexButton</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">resetAutoIncrementLine</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">resetAutoIncrementSheet</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">resetAutoIncrementValue</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">structureGrabber</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">tableInfoInstance</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">tableSourceView</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">tablesIndexesSplitView</string>
- <string key="candidateClassName">NSSplitView</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">tablesListInstance</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo">
- <string key="name">viewColumnsMenu</string>
- <string key="candidateClassName">id</string>
- </object>
- </object>
- </object>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBDocumentRelativeSource</string>
- <string key="minorKey">../../Source/SPTableStructure.h</string>
- </object>
- </object>
- </object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
@@ -32003,6 +31369,22 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">BWTransparentCheckbox</string>
+ <string key="superclassName">NSButton</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">BWToolkitFramework.framework/Headers/BWTransparentCheckbox.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
+ <string key="className">BWTransparentCheckboxCell</string>
+ <string key="superclassName">NSButtonCell</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">BWToolkitFramework.framework/Headers/BWTransparentCheckboxCell.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">BWTransparentScrollView</string>
<string key="superclassName">NSScrollView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -32027,6 +31409,14 @@ bGQgTmFtZQkgID0gQAoJCQkJICBMRU5HVEgoYEBgKSA+IEA</bytes>
</object>
</object>
<object class="IBPartialClassDescription">
+ <string key="className">BWTransparentTableViewCell</string>
+ <string key="superclassName">NSTextFieldCell</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBFrameworkSource</string>
+ <string key="minorKey">BWToolkitFramework.framework/Headers/BWTransparentTableViewCell.h</string>
+ </object>
+ </object>
+ <object class="IBPartialClassDescription">
<string key="className">NSActionCell</string>
<string key="superclassName">NSCell</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
diff --git a/Resources/English.lproj/DBView.strings b/Resources/English.lproj/DBView.strings
index 00bf0e69..3573001b 100644
--- a/Resources/English.lproj/DBView.strings
+++ b/Resources/English.lproj/DBView.strings
Binary files differ
diff --git a/Source/SPTableTriggers.h b/Source/SPTableTriggers.h
index b2a754ce..b7bd61fd 100644
--- a/Source/SPTableTriggers.h
+++ b/Source/SPTableTriggers.h
@@ -23,7 +23,6 @@
//
// More info at <http://code.google.com/p/sequel-pro/>
-#import <Cocoa/Cocoa.h>
#import <MCPKit/MCPKit.h>
@interface SPTableTriggers : NSObject
@@ -68,6 +67,7 @@
// IB action methods
- (IBAction)addTrigger:(id)sender;
+- (IBAction)editTrigger:(id)sender;
- (IBAction)removeTrigger:(id)sender;
- (IBAction)closeTriggerSheet:(id)sender;
- (IBAction)confirmAddTrigger:(id)sender;
diff --git a/Source/SPTableTriggers.m b/Source/SPTableTriggers.m
index 86f0aa53..a934f450 100644
--- a/Source/SPTableTriggers.m
+++ b/Source/SPTableTriggers.m
@@ -34,6 +34,7 @@
@interface SPTableTriggers (PrivateAPI)
+- (void)_editTriggerAtIndex:(NSInteger)index;
- (void)_toggleConfirmAddTriggerButtonEnabled;
- (void)_refreshTriggerDataForcingCacheRefresh:(BOOL)clearAllCaches;
@@ -43,6 +44,9 @@
@synthesize connection;
+#pragma mark -
+#pragma mark Initialization
+
/**
* init
*/
@@ -275,6 +279,14 @@
}
/**
+ * Edits the selected trigger.
+ */
+- (IBAction)editTrigger:(id)sender
+{
+ [self _editTriggerAtIndex:[triggersTableView selectedRow]];
+}
+
+/**
* Trigger a refresh of the displayed triggers via the interface.
*/
- (IBAction)refreshTriggers:(id)sender
@@ -309,54 +321,13 @@
/**
* Double-click action on table cells - for the time being, return NO to disable editing.
*/
-- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex
+- (BOOL)tableView:(NSTableView *)tableView shouldEditTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex
{
if ([tableDocumentInstance isWorking]) return NO;
// Start Edit panel
- if (([triggerData count] > rowIndex) && ([triggerData objectAtIndex:rowIndex] != NSNotFound))
- {
- NSDictionary *trigger = [triggerData objectAtIndex:rowIndex];
-
- // Cache the original trigger's name and statement in the event that the editing process fails and
- // we need to recreate it.
- editTriggerName = [trigger objectForKey:@"trigger"];
- editTriggerStatement = [trigger objectForKey:@"statement"];
- editTriggerTableName = [trigger objectForKey:@"table"];
- editTriggerEvent = [trigger objectForKey:@"event"];
- editTriggerActionTime = [trigger objectForKey:@"timing"];
-
- [triggerNameTextField setStringValue:editTriggerName];
- [triggerStatementTextView setString:editTriggerStatement];
-
- // Timin title is different then what we have saved in the database (case difference)
- for (NSUInteger i = 0; i < [[triggerActionTimePopUpButton itemArray] count]; i++)
- {
- if ([[[triggerActionTimePopUpButton itemTitleAtIndex:i] uppercaseString] isEqualToString:[[trigger objectForKey:@"timing"] uppercaseString]]) {
- [triggerActionTimePopUpButton selectItemAtIndex:i];
- break;
- }
- }
-
- // Event title is different then what we have saved in the database (case difference)
- for (NSUInteger i = 0; i < [[triggerEventPopUpButton itemArray] count]; i++)
- {
- if ([[[triggerEventPopUpButton itemTitleAtIndex:i] uppercaseString] isEqualToString:[[trigger objectForKey:@"event"] uppercaseString]]) {
- [triggerEventPopUpButton selectItemAtIndex:i];
- break;
- }
- }
-
- // Change button label from Add to Edit
- [confirmAddTriggerButton setTitle:NSLocalizedString(@"Save", @"Save trigger button label")];
-
- isEdit = YES;
-
- [NSApp beginSheet:addTriggerPanel
- modalForWindow:[tableDocumentInstance parentWindow]
- modalDelegate:self
- didEndSelector:nil
- contextInfo:nil];
+ if (([triggerData count] > rowIndex) && ([triggerData objectAtIndex:rowIndex] != NSNotFound)) {
+ [self _editTriggerAtIndex:rowIndex];
}
return NO;
@@ -365,7 +336,7 @@
/**
* Disable row selection while the document is working.
*/
-- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(NSInteger)rowIndex
+- (BOOL)tableView:(NSTableView *)tableView shouldSelectRow:(NSInteger)rowIndex
{
return (![tableDocumentInstance isWorking]);
}
@@ -472,25 +443,22 @@
*/
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
+ SEL action = [menuItem action];
+
// Remove row
- if ([menuItem action] == @selector(removeTrigger:)) {
+ if (action == @selector(removeTrigger:)) {
[menuItem setTitle:([triggersTableView numberOfSelectedRows] > 1) ? NSLocalizedString(@"Delete Triggers", @"delete triggers menu item") : NSLocalizedString(@"Delete Trigger", @"delete trigger menu item")];
return ([triggersTableView numberOfSelectedRows] > 0);
}
+ else if (action == @selector(editTrigger:)) {
+ return ([triggersTableView numberOfSelectedRows] == 1);
+ }
return YES;
}
/**
- * Toggles the enabled state of confirm add trigger button based on the editing of the trigger's name.
- */
-- (void)controlTextDidChange:(NSNotification *)notification
-{
- [self _toggleConfirmAddTriggerButtonEnabled];
-}
-
-/**
* Toggles the enabled state of confirm add trigger button based on the editing of the trigger's statement.
*/
- (void)triggerStatementTextDidChange:(NSNotification *)notification
@@ -542,23 +510,68 @@
}
#pragma mark -
+#pragma mark Textfield delegate methods
/**
- * Dealloc.
+ * Toggles the enabled state of confirm add trigger button based on the editing of the trigger's name.
*/
-- (void)dealloc
+- (void)controlTextDidChange:(NSNotification *)notification
{
- [triggerData release], triggerData = nil;
-
- [[NSNotificationCenter defaultCenter] removeObserver:self];
- [[NSUserDefaults standardUserDefaults] removeObserver:self forKeyPath:SPUseMonospacedFonts];
-
- [super dealloc];
+ [self _toggleConfirmAddTriggerButtonEnabled];
}
-@end
+#pragma mark -
+#pragma mark Private API
-@implementation SPTableTriggers (PrivateAPI)
+/**
+ * Presents the edit sheet for the trigger at the supplied index.
+ *
+ * @param index The index of the trigger to edit
+ */
+- (void)_editTriggerAtIndex:(NSInteger)index
+{
+ NSDictionary *trigger = [triggerData objectAtIndex:index];
+
+ // Cache the original trigger's name and statement in the event that the editing process fails and
+ // we need to recreate it.
+ editTriggerName = [trigger objectForKey:@"trigger"];
+ editTriggerStatement = [trigger objectForKey:@"statement"];
+ editTriggerTableName = [trigger objectForKey:@"table"];
+ editTriggerEvent = [trigger objectForKey:@"event"];
+ editTriggerActionTime = [trigger objectForKey:@"timing"];
+
+ [triggerNameTextField setStringValue:editTriggerName];
+ [triggerStatementTextView setString:editTriggerStatement];
+
+ // Timin title is different then what we have saved in the database (case difference)
+ for (NSUInteger i = 0; i < [[triggerActionTimePopUpButton itemArray] count]; i++)
+ {
+ if ([[[triggerActionTimePopUpButton itemTitleAtIndex:i] uppercaseString] isEqualToString:[[trigger objectForKey:@"timing"] uppercaseString]]) {
+ [triggerActionTimePopUpButton selectItemAtIndex:i];
+ break;
+ }
+ }
+
+ // Event title is different then what we have saved in the database (case difference)
+ for (NSUInteger i = 0; i < [[triggerEventPopUpButton itemArray] count]; i++)
+ {
+ if ([[[triggerEventPopUpButton itemTitleAtIndex:i] uppercaseString] isEqualToString:[[trigger objectForKey:@"event"] uppercaseString]]) {
+ [triggerEventPopUpButton selectItemAtIndex:i];
+ break;
+ }
+ }
+
+ // Change button label from Add to Edit
+ [confirmAddTriggerButton setTitle:NSLocalizedString(@"Save", @"Save trigger button label")];
+
+ isEdit = YES;
+
+ [NSApp beginSheet:addTriggerPanel
+ modalForWindow:[tableDocumentInstance parentWindow]
+ modalDelegate:self
+ didEndSelector:nil
+ contextInfo:nil];
+}
/**
* Enables or disables the confirm add trigger button based on the values of the trigger's name
@@ -575,33 +588,48 @@
- (void)_refreshTriggerDataForcingCacheRefresh:(BOOL)clearAllCaches
{
[triggerData removeAllObjects];
-
+
if ([tablesListInstance tableType] == SPTableTypeTable) {
-
+
if (clearAllCaches) {
[tableDataInstance resetAllData];
[tableDataInstance updateTriggersForCurrentTable];
}
-
+
NSArray *triggers = ([[tableDocumentInstance serverSupport] supportsTriggers]) ? [tableDataInstance triggers] : nil;
-
+
for (NSDictionary *trigger in triggers)
{
[triggerData addObject:[NSDictionary dictionaryWithObjectsAndKeys:
- [trigger objectForKey:@"Table"], @"table",
- [trigger objectForKey:@"Trigger"], @"trigger",
- [trigger objectForKey:@"Event"], @"event",
- [trigger objectForKey:@"Timing"], @"timing",
- [trigger objectForKey:@"Statement"], @"statement",
- [trigger objectForKey:@"Definer"], @"definer",
- [trigger objectForKey:@"Created"], @"created",
- [trigger objectForKey:@"sql_mode"], @"sql_mode",
- nil]];
-
+ [trigger objectForKey:@"Table"], @"table",
+ [trigger objectForKey:@"Trigger"], @"trigger",
+ [trigger objectForKey:@"Event"], @"event",
+ [trigger objectForKey:@"Timing"], @"timing",
+ [trigger objectForKey:@"Statement"], @"statement",
+ [trigger objectForKey:@"Definer"], @"definer",
+ [trigger objectForKey:@"Created"], @"created",
+ [trigger objectForKey:@"sql_mode"], @"sql_mode",
+ nil]];
+
}
}
-
+
[triggersTableView reloadData];
}
+#pragma mark -
+
+/**
+ * Dealloc.
+ */
+- (void)dealloc
+{
+ [triggerData release], triggerData = nil;
+
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
+ [[NSUserDefaults standardUserDefaults] removeObserver:self forKeyPath:SPUseMonospacedFonts];
+
+ [super dealloc];
+}
+
@end