diff --git a/src/main/java/org/gcube/portlets/widgets/wsexplorer/client/select/WorkspaceExplorerSelectPanel.java b/src/main/java/org/gcube/portlets/widgets/wsexplorer/client/select/WorkspaceExplorerSelectPanel.java index be1c628..8f33e78 100644 --- a/src/main/java/org/gcube/portlets/widgets/wsexplorer/client/select/WorkspaceExplorerSelectPanel.java +++ b/src/main/java/org/gcube/portlets/widgets/wsexplorer/client/select/WorkspaceExplorerSelectPanel.java @@ -49,11 +49,11 @@ public class WorkspaceExplorerSelectPanel extends ScrollPanel implements HasWors /** * Instantiates a new workspace explorer select panel. * - * @param captionTxt the caption txt + * @param captionTxt the tool-tip of the panel */ public WorkspaceExplorerSelectPanel(String captionTxt) { WorkspaceExplorerController.eventBus.fireEvent(new LoadRootEvent()); - initDialog(captionTxt); + initPanel(captionTxt); } @@ -73,7 +73,7 @@ public class WorkspaceExplorerSelectPanel extends ScrollPanel implements HasWors } WorkspaceExplorerController.eventBus.fireEvent(new LoadRootEvent()); - initDialog(captionTxt); + initPanel(captionTxt); } @@ -98,7 +98,7 @@ public class WorkspaceExplorerSelectPanel extends ScrollPanel implements HasWors } WorkspaceExplorerController.eventBus.fireEvent(new LoadRootEvent()); - initDialog(captionTxt); + initPanel(captionTxt); } @@ -108,7 +108,7 @@ public class WorkspaceExplorerSelectPanel extends ScrollPanel implements HasWors * * @param captionTxt the caption txt */ - private void initDialog(String captionTxt) { + private void initPanel(String captionTxt) { this.captionTxt = (captionTxt==null || captionTxt.isEmpty())?WorkspaceExplorerConstants.WORKSPACE_EXPLORER_CAPTION:captionTxt; setTitle(this.captionTxt); selectButton = new Button(WorkspaceExplorerConstants.SELECT);