|
|
|
@ -90,6 +90,7 @@ import org.gcube.portlets.user.workspace.client.event.WebDavUrlEventHandler;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.event.WsGetFolderLinkEvent;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.event.WsGetFolderLinkEventHandler;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.EventsTypeEnum;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.GXTCategorySmartFolder;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.GXTFolderItemTypeEnum;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface;
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.model.FileGridModel;
|
|
|
|
@ -151,7 +152,7 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
private String rootIdentifier = null;
|
|
|
|
|
private HasWidgets rootPanel;
|
|
|
|
|
private String selectedSmartFolderId;
|
|
|
|
|
private String selectedSmartFolderCategory;
|
|
|
|
|
private GXTCategorySmartFolder selectedSmartFolderCategory;
|
|
|
|
|
private WorkspaceFeaturesView workspaceFeatures = new WorkspaceFeaturesView();
|
|
|
|
|
private WorkspaceQuotesView wsQuotesView = new WorkspaceQuotesView();
|
|
|
|
|
public static final Logger logger = Logger.getLogger("WsAppController");
|
|
|
|
@ -1732,7 +1733,7 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
* @see org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface#smartFolderSelected(java.lang.String, java.lang.String)
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public void smartFolderSelected(final String folderId, final String category) {
|
|
|
|
|
public void smartFolderSelected(final String folderId, final GXTCategorySmartFolder category) {
|
|
|
|
|
|
|
|
|
|
selectedSmartFolderId = folderId;
|
|
|
|
|
selectedSmartFolderCategory = category;
|
|
|
|
@ -1765,7 +1766,7 @@ public class AppController implements SubscriberInterface {
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
if (category != null && !category.isEmpty()) {
|
|
|
|
|
if (category != null) {
|
|
|
|
|
|
|
|
|
|
appContrExplorer.getRpcWorkspaceService().getSmartFolderResultsByCategory(category, new AsyncCallback<List<FileGridModel>>() {
|
|
|
|
|
|
|
|
|
|