aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-25 22:16:56 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-25 22:16:56 +0000
commit90002d731b137988e4462374e35220db86731086 (patch)
treed92bb03c60379672eccf7a89f7d5b2e405dd2896 /Source/SPProcessListController.h
parentfa5f69379821283787e66405c7a6bd43dc16a71e (diff)
downloadsequelpro-90002d731b137988e4462374e35220db86731086.tar.gz
sequelpro-90002d731b137988e4462374e35220db86731086.tar.bz2
sequelpro-90002d731b137988e4462374e35220db86731086.zip
Bunch of improvements to the server process list viewer, including:
- It is now a separate window like the console to enable monitoring. - It now uses the same window style as the console. - The ability to show or hide the process ID, column. This could possibly be enabled for some of the other columns as well, suggestions? - The ability to enable or disable the use of SHOW FULL PROCESSLIST or just SHOW PROCESSLIST. This implements most of the enhancements requested in issue #607, with the exception of the option to enable auto-refresh, which is still being worked on.
Diffstat (limited to 'Source/SPProcessListController.h')
-rw-r--r--Source/SPProcessListController.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/SPProcessListController.h b/Source/SPProcessListController.h
index 3e93f117..7832ec65 100644
--- a/Source/SPProcessListController.h
+++ b/Source/SPProcessListController.h
@@ -31,13 +31,15 @@
{
MCPConnection *connection;
+ BOOL showFullProcessList;
+
+ NSUserDefaults *prefs;
NSMutableArray *processes, *processesFiltered;
IBOutlet NSTableView *processListTableView;
IBOutlet NSTextField *processesCountTextField;
IBOutlet NSSearchField *filterProcessesSearchField;
IBOutlet NSProgressIndicator *refreshProgressIndicator;
- IBOutlet NSButton *closeProcessListButton;
IBOutlet NSButton *saveProcessesButton;
IBOutlet NSButton *refreshProcessesButton;
}
@@ -45,12 +47,13 @@
@property (readwrite, assign) MCPConnection *connection;
- (IBAction)copy:(id)sender;
-- (IBAction)closeSheet:(id)sender;
- (IBAction)refreshProcessList:(id)sender;
- (IBAction)saveServerProcesses:(id)sender;
- (IBAction)killProcessQuery:(id)sender;
- (IBAction)killProcessConnection:(id)sender;
+- (IBAction)toggleShowProcessID:(id)sender;
+- (IBAction)toggeleShowFullProcessList:(id)sender;
-- (void)displayProcessListSheetAttachedToWindow:(NSWindow *)window;
+- (void)displayProcessListWindow;
@end