Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Collaboration diagram for alma::acs::commandcenter::gui::CommandCenterGui:

Collaboration graph
[legend]
List of all members.

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

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

Package Attributes

JDialog dialog = null
JEditorPane editor = null

Constructor & Destructor Documentation

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


Member Function Documentation

void alma::acs::commandcenter::gui::CommandCenterGui::addExtraTool Tool  tool,
final HashMap< String, Object >  result,
final ExecuteTools.ToolStarter  ts
[inline]
 

Adds an entry to the tools menu, on activation an input dialog is shown and evaluated. Finally the specified listener is triggered.

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]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::giveOutputListener String  taskName  )  [inline, 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.

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::giveOutputListener2 String  taskName  )  [inline, 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.

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.

void alma::acs::commandcenter::gui::CommandCenterGui::writeContainerSettingsDialogToModel ContainerT  cont  )  [inline, protected]
 

void alma::acs::commandcenter::gui::CommandCenterGui::writeFrontPanelToModel  )  [inline, protected]
 

Reads out the gui elements

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

Color alma::acs::commandcenter::gui::CommandCenterGui::COLOR_ActiveButton = Color.gray [static, protected]
 

Color alma::acs::commandcenter::gui::CommandCenterGui::COLOR_LogoBackground_A = Color.black [static, protected]
 

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]
 

CommandCenterLogic alma::acs::commandcenter::gui::CommandCenterGui::controller
 

File alma::acs::commandcenter::gui::CommandCenterGui::currentProjectFile [protected]
 

JPanel alma::acs::commandcenter::gui::CommandCenterGui::deploymentInfoPanel [protected]
 

DeploymentTree alma::acs::commandcenter::gui::CommandCenterGui::deployTree
 

JDialog alma::acs::commandcenter::gui::CommandCenterGui::dialog = null [package]
 

EditContainerSettingsDialog alma::acs::commandcenter::gui::CommandCenterGui::dlgContainerSettings [protected]
 

BasicDialog alma::acs::commandcenter::gui::CommandCenterGui::dlgEditVariables [protected]
 

JDialog alma::acs::commandcenter::gui::CommandCenterGui::editCommandsDialog [protected]
 

EditCommandsPanel alma::acs::commandcenter::gui::CommandCenterGui::editCommandsPanel [protected]
 

JEditorPane alma::acs::commandcenter::gui::CommandCenterGui::editor = null [package]
 

JDialog alma::acs::commandcenter::gui::CommandCenterGui::editPexpectsDialog [protected]
 

EditPexpectsPanel alma::acs::commandcenter::gui::CommandCenterGui::editPexpectsPanel [protected]
 

FeedbackTabs alma::acs::commandcenter::gui::CommandCenterGui::feedbackTabs [protected]
 

JFrame alma::acs::commandcenter::gui::CommandCenterGui::frame
 

TabPanel alma::acs::commandcenter::gui::CommandCenterGui::frontPanel [protected]
 

DefaultHelpBroker alma::acs::commandcenter::gui::CommandCenterGui::helpBroker [protected]
 

Icons alma::acs::commandcenter::gui::CommandCenterGui::icons = new Icons() [protected]
 

Logger alma::acs::commandcenter::gui::CommandCenterGui::log [protected]
 

BasicDialog alma::acs::commandcenter::gui::CommandCenterGui::managerLocationDialog1 [protected]
 

BasicDialog alma::acs::commandcenter::gui::CommandCenterGui::managerLocationDialog2 [protected]
 

JMenuBar alma::acs::commandcenter::gui::CommandCenterGui::menuBar [protected]
 

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

EditVariablesPanel alma::acs::commandcenter::gui::CommandCenterGui::pnlEditVariables [protected]
 

ManagerLocationPanel.ForContainers alma::acs::commandcenter::gui::CommandCenterGui::pnlManagerLocationForContainers [protected]
 

ManagerLocationPanel.ForTools alma::acs::commandcenter::gui::CommandCenterGui::pnlManagerLocationForTools [protected]
 

JSplitPane alma::acs::commandcenter::gui::CommandCenterGui::splitLeftRight [protected]
 

JSplitPane alma::acs::commandcenter::gui::CommandCenterGui::splitTopBottom [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerAdminClient [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerCdbBrowser [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerDynClient [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerInterfaceRepBrowser [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerJlogClient [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerNameServiceBrowser [protected]
 

NativeCommand.Listener alma::acs::commandcenter::gui::CommandCenterGui::taskListenerObjectExplorer [protected]
 

JMenu alma::acs::commandcenter::gui::CommandCenterGui::toolsMenu [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:51:35 2009 for ACS Java API by doxygen 1.3.8