Home » Modeling » UML2 Tools » Cannot find UML Class Diagram simple directed assocation
Cannot find UML Class Diagram simple directed assocation [message #476574] |
Thu, 02 July 2009 19:02  |
Eclipse User |
|
|
|
Hi,
I'm a fairly new user of the Eclipse UML2Tools project, and I have a very
basic question which I have nonetheless been having trouble with: how can
I create a simple directed association between two classes? By "simple,
directed association", I mean, given two classes, that one draws a
connection from source to target; the source anchor is undecorated, while
the target anchor has an arrow facing the target. The closes thing I have
been able to find in this regard is the navigable association
relationship, but this adds something to the source anchor. I feel like I
must be missing something obvious, and I would greatly appreciate it if
anyone could help guide me on this.
Thanks,
Jake
|
|
|
Re: Cannot find UML Class Diagram simple directed assocation [message #476575 is a reply to message #476574] |
Fri, 03 July 2009 15:05   |
Eclipse User |
|
|
|
Hello Jake,
You created a simple directed association in a correct way. The cross at
the source end indicates that the end is not navigable.
Now three options are available in the preferences page in order to manage
arrows/crosses:
-Show all arrows and x’s.
-Suppress all arrows and x’s.
-Show one-way navigibility only
Howver, I've created a bug #282401 'Allow to show/hide arrows, crosses and
dots for a particular association', you can track it for the update.
Best wishes,
Tanya.
> Hi,
>
> I'm a fairly new user of the Eclipse UML2Tools project, and I have a
> very basic question which I have nonetheless been having trouble with:
> how can I create a simple directed association between two classes? By
> "simple, directed association", I mean, given two classes, that one
> draws a connection from source to target; the source anchor is
> undecorated, while the target anchor has an arrow facing the target.
> The closes thing I have been able to find in this regard is the
> navigable association relationship, but this adds something to the
> source anchor. I feel like I must be missing something obvious, and I
> would greatly appreciate it if anyone could help guide me on this.
>
> Thanks,
>
> Jake
>
|
|
| | | |
Re: Cannot find UML Class Diagram simple directed assocation [message #624513 is a reply to message #476574] |
Fri, 03 July 2009 15:05   |
Eclipse User |
|
|
|
Hello Jake,
You created a simple directed association in a correct way. The cross at
the source end indicates that the end is not navigable.
Now three options are available in the preferences page in order to manage
arrows/crosses:
-Show all arrows and x’s.
-Suppress all arrows and x’s.
-Show one-way navigibility only
Howver, I've created a bug #282401 'Allow to show/hide arrows, crosses and
dots for a particular association', you can track it for the update.
Best wishes,
Tanya.
> Hi,
>
> I'm a fairly new user of the Eclipse UML2Tools project, and I have a
> very basic question which I have nonetheless been having trouble with:
> how can I create a simple directed association between two classes? By
> "simple, directed association", I mean, given two classes, that one
> draws a connection from source to target; the source anchor is
> undecorated, while the target anchor has an arrow facing the target.
> The closes thing I have been able to find in this regard is the
> navigable association relationship, but this adds something to the
> source anchor. I feel like I must be missing something obvious, and I
> would greatly appreciate it if anyone could help guide me on this.
>
> Thanks,
>
> Jake
>
|
|
| | |
Re: Cannot find UML Class Diagram simple directed assocation [message #625614 is a reply to message #476574] |
Fri, 23 April 2010 09:50  |
Eclipse User |
|
|
|
I have struggled with this as well and found the solution.
1) in Preferences, set "Show one-way navigation only" or "Show all arrows and X's"
2) choose 2 classes and create association between them
3) select the association and look into the Properties view
4) in the Core tab, you will see "Member end" = "<Property> src:Class1, <Property> dst : Class2"
5) select the "Navigable owned end" and set its value to "<Property> dst : Class2"
6) save, close the diagram and reopen
Now you will see "x" on the Class1 side and arrow on the Class2 side.
|
|
|
Goto Forum:
Current Time: Wed Jul 23 08:21:30 EDT 2025
Powered by FUDForum. Page generated in 0.08893 seconds
|