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,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 Summary
Fields Modifier and Type Field Description static StringCONSOLE_ACTIVEFields 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 Type Method Description static ScriptConsolecreate(String title, IScriptEngine engine)static ScriptConsolecreate(IScriptEngine engine)static StringgetConsoleType()org.eclipse.ui.console.IOConsoleOutputStreamgetErrorStream()org.eclipse.debug.core.ILaunchgetLaunch()org.eclipse.ui.console.IOConsoleOutputStreamgetOutputStream()IScriptEnginegetScriptEngine()voidnotify(IScriptEngine engine, Script script, int status)Notifies the listeners when script execution started/ended or when the engine itself is started/ended.voidpropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)voidsetLaunch(org.eclipse.debug.core.ILaunch launch)voidsetPageParticipant(ScriptConsolePageParticipant scriptConsolePageParticipant)voidsetScriptEngine(IScriptEngine scriptEngine)voidterminate()Methods inherited from class org.eclipse.ui.console.IOConsole
clearConsole, createPage, getCharset, getEncoding, getHighWaterMark, getInputStream, getLowWaterMark, 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:
- Constant Field Values
-
-
Method Details
-
create
-
create
-
getConsoleType
-
getErrorStream
public org.eclipse.ui.console.IOConsoleOutputStream getErrorStream() -
getOutputStream
public org.eclipse.ui.console.IOConsoleOutputStream 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
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:
propertyChangein interfaceorg.eclipse.jface.util.IPropertyChangeListener
-
setScriptEngine
-
setPageParticipant
-