Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/rest/MultipleDeleteCommand.java
b/web_client/src/gr/grnet/pithos/web/client/rest/MultipleDeleteCommand.java | ||
---|---|---|
34 | 34 |
*/ |
35 | 35 |
package gr.grnet.pithos.web.client.rest; |
36 | 36 |
|
37 |
import gr.grnet.pithos.web.client.GSS;
|
|
37 |
import gr.grnet.pithos.web.client.Pithos;
|
|
38 | 38 |
import gr.grnet.pithos.web.client.InsufficientPermissionsException; |
39 | 39 |
|
40 | 40 |
import java.util.ArrayList; |
... | ... | |
64 | 64 |
public MultipleDeleteCommand(String[] pathToDelete, boolean showLoading){ |
65 | 65 |
setShowLoadingIndicator(showLoading); |
66 | 66 |
if(isShowLoadingIndicator()) |
67 |
GSS.get().showLoadingIndicator("Deleting "+pathToDelete.length+" items",null);
|
|
67 |
Pithos.get().showLoadingIndicator("Deleting "+pathToDelete.length+" items",null);
|
|
68 | 68 |
paths = pathToDelete; |
69 | 69 |
for (final String pathg : pathToDelete) { |
70 | 70 |
GWT.log("[DEL]"+pathg, null); |
... | ... | |
111 | 111 |
onError(p, errors.get(p)); |
112 | 112 |
onComplete(); |
113 | 113 |
if(isShowLoadingIndicator()) |
114 |
GSS.get().hideLoadingIndicator();
|
|
114 |
Pithos.get().hideLoadingIndicator();
|
|
115 | 115 |
return false; |
116 | 116 |
} |
117 | 117 |
return true; |
Also available in: Unified diff