Problems with reordering and transfering shapes.https://www.eclipse.org/forums/index.php/mv/msg/71119/222392/#msg_222392
Originally posted by: lod.staff.civ.org.pl

Hello,

I'm currently coding a simple editor as a part of learning GEF. It is
very similar to the Database Scheme Editor example, ie. there are
containers whose content panes implement a FlowLayout; children may be
added to those containers.

I've ran into two problems when resizing and reordering children within
and between containers (using an extension of FlowLayoutEditPolicy), namely:

1. I'm unable to move a child to the last position in a container.

I've noticed that in createMoveChildCommand() the "after" argument is
null both when the child is placed at the beginning of the list
(logical) and at the end of the list (not so logical).

2. I can't transfer an existing child to a container with no children.

I've observed here that, when moving the child over the "empty"
container, createAddCommand() seems not to be called at all.

As far as I can see, the Database Scheme Example has the same
limitations, but I'm hoping for a possible workaround.