[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[wtp-dev] IStructuredModel: releaseFromRead() ramifications
|
- From: Ian Trimble <ian.trimble@xxxxxxxxxx>
- Date: Thu, 12 Feb 2009 20:18:36 +0000 (GMT)
- Delivered-to: wtp-dev@eclipse.org
Hi.
I'm currently
working on functionality in the JSF Tools Project. I have a question regarding
IStructuredModel handling.
I'm doing the
following (to load a CSS file):
- getting an
IStructuredModel instance (for read) from the
StructuredModelManager
- casting this
model to an ICSSModel instance
- calling
getDocument() on the ICSSModel instance
My question is this:
once I have the ICSSDocument instance (that I need to persist for an arbitrary
period of time), can I call releaseFromRead() on the ICSSModel instance
immediately, or does releasing the model render the document
unusable?
Thanks in
advance,
-
Ian

Ian Trimble | Principal Software Developer
Phone:
+2509540837 | Fax: +2509540837
Oracle
Eclipse
ORACLE Canada | 754 Nanoose Avenue | V9P 1E8 Parksville,
BC
 |
Oracle is committed to developing practices and products
that help protect the environment |