From 110ffbf58c596add5dfd1d71e7777f90b2a84c00 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 27 Aug 2013 23:52:01 +0000 Subject: - Add the ability for SPTextAndLinkCell arrows to be selectively disabled on a per-cell rather than a per-column basis - Use this ability in SPTableContentDelegate to disable link arrows if the cell is showing a NULL or (not loaded) value, and also if the current row is being edited and so might be unvalidated. This addresses Issue #1790 and http://spbug.com/l/2306 . --- Source/SPTextAndLinkCell.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/SPTextAndLinkCell.h') diff --git a/Source/SPTextAndLinkCell.h b/Source/SPTextAndLinkCell.h index 73eeb486..74f28cc8 100644 --- a/Source/SPTextAndLinkCell.h +++ b/Source/SPTextAndLinkCell.h @@ -33,6 +33,7 @@ @interface SPTextAndLinkCell : NSTextFieldCell { BOOL hasLink; + BOOL linkActive; NSButtonCell *linkButton; id linkTarget; @@ -43,6 +44,8 @@ NSInteger drawState; } +@property (readwrite, assign) BOOL linkActive; + - (void) setTarget:(id)theTarget action:(SEL)theAction; - (NSInteger) getClickedColumn; - (NSInteger) getClickedRow; -- cgit v1.2.3