Diagram -> Model -> Diagram - how to do this? [message #477547] |
Sun, 22 June 2008 10:52  |
Eclipse User |
|
|
|
Originally posted by: marian-misc.rainer-harbach.eu
Hello,
I'm doing a programming project for university in which the aim is to
generate a UML model using a graphical editor (for example Eclipse UML2
Tools), then add properties programmatically and then view the result in
the graphical editor.
I implemented a sample program, but I encountered the following problem:
When saving the model programmatically, all xmi:ids in the .uml file
change - which means that the UML2 Tools Editor then cannot display the
diagram anymore.
I would be glad if someone could point me in the right direction on how to
solve this.
Thanks,
Marian
|
|
|
|
|
Re: Diagram -> Model -> Diagram - how to do this? [message #626745 is a reply to message #477547] |
Wed, 25 June 2008 23:51  |
Eclipse User |
|
|
|
Marian,
Are you adding the elements from the model to a different resource before
saving it? If you save the same resource that you loaded the model into in
the first place, the identifiers shouldn't change...
Kenn
"Marian Rainer-Harbach" <marian-misc@rainer-harbach.eu> wrote in message
news:6a73b6923b2da98469f1b6f1e7eebd10$1@www.eclipse.org...
> Hello,
> I'm doing a programming project for university in which the aim is to
> generate a UML model using a graphical editor (for example Eclipse UML2
> Tools), then add properties programmatically and then view the result in
> the graphical editor.
> I implemented a sample program, but I encountered the following problem:
> When saving the model programmatically, all xmi:ids in the .uml file
> change - which means that the UML2 Tools Editor then cannot display the
> diagram anymore.
>
> I would be glad if someone could point me in the right direction on how to
> solve this.
>
> Thanks,
> Marian
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04643 seconds