Package org.eclipse.ease
Interface IExecutionListener
- All Known Subinterfaces:
ICodeTraceFilter
- All Known Implementing Classes:
AbstractDropin,AbstractEaseDebugger,Py4jDebugger,PyDevPathImporter,PythonDebugger,RemoveCurrentConsoleAction,ResourceProjectPathImporter,ScriptConsole,ScriptHistoryText,ScriptService,ScriptShell
public interface IExecutionListener
Interface to be implemented by any class interested in getting notified of script execution event.
-
Field Summary
Fields Modifier and Type Field Description static intENGINE_ENDEvent execution ended.static intENGINE_STARTEvent execution ended.static intSCRIPT_ENDEvent script execution ended.static intSCRIPT_INJECTION_ENDEvent injected script (subscript) ended.static intSCRIPT_INJECTION_STARTEvent injected script (subscript) started.static intSCRIPT_STARTEvent script execution started. -
Method Summary
Modifier and Type Method Description voidnotify(IScriptEngine engine, Script script, int status)Notifies the listeners when script execution started/ended or when the engine itself is started/ended.
-
Field Details
-
ENGINE_START
static final int ENGINE_STARTEvent execution ended.- See Also:
- Constant Field Values
-
ENGINE_END
static final int ENGINE_ENDEvent execution ended.- See Also:
- Constant Field Values
-
SCRIPT_START
static final int SCRIPT_STARTEvent script execution started.- See Also:
- Constant Field Values
-
SCRIPT_END
static final int SCRIPT_ENDEvent script execution ended.- See Also:
- Constant Field Values
-
SCRIPT_INJECTION_START
static final int SCRIPT_INJECTION_STARTEvent injected script (subscript) started.- See Also:
- Constant Field Values
-
SCRIPT_INJECTION_END
static final int SCRIPT_INJECTION_ENDEvent injected script (subscript) ended.- See Also:
- Constant Field Values
-
-
Method Details
-
notify
Notifies the listeners when script execution started/ended or when the engine itself is started/ended.- Parameters:
engine- Script Enginescript- Script ornullstatus- Event Status
-