Public Member Functions | Public Attributes

alma.acsplugins.alarmsystem.gui.CernSysPanel Class Reference

Inherits javax::swing::JPanel.

List of all members.

Public Member Functions

 CernSysPanel (AlarmPanel owner, AlSysNotAvailPanel notAvaiPnl, UndocAlarmTableModel undocModel)
void close ()
void pause () throws Exception
void resume () throws Exception
void showMessage (String mesg, boolean red)
void showAlarmDetails (Alarm alarm)
void setModel (AlarmTableModel model)
void connect ()
void disconnect ()
boolean isConnecting ()
void setServices (ORB orb, AcsLogger logger)
void start () throws Exception
void stop () throws Exception

Public Attributes

final boolean ACTIVATE_RDUCTION_RULES = true

Detailed Description

The panel shown while the CERN AS is in use and the alarm client is connected.

Author:
acaproni

Constructor & Destructor Documentation

alma.acsplugins.alarmsystem.gui.CernSysPanel.CernSysPanel ( AlarmPanel  owner,
AlSysNotAvailPanel  notAvaiPnl,
UndocAlarmTableModel  undocModel 
)

Constructor

Parameters:
owner The panel showing this container
notAvaiPnl The panel when the AS is not available

Member Function Documentation

void alma.acsplugins.alarmsystem.gui.CernSysPanel.close (  ) 

Closes the panel

Referenced by alma.acsplugins.alarmsystem.gui.CernSysPanel.stop().

void alma.acsplugins.alarmsystem.gui.CernSysPanel.connect (  ) 
void alma.acsplugins.alarmsystem.gui.CernSysPanel.disconnect (  ) 
boolean alma.acsplugins.alarmsystem.gui.CernSysPanel.isConnecting (  ) 
Returns:
true if an attempt to connect is running

Referenced by alma.acsplugins.alarmsystem.gui.CernAlSysTabbedPane.isConnecting().

void alma.acsplugins.alarmsystem.gui.CernSysPanel.pause (  )  throws Exception
See also:
IpauseResume
void alma.acsplugins.alarmsystem.gui.CernSysPanel.resume (  )  throws Exception
See also:
IPauseResume
void alma.acsplugins.alarmsystem.gui.CernSysPanel.setModel ( AlarmTableModel  model  ) 
void alma.acsplugins.alarmsystem.gui.CernSysPanel.setServices ( ORB  orb,
AcsLogger  logger 
)
void alma.acsplugins.alarmsystem.gui.CernSysPanel.showAlarmDetails ( Alarm  alarm  ) 

Show the alarm in the details table

Parameters:
alarm The alarm to show in the details panel; if null the details table is cleared.

Referenced by alma.acsplugins.alarmsystem.gui.CernAlSysTabbedPane.showAlarmDetails().

void alma.acsplugins.alarmsystem.gui.CernSysPanel.showMessage ( String  mesg,
boolean  red 
)

Show a message in the status line

Parameters:
mesg 
red 
See also:
StatusLine

Referenced by alma.acsplugins.alarmsystem.gui.CernAlSysTabbedPane.showMessage().

void alma.acsplugins.alarmsystem.gui.CernSysPanel.start (  )  throws Exception

Connect the Client and listens to the categories.

The CategoryClient is built only if its reference is null. Otherwise it means that the client is still trying to connect and the user restarted the plugin.

See also:
SubsystemPlugin

Referenced by alma.acsplugins.alarmsystem.gui.CernAlSysTabbedPane.start().

void alma.acsplugins.alarmsystem.gui.CernSysPanel.stop (  )  throws Exception

Member Data Documentation

The startup option for reduction rules


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties