Interface AceCommandLine

All Known Implementing Classes:
AceDefaultCommandLine

public interface AceCommandLine
Interface exposing command line functions used by editor. This way of command line abstraction allows to have different implementations of command line component. It could be GWT TextBox or one-line instance of ace editor.
  • Method Details

    • setCommandLineListener

      void setCommandLineListener(AceCommandLineListener listener)
      Set listener getting callback from command line component. Typically editor registers listener itself.
      Parameters:
      listener - listener for command entering event
    • getValue

      String getValue()
      Give current text which command line contains.
      Returns:
      command stored in command line
    • setValue

      void setValue(String value)
      Set text into command line. It could be for instance a result of command execution.
      Parameters:
      value - text to be placed into command line