aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructure.h
Commit message (Collapse)AuthorAgeFilesLines
* • TableStructure sheet to ask for the to be used index of an ↵Bibiko2010-11-011-3/+1
| | | | | | auto_increment field now runs doc-modal not app-modal - the used strategy is to ask the user for an index whenever the user set the Extra field to 'auto_increment' and not as part of the 'addRowToDb' method
* • improved Structure editing logic to allow to choose auto_increment for ↵Bibiko2010-11-011-1/+3
| | | | | | Extra only if table has no auto_increment field set since MySQL allows only one auto column - the user has still the chance to type 'auto_increment' into the Extra manually
* Tidy up SPTableStructure including moving all the private field type ↵stuconnolly2010-10-281-1/+5
| | | | validation methods to their own class, SPTableFieldValidation.
* Add SPDefaultPasteboardDragType constant.stuconnolly2010-10-281-7/+6
|
* Tidy up.stuconnolly2010-10-191-2/+0
|
* • implemented for TableStructure's source table the possibility to ↵Bibiko2010-10-151-0/+3
| | | | | | hide/unhide the columns: Key, encoding, collation, comment by adding a gear menu 'View Columns'; the hide status will be saved inside the Pref key: 'NSTableView Hidden Columns SPTableStructureSource' - this implements the feature request issue 868
* - Consolidate structure and content row editing cancellation code into a ↵rowanbeentje2010-09-161-0/+1
| | | | | | | | | | single function in each class - Tweak NSTableView subclasses to catch presses of the Escape key and ask the class to abort row editing. This makes Esc key behaviour much more consistent, and allows cancelling/reverting edits made via the mouse (eg checkboxes, dropdowns, enums), or after the cell editing has finished but the row is still selected. - Remove debug - Update localisable strings
* • added to Structure source table's context menu item: "Show optimized ↵Bibiko2010-09-121-0/+1
| | | | field type" which will come up with a suggested field type calculated by PROCEDURE ANALYSE(0,8192)
* • TableStructureBibiko2010-09-101-0/+2
| | | | | | - moved field type suggestions for combobox as data source to SPTableStructure - applied type combobox lowercased completion while typing - improved DEFAULT handling for any numeric, date, time fields if DEFAULT was set to an empty string '' - if so skip it to avoid unnecessary error messages
* • Structure editingBibiko2010-09-091-0/+2
| | | | | | | - fixed issue while drag&drop an auto_inc field > ignore DEFAULT - fixed several keyboard navigation issues - further code improvements - fixed encoding editing
* • TableStructureBibiko2010-09-091-1/+4
| | | | | | | - changed: field information are retrieved via [SPTableData columns]; mainly to get all infos like comment, encoding, and collation - added the chance to edit encoding, collation, and comment for each field Note: This is work is progress - not yet optimized but fully workable. Due to GUI I simply added these three columns - improvements will follow
* Tweak structure view index collapsing:rowanbeentje2010-07-171-0/+5
| | | | | | | - Make the minimum index view size a little smaller - Add a button to reveal the indexes subview when it is collapsed. This button is hidden when te index view is not collapsed. This addresses Issue #746
* Split the management of a table's indexes (adding and removing) to its own ↵stuconnolly2010-06-141-14/+7
| | | | controller and XIB in preparation for the UI redesign.
* Rename TableSource to SPTableStructure.stuconnolly2010-05-271-0/+109