aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCopyTable.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-01-22 12:19:21 +0000
committerstuconnolly <stuart02@gmail.com>2012-01-22 12:19:21 +0000
commit1d7ed99d602bf9c7aa4ea40a9a2ab6458864e51f (patch)
tree6c08ad29618ea02caf302180706d010c90cd57e0 /Source/SPCopyTable.h
parente23ba5155a53c43a106ac9646f51321ccc7d86f4 (diff)
downloadsequelpro-1d7ed99d602bf9c7aa4ea40a9a2ab6458864e51f.tar.gz
sequelpro-1d7ed99d602bf9c7aa4ea40a9a2ab6458864e51f.tar.bz2
sequelpro-1d7ed99d602bf9c7aa4ea40a9a2ab6458864e51f.zip
Bring outlinew view branch up to date with trunk (r3375:3468).
Diffstat (limited to 'Source/SPCopyTable.h')
-rw-r--r--Source/SPCopyTable.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPCopyTable.h b/Source/SPCopyTable.h
index 87c4ec8c..a8a80d09 100644
--- a/Source/SPCopyTable.h
+++ b/Source/SPCopyTable.h
@@ -171,6 +171,17 @@
- (BOOL)isCellEditingMode;
- (BOOL)isCellComplex;
+/*!
+ @method shouldUseFieldEditorForRow:column:
+ @abstract Determine whether to trigger sheet editing or in-cell editing for a cell
+ @discussion Checks the column data type, and the cell contents if necessary, to check
+ the most appropriate editing type.
+ @param rowIndex The row in the table the cell is present in
+ @param colIndex The *original* column in the table the cell is present in (ie pre-reordering)
+ @result YES if sheet editing should be used, NO otherwise.
+*/
+- (BOOL)shouldUseFieldEditorForRow:(NSUInteger)rowIndex column:(NSUInteger)colIndex;
+
- (IBAction)executeBundleItemForDataTable:(id)sender;
- (void)selectTableRows:(NSArray*)rowIndices;