Search in sources :

Example 1 with RequiresResize

use of com.google.gwt.user.client.ui.RequiresResize in project che by eclipse.

the class PerspectiveViewImpl method onResize.

/** {@inheritDoc} */
@Override
public void onResize() {
    editorPanel.onResize();
    super.onResize();
    Widget widget = infoPanel.getWidget();
    if (widget instanceof RequiresResize) {
        ((RequiresResize) widget).onResize();
    }
    int width = getOffsetWidth();
    int height = getOffsetHeight();
    if (delegate != null) {
        delegate.onResize(width, height);
    }
}
Also used : Widget(com.google.gwt.user.client.ui.Widget) RequiresResize(com.google.gwt.user.client.ui.RequiresResize)

Aggregations

RequiresResize (com.google.gwt.user.client.ui.RequiresResize)1 Widget (com.google.gwt.user.client.ui.Widget)1