com::cosylab::logging::LoggingClient Class Reference

Inheritance diagram for com::cosylab::logging::LoggingClient:
Inheritance graph
[legend]
Collaboration diagram for com::cosylab::logging::LoggingClient:
Collaboration graph
[legend]

List of all members.

Classes

class  CustomColumnListener
class  EventHandler

Public Member Functions

 LoggingClient ()
 LoggingClient (LogFrame frame, LogTypeHelper logLevel, LogTypeHelper discardLevel, boolean unlimited, AudienceInfo aInfo)
void start () throws Exception
void stop () throws Exception
void pause () throws Exception
void resume () throws Exception
void connect (boolean connectEngine)
void connect ()
JScrollPane getLogTableScroolP ()
LogEntryTable getLogEntryTable ()
void showDetailedLogInfo ()
void setLogDetailContent (ILogEntry log)
void connLCEngDisconnect (WindowEvent arg1)
JScrollPane getLogDetailScrollPane ()
LCEngine getEngine ()
LogTableDataModel getLCModel1 ()
void loggingClient_ComponentResized (ComponentEvent e)
void enableSearchNext (boolean enable)
void animateProgressBar (String text, int min, int max)
void moveProgressBar (int newPos)
void animateProgressBar (String text)
void freezeProgressBar ()
boolean isConnected ()
int getDiscardLevel ()
void logEntryReceived (ILogEntry logEntry)
void reportStatus (String status)
void acsLogConnEstablished ()
void acsLogConnDisconnected ()
void acsLogConnLost ()
void acsLogConnConnecting ()
void acsLogConnSuspended ()
void acsLogsDelay ()
void showDBStatus (ImageIcon icon, String msg)
UserPreferences getPrefs ()
boolean isPaused ()
void hideExitMenu (boolean hide)
void close (boolean sync)
void enableFiltersWidgets (boolean enable)
void errorReceived (String xml)
StatsDlg getStatisticDialog ()
void setEnabled (boolean enabled)
ErrorBrowserDlg getErrorDialog ()
void addErrorTab (final String stackID)
ZoomManager getZoomManager ()
LogToolBar getToolBar ()
ContainerServicesBase getContainerServices ()
boolean inDebugMode ()
void showErrorMessage (String shortDescription, Throwable t)
void errorAcknowledged ()

Static Public Attributes

static final LogTypeHelper DEFAULT_LOGLEVEL = LogTypeHelper.INFO
static final LogTypeHelper DEFAULT_DISCARDLEVEL = LogTypeHelper.DEBUG

Protected Attributes

ContainerServicesBase containerServices = null

Private Member Functions

void disconnect ()
void connFields (java.awt.event.ActionEvent arg1)
void showTableFiltersDialog (java.awt.event.ActionEvent arg1)
void setTableFilterLbl ()
void setNumberOfLogsLbl ()
void setEngineFilterLbl ()
JPanel getJFrameContentPane ()
void handleException (java.lang.Throwable exception)
void initConnections () throws java.lang.Exception
void initialize (LogTypeHelper logLevel, LogTypeHelper discardLevel, boolean unlimited)
JPanel getJPanel2 ()
JPanel getDeatailedInfoPanel ()
JPanel getStatusLinePnl ()
javax.swing.JScrollPane getStatusAreaPanel ()
JSplitPane getStatusAreaHrPane ()
JSplitPane getTableDetailsVrPane ()
SmartTextArea getStatusArea ()
void setLCModel1 (LogTableDataModel newValue)
void initAudience (AudienceInfo audienceInfo)
void showEngineFiltersDialog ()
ErrorLogDialog getJLogErroDialog ()

Private Attributes

