Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Package Attributes

alma.acs.commandcenter.gui.CommandCenterGui Class Reference

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  ActionShowAbout
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  ) 

Member Function Documentation

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

The outputlistener just writes a task's output to a feedback area, nothing more and nothing less. this is sufficient when running tools like the admin client.

References alma.acs.commandcenter.gui.CommandCenterGui.feedbackTabs, and alma.acs.commandcenter.gui.FeedbackTabs.viewTab().

Referenced by alma.acs.commandcenter.gui.CommandCenterGui.addExtraTool(), and alma.acs.commandcenter.gui.CommandCenterGui.giveOutputListener2().

NativeCommand.Listener alma.acs.commandcenter.gui.CommandCenterGui.giveOutputListener2 ( String  taskName  )  [protected]

The outputlistener2 is like the standard one, plus it scans the output for automatic acs_instance assignments. this is needed when running services or a manager.

References alma.acs.commandcenter.gui.CommandCenterGui.giveOutputListener().

void alma.acs.commandcenter.gui.CommandCenterGui.go ( boolean  admincMode  ) 
void alma.acs.commandcenter.gui.CommandCenterGui.managerStarted (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.managerStopped (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.prepare (  ) 

References alma.acs.commandcenter.gui.CommandCenterGui.COLOR_LogoBackground_A, alma.acs.commandcenter.gui.CommandCenterGui.COLOR_LogoBackground_B, alma.acs.commandcenter.gui.CommandCenterGui.COLOR_LogoForeground, alma.acs.commandcenter.gui.CommandCenterGui.controller, alma.acs.commandcenter.gui.CommandCenterGui.deploymentInfoPanel, alma.acs.commandcenter.app.CommandCenterLogic.deploymentTreeControllerImpl, alma.acs.commandcenter.gui.CommandCenterGui.deployTree, alma.acs.commandcenter.gui.CommandCenterGui.desktop, alma.acs.commandcenter.gui.CommandCenterGui.dlgContainerSettings, alma.acs.commandcenter.gui.CommandCenterGui.doFrameTitle(), alma.acs.commandcenter.gui.CommandCenterGui.feedbackTabs, alma.acs.commandcenter.app.CommandCenterLogic.findResource(), alma.acs.commandcenter.gui.CommandCenterGui.frame, alma.acs.commandcenter.gui.CommandCenterGui.frontPanel, alma.acs.commandcenter.gui.CommandCenterGui.log, alma.acs.commandcenter.gui.CommandCenterGui.managerLocationDialog1, alma.acs.commandcenter.gui.CommandCenterGui.managerLocationDialog2, alma.acs.commandcenter.gui.CommandCenterGui.menuBar, alma.acs.commandcenter.gui.CommandCenterGui.pnlManagerLocationForContainers, alma.acs.commandcenter.gui.CommandCenterGui.pnlManagerLocationForTools, alma.acs.commandcenter.gui.CommandCenterGui.splitLeftRight, alma.acs.commandcenter.gui.CommandCenterGui.splitTopBottom, alma.acs.commandcenter.app.CommandCenterLogic.stop(), alma.acs.commandcenter.gui.CommandCenterGui.toolsMenu, and alma.acs.commandcenter.gui.CommandCenterGui.writeModelToFrontPanel().

Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare().

void alma.acs.commandcenter.gui.CommandCenterGui.removeAllExtraTools (  ) 
void alma.acs.commandcenter.gui.CommandCenterGui.setCurrentProjectFile ( File  f  ) 
void alma.acs.commandcenter.gui.CommandCenterGui.showContainerSettingsDialog (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.showHelpBrowser (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.showManagerLocationForContainersDialog (  )  [protected]
File alma.acs.commandcenter.gui.CommandCenterGui.showOpenDialog (  )  [protected]
File alma.acs.commandcenter.gui.CommandCenterGui.showSaveDialog (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.showUnresolvableVariableErrorDialog ( String  var  ) 
void alma.acs.commandcenter.gui.CommandCenterGui.showUrlContent ( URL  url,
String  title 
)
void alma.acs.commandcenter.gui.CommandCenterGui.showVariablesEditor (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.stop (  ) 
void alma.acs.commandcenter.gui.CommandCenterGui.writeContainerSettingsDialogToModel ( ContainerT  cont  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeFrontPanelToModel (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeManagerLocationForContainersToModel (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeManagerLocationForToolsToModel (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeModelToContainerSettingsDialog ( ContainerT  cont  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeModelToFrontPanel (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForContainers (  )  [protected]
void alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForTools (  )  [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 alma.acs.commandcenter.gui.CommandCenterGui.addExtraTool(), and alma.acs.commandcenter.gui.CommandCenterGui.removeAllExtraTools().

Color alma.acs.commandcenter.gui.CommandCenterGui.COLOR_LogoBackground_B = new Color(0, 110, 160) [static, protected]
Color alma.acs.commandcenter.gui.CommandCenterGui.COLOR_LogoForeground = new Color(255, 255, 255) [static, protected]
Color alma.acs.commandcenter.gui.CommandCenterGui.COLOR_PassiveButton = new JButton().getBackground() [static, protected]
Icons alma.acs.commandcenter.gui.CommandCenterGui.icons = new Icons() [protected]
final Pattern alma.acs.commandcenter.gui.CommandCenterGui.p = Pattern.compile(".*the ACS_INSTANCE, (.+), is currently in use.*") [static, protected]

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