Bug 62558 - No more than one object of the same class in collaboration and sequence diagrams
Summary: No more than one object of the same class in collaboration and sequence diagrams
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 1.1.1
Platform: openSUSE Linux
: LO normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-12 15:49 UTC by Dirk
Modified: 2004-07-02 18:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk 2003-08-12 15:49:17 UTC
Version:           1.1.1 (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.3 20030226 (prerelease)(SuSE Linux) 
OS:          Linux

It seems that umbrello forbids the creation of more than one objects of the same class in a collaboration or sequence diagram. Say, if you created a1: A and want to create a2: A umbrello comes up with a message that class name A is already in use.As far as I know it is perfectly ok to have two objects of the same class in one collaboration/sequence diagram.

If I just haven't found the right way to achieve what I wanted, may be the UI needs some improvement.
Comment 1 Jonathan Riddell 2003-08-15 17:21:49 UTC
The answer is that you drag in classes from the left hand tree view. 
 
For the user interface issue I'm not sure what the best way to handle this is.  
Probably replace the dialogue box for adding a new class to the diagram with 
one that has a combo box which lets you choose an already existing class if you 
wish.  It should also have a text field to set the instance name. 
 
Thanks for pointing out the issue. 
 
Comment 2 Sebastian Stein 2003-10-04 23:12:25 UTC
this would really mean major changes at the moment, so after KDE 3.2 is 
released 
Comment 3 Oliver Kellogg 2004-07-02 18:28:40 UTC
It works for me:

- Create new_class in list view
- Drag new_class to the diagram area
- Give the object a name using the popup menu (right mouse button)
- Again drag new_class from list view to diagram area
- Give this object a name as above