Class ScriptHistoryText

All Implemented Interfaces:
IExecutionListener, Drawable

public class ScriptHistoryText extends StyledText implements IExecutionListener
  • Field Details

  • Constructor Details

    • ScriptHistoryText

      public ScriptHistoryText(Composite parent, int style)
  • Method Details

    • addScriptEngine

      public void addScriptEngine(IReplEngine engine)
    • removeScriptEngine

      public void removeScriptEngine(IReplEngine engine)
    • dispose

      public void dispose()
      Overrides:
      dispose in class Widget
    • clear

      public void clear()
    • notify

      public void notify(IScriptEngine engine, Script script, int status)
      Description copied from interface: IExecutionListener
      Notifies the listeners when script execution started/ended or when the engine itself is started/ended.
      Specified by:
      notify in interface IExecutionListener
      Parameters:
      engine - Script Engine
      script - Script or null
      status - Event Status
    • printCommand

      public void printCommand(String message)
      Print the script command.
      Parameters:
      message - message to print
    • printResult

      public void printResult(ScriptResult result)
      Print the script result.
      Parameters:
      result - script execution result