Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/rest/DeleteCommand.java
b/web_client/src/gr/grnet/pithos/web/client/rest/DeleteCommand.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 com.google.gwt.http.client.Request; |
... | ... | |
54 | 54 |
public DeleteCommand(String pathToDelete, boolean showLoading){ |
55 | 55 |
setShowLoadingIndicator(showLoading); |
56 | 56 |
if(isShowLoadingIndicator()) |
57 |
GSS.get().showLoadingIndicator("Deleting ",pathToDelete);
|
|
57 |
Pithos.get().showLoadingIndicator("Deleting ",pathToDelete);
|
|
58 | 58 |
final String path; |
59 | 59 |
if(pathToDelete.endsWith("/")) |
60 | 60 |
path = pathToDelete; |
... | ... | |
101 | 101 |
boolean com = isComplete(); |
102 | 102 |
if(com){ |
103 | 103 |
if(isShowLoadingIndicator()) |
104 |
GSS.get().hideLoadingIndicator();
|
|
104 |
Pithos.get().hideLoadingIndicator();
|
|
105 | 105 |
return false; |
106 | 106 |
} |
107 | 107 |
return true; |
Also available in: Unified diff