|
Re: cannot reopen diagram representation after eclipse restart [message #1703179 is a reply to message #1703149] |
Wed, 29 July 2015 07:12 |
|
Hi Rob,
Le 28/07/2015 23:28, Robert Scott a écrit :
> Hi, I can't seem to resolve this issue. I create an emf genmodel from
> my xml schema.
> next I do generate-all. I also created a viewpoint specification for
> model. I tried both: 1. export the projects as deployable plugins &
> fragments and 2. run-as eclipse application. Either way I can use the
> new generated wizard to create my model and I can edit the new model in
> the generated model editor and I can enable the viewpoint and create a
> representation diagram for the new model.
This indicates that the link to the semantic model have been serialized
without issue (like in your preceding post).
> The problem I have is after I save the diagram, if I exit eclipse or
> close and re-open the project, the diagram can no longer be opened. I
> can still use create-representation
> to create a new diagram for the same model by the old diagram is no
> longer usable.
I think you should look into the aird in text mode to see how the link
between your diagram and the semantic element on which you created it
has been serialized:
<ownedRepresentations xmi:type="diagram:DSemanticDiagram"
xmi:id="_mKjv0BXPEeWwcbvMkwT-CQ" name="MyDiagramName">
[...]
<target xmi:type="ecore:EPackage" href="YouSemanticModel.xxx#/"/>
</ownedRepresentations>
>
> I tried the Example basicFamily model and everything works fine.
> I find the same behavior on eclipse Mars and eclipse Luna using Sirius 3.0
>
> Any Ideas on how to debug this or what the problem could be?
>
> Thanks,
>
> Rob
Regards
--
Maxime - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03297 seconds