JLabel audienceLbl = new JLabel()
JLabel engineFiltersLbl = new JLabel()
JLabel tableFiltersLbl = new JLabel()
JLabel maxNumOfLogsLbl = new JLabel()
ArchiveConnectionManager archive
UserPreferences userPreferences = new UserPreferences(0,100000,Integer.MAX_VALUE,Integer.MAX_VALUE)
JPanel ivjJPanel2 = null
JPanel detailedInfoPanel = null
DetailedLogTable detailedLogTable = new DetailedLogTable()
JPanel statusLinePnl = null
JScrollPane statusAreaPanel = null
JScrollPane detailedInfoScrollPane = null
JSplitPane statusAreaHrSplitP = null
JSplitPane tableDetailsVrSplitP = null
JScrollPane scrollLogTable = null
LogEntryTable logEntryTable = null
SmartTextArea ivjStatusArea = null
JPanel ivjJFrameContentPane = null
ErrorLogDialog errorDialog
JProgressBar progressBar = new JProgressBar(JProgressBar.HORIZONTAL)
ZoomManager zoom = new ZoomManager()
ManualZoomDlg manualZoomDlg
boolean isConnected = false
volatile boolean isStopped = true
SearchDialog searchDialog
StatsDlg statsDlg
QueryDlg databaseDlg = null
EventHandler eventHandler = new EventHandler()
LCEngine engine = null
LogTableDataModel tableModel = null
final int CONNECTED_ICON = 0
final int CONNECTING_ICON = 1
final int DISCONNECTED_ICON = 2
final int SUSPENDED_ICON = 3
final int DELAY_ICON = 4
ImageIcon[] connectionStatusIcons
JLabel connectionStatusLbl
JLabel connectionDBLbl
final JLabel jlogErrorLbl = new JLabel(new ImageIcon(this.getClass().getResource("/errorLogIcon.png")))
LogToolBar toolBar
LogNavigationBar navigationToolbar
LogMenuBar menuBar = new LogMenuBar()
FilterChooserDialog engineFiltersDlg = null
ErrorBrowserDlg errorBrowserDialog = null
FilterChooserDialog filterChooserDialog = null
final LogFrame logFrame
final boolean debugMode = Boolean.getBoolean(DEBUG_MODE_PROPERTY)
MessageWidget errorWidget = new MessageWidget()
TransparentGlassPane glassPane

Static Private Attributes

static final String AUDIENCE_PROPERTY = "jlog.mode.audience"
static final String DEBUG_MODE_PROPERTY = "alma.acs.jlog.debugMode"

Detailed Description

Defines a JRootPane Application LoggingClient for displaying event logs received through the CORBA protocol for the purpose of monitoring and reviewing of the logs. It contains of a JScrollPane scrollLogTable for the logs and a LogEntryTable logEntryTable for displaying the status as well as a JPanel ivjJFrameContentPane. Multiple listeners handle user's input. Based on the current code and our understanding of it one could describe the information flow as follows. User's input triggers events which are caught by the listeners attached to each one of the available GUI object representations defined in the LoggingClient class. Independent of that there are messages available at the logging system generated by the other services running in the framework. These messages are parsed by the ACSStructuredPushConsumer class using the SAX parser and are then passed on using the LogTableDataModel's appendLog method for putting the logs to the log table. In particular, we are interested in the saving and loading of files to be implemented by the LoggingClient. While saveFile and loadFromFile are defined in LogTabledataModel, the LogImportTask file makes use of the the LogTabledataModel's appendLog method as well. The use of the DocumentBuilderFactory in the LogImportTask defines a way for transforming a DOM tree into XML.

