fox for set showable type and set selectable types
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@169585 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
86b44380ab
commit
9a2a1258b4
|
@ -131,7 +131,7 @@ public class WorkspaceExplorerSelectDialog extends Modal implements HasWorskpace
|
|||
public WorkspaceExplorerSelectDialog(String captionTxt, boolean showOnlyFolders) {
|
||||
controller = new WorkspaceExplorerController(WorkspaceExplorerConstants.HEIGHT_EXPLORER_PANEL);
|
||||
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;
|
||||
|
|
|
@ -130,7 +130,7 @@ public class WorkspaceExplorerSelectPanel extends ScrollPanel implements HasWors
|
|||
public WorkspaceExplorerSelectPanel(String captionTxt, boolean showOnlyFolders) {
|
||||
controller = new WorkspaceExplorerController(WorkspaceExplorerConstants.AUTO);
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue