This implementation provides also a {@link #toString()} method that just returns the document {@linkplain it.unimi.dsi.mg4j.document.Document#title() title}.
Note that even if your {@link it.unimi.dsi.mg4j.document.Document} implementation does not allocateany document-specific resource, it is nonetheless a good idea to inherit from this class, as tracking missing calls to {@link java.io.Closeable#close() close()} will be easier to detect.
IDocument
and its extension interfaces {@link org.eclipse.jface.text.IDocumentExtension}, {@link org.eclipse.jface.text.IDocumentExtension2}, {@link org.eclipse.jface.text.IDocumentExtension3}, {@link org.eclipse.jface.text.IDocumentExtension4}, as well as {@link org.eclipse.jface.text.IRepairableDocument}. An AbstractDocument
supports the following implementation plug-ins:
This class must be subclassed. Subclasses must configure which implementation plug-ins the document instance should use. Subclasses are not intended to overwrite existing methods. @see org.eclipse.jface.text.ITextStore @see org.eclipse.jface.text.ILineTracker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|