Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@91376 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-11 13:41:15 +00:00
parent 4fbffbf539
commit 852ae20fca
4 changed files with 5 additions and 34 deletions

View File

@ -106,18 +106,7 @@ public class ChangeColumnTypeProgressDialog extends Window implements ChangeColu
public void operationFailed(Throwable caught, String reason, public void operationFailed(Throwable caught, String reason,
String failureDetails) { String failureDetails) {
ok.setVisible(true); ok.setVisible(true);
this.trId=null; this.trId=null;
AlertMessageBox d = new AlertMessageBox("Error in Change Column Type", reason);
d.addHideHandler(new HideHandler() {
public void onHide(HideEvent event) {
}
});
d.show();
} }
public void updateInvocation(){ public void updateInvocation(){

View File

@ -105,18 +105,14 @@ public class ChangeColumnTypeProgressUpdater extends Timer {
failure = "Failed Client Library Chanche Column Type"; failure = "Failed Client Library Chanche Column Type";
details = "Error Change Column Type"; details = "Error Change Column Type";
} }
fireOperationFailed(th, failure, details);
AlertMessageBox d = new AlertMessageBox("Error in Change Column Type", details); AlertMessageBox d = new AlertMessageBox("Error in Change Column Type", details);
d.addHideHandler(new HideHandler() { d.addHideHandler(new HideHandler() {
public void onHide(HideEvent event) { public void onHide(HideEvent event) {
} }
}); });
d.show(); d.show();
fireOperationFailed(th, failure, details);
} }
protected String getStack(Throwable e) { protected String getStack(Throwable e) {

View File

@ -107,16 +107,6 @@ public class DeleteColumnProgressDialog extends Window implements DeleteColumnPr
String failureDetails) { String failureDetails) {
ok.setVisible(true); ok.setVisible(true);
this.trId=null; this.trId=null;
AlertMessageBox d = new AlertMessageBox("Error in Delete Column", reason);
d.addHideHandler(new HideHandler() {
public void onHide(HideEvent event) {
}
});
d.show();
} }
public void updateInvocation(){ public void updateInvocation(){

View File

@ -105,18 +105,14 @@ public class DeleteColumnProgressUpdater extends Timer {
failure = "Failed Client Library Delete Column"; failure = "Failed Client Library Delete Column";
details = "Error Delete Column"; details = "Error Delete Column";
} }
fireOperationFailed(th, failure, details);
AlertMessageBox d = new AlertMessageBox("Error in Delete Column", details); AlertMessageBox d = new AlertMessageBox("Error in Delete Column", details);
d.addHideHandler(new HideHandler() { d.addHideHandler(new HideHandler() {
public void onHide(HideEvent event) {
public void onHide(HideEvent event) {
} }
}); });
d.show(); d.show();
fireOperationFailed(th, failure, details);
} }
protected String getStack(Throwable e) { protected String getStack(Throwable e) {