[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Dec 9 23:50:01 UTC 2003
CVS commit by okellogg:
createAutoAssociations(): Transfer the role names, visibilities etc. to the
association widget.
M +8 -0 umlview.cpp 1.117
--- kdesdk/umbrello/umbrello/umlview.cpp #1.116:1.117
@@ -2443,4 +2443,12 @@ void UMLView::createAutoAssociations( UM
AssociationWidget * temp = new AssociationWidget( this, widget,
assocType, pOtherWidget );
+ temp->setVisibilityA(assoc->getVisibilityA());
+ temp->setVisibilityB(assoc->getVisibilityB());
+ temp->setChangeabilityA(assoc->getChangeabilityA());
+ temp->setChangeabilityB(assoc->getChangeabilityB());
+ temp->setMultiA(assoc->getMultiA());
+ temp->setMultiB(assoc->getMultiB());
+ temp->setRoleNameA(assoc->getRoleNameA());
+ temp->setRoleNameB(assoc->getRoleNameB());
if (! addAssociation(temp))
delete temp;
More information about the umbrello-devel
mailing list