From 622e28a17d1953a5a75e83a9a76acc07fe9273f6 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Tue, 28 Jul 2015 14:49:10 +0000 Subject: [PATCH] 256: Workspace explorer Task-Url: https://support.d4science.org/issues/256 Refactor Changed method description git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@117526 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/select/WorkspaceExplorerSelectPanel.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);