[Uml-devel] Re: [Bug 54816] associations not pasted after a copy

Jonathan Riddell jr at jriddell.org
Wed Oct 15 03:45:03 UTC 2003


On Mon, Oct 06, 2003 at 09:16:58PM -0000, Oliver Kellogg wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>      
> http://bugs.kde.org/show_bug.cgi?id=54816     
> okellogg at users.sourceforge.net changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |REOPENED
>          Resolution|FIXED                       |
> 
> 
> 
> ------- Additional Comments From okellogg at users.sourceforge.net  2003-10-06 23:16 -------
> Had to reopen this one:
> Copy/pasteing seems to work but Cut/paste does not.
> This has to do with the UMLAssociation getting removed
> by the UMLView::removeAssocInViewAndDoc which is called
> by UMLView::removeAssoc in the course of cutting.
> 
> I'll investigate whether we can add a flag to removeAssoc
> ("inCutOperation" or so) that will preserve the
> UMLAssociation in the UMLDoc when removeAssoc is called
> in the course of a cut. OTOH, this creates the problem
> that obsolete UMLAssociations (i.e. UMLAssociations
> that have been cut some time, but were never pasted)
> never get removed.
> 
> IMHO the only real solution is to have a listview
> representation for UMLAssociations so that they can be
> explicitly removed. (Sounds like major work - I can't
> shoulder it just now.)

I don't think the list view is necessarily the right place for
associations to be listed but I do think the associations page in the
properties dialogue should list all associations and not just those in
the current diagram.  It should also be available when viewing
properites through the list view as well as through a diagram.

I think.

Anyway, thanks for your work on this beastie Oliver.

Jonathan Riddell




More information about the umbrello-devel mailing list