diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-09-16 12:09:35 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-09-16 12:09:35 +0000 |
commit | 902695800b7a760c138bc84ae982d5c5b826a437 (patch) | |
tree | 121268fec3959566785809c4e095a3b94fea8c53 /Source/SPFieldEditorController.h | |
parent | 11f9f5a153ca055e4f104dc6494745e1c4f38518 (diff) | |
download | sequelpro-902695800b7a760c138bc84ae982d5c5b826a437.tar.gz sequelpro-902695800b7a760c138bc84ae982d5c5b826a437.tar.bz2 sequelpro-902695800b7a760c138bc84ae982d5c5b826a437.zip |
• BIT Field Sheet Editor now can handle NULL values
• Field Editor Sheet field name label also displays NOT NULL if set
Diffstat (limited to 'Source/SPFieldEditorController.h')
-rw-r--r-- | Source/SPFieldEditorController.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |