Changeset 2287
- Timestamp:
- 04/07/08 01:21:21 (1 month ago)
- Files:
-
- gaphor/trunk/gaphor/adapters/connectors.py (modified) (1 diff)
- gaphor/trunk/gaphor/diagram/activitynodes.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphor/trunk/gaphor/adapters/connectors.py
r2252 r2287 958 958 # h1, h2 = self.element.handles() 959 959 # return geometry.distance_line_point(h1.pos, h2.pos, (x, y))[1] 960 961 # No cyclic connect is possible on a Flow/Decision node: 962 line = self.line 963 subject = self.element.subject 964 965 if handle is line.head and line.tail.connected_to and line.tail.connected_to.subject is subject \ 966 or handle is line.tail and line.head.connected_to and line.head.connected_to.subject is subject: 967 return None 960 968 961 969 return super(FlowForkDecisionNodeConnect, self).glue(handle) gaphor/trunk/gaphor/diagram/activitynodes.py
r2226 r2287 339 339 subject = self.subject 340 340 if subject and is_join_node(subject) and \ 341 (event.element is subject.joinSpec or \ 341 (event is None or \ 342 event.element is subject.joinSpec or \ 342 343 event.element is subject.joinSpec.value): 343 344 if is_join_node(subject) and not (subject.joinSpec and subject.joinSpec.value):
