import gr.ebs.gss.client.rest.RestException;
import gr.ebs.gss.client.rest.resource.FileResource;
import gr.ebs.gss.client.rest.resource.FolderResource;
+import gr.ebs.gss.client.rest.resource.RestResourceWrapper;
import java.util.ArrayList;
import java.util.Arrays;
panel.add(info);
// Add an informative label with the folder name.
Object selection = GSS.get().getTreeView().getSelection();
- folder = (FolderResource) selection;
+ folder = ((RestResourceWrapper) selection).getResource();
browse = new Button("Browse...");
protected void finish() {
hide();
//GSS.get().showFileList(true);
- GSS.get().getTreeView().updateNode(folder);//showFileList(true);
+ GSS.get().getTreeView().updateNode(GSS.get().getTreeView().getSelection());//showFileList(true);
GSS.get().getStatusPanel().updateStats();
}