This commit is contained in:
Massimiliano Assante 2018-07-02 10:41:12 +00:00
parent 23f6231ca1
commit 824e5f0682
1 changed files with 4 additions and 1 deletions

View File

@ -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);