minor restyle for waitingOperationDialog
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/reports@76665 82a268e6-3cf1-43bd-a215-b396298e98cfmaster
parent
bf1d4f7b53
commit
cb6439ed6f
@ -1,45 +0,0 @@
|
||||
package org.gcube.portlets.user.reportgenerator.client.dialog;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.user.client.ui.ClickListener;
|
||||
import com.google.gwt.user.client.ui.DialogBox;
|
||||
import com.google.gwt.user.client.ui.HTML;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
|
||||
|
||||
/**
|
||||
* @author massimiliano.assante@isti.cnr.it
|
||||
*
|
||||
*/
|
||||
public class LoadingPopup extends DialogBox implements ClickHandler {
|
||||
|
||||
/**
|
||||
* @param autoHide auto hide
|
||||
*/
|
||||
public LoadingPopup(boolean autoHide) {
|
||||
super(false);
|
||||
HTML msg = new HTML(setToDisplay(), true);
|
||||
setWidget(msg);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return inner html
|
||||
*/
|
||||
protected static String setToDisplay() {
|
||||
return
|
||||
"<center><table border=\"0\">"+
|
||||
"<tr>"+
|
||||
"<td>"+
|
||||
"<img src=\""+GWT.getModuleBaseURL()+"../images/book_load.gif\" >"+
|
||||
"</td></tr>"+
|
||||
"</table></center>" ;
|
||||
}
|
||||
|
||||
public void onClick(ClickEvent event) {
|
||||
hide();
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue