

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 |
The panel of the application containing the tabs:
| alma::acs::gui::loglevel::LogLevelPanel::LogLevelPanel | ( | ) | [inline] |
Constructor
References initialize().
| alma::acs::gui::loglevel::LogLevelPanel::LogLevelPanel | ( | JFrame | frame | ) | [inline] |
| 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
| tab | The panel to show in the new tab |
| 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.
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)
| Exception |
| void alma::acs::gui::loglevel::LogLevelPanel::removeLogSelectorTab | ( | String | name | ) | throws LogPaneNotFoundException [inline] |
Remove the tab with the given name
| name | The name of the panel to remove |
| 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)
| 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
| 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
| 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
| 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
| 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().
ContainerServices alma::acs::gui::loglevel::LogLevelPanel::contSvc = null [private] |
Referenced by setACSContainerServices(), start(), and stop().
JFrame alma::acs::gui::loglevel::LogLevelPanel::frame = null [private] |
Referenced by isOMCPlugin().
LogLvlTree alma::acs::gui::loglevel::LogLevelPanel::tree = null [private] |
JScrollPane alma::acs::gui::loglevel::LogLevelPanel::treeSP [private] |
Referenced by start().
1.6.2