@ -114,7 +114,6 @@ import org.gcube.portlets.user.workspace.client.view.windows.DialogConfirm;
import org.gcube.portlets.user.workspace.client.view.windows.DialogGetInfo ;
import org.gcube.portlets.user.workspace.client.view.windows.InfoDisplay ;
import org.gcube.portlets.user.workspace.client.view.windows.MessageBoxAlert ;
import org.gcube.portlets.user.workspace.shared.ExtendedWorkspaceACL ;
import org.gcube.portlets.user.workspace.shared.GarbageItem ;
import org.gcube.portlets.user.workspace.shared.SessionExpiredException ;
import org.gcube.portlets.user.workspace.shared.TrashContent ;
@ -123,6 +122,8 @@ import org.gcube.portlets.user.workspace.shared.WorkspaceTrashOperation;
import org.gcube.portlets.user.workspace.shared.WorkspaceUserQuote ;
import org.gcube.portlets.user.workspace.shared.WorkspaceVersioningOperation ;
import org.gcube.portlets.widgets.sessionchecker.client.CheckSession ;
import org.gcube.portlets.widgets.workspacesharingwidget.client.rpc.WorkspaceSharingServiceAsync ;
import org.gcube.portlets.widgets.workspacesharingwidget.shared.ExtendedWorkspaceACL ;
import org.gcube.portlets.widgets.workspaceuploader.client.WorkspaceUploadNotification.WorskpaceUploadNotificationListener ;
import org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload ;
@ -147,13 +148,14 @@ import com.google.gwt.user.client.ui.HasWidgets;
/ * *
* The Class AppController .
*
* @author Francesco Mangiacrapa francesco . mangiacrapa @isti.cnr. it
* @author Francesco Mangiacrapa francesco . mangiacrapa ATisti. cnr . it
* Sep 13 , 2016
* /
public class AppController implements SubscriberInterface {
private final static HandlerManager eventBus = new HandlerManager ( null ) ;
private WorskpacePortlet wsPortlet = null ;
private AppControllerExplorer appContrExplorer = null ;
@SuppressWarnings ( "unused" )
private String rootIdentifier = null ;
private HasWidgets rootPanel ;
private String selectedSmartFolderId ;
@ -1153,7 +1155,7 @@ public class AppController implements SubscriberInterface {
}
GWT . log ( "Updating ACL info for folder id: " + parentId ) ;
AppControllerExplorer. rpc WorkspaceService. getUserACLForFolderId ( parentId , new AsyncCallback < List < ExtendedWorkspaceACL > > ( ) {
WorkspaceSharingS erviceAsync. INSTANCE . getUserACLForFolderId ( parentId , new AsyncCallback < List < ExtendedWorkspaceACL > > ( ) {
@Override
public void onFailure ( Throwable arg0 ) {
@ -1714,6 +1716,7 @@ public class AppController implements SubscriberInterface {
* /
@Override
public void rootLoaded ( FileModel root ) {
GWT . log ( "Root: " + root . getIdentifier ( ) ) ;
this . rootIdentifier = root . getIdentifier ( ) ;
}