Class ScriptConsole

java.lang.Object
org.eclipse.ui.console.AbstractConsole
org.eclipse.ui.console.TextConsole
org.eclipse.ui.console.IOConsole
org.eclipse.ease.ui.console.ScriptConsole
All Implemented Interfaces:
EventListener, IExecutionListener, IScriptEngineProvider, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.console.IConsole

public class ScriptConsole extends org.eclipse.ui.console.IOConsole implements IExecutionListener, IScriptEngineProvider, org.eclipse.jface.util.IPropertyChangeListener
  • Field Details

  • Method Details

    • create

      public static ScriptConsole create(String title, IScriptEngine engine)
    • create

      public static ScriptConsole create(IScriptEngine engine)
    • getConsoleType

      public static String getConsoleType()
    • getErrorStream

      public org.eclipse.ui.console.IOConsoleOutputStream getErrorStream()
    • getOutputStream

      public org.eclipse.ui.console.IOConsoleOutputStream getOutputStream()
    • 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
    • terminate

      public void terminate()
    • getScriptEngine

      public IScriptEngine getScriptEngine()
      Specified by:
      getScriptEngine in interface IScriptEngineProvider
    • setLaunch

      public void setLaunch(org.eclipse.debug.core.ILaunch launch)
    • getLaunch

      public org.eclipse.debug.core.ILaunch getLaunch()
    • propertyChange

      public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
      Specified by:
      propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener
    • setScriptEngine

      public void setScriptEngine(IScriptEngine scriptEngine)
    • setPageParticipant

      public void setPageParticipant(ScriptConsolePageParticipant scriptConsolePageParticipant)