Inherits javax::swing::JDialog, and java::awt::event::ContainerListener.
Public Member Functions | |
ErrorBrowserDlg (LoggingClient client) | |
synchronized void | addErrorTab (final LogEntryTableModelBase sourceModel, final String stackId) |
void | close () |
void | setVisible (boolean visible) |
void | componentAdded (ContainerEvent e) |
void | componentRemoved (ContainerEvent e) |
The dialog showing the stack trace of errors.
The dialog has one tab for each stack trace whose title is the stack ID.
alma.acs.logging.errorbrowser.ErrorBrowserDlg.ErrorBrowserDlg | ( | LoggingClient | client | ) |
Constructor
client | A not null reference to the LoggingClient |
synchronized void alma.acs.logging.errorbrowser.ErrorBrowserDlg.addErrorTab | ( | final LogEntryTableModelBase | sourceModel, | |
final String | stackId | |||
) |
Add a new error tab.
The tab is added by a separate thread.
sourceModel | The model used by the Engine to look for logs belonging to the error trace with the give STACKID | |
stackId | The STACKID of logs of the stack trace |
References alma.acs.logging.errorbrowser.ErrorBrowserDlg.setVisible().
Referenced by com.cosylab.logging.LoggingClient.addErrorTab().
void alma.acs.logging.errorbrowser.ErrorBrowserDlg.close | ( | ) |
Close the dialog
References alma.acs.logging.errorbrowser.ErrorTab.close(), and alma.acs.logging.errorbrowser.ErrorBrowserDlg.setVisible().
Referenced by com.cosylab.logging.LoggingClient.close().
void alma.acs.logging.errorbrowser.ErrorBrowserDlg.componentAdded | ( | ContainerEvent | e | ) |
void alma.acs.logging.errorbrowser.ErrorBrowserDlg.componentRemoved | ( | ContainerEvent | e | ) |
void alma.acs.logging.errorbrowser.ErrorBrowserDlg.setVisible | ( | boolean | visible | ) |
Override setVisible()
to move the dialog over the logging client and in front of other windows
Referenced by com.cosylab.logging.LoggingClient.EventHandler.actionPerformed(), alma.acs.logging.errorbrowser.ErrorBrowserDlg.addErrorTab(), and alma.acs.logging.errorbrowser.ErrorBrowserDlg.close().