Changeset 2247

Show
Ignore:
Timestamp:
03/04/08 11:43:16 (2 months ago)
Author:
wrobe..@pld-linux.org
Message:

- code cleanup

Files:

Legend:

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

    r2163 r2247  
    2323        NamedLine.__init__(self, id) 
    2424        self._guard = self.add_text('guard.specification.value', editable=True) 
     25        self.add_watch(UML.Transition.guard) 
    2526 
    2627 
    2728    def postload(self): 
    2829        if self.subject and self.subject.guard: 
    29             self._guard.text = self.subject.guard.value 
    30         super(FlowItem, self).postload() 
     30            self._guard.text = self.subject.guard.constraint.value 
     31        super(TransitionItem, self).postload() 
    3132 
    3233