Summary: | program design: UMLAssociation handling | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Oliver Kellogg <okellogg> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Oliver Kellogg
2006-11-04 21:56:13 UTC
SVN commit 602228 by okellogg: CCBUG:136848 - The chosen resolution is slightly different than proposed in that UMLPackage::addObject() is used for all object types including associations. Detailed list of changes: UMLCanvasObject::{add,remove}Association: Rename to {add,remove}AssociationEnd. Still TODO: Change argument to UMLRole*. UMLCanvasObject::sigAssociation{Added,Removed}: Rename to sigAssociationEnd{Added,Removed}. Still TODO: Change argument to UMLRole*. UMLCanvasObject::removeAllAssociations(): Rename to removeAllAssociationEnds. UMLDoc::{addAssocTo,removeAssocFrom}Concepts(): move to UMLPackage. UMLDoc::removeAssociation(): Add an optional arg, doSetModified. UMLDoc::removeUMLObject(): Call removeAssociation() in the ot_Association case. UMLDoc::addAssociation(): Call UMLPackage::addObject() for the association. UMLListView::deleteItem(): Call UMLCanvasObject::removeAllChildObjects(). M +1 -2 association.cpp M +3 -1 classifier.cpp M +2 -2 classifiercodedocument.cpp M +59 -12 package.cpp M +22 -2 package.h M +8 -9 umlcanvasobject.cpp M +15 -9 umlcanvasobject.h M +15 -75 umldoc.cpp M +2 -17 umldoc.h M +1 -1 umllistview.cpp |