git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@169598 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
23f6231ca1
commit
824e5f0682
|
@ -214,8 +214,11 @@ public class WorkspaceResourcesBExplorerPanel extends DockPanel implements HasWo
|
|||
public WorkspaceResourcesBExplorerPanel(String folderId, boolean showOnlyFolders, List<String> showProperties, FilterCriteria filter, boolean showGcubeInfo, DISPLAY_FIELD sortByColumn) throws Exception {
|
||||
|
||||
if(showOnlyFolders){
|
||||
ItemType[] itemsType = new ItemType[1];
|
||||
ItemType[] itemsType = new ItemType[4];
|
||||
itemsType[0] = ItemType.FOLDER;
|
||||
itemsType[1] = ItemType.PRIVATE_FOLDER;
|
||||
itemsType[2] = ItemType.SHARED_FOLDER;
|
||||
itemsType[3] = ItemType.VRE_FOLDER;
|
||||
initExplorer(folderId, "", itemsType, itemsType, showProperties, filter, showGcubeInfo, sortByColumn);
|
||||
}else{
|
||||
initExplorer(folderId, "", ItemType.values(), ItemType.values(), showProperties, filter, showGcubeInfo, sortByColumn);
|
||||
|
|
Loading…
Reference in New Issue