just to back compatibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@172018 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a2f5be0a06
commit
b055fa0810
|
@ -144,6 +144,7 @@ public class WorkspaceExplorerSelectDialog extends Modal implements HasWorskpace
|
|||
loadExplorer(captionTxt, null, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Instantiates a new workspace explorer select dialog.
|
||||
*
|
||||
|
@ -151,6 +152,19 @@ public class WorkspaceExplorerSelectDialog extends Modal implements HasWorskpace
|
|||
* @param showOnlyFolders the show only folders
|
||||
* @param baseFolderId the base folder id
|
||||
*/
|
||||
public WorkspaceExplorerSelectDialog(String captionTxt, boolean showOnlyFolders, String baseFolderId) {
|
||||
this(captionTxt, showOnlyFolders, baseFolderId, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Instantiates a new workspace explorer select dialog.
|
||||
*
|
||||
* @param captionTxt the caption txt
|
||||
* @param showOnlyFolders the show only folders
|
||||
* @param baseFolderId the base folder id
|
||||
* @param baseFolderName the base folder name
|
||||
*/
|
||||
public WorkspaceExplorerSelectDialog(String captionTxt, boolean showOnlyFolders, String baseFolderId, String baseFolderName) {
|
||||
controller = new WorkspaceExplorerController(WorkspaceExplorerConstants.HEIGHT_EXPLORER_PANEL);
|
||||
if(showOnlyFolders){
|
||||
|
@ -214,13 +228,14 @@ public class WorkspaceExplorerSelectDialog extends Modal implements HasWorskpace
|
|||
// }
|
||||
|
||||
/**
|
||||
* Load explorer.
|
||||
* If folder id is null or empty the explorer loads the root element
|
||||
* Otherwise, it loads the folder id
|
||||
*
|
||||
* @param captionTxt the caption txt
|
||||
* @param folderId the folder id
|
||||
*/
|
||||
* Load explorer.
|
||||
* If folder id is null or empty the explorer loads the root element
|
||||
* Otherwise, it loads the folder id
|
||||
*
|
||||
* @param captionTxt the caption txt
|
||||
* @param folderId the folder id
|
||||
* @param baseFolderName the base folder name
|
||||
*/
|
||||
private void loadExplorer(String captionTxt, String folderId, String baseFolderName){
|
||||
|
||||
if(folderId==null || folderId.isEmpty())
|
||||
|
|
Loading…
Reference in New Issue