I've followed some of the threads concerning GEF and EMF integration.
I'm glad that other people have the same problems with two
implementations of the Command pattern and other things (e.g. the
naming problem with ConnectionEditPart.getTarget() and
Adapter.getTarget()).
You should ask why getTarget is on Adapter. Adapter is the interface used
*by* the TARGET. Surely the target already knows about itself. If a
specific adapter needs to allow clients to reach in to the EMF object, that
adapter should provide the unwrap() method on the interface which the
adapter is exposing to clients (the actual interface being adapted).