@Override
protected void executeEdit() throws Exception {
List<W> widgets = toWidgets(editParts);
for (W widget : widgets) {
Rectangle bounds = widget.getModelBounds();
ResizeDirection hDirection =
getDirection(
request.getResizeDirection(),
IPositionConstants.WEST,
IPositionConstants.EAST);
ResizeDirection vDirection =
getDirection(
request.getResizeDirection(),
IPositionConstants.NORTH,
IPositionConstants.SOUTH);
m_panel.command_SIZE(widget, bounds.getSize(), hDirection, vDirection);