Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: alex_arch on August 05, 2008, 11:41:52 pm

Title: Can´t show derived union associations
Post by: alex_arch on August 05, 2008, 11:41:52 pm
I can´t find a way to show the notation for an association end marked as 'derived union'. Neither the property string {union} and the slash "\" (used to mark a association end as derived) in front of the role name are shown.
However, the 'slash' notation for derived classes attributes are shown properly.
Is there any trick to show the notation for derived association ends?
Title: Re: Can´t show derived union associations
Post by: «Midnight» on August 06, 2008, 03:19:32 am
Several tricks, and some limitations as well. Search the forum for details.

I know that's not the answer you want, but it is the correct one. There are several threads on the subject, some quite recent. They will give you an excellent overview of the situation, a lot of information about what you can and cannot do, and specific instructions for going about things. These last items include workarounds and compromises you can use to work beyond the limits of the EA paradigm for handling features that represent roles.

HTH, David
Title: Re: Can´t show derived union associations
Post by: KP on August 06, 2008, 10:10:54 am
The derived '/' and the '{union}' constraint should show by default. If they aren't visible, right-click the association and use the "Visibility > Set Label Visibility" command. As David hinted, there are a number of reasons why that might not work, but one bridge at a time... :)
Title: Re: Can´t show derived union associations
Post by: alex_arch on August 06, 2008, 10:32:29 pm
i've already tried 'Visibility > Set Label Visibility'. The '{union}' are not shown there (all checkboxes are checked indeed).
Note that the role name of the end are displayed in the diagram (without the slash "/").
Title: Re: Can´t show derived union associations
Post by: «Midnight» on August 06, 2008, 10:40:31 pm
Try opening the diagram properties dialog (F5) and clicking the Features tab. Ensure that you have checked the Show Qualifiers and Visibility Indicators option.

This is in the help file, but you really need to know where to look.

David
Title: Re: Can´t show derived union associations
Post by: alex_arch on August 06, 2008, 11:09:31 pm
The configured options  below don´t solve the problem:

Options already marked on "Features" Tab of diagram properties (relevant ones):
- Show visibility indicators

Options UNmarked on "Tools>Options>Links" menu (relevant ones):

- Supress Link Constraints
- Supress Qualifier Boxes (although i don´t know why this could help)



Title: Re: Can´t show derived union associations
Post by: «Midnight» on August 07, 2008, 06:15:24 am
What version and build of EA are you using? My options read as I described, but yours seem to be different.
Title: Re: Can´t show derived union associations
Post by: alex_arch on August 07, 2008, 06:25:10 am
I´m using version v7.0.813 ...
Title: Re: Can´t show derived union associations
Post by: KP on August 07, 2008, 08:54:31 am
Is it a UML Association, and not a (for example) BPMN Association? (To check, right-click the connector and select Association Properties and check the Stereotype field is empty)
Title: Re: Can´t show derived union associations
Post by: alex_arch on August 07, 2008, 10:15:05 pm
It´s a simple UML association (Association metaclass) between classes, and it´s not stereotyped.
Title: Re: Can´t show derived union associations
Post by: KP on August 08, 2008, 08:54:29 am
OK, I've just tried with 7.0.813 and you need to reload the diagram (reloading the project or restarting EA will also work) to get the '/' and '{union}' to show. The latest version, 7.1.831, refreshes the diagram correctly.
Title: Re: Can´t show derived union associations
Post by: alex_arch on August 08, 2008, 10:26:21 pm
It works this way KP. Thanks for your help guys.
We will upgrade to a latest build as soon as we can.