|Show layers from a CDO reprensentation file [message #1749421]
||Tue, 06 December 2016 14:35
| Henry Marchand
Registered: November 2016
I'm trying to show correctly a diagram from a representation hosted on a CDO server. I am able to load the file and so, the resource set which belong to CDO.
I create my transactional editing domain like this :
final TransactionalEditingDomain transaction = TransactionalEditingDomain.Factory.INSTANCE.createEditingDomain(representation.eResource().getResourceSet());
The problem is here : my representation file contains two layers. The default one is correctly shown when I open the diagram in an editor while the additionnal one is not.
When I execute the construction of the transaction editing domain 2 times consecutively, it works (the 2 layers are shown) but I'm getting an exception ("could not write...").
Do you have any idea on how to show the additionnal layers whithout getting any exception ?
I think this is a bug in GMF.
Powered by FUDForum
. Page generated in 7.69159 seconds