Drag fragments in sequence diagram
In the sequence diagram view, user should be able to drag fragments up/down within the same lifeline. Fragments associated with the fragment being dragged should be moved accordingly.
Comments (6)
-
reporter -
reporter References:
#536: Refactoring- Remove duplicate code in
DragHandler.java
- Calls same
FragmentController
for moving to top spacer of aCombinedFragment
- Put whole
notifyChanged
body within a runnable inMessageViewView
- Minor refactoring
→ <<cset b07346da5ab3>>
- Remove duplicate code in
-
reporter References
#536: Remove runnable from notifyChangedAdding a runnable for the whole notifyChanged block causes an error at line 707 in MessageViewView.removeInteractionFragment when removing a fragment. Runnable is changed back to where Notification.MOVE is handled.
→ <<cset 79eed74a0c1b>>
-
Tests: Moves moveMessage tests into FragmentsControllerTest.
The FragmentsController is called in all cases now.
refs
#536→ <<cset 4ae09b015e28>>
-
Tests: Updates tests.
- removes nested behaviour and their tests
- adds some additional tests
refs
#536→ <<cset 54a41ce58f60>>
-
- changed status to resolved
Merged in Feature/seq_diagram_drag (pull request #140)
Resolves
: Drag fragments in sequence diagram#536Approved-by: Matthias Schoettle
→ <<cset e8a6e6574c16>>
- Log in to comment
References
#536: Main functionality completedDragging fragments up and down works correctly.
Implemented
DragHandler
which is used to handle dragging forMessageCallView
,ExecutionStatement
,CombinedFragmentView
andAssignmentStatementView
.Moved
getIndexAfter
from MessageViewHandler.java to MessageViewUtil.java.→ <<cset e2cbc017789d>>