Changeset 2200

Show
Ignore:
Timestamp:
02/05/08 07:15:20 (3 months ago)
Author:
arj..@yirdis.nl
Message:

Fixed dynamic update of name, aggregation, navigation, etc.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gaphor/trunk/gaphor/diagram/association.py

    r2185 r2200  
    5050 
    5151        # For the association ends: 
    52         self.add_watch(UML.Property.aggregation
    53         self.add_watch(UML.Property.owningAssociation
    54         self.add_watch(UML.Property.class_
    55         self.add_watch(UML.Property.interface_
     52        self.add_watch(UML.Property.aggregation, self.on_association_end_value
     53        self.add_watch(UML.Property.owningAssociation, self.on_association_end_value
     54        self.add_watch(UML.Property.class_, self.on_association_end_value
     55        self.add_watch(UML.Property.interface_, self.on_association_end_value
    5656        self.add_watch(UML.Property.visibility, self.on_association_end_value) 
    5757        #self.add_watch(UML.Property.name, self.on_association_end_value) 
     
    147147                    self.request_update() 
    148148                    break; 
     149        else: 
     150            for end in (self._head_end, self._tail_end): 
     151                end.set_text() 
     152            self.request_update() 
     153 
    149154             
    150155