use of alma.acs.logging.table.LogEntryTable in project ACS by ACS-Community.
the class LoggingClient method showDetailedLogInfo.
/**
* Show a detailed view of the selected log in the right panel
*/
public void showDetailedLogInfo() {
try {
LogEntryTable jt = getLogEntryTable();
int selectedRow = jt.getSelectedRow();
// no row selected
if (selectedRow == -1) {
detailedLogTable.setupContent(null);
} else {
// a row is selected
ILogEntry log = jt.getLCModel().getVisibleLogEntry(selectedRow);
detailedLogTable.setupContent(log);
}
} catch (java.lang.Throwable ivjExc) {
handleException(ivjExc);
}
}
use of alma.acs.logging.table.LogEntryTable in project ACS by ACS-Community.
the class LoggingClient method getLogEntryTable.
/**
* Returns the table of logs
* @return the table of logs
*/
public LogEntryTable getLogEntryTable() {
if (logEntryTable == null) {
try {
logEntryTable = new LogEntryTable(this, menuBar.getShortDateViewMenuItem().isSelected(), menuBar.getLogTypeDescriptionViewMenuItem().isSelected());
logEntryTable.setName("logEntryTable");
logEntryTable.setBounds(0, 0, 200, 200);
tableModel = logEntryTable.getLCModel();
} catch (Throwable ivjExc) {
handleException(ivjExc);
}
}
return logEntryTable;
}
Aggregations