added loader gif style for mask

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/resource-sweeper@65433 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2012-12-28 23:37:01 +00:00
parent e5240a5eba
commit d64781b83f
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ public class SweeperDialog {
"Selected leaf: " + ((AtomicTreeNode) selectedModel.getParent()).getNode() + "::" + selectedModel.getNode()); "Selected leaf: " + ((AtomicTreeNode) selectedModel.getParent()).getNode() + "::" + selectedModel.getNode());
dialog.mask("Loading resource to cleanup"); dialog.mask("Loading resource to cleanup", "loading-indicator");
sweeperService.getSweepElems(currentScope, SweeperActions.valueOf(selectedModel.getNode()), sweeperService.getSweepElems(currentScope, SweeperActions.valueOf(selectedModel.getNode()),
/* /*
@ -164,7 +164,7 @@ public class SweeperDialog {
super.onClick(be); super.onClick(be);
final List<ModelData> selectedElems = grid.getSelectionModel().getSelection(); final List<ModelData> selectedElems = grid.getSelectionModel().getSelection();
dialog.mask("Applying required operation"); dialog.mask("Applying required operation", "loading-indicator");
sweeperService.applySweep( sweeperService.applySweep(
currentScope, selectedElems, new AsyncCallback<Void>() { currentScope, selectedElems, new AsyncCallback<Void>() {