[Feature #5116] Implemented Show public folders in Workspace via Smart Folder
[Feature #5110] Added Enabled/Disabled Public Access to workspace history git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@132076 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bd5c7f8357
commit
0f2ff15951
|
@ -3,6 +3,8 @@
|
||||||
date="2016-09-14">
|
date="2016-09-14">
|
||||||
<Change>[Feature #2335] Added "Get Folder Link" facility</Change>
|
<Change>[Feature #2335] Added "Get Folder Link" facility</Change>
|
||||||
<Change>[Incident #4878] Fixed: Workspace tree not displaying user's name</Change>
|
<Change>[Incident #4878] Fixed: Workspace tree not displaying user's name</Change>
|
||||||
|
<Change>[Feature #5116] Implemented Show public folders in Workspace via Smart Folder</Change>
|
||||||
|
<Change>[Feature #5110] Added Enabled/Disabled Public Access to workspace history</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-13-0"
|
<Changeset component="org.gcube.portlets-user.workspace-portlet.6-13-0"
|
||||||
date="2016-05-31">
|
date="2016-05-31">
|
||||||
|
|
|
@ -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.WsGetFolderLinkEvent;
|
||||||
import org.gcube.portlets.user.workspace.client.event.WsGetFolderLinkEventHandler;
|
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.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.GXTFolderItemTypeEnum;
|
||||||
import org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface;
|
import org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface;
|
||||||
import org.gcube.portlets.user.workspace.client.model.FileGridModel;
|
import org.gcube.portlets.user.workspace.client.model.FileGridModel;
|
||||||
|
@ -151,7 +152,7 @@ public class AppController implements SubscriberInterface {
|
||||||
private String rootIdentifier = null;
|
private String rootIdentifier = null;
|
||||||
private HasWidgets rootPanel;
|
private HasWidgets rootPanel;
|
||||||
private String selectedSmartFolderId;
|
private String selectedSmartFolderId;
|
||||||
private String selectedSmartFolderCategory;
|
private GXTCategorySmartFolder selectedSmartFolderCategory;
|
||||||
private WorkspaceFeaturesView workspaceFeatures = new WorkspaceFeaturesView();
|
private WorkspaceFeaturesView workspaceFeatures = new WorkspaceFeaturesView();
|
||||||
private WorkspaceQuotesView wsQuotesView = new WorkspaceQuotesView();
|
private WorkspaceQuotesView wsQuotesView = new WorkspaceQuotesView();
|
||||||
public static final Logger logger = Logger.getLogger("WsAppController");
|
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)
|
* @see org.gcube.portlets.user.workspace.client.interfaces.SubscriberInterface#smartFolderSelected(java.lang.String, java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void smartFolderSelected(final String folderId, final String category) {
|
public void smartFolderSelected(final String folderId, final GXTCategorySmartFolder category) {
|
||||||
|
|
||||||
selectedSmartFolderId = folderId;
|
selectedSmartFolderId = folderId;
|
||||||
selectedSmartFolderCategory = category;
|
selectedSmartFolderCategory = category;
|
||||||
|
@ -1765,7 +1766,7 @@ public class AppController implements SubscriberInterface {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (category != null && !category.isEmpty()) {
|
if (category != null) {
|
||||||
|
|
||||||
appContrExplorer.getRpcWorkspaceService().getSmartFolderResultsByCategory(category, new AsyncCallback<List<FileGridModel>>() {
|
appContrExplorer.getRpcWorkspaceService().getSmartFolderResultsByCategory(category, new AsyncCallback<List<FileGridModel>>() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue