/**
* @see org.eclipse.gef.editparts.AbstractEditPart#createEditPolicies()
*/
@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.LAYOUT_ROLE, new XYLayoutEditPolicy() {
@Override
protected Command createChangeConstraintCommand(final EditPart child,
final Object constraint) {
final LocationCommand cmd = new LocationCommand();
cmd.setModel((MapObject) child.getModel());