code: public static void resizeAncestor(Widget parent) {
  
          while (parent != null) {
              if (parent instanceof I_CmsDescendantResizeHandler) {
                  ((I_CmsDescendantResizeHandler)parent).onResizeDescendant();
                  return;
              } else {
                  parent = parent.getParent();
              }
          }
      }
docs: Calls {@link org.opencms.gwt.client.I_CmsDescendantResizeHandler#onResizeDescendant()} on the closest resizable ancestor.<p>
  
  @param parent the parent widget