// detach tiles
if (child instanceof CanvasInfo) {
CanvasInfo childCanvas = (CanvasInfo) child;
Association association = childCanvas.getAssociation();
if (association instanceof InvocationAssociation) {
InvocationAssociation invocationAssociation = (InvocationAssociation) association;
if (AstNodeUtils.getMethodSignature(invocationAssociation.getInvocation()).startsWith(
"addTile(com.smartgwt.client.widgets.Canvas")) {
if (childCanvas.isCreated()) {
ReflectionUtils.invokeMethod(
getObject(),
"removeTile(com.smartgwt.client.widgets.Canvas)",