}
// command
m_command = new EditCommand(m_object) {
@Override
protected void executeEdit() throws Exception {
IUIObjectSizeSupport sizeSupport = m_object.getSizeSupport();
if (m_resizeDirection == IPositionConstants.EAST) {
sizeSupport.setSize(newWidth, null);
} else if (m_resizeDirection == IPositionConstants.SOUTH) {
sizeSupport.setSize(null, newHeight);
} else {
sizeSupport.setSize(newWidth, newHeight);
}
}
};
}