|Register EPackage before loading the diagram [message #1011984]
||Wed, 20 February 2013 11:21
| sakop qq
Registered: January 2013
I am building a graphiti project using emf.
When adding a Pictogram, I linked it with an emf object,everything went smoothly.
However,when loading the diagram,since the emf package is not registered using sth like "SomePackage.eInstance". The EObject returned by resource.eContents() were EDynamicObject. Can I put "SomePackage eInstance" somewhere so that resource.eContents() return the real emf objects rather than the dynamic ones?
Powered by FUDForum
. Page generated in 0.01681 seconds