[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] New/Reload a .genmodel
|
Hello All,
I'm generating a viewer from "ecore diagram -> ecore -> genmodel".
I have three classes i.e. A, B, C with references as follow:
A -> B (containment=true)
A -> C (containment=true)
B -> C (containment=False) thus, B and C child classes of A class
if I made:
A -> C (containment=false)
A -> C (containment=true(not changed)) and,
B -> C (containment=true) thus, C child of B and B child of A
these changes does not get reflected in the view if I reload genmodel i.e.
still depicting C and B as child classes of A. Also, If I try to save the
viewer then I get:
org.eclipse.emf.ecore.xmi.DanglingHREFException: The object
'wwww.impl.EClass2Impl@1426780 (EAttribute0: null)' is not contained in a
resource.
This is solved only if I create a new model.
Can you tell me when should or should not reload be used? what's the
rationale of reload?
Many thanks for your help,
Jorge