View previous topic :: View next topic |
Author |
Message |
Toran
Joined: 05 Oct 2004
Posts: 7
Location: Germany
|
Posted: Thu Nov 18, 2004 11:04 am Post subject: Associations arn't displayed
|
|
|
Hi!
I'm using Eclipse 3.01 and EclipseUML Studio Edition 1.1.0 (Build ID 20041104).
Whenever I create a class diagram none of my associations are shown, regardless of the diagram presentation mode I choose. (By the way, how can I change the presentation mode after diagram creation?).
When I try to add associations manually, I can't because EclipseUML tells me that a member of the according name already exists!
Any help how I can get my associations to show up would be greatly appreciated!
Thanks in advance,
Toran
|
|
Back to top |
|
|
magir
Joined: 13 Oct 2004
Posts: 13
|
Posted: Mon Nov 22, 2004 3:26 pm Post subject:
|
|
|
Are your associations listed under the context menu "Associations"?
|
|
Back to top |
|
|
Toran
Joined: 05 Oct 2004
Posts: 7
Location: Germany
|
Posted: Mon Nov 22, 2004 6:03 pm Post subject:
|
|
|
magir wrote: |
Are your associations listed under the context menu "Associations"? |
Sorry for not coming back earlier!
Well, I'm not quite sure what you mean: In the context menu of classes, there is an entry "Associations" but all menu items (Layout, Select, Group classes) are deactivated.
Toran
|
|
Back to top |
|
|
magir
Joined: 13 Oct 2004
Posts: 13
|
Posted: Tue Nov 23, 2004 10:15 am Post subject:
|
|
|
If you "right-click" on a class the Association-Menu should have an entry "Show asssociations" which shows all "associated" classes and you can show each one of them. If you don't see that your associations are not recognized.
|
|
Back to top |
|
|
Toran
Joined: 05 Oct 2004
Posts: 7
Location: Germany
|
Posted: Tue Nov 23, 2004 11:47 pm Post subject:
|
|
|
If I right click on a class I have an association menu entry but it has only the subentries:
"Layout classes"
"Select classes"
"Group classes"
and those are disabled. So I suspect my associations aren't recognized. The question is why. At least simple direct 1:1 associations should be recognized. I wonder what the mistake is. I keep thinking I'm making a dumm newby mistake...
Thanks a lot anyway for your help!
|
|
Back to top |
|
|
cyboc
Joined: 25 Nov 2004
Posts: 1
Location: Vancouver, BC, Canada
|
Posted: Thu Nov 25, 2004 8:38 pm Post subject:
|
|
|
I have the exact same problem as Toran. Can somebody please help us?
_________________
Cheers,
Cyboc
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 161
|
Posted: Fri Nov 26, 2004 8:43 am Post subject:
|
|
|
Please check if you have the association in the class. If the class hasn't any @uml.associationEnd tags in class members, the classs hasn't associations.
julien
omondo
|
|
Back to top |
|
|
Toran
Joined: 05 Oct 2004
Posts: 7
Location: Germany
|
Posted: Fri Nov 26, 2004 2:45 pm Post subject:
|
|
|
julien wrote: |
Please check if you have the association in the class. If the class hasn't any @uml.associationEnd tags in class members, the classs hasn't associations.
|
I deleted all class diagrams and recreated one. This time I got a warning that reverse engineering was about to put javadoc comments in my java-files. Good news so far.
I got some (very few) associations this time, but most were not recognized. I wonder why EclipseUML puts those tags in some of my class members but not all.
Example:
/**
* @uml.property name="root"
*/
private FeatureGroup root;
That's a class member in a class "Schema" which is in the same package as the class FeatureGroup. Why doesn't EclipseUML reverse engineering put those tags in the javadoc for this member if it does for a few others?
Is there a way to add them by hand?
|
|
Back to top |
|
|
Toran
Joined: 05 Oct 2004
Posts: 7
Location: Germany
|
Posted: Tue Dec 14, 2004 1:44 pm Post subject:
|
|
|
I still haven't found a solution to the problem which bugs me a lot.
However, if nobody can help I guess I will have to stop evaluation of EclipseUML for our department. That's a pity since I liked the concept of EclipseUML very much. Nevertheless I can't put any more time in this.
Quite frustrated,
Uli
|
|
Back to top |
|
|
|