hide();\r
}\r
});\r
+ ok.getElement().setId("confirmation.ok");\r
buttons.add(ok);\r
buttons.setCellHorizontalAlignment(ok, HasHorizontalAlignment.ALIGN_CENTER);\r
// Create the 'Cancel' button, along with a listener that hides the\r
hide();\r
}\r
});\r
+ cancel.getElement().setId("confirmation.cancel");\r
buttons.add(cancel);\r
buttons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER);\r
buttons.setSpacing(8);\r
\r
@Override\r
public void onComplete() {\r
- GSS.get().getFileList().updateFileCache(true, true /*clear selection*/);\r
+ GSS.get().getTreeView().updateNode(GSS.get().getTreeView().getSelection());\r
GSS.get().getStatusPanel().updateStats();\r
}\r
\r
\r
@Override\r
public void onComplete() {\r
- GSS.get().showFileList(true);\r
+ GSS.get().getTreeView().updateNode(GSS.get().getTreeView().getSelection());\r
}\r
\r
@Override\r
public void onError(Throwable t) {\r
GWT.log("", t);\r
- GSS.get().showFileList(true);\r
+ GSS.get().getTreeView().updateNode(GSS.get().getTreeView().getSelection());\r
}\r
\r
@Override\r