alma::acs::commandcenter::gui::CommandCenterGui Class Reference

Collaboration diagram for alma::acs::commandcenter::gui::CommandCenterGui:
Collaboration graph
[legend]

List of all members.

Classes

class  AccInternalFrame
class  AccInternalFrameUI
class  ActionConfigureTools
class  ActionEditCommands
class  ActionEditPexpects
class  ActionExit
class  ActionInstallExtraTools
class  ActionLoadBuiltinTools
class  ActionNewProject
class  ActionOpenProject
class  ActionSaveAsProject
class  ActionSaveProject
class  ActionShowBuiltinTools
class  ActionShowExtraTools
class  ActionShowHelp
class  ActionShowVariables
class  BackgroundAction
class  CheckAcsInstanceTaskListener
class  CompoundTaskListener
class  Icons
class  SwingAction
class  WriteToFeedbackAreaTaskListener

Public Member Functions

 CommandCenterGui (CommandCenterLogic controller)
void prepare ()
void go (boolean admincMode)
void stop ()
void setCurrentProjectFile (File f)
void currentProjectChanged ()
void showUnresolvableVariableErrorDialog (String var)
void correctDialogLocation (JDialog d)
void showUrlContent (URL url, String title)
void addExtraTool (Tool tool, final HashMap< String, Object > result, final ExecuteTools.ToolStarter ts)
void removeAllExtraTools ()

Public Attributes

CommandCenterLogic controller
JFrame frame
JDesktopPane desktop
DeploymentTree deployTree

Protected Member Functions

void managerStarted ()
void managerStopped ()
void doFrameTitle ()
File showOpenDialog ()
File showSaveDialog ()
void showVariablesEditor ()
void writeModelToManagerLocationForTools ()
void writeManagerLocationForToolsToModel ()
void showManagerLocationForContainersDialog ()
void writeModelToManagerLocationForContainers ()
void writeManagerLocationForContainersToModel ()
void showContainerSettingsDialog ()
void writeModelToContainerSettingsDialog (ContainerT cont)
void writeContainerSettingsDialogToModel (ContainerT cont)
void writeFrontPanelToModel ()
void writeModelToFrontPanel ()
Border createTitledBorder (String title)
void showHelpBrowser ()
NativeCommand.Listener giveOutputListener (String taskName)
NativeCommand.Listener giveOutputListener2 (String taskName)

Protected Attributes

Logger log
TabPanel frontPanel
FeedbackTabs feedbackTabs
JPanel deploymentInfoPanel
NativeCommand.Listener taskListenerObjectExplorer
NativeCommand.Listener taskListenerAdminClient
NativeCommand.Listener taskListenerJlogClient
NativeCommand.Listener taskListenerCdbBrowser
NativeCommand.Listener taskListenerDynClient
NativeCommand.Listener taskListenerInterfaceRepBrowser
NativeCommand.Listener taskListenerNameServiceBrowser
JMenuBar menuBar
JMenu toolsMenu
File currentProjectFile
BasicDialog managerLocationDialog1
ManagerLocationPanel.ForTools pnlManagerLocationForTools
BasicDialog managerLocationDialog2
ManagerLocationPanel.ForContainers pnlManagerLocationForContainers
JSplitPane splitLeftRight
JSplitPane splitTopBottom
BasicDialog dlgEditVariables
EditVariablesPanel pnlEditVariables
EditContainerSettingsDialog dlgContainerSettings
DefaultHelpBroker helpBroker
JDialog editCommandsDialog
EditCommandsPanel editCommandsPanel
JDialog editPexpectsDialog
EditPexpectsPanel editPexpectsPanel
Vector< JMenuItem > addedToolMenuItems = new Vector<JMenuItem>()
Icons icons = new Icons()

Static Protected Attributes

static Color COLOR_ActiveButton = Color.gray
static Color COLOR_PassiveButton = new JButton().getBackground()
static Color COLOR_LogoBackground_A = Color.black
static Color COLOR_LogoBackground_B = new Color(0, 110, 160)
static Color COLOR_LogoForeground = new Color(255, 255, 255)
static final Pattern p = Pattern.compile(".*the ACS_INSTANCE, (.+), is currently in use.*")

Package Attributes

JDialog dialog = null
JEditorPane editor = null

Detailed Description

The main Gui class of the Acs Command Center application.

Author:
M.Schilling, ESO

Constructor & Destructor Documentation

alma::acs::commandcenter::gui::CommandCenterGui::CommandCenterGui ( CommandCenterLogic  controller  )  [inline]

References log.


Member Function Documentation

