Class CliGuiContext

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