public class CommandCenterGui
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector<javax.swing.JMenuItem> |
addedToolMenuItems
for book-keeping, to allow later removal of actions from the tools menu
|
protected static java.awt.Color |
COLOR_ActiveButton |
protected static java.awt.Color |
COLOR_LogoBackground_A |
protected static java.awt.Color |
COLOR_LogoBackground_B |
protected static java.awt.Color |
COLOR_LogoForeground |
protected static java.awt.Color |
COLOR_PassiveButton |
CommandCenterLogic |
controller |
protected java.io.File |
currentProjectFile |
protected javax.swing.JPanel |
deploymentInfoPanel |
DeploymentTree |
deployTree |
javax.swing.JDesktopPane |
desktop |
protected alma.acs.commandcenter.gui.EditContainerSettingsDialog |
dlgContainerSettings |
protected alma.acs.commandcenter.gui.BasicDialog |
dlgEditVariables |
protected javax.swing.JDialog |
editCommandsDialog |
protected alma.acs.commandcenter.gui.EditCommandsPanel |
editCommandsPanel |
protected javax.swing.JDialog |
editPexpectsDialog |
protected EditPexpectsPanel |
editPexpectsPanel |
protected FeedbackTabs |
feedbackTabs |
javax.swing.JFrame |
frame |
protected TabPanel |
frontPanel |
protected DefaultHelpBroker |
helpBroker |
protected CommandCenterGui.Icons |
icons |
protected java.util.logging.Logger |
log |
protected alma.acs.commandcenter.gui.BasicDialog |
managerLocationDialog1 |
protected alma.acs.commandcenter.gui.BasicDialog |
managerLocationDialog2 |
protected javax.swing.JMenuBar |
menuBar |
protected static java.util.regex.Pattern |
p |
protected alma.acs.commandcenter.gui.EditVariablesPanel |
pnlEditVariables |
protected alma.acs.commandcenter.gui.ManagerLocationPanel.ForContainers |
pnlManagerLocationForContainers |
protected alma.acs.commandcenter.gui.ManagerLocationPanel.ForTools |
pnlManagerLocationForTools |
protected javax.swing.JSplitPane |
splitLeftRight |
protected javax.swing.JSplitPane |
splitTopBottom |
protected NativeCommand.Listener |
taskListenerAdminClient |
protected NativeCommand.Listener |
taskListenerCdbBrowser |
protected NativeCommand.Listener |
taskListenerDynClient |
protected NativeCommand.Listener |
taskListenerInterfaceRepBrowser |
protected NativeCommand.Listener |
taskListenerJlogClient |
protected NativeCommand.Listener |
taskListenerNameServiceBrowser |
protected NativeCommand.Listener |
taskListenerObjectExplorer |
protected javax.swing.JMenu |
toolsMenu |
| Constructor and Description |
|---|
CommandCenterGui(CommandCenterLogic controller) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraTool(Tool tool,
java.util.HashMap<java.lang.String,java.lang.Object> result,
ExecuteTools.ToolStarter ts)
Adds an entry to the tools menu, on activation an input dialog is shown and
evaluated.
|
void |
correctDialogLocation(javax.swing.JDialog d) |
protected javax.swing.border.Border |
createTitledBorder(java.lang.String title) |
void |
currentProjectChanged() |
protected void |
doFrameTitle() |
protected NativeCommand.Listener |
giveOutputListener(java.lang.String taskName)
The outputlistener just writes a task's output to a feedback area, nothing more and
nothing less.
|
protected NativeCommand.Listener |
giveOutputListener2(java.lang.String taskName)
The outputlistener2 is like the standard one, plus it scans the output for automatic
acs_instance assignments.
|
void |
go(boolean admincMode) |
protected void |
managerStarted() |
protected void |
managerStopped() |
void |
prepare() |
void |
removeAllExtraTools() |
void |
setCurrentProjectFile(java.io.File f) |
protected void |
showContainerSettingsDialog() |
protected void |
showHelpBrowser() |
protected void |
showManagerLocationForContainersDialog() |
protected java.io.File |
showOpenDialog() |
protected java.io.File |
showSaveDialog() |
void |
showUnresolvableVariableErrorDialog(java.lang.String var) |
void |
showUrlContent(java.net.URL url,
java.lang.String title) |
protected void |
showVariablesEditor() |
void |
stop()
Disposes the frame.
|
protected void |
writeContainerSettingsDialogToModel(ContainerT cont) |
protected void |
writeFrontPanelToModel()
Reads out the gui elements
|
protected void |
writeManagerLocationForContainersToModel() |
protected void |
writeManagerLocationForToolsToModel() |
protected void |
writeModelToContainerSettingsDialog(ContainerT cont) |
protected void |
writeModelToFrontPanel() |
protected void |
writeModelToManagerLocationForContainers() |
protected void |
writeModelToManagerLocationForTools() |
protected static java.awt.Color COLOR_ActiveButton
protected static java.awt.Color COLOR_PassiveButton
protected static java.awt.Color COLOR_LogoBackground_A
protected static java.awt.Color COLOR_LogoBackground_B
protected static java.awt.Color COLOR_LogoForeground
public CommandCenterLogic controller
protected java.util.logging.Logger log
public javax.swing.JFrame frame
public javax.swing.JDesktopPane desktop
protected TabPanel frontPanel
protected FeedbackTabs feedbackTabs
public DeploymentTree deployTree
protected javax.swing.JPanel deploymentInfoPanel
protected NativeCommand.Listener taskListenerObjectExplorer
protected NativeCommand.Listener taskListenerAdminClient
protected NativeCommand.Listener taskListenerJlogClient
protected NativeCommand.Listener taskListenerCdbBrowser
protected NativeCommand.Listener taskListenerDynClient
protected NativeCommand.Listener taskListenerInterfaceRepBrowser
protected NativeCommand.Listener taskListenerNameServiceBrowser
protected javax.swing.JMenuBar menuBar
protected javax.swing.JMenu toolsMenu
protected java.io.File currentProjectFile
protected alma.acs.commandcenter.gui.BasicDialog managerLocationDialog1
protected alma.acs.commandcenter.gui.ManagerLocationPanel.ForTools pnlManagerLocationForTools
protected alma.acs.commandcenter.gui.BasicDialog managerLocationDialog2
protected alma.acs.commandcenter.gui.ManagerLocationPanel.ForContainers pnlManagerLocationForContainers
protected javax.swing.JSplitPane splitLeftRight
protected javax.swing.JSplitPane splitTopBottom
protected alma.acs.commandcenter.gui.BasicDialog dlgEditVariables
protected alma.acs.commandcenter.gui.EditVariablesPanel pnlEditVariables
protected alma.acs.commandcenter.gui.EditContainerSettingsDialog dlgContainerSettings
protected DefaultHelpBroker helpBroker
protected javax.swing.JDialog editCommandsDialog
protected alma.acs.commandcenter.gui.EditCommandsPanel editCommandsPanel
protected javax.swing.JDialog editPexpectsDialog
protected EditPexpectsPanel editPexpectsPanel
protected java.util.Vector<javax.swing.JMenuItem> addedToolMenuItems
protected static final java.util.regex.Pattern p
protected CommandCenterGui.Icons icons
public CommandCenterGui(CommandCenterLogic controller)
public void prepare()
public void go(boolean admincMode)
public void stop()
protected void managerStarted()
protected void managerStopped()
public void setCurrentProjectFile(java.io.File f)
public void currentProjectChanged()
protected void doFrameTitle()
protected java.io.File showOpenDialog()
protected java.io.File showSaveDialog()
public void showUnresolvableVariableErrorDialog(java.lang.String var)
protected void showVariablesEditor()
protected void writeModelToManagerLocationForTools()
protected void writeManagerLocationForToolsToModel()
protected void showManagerLocationForContainersDialog()
protected void writeModelToManagerLocationForContainers()
protected void writeManagerLocationForContainersToModel()
protected void showContainerSettingsDialog()
protected void writeModelToContainerSettingsDialog(ContainerT cont)
protected void writeContainerSettingsDialogToModel(ContainerT cont)
protected void writeFrontPanelToModel()
protected void writeModelToFrontPanel()
public void correctDialogLocation(javax.swing.JDialog d)
protected javax.swing.border.Border createTitledBorder(java.lang.String title)
public void showUrlContent(java.net.URL url,
java.lang.String title)
protected void showHelpBrowser()
public void addExtraTool(Tool tool,
java.util.HashMap<java.lang.String,java.lang.Object> result,
ExecuteTools.ToolStarter ts)
public void removeAllExtraTools()
protected NativeCommand.Listener giveOutputListener(java.lang.String taskName)
protected NativeCommand.Listener giveOutputListener2(java.lang.String taskName)