aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCopyTable.h
diff options
context:
space:
mode:
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;