All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.console.client.core.bootstrap.RemoveLoadingPanel Maven / Gradle / Ivy

Go to download

Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.

There is a newer version: 0.7.0.Final
Show newest version
package org.jboss.as.console.client.core.bootstrap;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.RootLayoutPanel;
import com.google.gwt.user.client.ui.Widget;
import org.jboss.as.console.client.shared.dispatch.AsyncCommand;

/**
 * @author Heiko Braun
 * @date 12/7/11
 */
public class RemoveLoadingPanel implements AsyncCommand{
    private Widget widget;

    public RemoveLoadingPanel(Widget loadingPanel) {
        this.widget = loadingPanel;
    }

    @Override
    public void execute(AsyncCallback callback) {
        RootLayoutPanel.get().remove(widget);
        callback.onSuccess(Boolean.TRUE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy