@Override
protected void on_setPropertyExpression(GenericPropertyImpl property) throws Exception {
super.on_setPropertyExpression(property);
if (getCreationSupport() instanceof ConstructorCreationSupport
&& property.getTitle().equals("size")) {
ConstructorCreationSupport creationSupport =
(ConstructorCreationSupport) getCreationSupport();
ClassInstanceCreation creation = creationSupport.getCreation();
String signature = creationSupport.getDescription().getSignature();
if ("<init>(com.extjs.gxt.ui.client.Style.LayoutRegion)".equals(signature)) {
getEditor().addCreationArgument(creation, 1, "0.0f");
setCreationSupport(new ConstructorCreationSupport(creation));
}
}
}