Changeset 2263
- Timestamp:
- 03/06/08 11:53:08 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/trunk/gaphor/diagram/classes/association.py
r2255 r2263 167 167 elif tail_subject.aggregation == intern('shared'): 168 168 self.draw_head = self.draw_head_shared 169 elif self._head_end. get_navigability():169 elif self._head_end.navigability: 170 170 self.draw_head = self.draw_head_navigable 171 elif self._head_end. get_navigability()== False:171 elif self._head_end.navigability == False: 172 172 self.draw_head = self.draw_head_none 173 173 else: … … 178 178 elif head_subject.aggregation == intern('shared'): 179 179 self.draw_tail = self.draw_tail_shared 180 elif self._tail_end. get_navigability():180 elif self._tail_end.navigability: 181 181 self.draw_tail = self.draw_tail_navigable 182 elif self._tail_end. get_navigability()== False:182 elif self._tail_end.navigability == False: 183 183 self.draw_tail = self.draw_tail_none 184 184 else: … … 382 382 self.request_update() 383 383 384 def get_navigability(self):384 def _get_navigability(self): 385 385 """ 386 386 Check navigability of the AssociationEnd. If property is owned by … … 461 461 (subject and 'subject' or 'opposite Property')) 462 462 463 navigability = property( get_navigability, _set_navigability)463 navigability = property(_get_navigability, _set_navigability) 464 464 465 465
