diff options
author | stuconnolly <stuart02@gmail.com> | 2009-11-14 13:23:17 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-11-14 13:23:17 +0000 |
commit | ffab593752dd8fbd56f7eeb0f7fa666a938ba774 (patch) | |
tree | 692fb5c1a551bda9e9289725382de3fc0a71c706 /Source/SPConsoleMessage.h | |
parent | a4a502eedaf862dce9f22108a5f9a1454b76d72c (diff) | |
download | sequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.tar.gz sequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.tar.bz2 sequelpro-ffab593752dd8fbd56f7eeb0f7fa666a938ba774.zip |
Bunch of improvements to the query console, including:
- New connection column (been meaning to add this for a while)
- Display table view column headers
- Enable table view text cell line truncating
- Allow table view columns to be re-ordered
- The table view now respects the display table view vertical grid lines preference
- Support for including the connection when saving messages to a file
- Support for showing/hiding the connection column
- Increase table view row height to match that of all others
- Display message time stamps using the user's system wide medium time format
Diffstat (limited to 'Source/SPConsoleMessage.h')
-rw-r--r-- | Source/SPConsoleMessage.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/SPConsoleMessage.h b/Source/SPConsoleMessage.h index fff96276..d78c4f09 100644 --- a/Source/SPConsoleMessage.h +++ b/Source/SPConsoleMessage.h @@ -29,15 +29,18 @@ { BOOL isError; NSDate *messageDate; + NSString *message; + NSString *messageConnection; } @property (readwrite, assign) BOOL isError; @property (readwrite, retain) NSDate *messageDate; @property (readwrite, retain) NSString *message; +@property (readwrite, retain) NSString *messageConnection; -+ (SPConsoleMessage *)consoleMessageWithMessage:(NSString *)consoleMessage date:(NSDate *)date; ++ (SPConsoleMessage *)consoleMessageWithMessage:(NSString *)consoleMessage date:(NSDate *)date connection:(NSString *)connection; -- (id)initWithMessage:(NSString *)message date:(NSDate *)date; +- (id)initWithMessage:(NSString *)message date:(NSDate *)date connection:(NSString *)connection; @end |