+ else if (DOM.eventGetType(event) == Event.ONDBLCLICK)\r
+ if(getSelectedFiles().size() == 1){\r
+ FileResource file = getSelectedFiles().get(0);\r
+ String dateString = AbstractRestCommand.getDate();\r
+ String resource = file.getPath().substring(GSS.GSS_REST_PATH.length()-1,file.getPath().length());\r
+ String sig = GSS.get().getCurrentUserResource().getUsername()+" "+AbstractRestCommand.calculateSig("GET", dateString, resource, AbstractRestCommand.base64decode(GSS.get().getToken()));\r
+ Window.open(file.getPath() + "?Authorization=" + URL.encodeComponent(sig) + "&Date="+URL.encodeComponent(dateString), "_blank", "");\r
+ }\r
+ else if (DOM.eventGetType(event) == Event.ONCLICK) {\r