Public Member Functions | |
QueryDlg (ArchiveConnectionManager archiveConn, ACSRemoteLogListener listener, ACSRemoteErrorListener errorListener, LoggingClient client) | |
void | actionPerformed (ActionEvent e) |
Override void | setVisible (boolean visible) |
void | close () |
Private Member Functions | |
void | initGUI () |
JComboBox | setupTypeCB (JComboBox box) |
void | submitQuery () |
boolean | checkFields () |
String | formatErrorMsg (String msg) |
void | updateStatusLbl (final String msg) |
Private Attributes | |
ACSRemoteLogListener | logListener |
ACSRemoteErrorListener | errorListener |
JButton | submitBtn |
JButton | doneBtn |
ArchiveConnectionManager | archive |
JTextField | fromYY |
JTextField | fromMM |
JTextField | fromDD |
JTextField | fromHr |
JTextField | fromMin |
JTextField | fromSec |
JTextField | toYY |
JTextField | toMM |
JTextField | toDD |
JTextField | toHr |
JTextField | toMin |
JTextField | toSec |
JComboBox | minLogLevelCB |
JComboBox | maxLogLevelCB |
JTextField | procName |
JTextField | sourceName |
JTextField | routineName |
JTextField | rowLimit |
ACSLogParser | parser = null |
LoggingClient | loggingClient = null |
LoadSwitchesPanel | guiSwitches |
JLabel | statusLbl = new JLabel() |
volatile boolean | terminateThread |
|
Constructor |
|
|
|
Check the fields in the GUI before executing a query. It makes only some checks...
|
|
Close the dialog, terminate the thread a free all the resources. |
|
Return a string formatted for JOptionPane making a word wrap
|
|
Build the GUI |
|
|
|
Override |
|
Submit a query to the archive and insert the logs in the main window |
|
Set a new message in the status label.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The label showing the status of a query to give feedback to users |
|
|
|
Signal the thread that get logs from the DB that the user pressed cancel to abort |
|
|
|
|
|
|
|
|
|
|
|
|