public class VariablesDropin extends Object implements IShellDropin, IExecutionListener
ENGINE_END, ENGINE_START, SCRIPT_END, SCRIPT_INJECTION_END, SCRIPT_INJECTION_START, SCRIPT_START
Constructor and Description |
---|
VariablesDropin() |
Modifier and Type | Method and Description |
---|---|
Composite |
createPartControl(IWorkbenchPartSite site,
Composite parent)
Create the drop-in visual components.
|
String |
getTitle()
Get this drop-in title.
|
void |
notify(IScriptEngine engine,
Script script,
int status)
Notifies the listeners when script execution started/ended or when the engine itself is started/ended.
|
void |
setScriptEngine(IScriptEngine engine)
Sets the script engine for this drop-in.
|
public void setScriptEngine(IScriptEngine engine)
IShellDropin
setScriptEngine
in interface IShellDropin
engine
- script engine used in shell viewpublic Composite createPartControl(IWorkbenchPartSite site, Composite parent)
IShellDropin
createPartControl
in interface IShellDropin
site
- workbench part site this drop-in is registered toparent
- parent container to render innull
)public String getTitle()
IShellDropin
getTitle
in interface IShellDropin
public void notify(IScriptEngine engine, Script script, int status)
IExecutionListener
notify
in interface IExecutionListener
engine
- Script Enginescript
- Script or null
status
- Event Status