|
FAQ Search Memberlist Usergroups Statistics Register |
Profile Log in to check your private messages Log in |
|
Any way to hide association end labels?
|
|
forum-omondo.com Forum Index -> Eclipse Support |
View previous topic :: View next topic |
Author |
Message |
aaime
Joined: 13 Jan 2005
Posts: 5
|
Posted: Thu Jan 13, 2005 4:53 pm Post subject: Any way to hide association end labels?
|
|
|
I'm trying to find a way to avoid having the association end labels on my class diagram, but apparently there is none?
I'm overseeing anything? I have classes with quite a lot of association, if the association ends are shown the diagram get too messy to be shown to other people...
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 227
|
Posted: Thu Jan 13, 2005 5:48 pm Post subject: Re: Any way to hide association end labels?
|
|
|
Not quite sure what you want. If you want hide an association, you need select the assocaition and then call the contexte menu "Hide".
julien
omondo
|
|
Back to top |
|
|
aaime
Joined: 13 Jan 2005
Posts: 5
|
Posted: Thu Jan 13, 2005 6:23 pm Post subject:
|
|
|
I don't want to hide the association, I want to hide the association end labels, the roles (but not the multiplicity).
To make myself more clear, if I have a Person class and an Address class, and an association that links them, I will get on the diagram also two labels besides the cardinalities, if I keep the default names, they will be "- person" and "- address" respectively. I don't want them in my diagram.
Praying there is a way, but I'm not very hopeful...
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 227
|
Posted: Thu Jan 13, 2005 7:20 pm Post subject:
|
|
|
For me, an association without role names doesn't make sense. Anyway, you can select the labels and then call the contexte menu "Delete".
regards
julien
omondo
|
|
Back to top |
|
|
aaime
Joined: 13 Jan 2005
Posts: 5
|
Posted: Thu Jan 13, 2005 7:52 pm Post subject:
|
|
|
I only use those labels when there are two association between the same couple of classes. Besides, they are not used very often in UML books (I have at hand UML distilled and the UML reference, don't see many of them).
Anyway, I've tried out the solution you propose, but if I close the diagram and re-open it, the label gets inserted again
|
|
Back to top |
|
|
aaime
Joined: 13 Jan 2005
Posts: 5
|
Posted: Fri Jan 14, 2005 8:30 am Post subject:
|
|
|
Oh hum, I've tried again and my description of the problem is not accurate: Omondo throws and exception when trying to save a diagram with an association end label removed. This is what I get on the "error log" when I try to save a class diagram after removing a label name "swimlane":
The object 'com.omondo.uml.ui.editors.editmodel.c.cx@178c581 (name: + swimlane, backgroundRGB: RGB {255, 255, 255}, foregroundRGB: RGB {0, 0, 0}, location: Point(185, 238), size: Dimension(59, 14), fontInfo: Arial-8-0, timstampe: -1, viewFrozen: false, displayName: null, stereotype: null, taggedValues: null, links: null, state: Created, viewSorter: null, description: null) (automaticRelocationAllowed: true, locationOnWireFromSource: 0.0, distanceFromWire: 0.0, anchorKind: FirstPart)' is not contained in a resource.
I'm using Eclipse 3.0.1 and Omondo free 2.0.0 build
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 227
|
Posted: Fri Jan 14, 2005 9:21 am Post subject:
|
|
|
Our plugin isn't designed to support this possibility.
regards
julien
|
|
Back to top |
|
|
aaime
Joined: 13 Jan 2005
Posts: 5
|
Posted: Fri Jan 14, 2005 9:32 am Post subject:
|
|
|
Yes, it's excellent when reverse engineering and for keeping detailed design in synch with the source code evolution, but when it comes to the first stages of analysis (when you model entities, database tables, not exactly java sources), it's not the best choice... I'll use Poseidon for the conceptual modeling, and when I'll start real coding I'll fall back on Omondo again.
Thank you for your time and patience
|
|
Back to top |
|
|
julien
Site Admin
Joined: 16 Mar 2003
Posts: 227
|
Posted: Sat Jan 15, 2005 12:17 am Post subject:
|
|
|
Our solution is designed for Java application development. It isn't just a graphical editor.
regards
julien
|
|
Back to top |
|
|
|
|
forum-omondo.com Forum Index -> Eclipse Support |
All times are GMT
|
Page 1 of 1 |
|
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
|
Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group
|