removeWidgetFromPanel(liveWidget);
return;
}
}
// clear RootLayoutPanel instance, so force its re-initialization
ExecutionUtils.runIgnore(new RunnableEx() {
public void run() throws Exception {
Class<?> class_RootLayoutPanel = loadClass("com.google.gwt.user.client.ui.RootLayoutPanel");
ReflectionUtils.setField(class_RootLayoutPanel, "singleton", null);
}
});
// we removed "hiddenDiv", so clear it in "UiBinderUtil"
ExecutionUtils.runIgnore(new RunnableEx() {
public void run() throws Exception {
Class<?> clazz = loadClass("com.google.gwt.uibinder.client.UiBinderUtil");
ReflectionUtils.setField(clazz, "hiddenDiv", null);
}
});
// we removed "hiddenDiv", so clear it in "HTMLPanel"
ExecutionUtils.runIgnore(new RunnableEx() {
public void run() throws Exception {
Class<?> clazz = loadClass("com.google.gwt.user.client.ui.HTMLPanel");
ReflectionUtils.setField(clazz, "hiddenDiv", null);
}
});