alma::acs::gui::loglevel::LogLevelPanel Class Reference

Inheritance diagram for alma::acs::gui::loglevel::LogLevelPanel:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::gui::loglevel::LogLevelPanel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LogLevelPanel ()
 LogLevelPanel (JFrame frame)
void start () throws Exception
void stop () throws Exception
void pause () throws Exception
void resume () throws Exception
boolean runRestricted (boolean restricted) throws Exception
void setACSContainerServices (ContainerServices cs)
boolean isOMCPlugin ()
void addLogSelectorTab (LogLevelSelectorPanel logTab) throws InvalidLogPaneException, LogPaneAlreadyExistException
void removeLogSelectorTab (String name) throws LogPaneNotFoundException
void showTab (String name) throws LogPaneNotFoundException

Private Member Functions

void initialize ()

Private Attributes

ContainerServices contSvc = null
LogLvlTree tree = null
JScrollPane treeSP
JFrame frame = null

Detailed Description

The panel of the application containing the tabs:

Author:
acaproni

Constructor & Destructor Documentation

alma::acs::gui::loglevel::LogLevelPanel::LogLevelPanel (  )  [inline]

Constructor

References initialize().

alma::acs::gui::loglevel::LogLevelPanel::LogLevelPanel ( JFrame  frame  )  [inline]

Constructor

Parameters:
frame The window that owns this panel

References initialize().


Member Function Documentation

void alma::acs::gui::loglevel::LogLevelPanel::addLogSelectorTab ( LogLevelSelectorPanel  logTab  )  throws InvalidLogPaneException, LogPaneAlreadyExistException [inline]

Add a new selector tab. The name of the new tab is set to be the name of the tab

Parameters:
tab The panel to show in the new tab
Exceptions:
InvalidLogPaneException If the name of the panel is empty or null
LogPaneAlreadyExistException If a tab with the given name already exist

Referenced by alma::acs::gui::loglevel::tree::TreeMouseListener::showLoggingConfigTab().

void alma::acs::gui::loglevel::LogLevelPanel::initialize (  )  [inline, private]

Init the component

Referenced by LogLevelPanel().

boolean alma::acs::gui::loglevel::LogLevelPanel::isOMCPlugin (  )  [inline]

Returns true if the panel is executed inside OMC i.e. it is a plugin.

Returns:
If the panel is executed iS AN omc PLUGIN false if it is executed stannd alone

Implements alma::acs::gui::util::panel::IPanel.

References frame.

void alma::acs::gui::loglevel::LogLevelPanel::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 
void alma::acs::gui::loglevel::LogLevelPanel::removeLogSelectorTab ( String  name  )  throws LogPaneNotFoundException [inline]

Remove the tab with the given name

Parameters:
name The name of the panel to remove
Exceptions:
LogPaneNotFoundException If the pane with the given name does not exist

Referenced by alma::acs::gui::loglevel::leveldlg::ButtonTabComponent::TabButton::actionPerformed().

void alma::acs::gui::loglevel::LogLevelPanel::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 
boolean alma::acs::gui::loglevel::LogLevelPanel::runRestricted ( boolean  restricted  )  throws Exception [inline]
void alma::acs::gui::loglevel::LogLevelPanel::setACSContainerServices ( ContainerServices  cs  )  [inline]

Set the ACS Container Services

Parameters:
cs The container services

Implements alma::acs::gui::util::panel::IPanel.

References contSvc.

Referenced by alma::acs::gui::loglevel::LogLevelFrame::LogLevelFrame().

void alma::acs::gui::loglevel::LogLevelPanel::showTab ( String  name  )  throws LogPaneNotFoundException [inline]

Select the tab with the given name

Parameters:
name The name of the tab to select LogPaneNotFoundException If the tab with the given name does not exist

Referenced by alma::acs::gui::loglevel::tree::TreeMouseListener::showLoggingConfigTab().

void alma::acs::gui::loglevel::LogLevelPanel::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 

Implements alma::acs::gui::util::panel::IPanel.

References contSvc, alma::acs::container::ContainerServicesBase::getAdvancedContainerServices(), alma::acs::container::ContainerServicesBase::getLogger(), alma::acs::gui::loglevel::tree::LogLvlTree::start(), tree, and treeSP.

Referenced by alma::acs::gui::loglevel::LogLevelFrame::LogLevelFrame().

void alma::acs::gui::loglevel::LogLevelPanel::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 

Implements alma::acs::gui::util::panel::IPanel.

References contSvc, alma::acs::gui::loglevel::tree::LogLvlTree::stop(), and tree.

Referenced by alma::acs::gui::loglevel::LogLevelFrame::stopPanel().


Member Data Documentation

Referenced by isOMCPlugin().

Referenced by start(), and stop().

Referenced by start().


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

Generated by  doxygen 1.6.2