// prepare bounds
Rectangle bounds;
{
Figure hostFigure = getHostFigure();
bounds = request.getTransformedRectangle(hostFigure.getBounds());
FigureUtils.translateFigureToAbsolute(hostFigure, bounds.expand(1, 1));
}
// update selection feedback
m_resizeFeedback.setBounds(bounds);
// update text feedback
m_textFeedback.setText(Integer.toString(bounds.width - 2));