Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Jan ´Bary´ Glas on August 23, 2006, 01:46:37 am

Title: Constraint does not auto update
Post by: Jan ´Bary´ Glas on August 23, 2006, 01:46:37 am
Hi all,

In sequence diagrams there I use inserted scenarios (as related notes) (ICONIX-like) and when I change use case scenario, it changes here.

I tried the same with constraints (pre-conditions, post-conditions) and it is not working. Bug or feature?
Title: Re: Constraint does not auto update
Post by: «Midnight» on August 23, 2006, 04:36:15 am
Don't know, but I'd be interested to know Sparx' take on this.

Are you using 6.1 or 6.5? (And in the latter case which build?)
Title: Re: Constraint does not auto update
Post by: Jan ´Bary´ Glas on August 23, 2006, 04:41:51 am
Both 6.1.792 and 6.5.796.
When I change ther constriant via UseCase Properties the text disappears. I'll report it as a bug, we'll see.
Title: Re: Constraint does not auto update
Post by: «Midnight» on August 23, 2006, 04:43:19 am
Thanks again Bary,

This will likely affect me within a week or two. Please let me know if you hear anything beyond what gets posted in the forum.

David
Title: Re: Constraint does not auto update
Post by: Jan ´Bary´ Glas on August 23, 2006, 04:55:48 am
Agreed.
Title: Re: Constraint does not auto update
Post by: csousa on August 29, 2006, 01:54:41 pm
Quote
In sequence diagrams there I use inserted scenarios (as related notes) (ICONIX-like) and when I change use case scenario, it changes here.



I apologize for detracting from your original topic/post...

Curiously, I've been wanting to know how "inserted scenarios (as related notes)" can be done.

A quick scan of the help doesn't describe how to reveal the text from the scenario in a use case on the sequence diagram....likely something obvious I am missing?

Thanks.


Title: Re: Constraint does not auto update
Post by: Jan ´Bary´ Glas on August 30, 2006, 03:13:12 am
1. Drag a UseCase into a Sequence diagram.
2. Quicklink an empty note.
3. Pick the note-UseCase connector.
4. Rightclick it.
5. Choose "Link this Note to an Element feature..."
And here you are. The rest is up to you.
Title: Re: Constraint does not auto update
Post by: Jan ´Bary´ Glas on August 30, 2006, 03:14:11 am
And thanks to Sparxians that bug will be over in next 6.5 beta (797).
Title: Re: Constraint does not auto update
Post by: «Midnight» on August 30, 2006, 04:10:48 am
Music to my ears!
Title: Re: Constraint does not auto update
Post by: chaimweb on August 31, 2006, 08:11:58 am
First you need to put your Use case into a Diagram. Next, CLICK on this use case (within the diagram) and from the context menu of you choose 'Attach > Attach Note'. Click on the Note Link (the dotted line connecting the use case to the note) and from the context menu you can choose "Link this note to an element feature". Enjoy !