void alma::acs::commandcenter::gui::CommandCenterGui::addExtraTool ( Tool  tool,
final HashMap< String, Object >  result,
final ExecuteTools.ToolStarter  ts 
) [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::correctDialogLocation ( JDialog  d  )  [inline]
Border alma::acs::commandcenter::gui::CommandCenterGui::createTitledBorder ( String  title  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::currentProjectChanged (  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::doFrameTitle (  )  [inline, protected]

References currentProjectFile, and frame.

Referenced by currentProjectChanged(), and prepare().

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::giveOutputListener ( String  taskName  )  [inline, protected]
NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::giveOutputListener2 ( String  taskName  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::go ( boolean  admincMode  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::managerStarted (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::managerStopped (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::prepare (  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::removeAllExtraTools (  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::setCurrentProjectFile ( File  f  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::showContainerSettingsDialog (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::showHelpBrowser (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::showManagerLocationForContainersDialog (  )  [inline, protected]
File alma::acs::commandcenter::gui::CommandCenterGui::showOpenDialog (  )  [inline, protected]
File alma::acs::commandcenter::gui::CommandCenterGui::showSaveDialog (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::showUnresolvableVariableErrorDialog ( String  var  )  [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::showUrlContent ( URL  url,
String  title 
) [inline]
void alma::acs::commandcenter::gui::CommandCenterGui::showVariablesEditor (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::stop (  )  [inline]

Disposes the frame.

References frame.

Referenced by alma::acs::commandcenter::app::CommandCenterLogic::stop().

void alma::acs::commandcenter::gui::CommandCenterGui::writeContainerSettingsDialogToModel ( ContainerT  cont  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeFrontPanelToModel (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeManagerLocationForContainersToModel (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeManagerLocationForToolsToModel (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeModelToContainerSettingsDialog ( ContainerT  cont  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeModelToFrontPanel (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeModelToManagerLocationForContainers (  )  [inline, protected]
void alma::acs::commandcenter::gui::CommandCenterGui::writeModelToManagerLocationForTools (  )  [inline, protected]

Member Data Documentation

Vector<JMenuItem> alma::acs::commandcenter::gui::CommandCenterGui::addedToolMenuItems = new Vector<JMenuItem>() [protected]

for book-keeping, to allow later removal of actions from the tools menu

Referenced by addExtraTool(), and removeAllExtraTools().

Referenced by prepare().

Color alma::acs::commandcenter::gui::CommandCenterGui::COLOR_LogoBackground_B = new Color(0, 110, 160) [static, protected]

Referenced by prepare().

Color alma::acs::commandcenter::gui::CommandCenterGui::COLOR_LogoForeground = new Color(255, 255, 255) [static, protected]

Referenced by prepare().

Color alma::acs::commandcenter::gui::CommandCenterGui::COLOR_PassiveButton = new JButton().getBackground() [static, protected]

Referenced by alma::acs::commandcenter::gui::TabPanel::ActionMoveContainerDown::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionMoveContainerUp::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionLessContainers::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionMoreContainers::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionKillAcs::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStopAllContainers::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStartAllContainers::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStopContainer::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStartContainer::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStopManager::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStartManager::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStopServices::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStartServices::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStopAcs::actionPerformed(), alma::acs::commandcenter::gui::TabPanel::ActionStartAcs::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionLoadBuiltinTools::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionShowBuiltinTools::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionShowExtraTools::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionInstallExtraTools::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionEditPexpects::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionEditCommands::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionExit::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionSaveAsProject::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionSaveProject::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionOpenProject::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::ActionNewProject::actionPerformed(), alma::acs::commandcenter::gui::CommandCenterGui::BackgroundAction::actionPerformed(), addExtraTool(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getConfigIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getDownIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getErrIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getMinusIcon(), alma::acs::commandcenter::gui::TabPanel::getMode(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getOkIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getPlusIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getStartIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getStopIcon(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getStopIconRed(), alma::acs::commandcenter::gui::CommandCenterGui::Icons::getUpIcon(), go(), managerStarted(), managerStopped(), prepare(), showContainerSettingsDialog(), showHelpBrowser(), showVariablesEditor(), alma::acs::commandcenter::gui::CommandCenterGui::CheckAcsInstanceTaskListener::stdoutWritten(), writeFrontPanelToModel(), writeManagerLocationForContainersToModel(), writeManagerLocationForToolsToModel(), writeModelToContainerSettingsDialog(), writeModelToFrontPanel(), writeModelToManagerLocationForContainers(), and writeModelToManagerLocationForTools().

Referenced by go(), and prepare().

Referenced by showUrlContent().

Referenced by showVariablesEditor().

Referenced by showUrlContent().

Referenced by giveOutputListener(), and prepare().

Referenced by showHelpBrowser().

Referenced by go(), and prepare().

final Pattern alma::acs::commandcenter::gui::CommandCenterGui::p = Pattern.compile(".*the ACS_INSTANCE, (.+), is currently in use.*") [static, protected]

Referenced by correctDialogLocation().

Referenced by showVariablesEditor().

Referenced by go(), and prepare().

Referenced by go(), and prepare().


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

Generated by  doxygen 1.6.2