accounting-manager/src/main/java/org/gcube/portlets/admin/accountingmanager/client/monitor/AccountingMonitor.java

64 lines
1.1 KiB
Java

package org.gcube.portlets.admin.accountingmanager.client.monitor;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.sencha.gxt.widget.core.client.box.AutoProgressMessageBox;
/**
*
* @author giancarlo email: <a
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class AccountingMonitor extends AutoProgressMessageBox {
public AccountingMonitor(){
super("Waiting", "Please wait...");
create();
}
/**
*
* {@inheritDoc}
*/
public AccountingMonitor(SafeHtml headingHtml, SafeHtml messageHtml) {
super(headingHtml, messageHtml);
create();
}
/**
*
* {@inheritDoc}
*/
public AccountingMonitor(SafeHtml headingHtml) {
super(headingHtml);
create();
}
/**
*
* {@inheritDoc}
*/
public AccountingMonitor(String headingHtml, String messageHtml) {
super(headingHtml, messageHtml);
create();
}
/**
*
* {@inheritDoc}
*/
public AccountingMonitor(String headingHtml) {
super(headingHtml);
create();
}
private void create() {
setProgressText("Updating...");
auto();
show();
}
}