[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Oct 28 15:12:40 UTC 2003
CVS commit by okellogg:
Constructor: Use new utility assocTypeHasUMLRepresentation().
Amongst other this unbreaks the collaboration diagram messages.
M +16 -14 associationwidget.cpp 1.64
--- kdesdk/umbrello/umbrello/associationwidget.cpp #1.63:1.64
@@ -47,5 +47,6 @@ AssociationWidget::AssociationWidget(UML
UMLDoc *umldoc = m_pView->getDocument();
- // set up UMLAssociation obj if both roles are UML objects
+ // set up UMLAssociation obj if assoc is represented and both roles are UML objects
+ if (UMLAssociation::assocTypeHasUMLRepresentation(assocType)) {
UMLObject* umlRoleA = pWidgetA->getUMLObject();
UMLObject* umlRoleB = pWidgetB->getUMLObject();
@@ -62,4 +63,5 @@ AssociationWidget::AssociationWidget(UML
connect(m_pAssociation, SIGNAL(modified()), this,
SLOT(mergeUMLRepresentationIntoAssociationData()));
+ }
}
More information about the umbrello-devel
mailing list