JavaInfo newHTML =
JavaInfoUtils.createJavaInfo(
getEditor(),
"com.google.gwt.user.client.ui.HTML",
new ConstructorCreationSupport());
LocalUniqueVariableSupport variableSupport = new LocalUniqueVariableSupport(newHTML);
JavaInfoUtils.add(
newHTML,
variableSupport,
PureFlatStatementGenerator.INSTANCE,
AssociationObjects.invocationChild("%parent%.setEl(%child%.getElement())", true),
m_this,
null);
variableSupport.inline();
newHTML.getPropertyByTitle("html").setValue("New BoxComponent");
}
}
});
}