[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.tmf] Re: How do I get a hold of the XtextResource associated with an XTextDocument?
|
IXtextDocument#readOnly(UnitOfWork) and IXtextDocument#modify(UnitOfWork)
You should not return the resource from the document as it is used in a
multithreaded environment and the unit of work concept encapsulates the
synchronization aspect.
Hope that helps,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com