An important issue is the format of the Log Entry Message produced by the Logging Service. Certain characters ('<', '>', '&', ''', '"') need to be escaped because they delineate markup data from character data and cause the following exception in ACSLogParserDOM class: org.xml.sax.SAXParseException: The content beginning with '<' is not legal markup. One solution is replacing the character with the appropriate html substitute <. Another solution is keeping it in a CDATA section: <[!CDATA[the log entry message]]>.

The panel can be instantiated:


Constructor & Destructor Documentation

com::cosylab::logging::LoggingClient::LoggingClient (  )  [inline]

Constructor

The empty constructor is called by the OMC GUI.

References DEFAULT_DISCARDLEVEL, DEFAULT_LOGLEVEL, initAudience(), initialize(), and logFrame.

com::cosylab::logging::LoggingClient::LoggingClient ( LogFrame  frame,
LogTypeHelper  logLevel,
LogTypeHelper  discardLevel,
boolean  unlimited,
AudienceInfo  aInfo 
) [inline]

The constructor

This constructor is called when this object runs in stand-alone mode i.e outside of the OMC GUI.

Parameters:
frame The shows this object
logLevel The initial log level
discardLevel The initial discard level
unlimited If true the number of logs in memory is unlimited, otherwise the default is used

References initAudience(), initialize(), isStopped, and logFrame.


Member Function Documentation

void com::cosylab::logging::LoggingClient::acsLogConnConnecting (  )  [inline]
void com::cosylab::logging::LoggingClient::acsLogConnDisconnected (  )  [inline]
void com::cosylab::logging::LoggingClient::acsLogConnEstablished (  )  [inline]
void com::cosylab::logging::LoggingClient::acsLogConnLost (  )  [inline]
void com::cosylab::logging::LoggingClient::acsLogConnSuspended (  )  [inline]
void com::cosylab::logging::LoggingClient::acsLogsDelay (  )  [inline]

Notify that for some internal reason the service is not able to follow the flow of the incoming logs

See also:
com.cosylab.logging.engine.ACS.ACSRemoteLogListener

Implements com::cosylab::logging::engine::ACS::ACSLogConnectionListener.

References connectionStatusIcons, connectionStatusLbl, and DELAY_ICON.

void com::cosylab::logging::LoggingClient::addErrorTab ( final String  stackID  )  [inline]

Add a new error stack to the error browser dialog

Parameters:
stackID The STACKID of the error trace in the tab

References alma::acs::logging::errorbrowser::ErrorBrowserDlg::addErrorTab(), getErrorDialog(), and getLCModel1().

Referenced by alma::acs::logging::table::TablePopupMenu::actionPerformed().

void com::cosylab::logging::LoggingClient::animateProgressBar ( String  text  )  [inline]

Show the progress bar as indeterminate

Parameters:
text The text to show in the toolbar If it is null or empty then no text will be displayed

References progressBar.

void com::cosylab::logging::LoggingClient::animateProgressBar ( String  text,
int  min,
int  max 
) [inline]

Show the progres bar as determinate with the given min and max

Parameters:
textThe text to show in the toolbar If it is null or empty then no text will be displayed
min The starting position
max The final position

References progressBar.

Referenced by alma::acs::logging::table::LogEntryTable::sorterChanged().

void com::cosylab::logging::LoggingClient::close ( boolean  sync  )  [inline]
void com::cosylab::logging::LoggingClient::connect (  )  [inline]
void com::cosylab::logging::LoggingClient::connect ( boolean  connectEngine  )  [inline]
void com::cosylab::logging::LoggingClient::connFields ( java.awt.event.ActionEvent  arg1  )  [inline, private]

Triggers the Field Choser's dialog visual appearance as soon as the item "Fields" is clicked.

Parameters:
arg1 java.awt.event.ActionEvent

References getLogEntryTable(), handleException(), and alma::acs::logging::table::LogEntryTable::showFieldChooser().

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed().

void com::cosylab::logging::LoggingClient::connLCEngDisconnect ( WindowEvent  arg1  )  [inline]

Disconnects the LCEngine.

Parameters:
arg1 java.awt.event.WindowEvent

References com::cosylab::logging::engine::ACS::LCEngine::disconnect(), getEngine(), and handleException().

void com::cosylab::logging::LoggingClient::disconnect (  )  [inline, private]
void com::cosylab::logging::LoggingClient::enableFiltersWidgets ( boolean  enable  )  [inline]
void com::cosylab::logging::LoggingClient::enableSearchNext ( boolean  enable  )  [inline]

Enable or disable the Search next menu item (tipically this action is preformed by the SearchDialog when a valid search is performed)

Parameters:
enable true enable the searchNextMenuItem

References alma::acs::logging::dialogs::main::LogMenuBar::getSearchNextMenuItem(), and menuBar.

Referenced by com::cosylab::logging::search::SearchDialog::search().

void com::cosylab::logging::LoggingClient::errorAcknowledged (  )  [inline]

When the user acknowledges the message, we enable the glass pane to forward all the messages to the content pane.

This method is executed when the user presses over the ACK button of the error widget and remove the constraints on the glass pane.

See also:
showErrorMessage for further implementation details

Implements com::cosylab::logging::MessageWidget::MessageWidgetListener.

References glassPane, menuBar, navigationToolbar, alma::acs::logging::dialogs::main::LogMenuBar::setEnabled(), alma::acs::logging::dialogs::main::LogNavigationBar::setEnabled(), alma::acs::logging::dialogs::main::LogToolBar::setEnabled(), com::cosylab::logging::TransparentGlassPane::setEventComponent(), and toolBar.

void com::cosylab::logging::LoggingClient::errorReceived ( String  xml  )  [inline]
void com::cosylab::logging::LoggingClient::freezeProgressBar (  )  [inline]

Hide the progress bar (i.e. a long operation has terminated)

References progressBar.

Referenced by alma::acs::logging::table::LogEntryTable::sorterChanged().

ContainerServicesBase com::cosylab::logging::LoggingClient::getContainerServices (  )  [inline]
Returns:
the containerServices

References containerServices.

JPanel com::cosylab::logging::LoggingClient::getDeatailedInfoPanel (  )  [inline, private]
int com::cosylab::logging::LoggingClient::getDiscardLevel (  )  [inline]
Returns:
The discard log level
See also:
LoggingClient.discardLevelCB

References alma::acs::logging::dialogs::main::LogToolBar::getDiscardLevelCB(), and toolBar.

LCEngine com::cosylab::logging::LoggingClient::getEngine (  )  [inline]
ErrorBrowserDlg com::cosylab::logging::LoggingClient::getErrorDialog (  )  [inline]
Returns:
The error browser dialog

References errorBrowserDialog.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and addErrorTab().

JPanel com::cosylab::logging::LoggingClient::getJFrameContentPane (  )  [inline, private]

Returns the JFrameContentPane property value.

Returns:
javax.swing.JPanel

References getStatusAreaHrPane(), handleException(), and ivjJFrameContentPane.

Referenced by initialize().

ErrorLogDialog com::cosylab::logging::LoggingClient::getJLogErroDialog (  )  [inline, private]
Returns:
The jlog error dialog

References errorDialog, and logFrame.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and errorReceived().

JPanel com::cosylab::logging::LoggingClient::getJPanel2 (  )  [inline, private]

Returns the JPanel2 property value.

Returns:
javax.swing.JPanel

References getStatusLinePnl(), getTableDetailsVrPane(), handleException(), and ivjJPanel2.

Referenced by getStatusAreaHrPane().

LogTableDataModel com::cosylab::logging::LoggingClient::getLCModel1 (  )  [inline]
JScrollPane com::cosylab::logging::LoggingClient::getLogDetailScrollPane (  )  [inline]

Returns the scroll pane with the details of the logs

Returns:
JScrollPane

References detailedInfoScrollPane, detailedLogTable, and handleException().

Referenced by getDeatailedInfoPanel().

LogEntryTable com::cosylab::logging::LoggingClient::getLogEntryTable (  )  [inline]
JScrollPane com::cosylab::logging::LoggingClient::getLogTableScroolP (  )  [inline]

Returns the scroll panel with the table of logs

Returns:
the scroll panel with the table of logs

References getLogEntryTable(), handleException(), and scrollLogTable.

Referenced by getTableDetailsVrPane().

UserPreferences com::cosylab::logging::LoggingClient::getPrefs (  )  [inline]
Returns:
A reference to the preferences

References userPreferences.

StatsDlg com::cosylab::logging::LoggingClient::getStatisticDialog (  )  [inline]

Return a dialog showing the statistics

Returns:
The dialog showing the statistic

References statsDlg.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed().

SmartTextArea com::cosylab::logging::LoggingClient::getStatusArea (  )  [inline, private]

Returns the StatusArea property value.

Returns:
com.cosylab.gui.components.SmartTextArea

References handleException(), and ivjStatusArea.

Referenced by getStatusAreaPanel(), and reportStatus().

JSplitPane com::cosylab::logging::LoggingClient::getStatusAreaHrPane (  )  [inline, private]
javax.swing.JScrollPane com::cosylab::logging::LoggingClient::getStatusAreaPanel (  )  [inline, private]
JPanel com::cosylab::logging::LoggingClient::getStatusLinePnl (  )  [inline, private]
JSplitPane com::cosylab::logging::LoggingClient::getTableDetailsVrPane (  )  [inline, private]
LogToolBar com::cosylab::logging::LoggingClient::getToolBar (  )  [inline]
ZoomManager com::cosylab::logging::LoggingClient::getZoomManager (  )  [inline]
void com::cosylab::logging::LoggingClient::handleException ( java.lang.Throwable  exception  )  [inline, private]
void com::cosylab::logging::LoggingClient::hideExitMenu ( boolean  hide  )  [inline]

Hide the Exit menu item

Parameters:
hide If true the menu is set to invisible

References alma::acs::logging::dialogs::main::LogMenuBar::hideExitMenu(), and menuBar.

boolean com::cosylab::logging::LoggingClient::inDebugMode (  )  [inline]
Returns:
true if jlog runs in debug mode

References debugMode.

Referenced by alma::acs::logging::archive::ArchiveConnectionManager::getDBStatus().

void com::cosylab::logging::LoggingClient::initAudience ( AudienceInfo  audienceInfo  )  [inline, private]

Init the audience.

If an audience has been specified in the command line then it will be used otherwise it tries to check if a java property has been set.
The audience dafaults to ENGINEER.

Parameters:
audienceInfo The audience: it can be null.

References AUDIENCE_PROPERTY, alma::acs::logging::dialogs::main::LogMenuBar::getEngineeringMode(), alma::acs::logging::dialogs::main::LogMenuBar::getOperatorMode(), alma::acs::logging::dialogs::main::LogMenuBar::getSciLogMode(), and menuBar.

Referenced by LoggingClient().

void com::cosylab::logging::LoggingClient::initConnections (  )  throws java.lang.Exception [inline, private]

Initializes connections and adds listeners to all the menus and menu items.

Exceptions:
java.lang.Exception The exception description.

References eventHandler, menuBar, navigationToolbar, alma::acs::logging::dialogs::main::LogNavigationBar::setEventHandler(), alma::acs::logging::dialogs::main::LogToolBar::setEventHandler(), alma::acs::logging::dialogs::main::LogMenuBar::setEventHandler(), and toolBar.

Referenced by initialize().

void com::cosylab::logging::LoggingClient::initialize ( LogTypeHelper  logLevel,
LogTypeHelper  discardLevel,
boolean  unlimited 
) [inline, private]
Returns:
true if the application is connected to the notification channel

Referenced by acsLogConnDisconnected(), acsLogConnEstablished(), acsLogConnLost(), and com::cosylab::logging::LoggingClient::EventHandler::menuSelected().

boolean com::cosylab::logging::LoggingClient::isPaused (  )  [inline]
void com::cosylab::logging::LoggingClient::logEntryReceived ( ILogEntry  logEntry  )  [inline]
void com::cosylab::logging::LoggingClient::loggingClient_ComponentResized ( ComponentEvent  e  )  [inline]

Sets the height and width generated by user's actions.

References getLogEntryTable(), getStatusAreaHrPane(), and getTableDetailsVrPane().

void com::cosylab::logging::LoggingClient::moveProgressBar ( int  newPos  )  [inline]

Move the progressbar when in determinate mode

Parameters:
newPos 

References progressBar.

void com::cosylab::logging::LoggingClient::pause (  )  throws Exception [inline]

Method used by the plugin interface in EXEC. Pause the application (scroll lock enabled)

See also:
alma.exec.extension.subsystemplugin.IPauseResume
Exceptions:
Exception 

References engine, alma::acs::logging::dialogs::main::LogToolBar::pause(), com::cosylab::logging::engine::ACS::LCEngine::setPaused(), and toolBar.

void com::cosylab::logging::LoggingClient::reportStatus ( String  status  )  [inline]
void com::cosylab::logging::LoggingClient::resume (  )  throws Exception [inline]

Method used by the plugin interface in EXEC. Unpause the application (scroll lock disabled)

See also:
alma.exec.extension.subsystemplugin.IPauseResume
Exceptions:
Exception 

References engine, com::cosylab::logging::engine::ACS::LCEngine::setPaused(), toolBar, and alma::acs::logging::dialogs::main::LogToolBar::unpause().

void com::cosylab::logging::LoggingClient::setEnabled ( boolean  enabled  )  [inline]
void com::cosylab::logging::LoggingClient::setEngineFilterLbl (  )  [inline, private]
void com::cosylab::logging::LoggingClient::setLCModel1 ( LogTableDataModel  newValue  )  [inline, private]

Sets the LCModel1 to a new value.

Parameters:
newValue com.cosylab.logging.LogTableDataModel

References handleException(), and tableModel.

void com::cosylab::logging::LoggingClient::setLogDetailContent ( ILogEntry  log  )  [inline]

Set the content of the detailed info table from the given log

Parameters:
log The log entry which fields have to be shown in the table It can be null

References detailedLogTable, and com::cosylab::logging::client::DetailedLogTable::setupContent().

Referenced by alma::acs::logging::table::TablePopupMenu::actionPerformed(), and alma::acs::logging::table::LogEntryTable::changeSelection().

void com::cosylab::logging::LoggingClient::setNumberOfLogsLbl (  )  [inline, private]
void com::cosylab::logging::LoggingClient::setTableFilterLbl (  )  [inline, private]
void com::cosylab::logging::LoggingClient::showDBStatus ( ImageIcon  icon,
String  msg 
) [inline]

Update the GUI with the status of the DB connection

Parameters:
icon The icon
msg A message to show as tooltip

References connectionDBLbl.

Referenced by alma::acs::logging::archive::ArchiveConnectionManager::showDBStatus().

void com::cosylab::logging::LoggingClient::showDetailedLogInfo (  )  [inline]
void com::cosylab::logging::LoggingClient::showEngineFiltersDialog (  )  [inline, private]
void com::cosylab::logging::LoggingClient::showErrorMessage ( String  shortDescription,
Throwable  t 
) [inline]

Show an error in the error panel displayed on top of the table of logs.

Implementation notes:

  1. this method shows the error widget and set the glass pane so that it will catch all the events but those directed the error widget's ACK button. What this method does not do, is to make the glass pane visible. This is done by the connection listener methods. If, in future, you want to show the glass pane even here, you should do it explicitly.
  2. when the connection with ACS is again available, the acsLogConnEstablished programmatically pushes the ACS button of the error widget causing the widget to disappear without any intervention from the user. This is very useful when the auto reconnect option is enabled. However, note that if showErrorMessage is used for notifying other abnormal situations then a different strategy must be used to avoid the error widget to disappear at the wrong time (i.e. without the user acknowledge the problem).
Parameters:
shortDescription The description of the error
t The throwable that caused the error (can be null).
Returns:

References errorWidget, com::cosylab::logging::MessageWidget::getAckButton(), glassPane, menuBar, navigationToolbar, alma::acs::logging::dialogs::main::LogMenuBar::setEnabled(), alma::acs::logging::dialogs::main::LogNavigationBar::setEnabled(), alma::acs::logging::dialogs::main::LogToolBar::setEnabled(), com::cosylab::logging::TransparentGlassPane::setEventComponent(), com::cosylab::logging::MessageWidget::showMessage(), and toolBar.

Referenced by acsLogConnLost(), and handleException().

void com::cosylab::logging::LoggingClient::showTableFiltersDialog ( java.awt.event.ActionEvent  arg1  )  [inline, private]
void com::cosylab::logging::LoggingClient::start (  )  throws Exception [inline]

Method used by the plugin interface in EXEC: it connects the application to the NC

See also:
alma.exec.extension.subsystemplugin.SubsystemPlugin
Exceptions:
Exception 

References connect(), containerServices, and isStopped.

void com::cosylab::logging::LoggingClient::stop (  )  throws Exception [inline]

Method used by the plugin interface in EXEC. Stop the application disconnecting from the NC

See also:
alma.exec.extension.subsystemplugin.SubsystemPlugin
Exceptions:
Exception 

References close(), and isStopped.

Referenced by alma::acs::logging::dialogs::main::LogFrame::closeApplication().


Member Data Documentation

final String com::cosylab::logging::LoggingClient::AUDIENCE_PROPERTY = "jlog.mode.audience" [static, private]

The name of the property to set for enabling the operator mode at startup.

If the property is not found, ENGINEER audience is set in the engine

initAudience()

Referenced by initAudience().

JLabel com::cosylab::logging::LoggingClient::audienceLbl = new JLabel() [private]

The audience in use by the engine and shown in the status line

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and getStatusLinePnl().

The icons to show the status of the connection

Referenced by acsLogConnEstablished(), and getStatusLinePnl().

The label where the icon representing the status of the connection with the DB is shown

Referenced by getStatusLinePnl(), and showDBStatus().

containerServices is always set while running as OMC plugin.

It is used to avoid creating a new ORB when one is already available.

See also:
connect()

Referenced by connect(), getContainerServices(), and start().

The dialog to query the database

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and close().

final String com::cosylab::logging::LoggingClient::DEBUG_MODE_PROPERTY = "alma.acs.jlog.debugMode" [static, private]

The following property is set if logs runs in debug mode

final boolean com::cosylab::logging::LoggingClient::debugMode = Boolean.getBoolean(DEBUG_MODE_PROPERTY) [private]

true if jlog runs in debug mode

Referenced by inDebugMode().

final LogTypeHelper com::cosylab::logging::LoggingClient::DEFAULT_DISCARDLEVEL = LogTypeHelper.DEBUG [static]

The default discard level

Referenced by LoggingClient().

final LogTypeHelper com::cosylab::logging::LoggingClient::DEFAULT_LOGLEVEL = LogTypeHelper.INFO [static]

The default log level

Referenced by LoggingClient().

Referenced by acsLogsDelay(), and getStatusLinePnl().

Referenced by getDeatailedInfoPanel().

Referenced by getLogDetailScrollPane().

The dialog to choose filters to apply to the engine

Referenced by close(), and showEngineFiltersDialog().

The label showing if there are active filters in the engine

Referenced by getStatusLinePnl(), and setEngineFilterLbl().

The error broser dialog

Referenced by close(), and getErrorDialog().

The error dialog

Referenced by close(), getJLogErroDialog(), and getStatusLinePnl().

The glass pane showing messages to the user

Referenced by acsLogConnEstablished(), initialize(), and showErrorMessage().

Referenced by initConnections().

The dialog to manage table filters There is only one instance of this dialog that can be visible or invisible. It is disposed by calling the close() (usually done by the LoggingClient before exiting.

Referenced by close(), and showTableFiltersDialog().

The glass pane visible when jlog runs offline.

Referenced by acsLogConnDisconnected(), acsLogConnEstablished(), acsLogConnLost(), errorAcknowledged(), initialize(), and showErrorMessage().

true if the engine is connected.

Referenced by alma::acs::logging::io::LoadSwitchesPanel::checkControlsState().

volatile boolean com::cosylab::logging::LoggingClient::isStopped = true [private]

true if the application is stopped

This property is set by the start() and stop(). It is also set in the constructor for the stand alone version because in that case the start is not executed.

Referenced by acsLogConnLost(), LoggingClient(), start(), and stop().

Referenced by getJFrameContentPane().

Referenced by getJPanel2().

The status area

Referenced by getStatusArea().

final JLabel com::cosylab::logging::LoggingClient::jlogErrorLbl = new JLabel(new ImageIcon(this.getClass().getResource("/errorLogIcon.png"))) [private]

The label where appears the icon to tell that there are error in the jlog error log dialog

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), errorReceived(), and getStatusLinePnl().

The frame containing this logging client. It is not null only if the application is executed in stand alone mode

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), getEngine(), getJLogErroDialog(), and LoggingClient().

The dialog to perform the zoom with a given time interval

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and close().

The label showing if the number of logs in memory is limited

Referenced by getStatusLinePnl(), and setNumberOfLogsLbl().

JProgressBar com::cosylab::logging::LoggingClient::progressBar = new JProgressBar(JProgressBar.HORIZONTAL) [private]

The progress bar for long time operations

Referenced by animateProgressBar(), freezeProgressBar(), getStatusLinePnl(), and moveProgressBar().

Referenced by getLogTableScroolP().

The search dialog The object is built the first time the user requests a search

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), and close().

Statistic dialog. The object is built the first time the user selects the menu item

Referenced by close(), and getStatisticDialog().

The horizontal split panel having the text area at the bottom add the panel with the table and details (tableDetailsSplitPane) at the top.

Referenced by getStatusAreaHrPane().

Referenced by getStatusAreaPanel().

Referenced by getStatusLinePnl().

The vertical split pane having the table of logs at the left side, and the details panel at the right side.

Referenced by getTableDetailsVrPane().

The label showing if there are active filters in the table

Referenced by getStatusLinePnl(), and setTableFilterLbl().

UserPreferences com::cosylab::logging::LoggingClient::userPreferences = new UserPreferences(0,100000,Integer.MAX_VALUE,Integer.MAX_VALUE) [private]

The ZoomManager to perform zooming

The object is built with default levels; the path of the folder of XML files is read from a java property.

Referenced by com::cosylab::logging::LoggingClient::EventHandler::actionPerformed(), getZoomManager(), and initialize().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2