metricsOverlay.editor
Class DocumentWatcher
java.lang.Object
metricsOverlay.editor.DocumentWatcher
- All Implemented Interfaces:
- org.eclipse.jface.text.IDocumentListener
public class DocumentWatcher
- extends java.lang.Object
- implements org.eclipse.jface.text.IDocumentListener
This file provides an implementation of a listener for changes to
a specific file.
- Version:
- 26/6/2009
- Author:
- Matthew Harward
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentWatcher
public DocumentWatcher(org.eclipse.jface.text.IDocument doc)
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
setDocment
public void setDocment(org.eclipse.jface.text.IDocument doc)
getDocument
public org.eclipse.jface.text.IDocument getDocument()