| View previous topic :: View next topic |
| Author |
Message |
marton_sigmond
Joined: 13 Nov 2007 Posts: 10 Location: Hungary
|
Posted: Tue Nov 13, 2007 4:19 pm Post subject: Real-time synch - code change not visible on class diagram |
|
|
Hi,
I am facing the following issue:
- I am adding a new method to a class in the code editor.
- I do not see any changes in the model editor as I type.
- I save the file and I still do not see any changes in the model editor.
- Now I found two ways to make the changes visible on the model:
1) Right click on the class and select "Preferred View"
2) Right click on the class, select "View content selector",
switch to "Methods" tab, and check the checkbox next to
the method just added.
Is this the intended behavior, or it is a question of "Preferences"?
I would prefer to see the new method immediately when the java file is saved.
Or even earlier: as I type.
Otherwise eUML2 is closer to my dreams than any other UML tool I have ever met.
Thanks,
Marton |
|
| Back to top |
|
 |
Antoine soyatec
Joined: 06 Sep 2006 Posts: 188
|
Posted: Wed Nov 14, 2007 9:08 am Post subject: |
|
|
Hi Marton,
First of all, the diagram is synchronized class files changes (i.e. when an editor is saved).
However the new elements are added if the preferences allow it.
For example, if you create a new private method while your preferences settings sayes that you only want to display public methods, the new method won't be added to the diagram.
Best regards,
Antoine |
|
| Back to top |
|
 |
marton_sigmond
Joined: 13 Nov 2007 Posts: 10 Location: Hungary
|
Posted: Wed Nov 14, 2007 11:01 am Post subject: |
|
|
Antoine,
thank you for the quick answer.
Unfortunately this means that there is an undiscovered bug in the eUML2.
I was trying to add public methods to the class in the source editor, and when I hit the "Save" button nothing happened in the diagram editor window.
According to my preferences these public methods should have been appeared immediately.
However, when I restarted Eclipse this morning this problem went away.
As soon as I can reproduce the problem, I will report it to you.
Thanks,
Marton |
|
| Back to top |
|
 |
Antoine soyatec
Joined: 06 Sep 2006 Posts: 188
|
Posted: Wed Nov 14, 2007 1:30 pm Post subject: |
|
|
If you can provide a testcase, please send it to the support team (support(at)soyatec dot com).
Best regads,
antoine |
|
| Back to top |
|
 |
|