From 902695800b7a760c138bc84ae982d5c5b826a437 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Thu, 16 Sep 2010 12:09:35 +0000 Subject: =?UTF-8?q?=E2=80=A2=20BIT=20Field=20Sheet=20Editor=20now=20can=20?= =?UTF-8?q?handle=20NULL=20values=20=E2=80=A2=20Field=20Editor=20Sheet=20f?= =?UTF-8?q?ield=20name=20label=20also=20displays=20NOT=20NULL=20if=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPFieldEditorController.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/SPFieldEditorController.h') diff --git a/Source/SPFieldEditorController.h b/Source/SPFieldEditorController.h index ba44469e..7c5c6c9a 100644 --- a/Source/SPFieldEditorController.h +++ b/Source/SPFieldEditorController.h @@ -48,6 +48,7 @@ IBOutlet NSTextField *bitSheetOctalTextField; IBOutlet NSButton *bitSheetOkButton; IBOutlet NSButton *bitSheetCloseButton; + IBOutlet NSButton *bitSheetNULLButton; IBOutlet NSButton *bitSheetBitButton0; IBOutlet NSButton *bitSheetBitButton1; IBOutlet NSButton *bitSheetBitButton2; @@ -125,6 +126,7 @@ BOOL editSheetWillBeInitialized; BOOL _isBlob; BOOL _isEditable; + BOOL _allowNULL; NSInteger quickLookCloseMarker; NSStringEncoding encoding; NSString *fieldType; @@ -161,6 +163,7 @@ - (IBAction)bitSheetSelectBit0:(id)sender; - (IBAction)bitSheetBitButtonWasClicked:(id)sender; - (IBAction)bitSheetOperatorButtonWasClicked:(id)sender; +- (IBAction)setToNull:(id)sender; - (void)updateBitSheet; - (id)editWithObject:(id)data fieldName:(NSString*)fieldName usingEncoding:(NSStringEncoding)anEncoding @@ -169,6 +172,7 @@ - (void)setTextMaxLength:(unsigned long long)length; - (void)setFieldType:(NSString*)aType; - (void)setFieldEncoding:(NSString*)aEncoding; +- (void)setAllowNULL:(BOOL)allowNULL; - (void)processPasteImageData; - (void)processUpdatedImageData:(NSData *)data; -- cgit v1.2.3