2015-11-24 16:22:17 +01:00
|
|
|
package org.gcube.portlets.user.statisticalalgorithmsimporter.client.monitor;
|
|
|
|
|
|
|
|
import com.google.gwt.safehtml.shared.SafeHtml;
|
|
|
|
import com.sencha.gxt.widget.core.client.box.AutoProgressMessageBox;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2017-05-12 18:26:05 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2015-11-24 16:22:17 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public class StatAlgoImporterMonitor extends AutoProgressMessageBox {
|
2017-05-12 18:26:05 +02:00
|
|
|
|
|
|
|
public StatAlgoImporterMonitor() {
|
2015-11-24 16:22:17 +01:00
|
|
|
super("Waiting", "Please wait...");
|
|
|
|
create();
|
|
|
|
}
|
2017-05-12 18:26:05 +02:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
/**
|
|
|
|
*
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param headingHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* head
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param messageHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* message
|
2015-11-24 16:22:17 +01:00
|
|
|
*/
|
|
|
|
public StatAlgoImporterMonitor(SafeHtml headingHtml, SafeHtml messageHtml) {
|
|
|
|
super(headingHtml, messageHtml);
|
|
|
|
create();
|
|
|
|
}
|
2017-05-12 18:26:05 +02:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
/**
|
|
|
|
*
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param headingHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* head
|
2015-11-24 16:22:17 +01:00
|
|
|
*/
|
|
|
|
public StatAlgoImporterMonitor(SafeHtml headingHtml) {
|
|
|
|
super(headingHtml);
|
|
|
|
create();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param headingHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* head
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param messageHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* message
|
2015-11-24 16:22:17 +01:00
|
|
|
*/
|
|
|
|
public StatAlgoImporterMonitor(String headingHtml, String messageHtml) {
|
|
|
|
super(headingHtml, messageHtml);
|
|
|
|
create();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2016-02-19 10:49:10 +01:00
|
|
|
* @param headingHtml
|
2017-05-12 18:26:05 +02:00
|
|
|
* head
|
2015-11-24 16:22:17 +01:00
|
|
|
*/
|
|
|
|
public StatAlgoImporterMonitor(String headingHtml) {
|
|
|
|
super(headingHtml);
|
|
|
|
create();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void create() {
|
2016-01-14 12:31:23 +01:00
|
|
|
setProgressText("In progress...");
|
2015-11-24 16:22:17 +01:00
|
|
|
auto();
|
|
|
|
show();
|
|
|
|
}
|
2017-05-12 18:26:05 +02:00
|
|
|
|
2015-11-24 16:22:17 +01:00
|
|
|
}
|