public IFigure createFigure() {
RoundedRectangle figure = new RoundedRectangle() {
public Rectangle getClientArea(Rectangle rect) {
this.setBackgroundColor(ColorConstants.lightBlue);
Rectangle clientArea = super.getClientArea(rect);
clientArea.shrink(ShapeConstants.CLIENT_AREA_INSETS);
return clientArea;
}
};
label.setText((String) getPropertyValue(ShapeConstants.NAME));