Allow CopyFinisher to perform modifications after the complete copy-paste operation has otherwise finished
Related to #717 (closed).
Right now CopyFinisher.finishCopy
is performed for a single element/component right after it has been copied. Since connection of copied elements always happens after diagram elements have been copied, the finisher can't really do any migration for connection points on its first run.
One solution would be to call CopyFinisher.finishCopy
only after all other copy operations have been performed.
Another solution is to keep the finisher calls as is now but allow it to return post-copy actions (continuations) that are executed as the last thing after the copy has been otherwise completed.