| Relationship between getModelForRead(IFile) and getModelForRead(IStructuredDocument) [message #188946] |
Thu, 01 March 2007 23:48 |
|
Originally posted by: konigsberg.at.geemail.dot.com
Hello,
Given IFile f and IStructuredDocument sDoc where sDoc came from f, will
the seqeuence
IStructuredModel m1 = ModelManager.getModelForRead(sDoc);
IStructuredModel m2 = ModelManager.getModelForRead(f);
pass the assertion
assert m1 == m2;
?
That is, I'm looking to prevent superfluous reads from the disk. I
presume so, but I wonder if I'm missing some understanding of the model
manager.
Thanks, Robert
|
|
|
Powered by
FUDForum. Page generated in 0.01764 seconds