Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Show layers from a CDO reprensentation file
Show layers from a CDO reprensentation file [message #1749421] Tue, 06 December 2016 14:35
Henry Marchand is currently offline Henry MarchandFriend
Messages: 3
Registered: November 2016
Junior Member

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.

Than you.
Previous Topic:Modelling Childs on Border of Parent
Next Topic:TESSSS
Goto Forum:

Current Time: Wed Feb 28 04:02:11 GMT 2024

Powered by FUDForum. Page generated in 0.23801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top