Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Drawing inheritance between classes in different packages

0 views
Skip to first unread message

Jean-François El Fouly

unread,
Oct 28, 2004, 8:36:12 AM10/28/04
to
I'm almost ashamed for this newbie question ;-)
In a class diagram, is it possible to show/draw inheritance between
classes that are not in the same java package ?
I guess it could be pretty simple but I confess I haven't found the way
to bring a "foreign" class in the class diagram of a given java package.

Any help would be greatly appreciated...

Tom Gullion

unread,
Oct 28, 2004, 10:38:33 AM10/28/04
to
One way to do this is to create a new Class diagram. Then add the two
classes as shortcuts - just right-click the diagram background. Choose
New --> Shortcuts. Then select your classes from the chooser dialog.

If inheritance is already present, Together will automatically notate
this for you. Otherwise, you can simply use the generalization tool to
draw the inheritance link (which, of course, will add the extends clause
to the source code).

Jean-François El Fouly

unread,
Oct 28, 2004, 10:57:12 AM10/28/04
to
That's exactly the trick I was looking for.
Thanks so much !!

Tom Gullion a écrit :

0 new messages