[Uml-devel] Messages in Collaboration Diagrams are not stored&reloaded as Messages

Achim Spangler Achim.Spangler at mnet-online.de
Thu Oct 26 15:26:59 UTC 2006


Hi,
the current REPO version does reload the messages in collaboration diagrams as 
normal associations. This way, I can no more change the function call of a 
message. 

The bad side effect: 
any manual change of the association inside the collaboration diagram does now 
change the member function of the class.

So it gets a real association, with a fixed connection to the member function 
of the endClass.

The relevant part of the XMI:
        <messages/>
        <associations>
         <assocwidget totalcounta="2" indexa="1" visibilityB="200" 
totalcountb="2" indexb="1" linewidth="none" widgetbid="899998" 
widgetaid="899999" xmi.id="644219" type="505" changeabilityA="900" 
changeabilityB="900" linecolor="none" visibilityA="200" >
          <linepath>
           <startpoint startx="501" starty="159" />
           <endpoint endx="505" endy="266" />
          </linepath>
          <floatingtext usesdiagramfillcolour="1" width="70" 
usesdiagramusefillcolour="1" x="503" y="212" linewidth="none" posttext="" 
role="706" fillcolour="none" height="24" usefillcolor="1" pretext="" 
isinstance="0" xmi.id="644222" text="1: fincB()" 
font="Arial,12,-1,5,50,0,0,0,0,0" linecolor="none" />
          <floatingtext usesdiagramfillcolour="1" width="32" 
usesdiagramusefillcolour="1" x="467" y="161" linewidth="none" posttext="" 
role="701" fillcolour="none" height="32" usefillcolor="1" pretext="" 
isinstance="0" xmi.id="644224" showstereotype="1" text="1" 
font="Arial,12,-1,5,50,0,0,0,0,0" linecolor="none" />
         </assocwidget>
        </associations>


Shouldn't the messages be stored in the <messages> area - and not in the 
associations area?

Please have a look in the attached Test File.

Thanks,
Achim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestCollaboration.xmi
Type: application/x-uml
Size: 11740 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20061026/6a546798/attachment.bin>


More information about the umbrello-devel mailing list