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 ssilvert@redhat.com (C) 2012 Red Hat Inc.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLinegetCommandLine()Get the main command line.CommandContextgetCommmandContext()Get the command context.CommandExecutorgetExecutor()Get the command executor.JPanelgetMainPanel()Get the main panel for CLI GUI.WindowgetMainWindow()Get the singleton JFrame instance for the GUICLIOutputgetOutput()Get the output component.JTabbedPanegetTabs()Get the tabbed pane containing the Command Builder and Output tabsbooleanisStandalone()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.
-
-