[Uml-devel] feature wish
Brian Thomas
brian.thomas at gsfc.nasa.gov
Thu Dec 4 10:44:01 UTC 2003
On Thursday 04 December 2003 01:12 pm, Jonathan R wrote:
> On Thu, Dec 04, 2003 at 03:00:15PM +0100, Alexander Fieroch wrote:
> > I would like to have some new features:
>
> I'm sure I've already replied to this e-mail.
>
> > Adding properies/roles for an association should not only show "Role A
> > Properties" and "Role B Properties" but also the names of the classes
> > because I do not know what class was A or B.
>
> I added that to the bugs database.
Im not sure that having the parent class name on the properties page really
clears up the issue. The role has meaning for the *other * class on the other
side of the association, but not for the *parent* class, to which the role belongs.
Nevertheless, to try this out, I made a small hack to dialogs/assocrolepage.cpp
which I have attached. For those interested in the issue, please apply it and give me
feedback on whether this is what is desired or not.
Personally, I dont think this sort of thing is needed. You should be able to
get along with just viewing the UML diagram. IF not, then the problem is in the
auto-positioning of the role names, which I grant, if the classes are too close,
can be confusing as to which role applies to which class. The solution there
is to move the classes farther appart, and reposition your role names so that
clarity is restored in the diagram.
-b.t.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assocrole.diff
Type: text/x-diff
Size: 1766 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20031204/0c9e7f64/attachment.bin>
More information about the umbrello-devel
mailing list