added message one-shot if a folder is under sync
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@165524 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bae83063f5
commit
777d81f98d
|
@ -22,6 +22,7 @@ import org.gcube.portlets.user.workspace.client.event.AddAdministratorEventHandl
|
|||
import org.gcube.portlets.user.workspace.client.event.AddFolderEvent;
|
||||
import org.gcube.portlets.user.workspace.client.event.AddFolderEventHandler;
|
||||
import org.gcube.portlets.user.workspace.client.event.AddSmartFolderEvent;
|
||||
import org.gcube.portlets.user.workspace.client.event.CheckItemLockedBySyncEvent;
|
||||
import org.gcube.portlets.user.workspace.client.event.CompletedFileUploadEvent;
|
||||
import org.gcube.portlets.user.workspace.client.event.DeleteItemEvent;
|
||||
import org.gcube.portlets.user.workspace.client.event.DeleteItemEventHandler;
|
||||
|
@ -1540,6 +1541,8 @@ public class AppController implements SubscriberInterface {
|
|||
wsPortlet.getGridGroupContainer().setCurrentFolderView(parent); //SET folder as current view
|
||||
wsPortlet.getGridGroupContainer().unmask();
|
||||
wsPortlet.getGridGroupContainer().updateStore(result);
|
||||
|
||||
AppControllerExplorer.getEventBus().fireEvent(new CheckItemLockedBySyncEvent(folder));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ import com.google.gwt.core.client.EntryPoint;
|
|||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.event.logical.shared.ResizeEvent;
|
||||
import com.google.gwt.event.logical.shared.ResizeHandler;
|
||||
import com.google.gwt.user.client.Timer;
|
||||
import com.google.gwt.user.client.Window;
|
||||
import com.google.gwt.user.client.ui.RootPanel;
|
||||
|
||||
|
|
|
@ -3,10 +3,7 @@ package org.gcube.portlets.user.workspace.server;
|
|||
import static org.gcube.common.authorization.client.Constants.authorizationService;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.channels.FileChannel;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
|
|
Loading…
Reference in New Issue