diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-07-17 15:53:59 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-07-17 15:53:59 +0000 |
commit | dbefc2d0e374b9279289b313adf814187b26882c (patch) | |
tree | 2320fc9b29f0f3a9fd1a3a01007e3fe4af3a3c96 /Source/SPFieldEditorController.h | |
parent | 155e66d1b9a6d1108ba4b29397fe3b04a77737f0 (diff) | |
download | sequelpro-dbefc2d0e374b9279289b313adf814187b26882c.tar.gz sequelpro-dbefc2d0e374b9279289b313adf814187b26882c.tar.bz2 sequelpro-dbefc2d0e374b9279289b313adf814187b26882c.zip |
• Field Editor Sheet class
- added the feature to set "isEditable"; according to "isEditable" GUI elements will be hidden or renamed
- if no blob data reduce the minimal sheet size since no segment or quicklook control is needed
Diffstat (limited to 'Source/SPFieldEditorController.h')
-rw-r--r-- | Source/SPFieldEditorController.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/SPFieldEditorController.h b/Source/SPFieldEditorController.h index f369951f..1b54cfab 100644 --- a/Source/SPFieldEditorController.h +++ b/Source/SPFieldEditorController.h @@ -36,6 +36,9 @@ IBOutlet id editTextScrollView; IBOutlet id hexTextScrollView; IBOutlet id editSheet; + IBOutlet id editSheetCancelButton; + IBOutlet id editSheetOkButton; + IBOutlet id editSheetOpenButton; id sheetEditData; BOOL editSheetWillBeInitialized; @@ -58,7 +61,7 @@ - (IBAction)quickLookFormatButton:(id)sender; - (IBAction)dropImage:(id)sender; -- (id)editWithObject:(id)data usingEncoding:(NSStringEncoding)anEncoding isObjectBlob:(BOOL)isFieldBlob withWindow:(NSWindow *)tableWindow; +- (id)editWithObject:(id)data usingEncoding:(NSStringEncoding)anEncoding isObjectBlob:(BOOL)isFieldBlob isEditable:(BOOL)isEditable withWindow:(NSWindow *)tableWindow; - (void)processPasteImageData; - (void)processUpdatedImageData:(NSData *)data; |