XYLayoutEditPolicy lep = new XYLayoutEditPolicy() {
protected EditPolicy createChildEditPolicy(EditPart child) {
EditPolicy result = super.createChildEditPolicy(child);
if (result == null) {
return new ResizableShapeEditPolicy();
}
return result;
}
};
return lep;