Search in sources :

Example 1 with LoadingPlaceHolder

use of org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder in project activityinfo by bedatadriven.

the class AppFrameSet method showLoadingPlaceHolder.

@Override
public AsyncMonitor showLoadingPlaceHolder(PageId pageId, PageState loadingPlace) {
    activePage = null;
    LoadingPlaceHolder placeHolder = new LoadingPlaceHolder();
    setWidget(placeHolder);
    return placeHolder;
}
Also used : LoadingPlaceHolder(org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder)

Example 2 with LoadingPlaceHolder

use of org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder in project activityinfo by bedatadriven.

the class VSplitFrameSet method showLoadingPlaceHolder.

@Override
public AsyncMonitor showLoadingPlaceHolder(PageId page, PageState loadingPlace) {
    LoadingPlaceHolder placeHolder = new LoadingPlaceHolder();
    setWidget(placeHolder);
    activePage = null;
    return placeHolder;
}
Also used : LoadingPlaceHolder(org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder)

Example 3 with LoadingPlaceHolder

use of org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder in project activityinfo by bedatadriven.

the class SiteGridPanel method load.

public void load(final GroupingModel grouping, final Filter filter) {
    removeAll();
    add(new LoadingPlaceHolder());
    layout();
    columnModelProvider.fetchColumnModels(filter, grouping, new SuccessCallback<ColumnModel>() {

        @Override
        public void onSuccess(ColumnModel columnModel) {
            createGrid(grouping, filter, columnModel);
        }
    });
    updateHeading(filter);
}
Also used : LoadingPlaceHolder(org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder) ColumnModel(com.extjs.gxt.ui.client.widget.grid.ColumnModel)

Aggregations

LoadingPlaceHolder (org.activityinfo.ui.client.widget.legacy.LoadingPlaceHolder)3 ColumnModel (com.extjs.gxt.ui.client.widget.grid.ColumnModel)1