Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/rest/MultiplePostCommand.java
b/web_client/src/gr/grnet/pithos/web/client/rest/MultiplePostCommand.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; |
... | ... | |
73 | 73 |
public MultiplePostCommand(String[] pathToDelete, String data, final int okStatusCode, boolean showLoading){ |
74 | 74 |
setShowLoadingIndicator(showLoading); |
75 | 75 |
if(isShowLoadingIndicator()) |
76 |
GSS.get().showLoadingIndicator("Updating "+pathToDelete.length+" items", null);
|
|
76 |
Pithos.get().showLoadingIndicator("Updating "+pathToDelete.length+" items", null);
|
|
77 | 77 |
paths = pathToDelete; |
78 | 78 |
for (final String pathg : pathToDelete) { |
79 | 79 |
GWT.log("[DEL]"+pathg, null); |
... | ... | |
120 | 120 |
onError(p, errors.get(p)); |
121 | 121 |
onComplete(); |
122 | 122 |
if(isShowLoadingIndicator()) |
123 |
GSS.get().hideLoadingIndicator();
|
|
123 |
Pithos.get().hideLoadingIndicator();
|
|
124 | 124 |
return false; |
125 | 125 |
} |
126 | 126 |
return true; |
Also available in: Unified diff