Package org.jboss.as.cli.gui
Class CliGuiContext
- java.lang.Object
-
- org.jboss.as.cli.gui.CliGuiContext
-
public class CliGuiContext extends Object
- Author:
- Stan Silvert [email protected] (C) 2012 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLine
getCommandLine()
Get the main command line.CommandContext
getCommmandContext()
Get the command context.CommandExecutor
getExecutor()
Get the command executor.JPanel
getMainPanel()
Get the main panel for CLI GUI.Window
getMainWindow()
Get the singleton JFrame instance for the GUICLIOutput
getOutput()
Get the output component.JTabbedPane
getTabs()
Get the tabbed pane containing the Command Builder and Output tabsboolean
isStandalone()
Find if we are connected to a standalone AS instances or a domain controller.
-
-
-
Method Detail
-
isStandalone
public boolean isStandalone()
Find if we are connected to a standalone AS instances or a domain controller.- Returns:
- true if standalone, false otherwise.
-
getOutput
public CLIOutput getOutput()
Get the output component.- Returns:
- The Output component.
-
getCommmandContext
public CommandContext getCommmandContext()
Get the command context.- Returns:
- The command context.
-
getTabs
public JTabbedPane getTabs()
Get the tabbed pane containing the Command Builder and Output tabs- Returns:
-
getMainPanel
public JPanel getMainPanel()
Get the main panel for CLI GUI.- Returns:
- The main panel
-
getMainWindow
public Window getMainWindow()
Get the singleton JFrame instance for the GUI- Returns:
- The JFrame
-
getCommandLine
public CommandLine getCommandLine()
Get the main command line.- Returns:
- The main command text field.
-
getExecutor
public CommandExecutor getExecutor()
Get the command executor.- Returns:
- The command executor.
-
-