View previous topic :: View next topic |
Author |
Message |
allanmarks
Joined: 03 Jun 2003
Posts: 9
|
Posted: Thu Jun 05, 2003 1:13 am Post subject: Problems synchronizing changes from Source Editor to Model
|
|
|
I created three classes via the UML tool, then used the Source Editor to extend two of them from the third "Parent" class. However, I was unable to get the UML model synchronized to reflect the new inheritance hierarchy.
I've tried every preference setting / menu option that seems reasonable, but no luck. Is there something I'm missing?
Thanks for an (otherwise) great tool!
|
|
Back to top |
|
|
lionheart
Joined: 10 Jun 2003
Posts: 2
|
Posted: Tue Jun 10, 2003 6:19 pm Post subject:
|
|
|
I have the same problem. It seams that it's easy to unsynchronize UML diagrams by changing inheritance links...
I performed to redraw manually the correct inheritance links by hiding false links and by inserting real link (right click/inheritance/insert supertype even the supertype is already present in the diagram...), but it's not very efficient at the end, because it seams that we never know if the diagram is correct...
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 172
|
Posted: Thu Jun 12, 2003 5:54 pm Post subject: Re: Problems synchronizing changes from Source Editor to Mod
|
|
|
For us, it is expected behavior. Maybe it is not what you want. In fact, after the modification in source editor and saving it, the model UML is really updated. You need just select the subclass to show supertype. We don't show the inserted inheritance automatically. Thanks for your feedback. We could improve this later.
julien
omondo
|
|
Back to top |
|
|
lionheart
Joined: 10 Jun 2003
Posts: 2
|
Posted: Fri Jun 13, 2003 4:02 pm Post subject:
|
|
|
It could be a bug. Could you be so kind to report this to our support with more detail description : user-case ? Help us, help you. If we can reproduce it, we'll fix it in ASAP.
julien
omondo
|
|
Back to top |
|
|
rlemaigr
Joined: 07 Apr 2004
Posts: 3
|
Posted: Wed Apr 07, 2004 6:30 pm Post subject:
|
|
|
I have the same bug. Or maybe worse...
I was soooooooooooo happy when I found this lovely plugin, but this almost discouraged me to use it...
So:
When I modify the inheritance links in the source code, the diagram does not reflect the changes...But I could live with that. Having to synchronize the diagram with the code by myself would be no big deal. Ok.
What I can not live with is:
I can not synchronize the class diagram with the code ! Even if I delete it and recreate a new one automaticaly (by selecting the package and by clicking in the popup menu on uml->uml class diagram), the diagram is not synchronized with the code. Even worse, the diagram is very weird ! It shows a class that inherits from itself and I can't do nothing to help.....
To reset things, I have to delete the .uml folder in my project folder, and recreate a new uml class diagram. It works but all my other diagrams are then lost...
More precisely It seems to append when I do that:
Let's assume i have three class A, B, C (and a class diagram opened on it) and the inheritance is like this:
B->A, C->A.
I create a new class D. I change the inheritance links like this:
B->D, C->D, D->A.
Then the problem occurs.
If I delete the class diagram and recreate a new one, it shows the following inheritance links:
B->D,C->D, D->D !
I'm not completely sure it is the good scenario to reproduce the bug but it something like that.
Maybe I do something wrong I don't no.
It's too bad because without this bug, this plugin would be almost perfect !
help...
(excuse my english...I speack french...)
|
|
Back to top |
|
|
ozzybren
Joined: 13 Jan 2004
Posts: 1
Location: Melbourne, Victoria, Australia
|
Posted: Wed Apr 07, 2004 11:35 pm Post subject:
|
|
|
I have exactly the same problem. Rah, I lost all my existing diagrams as well. Not a major drama except that it takes ages to put all the relationshgips back in. Fortunately I saved my diagram as JPEG, but the problem only occured when I went to update my diagrams, so those JPEG aren't accurate any more.
Has there been any progress on fixing this problem?
|
|
Back to top |
|
|
|