|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDReconstructor
The Reconstructor is a closure that builds a document. This class is used by the DocumentCache to load DefinitionsDocuments lazily from files on disk.
Method Summary | |
---|---|
void |
addDocumentListener(DocumentListener dl)
Sets a document listener to be added to the definitions document when it is created |
String |
getText()
Returns the string text for document that has been kicked out; null otherwise. |
DefinitionsDocument |
make()
|
void |
saveDocInfo(DefinitionsDocument doc)
Saves information (like cursor location, highlight, etc.) from the DefinitionsDocument before the cache deletes it so that those pieces of info can be restored when reconstructing the DefinitionsDocument again. |
Method Detail |
---|
DefinitionsDocument make() throws IOException, BadLocationException, FileMovedException
IOException
BadLocationException
FileMovedException
void saveDocInfo(DefinitionsDocument doc)
doc
- the DefinitionsDocument whose data needs savingvoid addDocumentListener(DocumentListener dl)
dl
- the listener to add to the documentString getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |