Update icon

Removed system.out

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@154689 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-09-28 14:40:23 +00:00
parent a15bf1e17c
commit b1e921d1f5
5 changed files with 6 additions and 12 deletions

View File

@ -455,7 +455,7 @@ public interface Icons extends ClientBundle {
/**
* @return
*/
@Source("icons/thredds.png")
@Source("icons/thredds.gif")
ImageResource thredds();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -51,7 +51,7 @@ public class DialogPublishOnThredds extends Dialog {
/**
*
*/
private int widthDialog = 500;
private int widthDialog = 550;
private TextField<String> txtCatalogueName;
private TriggerField<String> triggerFieldMetadataFolderName;
private ComboBox<GcubeVRE> selectVRE;
@ -118,8 +118,8 @@ public class DialogPublishOnThredds extends Dialog {
private void initLayout() {
FormLayout layout = new FormLayout();
layout.setLabelWidth(120);
layout.setDefaultWidth(350);
layout.setLabelWidth(130);
layout.setDefaultWidth(370);
setLayout(layout);
setButtonAlign(HorizontalAlignment.CENTER);
// setHideOnButtonClick(true);
@ -255,7 +255,7 @@ public class DialogPublishOnThredds extends Dialog {
if(result.isTransferringReportAvailable()){
InfoDisplay.display("Transferring completed", "Refreshing folder content...");
FileModel folderTarget = new FileModel(result.getFolderId(), "", true);
AppControllerExplorer.getEventBus().fireEvent(new RefreshFolderEvent(folderTarget, false, false, true));
AppControllerExplorer.getEventBus().fireEvent(new RefreshFolderEvent(folderTarget, false, false, false));
}
}

View File

@ -4230,13 +4230,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
GCubeUser user = PortalContext.getConfiguration().getCurrentUser(this.getThreadLocalRequest());
String wsScope = PortalContext.getConfiguration().getCurrentScope(this.getThreadLocalRequest());
String wsUserToken = PortalContext.getConfiguration().getCurrentUserToken(wsScope, user.getUsername());
String targetScopeUserToken = PortalContext.getConfiguration().getCurrentUserToken(vreTargetScope, user.getUsername());
if (isTestMode()){
targetScopeUserToken = "89257623-0570-4fbe-a15b-458bb84f4902-98187548"; //TOKEN NEXTNEXT by FRANCESCO
}
PublishOnThredds pub = new PublishOnThredds(wsUserToken, user.getUsername(), this.getThreadLocalRequest().getSession());
return pub.publishFolder(folderToPublishId, folderMetadataId, targetScopeUserToken, catalogueName);
}catch(Exception e){

View File

@ -91,7 +91,7 @@ public class PublishOnThredds {
try{
WsUtil.setTransferPublishingOnThredds(httpSession, tr);
System.out.println("Setting ws user token : "+wsScopeUserToken);
//System.out.println("Setting ws user token : "+wsScopeUserToken);
TokenSetter.setToken(wsScopeUserToken);
FolderConfiguration folderConfig=new FolderConfiguration(publishingTargetScopeUserToken,folderId,catalogueName);