![]() |
Telelogic TAU (steve huntington) | ![]() |
Topic Title: Restoring Relationships on a New Class Diagram Topic Summary: Should Tau draw existing relationships when dropping classes onto a new diagram? Created On: 7-Jun-2007 19:26 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thanks Brandon, I tried that and actually it works. Do you know if there's any way to make it the default behaviour? I find that this is almost always what I want on a diagram. | |
![]() |
|
I've noticed that you can draw a relationship between 2 classes (for example one class might be a member variable of another), then start a new class diagram and drop those classes on it.
When you do, you find that Tau doesn't show that there is an existing relationship between these classes.
Is this a bug or is it supposed to do that?
If it's supposed to do that, how are you meant to show the existing relationship without drawing it again?
Regards
Graham
|
|
![]() |
|
![]() |
|
If you are using version 3.0 or above you can drag using right-click rather than the traditional left-click when initializing the drag opertaion. When you dropping the classes you will get a few option on how to display the entities. Try the 'Create Presentation (Include Lines)' option and it should work.
_brandon |
|
![]() |
|
![]() |
|
Thanks Brandon, I tried that and actually it works. Do you know if there's any way to make it the default behaviour? I find that this is almost always what I want on a diagram. |
|
![]() |
|
![]() |
|
No, not yet. We have been discussing it in the lab though...the trick is do we change it for everyone or just make it a User Option?
/Greg ------------------------- Greg Gorman Vice President, Product Management Modeling and Test Products Telelogic AB |
|
![]() |
|
![]() |
|
Graham
Another way of doing this: when you have two symbols on a diagram where you want to show an existing relationship which you know exists, first select the relationship handle on the start symbol, and then instead of left-click on the target symbol to create a relationship line, right-click and select Reference Existing. So if there is an existing association, select the starting symbol and left-click on the association handle, then right-click on the ending symbol and choose Reference Existing. HTH Ian ------------------------- ============= Ian Barnard Principal Consultant Telelogic UK, an IBM company |
|
![]() |
|
![]() |
|
Thanks for these replies. Regarding Greg's point, I think it's a tradeoff between surprising existing users or surprising new ones. Existing users will of course expect it to behave like it always has done. New users would probably expect the relationships to appear by default, since most UML tools seem to do it that way (at least, the 3 or 4 I've used).
The right-click / left-click stuff solves the problem but isn't intuitive (at least to me). So that's why it would be nice, in my opinion, to have it as a global option.
Best Regards
Graham
|
|
![]() |
Telelogic TAU
» TAU/Developer
»
Restoring Relationships on a New Class Diagram
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.