Package org.eclipse.ease.ui.console
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,IPropertyChangeListener,IConsole
public class ScriptConsole
extends IOConsole
implements IExecutionListener, IScriptEngineProvider, IPropertyChangeListener
-
Field Summary
FieldsFields inherited from interface org.eclipse.ease.IExecutionListener
ENGINE_END, ENGINE_START, SCRIPT_END, SCRIPT_INJECTION_END, SCRIPT_INJECTION_START, SCRIPT_START -
Method Summary
Modifier and TypeMethodDescriptionstatic ScriptConsolecreate(String title, IScriptEngine engine) static ScriptConsolecreate(IScriptEngine engine) static Stringvoidnotify(IScriptEngine engine, Script script, int status) Notifies the listeners when script execution started/ended or when the engine itself is started/ended.voidvoidvoidsetPageParticipant(ScriptConsolePageParticipant scriptConsolePageParticipant) voidsetScriptEngine(IScriptEngine scriptEngine) voidMethods inherited from class org.eclipse.ui.console.IOConsole
clearConsole, createPage, getCharset, getEncoding, getHighWaterMark, getInputStream, getLowWaterMark, isAnsiConsoleEnabled, isCarriageReturnAsControlCharacter, isHandleControlCharacters, newOutputStream, setCarriageReturnAsControlCharacter, setHandleControlCharacters, setInputStream, setWaterMarksMethods inherited from class org.eclipse.ui.console.TextConsole
addHyperlink, addPatternMatchListener, getAttribute, getBackground, getConsoleWidth, getDocument, getFont, getHyperlink, getHyperlinks, getRegion, getSchedulingRule, getTabWidth, isConsoleAutoScrollLock, matcherFinished, partitionerFinished, removePatternMatchListener, setAttribute, setBackgrond, setBackground, setConsoleAutoScrollLock, setConsoleWidth, setFont, setTabWidthMethods inherited from class org.eclipse.ui.console.AbstractConsole
activate, addPropertyChangeListener, destroy, firePropertyChange, getHelpContextId, getImageDescriptor, getName, getType, initialize, removePropertyChangeListener
-
Field Details
-
CONSOLE_ACTIVE
- See Also:
-
-
Method Details
-
create
-
create
-
getConsoleType
-
getErrorStream
-
getOutputStream
-
notify
Description copied from interface:IExecutionListenerNotifies the listeners when script execution started/ended or when the engine itself is started/ended.- Specified by:
notifyin interfaceIExecutionListener- Parameters:
engine- Script Enginescript- Script ornullstatus- Event Status
-
terminate
public void terminate() -
getScriptEngine
- Specified by:
getScriptEnginein interfaceIScriptEngineProvider
-
setLaunch
-
getLaunch
-
propertyChange
- Specified by:
propertyChangein interfaceIPropertyChangeListener
-
setScriptEngine
-
setPageParticipant
-