[Uml-devel] [Bug 136848] program design: UMLAssociation handling

Oliver Kellogg okellogg at users.sourceforge.net
Sun Nov 5 14:27:32 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=136848         




------- Additional Comments From okellogg users sourceforge net  2006-11-05 15:26 -------
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




More information about the umbrello-devel mailing list