org.meta_environment.rascal.eclipse.console.internal
Class InteractiveInterpreterConsole.ConsoleDocumentListener
java.lang.Object
org.meta_environment.rascal.eclipse.console.internal.InteractiveInterpreterConsole.ConsoleDocumentListener
- All Implemented Interfaces:
- org.eclipse.jface.text.IDocumentListener
- Enclosing class:
- InteractiveInterpreterConsole
private static class InteractiveInterpreterConsole.ConsoleDocumentListener
- extends java.lang.Object
- implements org.eclipse.jface.text.IDocumentListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
console
private final InteractiveInterpreterConsole console
enabled
private volatile boolean enabled
buffer
private java.lang.StringBuffer buffer
InteractiveInterpreterConsole.ConsoleDocumentListener
public InteractiveInterpreterConsole.ConsoleDocumentListener(InteractiveInterpreterConsole console)
enable
public void enable()
disable
public void disable()
registerListener
public void registerListener()
documentAboutToBeChanged
public void documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentAboutToBeChanged in interface org.eclipse.jface.text.IDocumentListener
documentChanged
public void documentChanged(org.eclipse.jface.text.DocumentEvent event)
- Specified by:
documentChanged in interface org.eclipse.jface.text.IDocumentListener
queue
public void queue(java.lang.String command,
int commandStartOffset)
execute
public void execute()
reset
public void reset()