Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-export-widget@91381 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1b940af207
commit
26731b1df1
|
@ -17,9 +17,12 @@ import com.google.gwt.user.client.ui.FlexTable;
|
|||
import com.sencha.gxt.core.client.util.Margins;
|
||||
import com.sencha.gxt.widget.core.client.FramedPanel;
|
||||
import com.sencha.gxt.widget.core.client.ProgressBar;
|
||||
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
|
||||
import com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData;
|
||||
import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer;
|
||||
import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer.VBoxLayoutAlign;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
|
||||
|
||||
|
||||
|
||||
|
@ -144,7 +147,12 @@ CSVExportProgressListener {
|
|||
|
||||
public void operationFailed(Throwable caught, String reason,
|
||||
String failureDetails) {
|
||||
|
||||
AlertMessageBox d = new AlertMessageBox("Error in CSV Export", reason);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
public void onHide(HideEvent event) {
|
||||
}
|
||||
});
|
||||
d.show();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -102,19 +102,8 @@ public class CSVExportProgressUpdater extends Timer {
|
|||
failure = "Failed Client Library Export";
|
||||
details = "Error in export";
|
||||
}
|
||||
|
||||
fireOperationFailed(th, failure, details);
|
||||
|
||||
AlertMessageBox d = new AlertMessageBox("Error in CSV Export", details);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
|
||||
|
||||
public void onHide(HideEvent event) {
|
||||
//
|
||||
}
|
||||
|
||||
});
|
||||
d.show();
|
||||
|
||||
}
|
||||
|
||||
protected String getStack(Throwable e) {
|
||||
|
|
Loading…
Reference in New Issue