From 085c5415270a313929e3abbbe3333c89ca347d7c Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 5 Aug 2014 13:49:12 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@99209 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../toolboxwidget/client/help/HelpPanel.java | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/help/HelpPanel.java b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/help/HelpPanel.java index 6d6d3f5..c5dc129 100644 --- a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/help/HelpPanel.java +++ b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/help/HelpPanel.java @@ -11,6 +11,7 @@ import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.Verti import com.sencha.gxt.widget.core.client.form.FieldSet; public class HelpPanel extends FramedPanel { + protected String headingTitle; protected HashMap tabularResourcePropertiesMap; protected VerticalLayoutContainer vl; @@ -35,28 +36,31 @@ public class HelpPanel extends FramedPanel { } public void addContents() { - HTML title=new HTML("

Tabular Data Manager Help

"); - vl.add(title,new VerticalLayoutData(-1, -1, new Margins(1,1,10,1))); - + HTML title = new HTML("

Tabular Data Manager Help

"); + vl.add(title, new VerticalLayoutData(-1, -1, new Margins(1, 1, 10, 1))); + contents = new FieldSet(); contents.setHeadingText("Contents"); contents.setCollapsible(true); contents.setResize(true); - - + layoutCaptions = new VerticalLayoutContainer(); contents.add(layoutCaptions); - HTML info=new HTML("

Tabular Data Manager offers facilities supporting the management of the entire life-cycle" + - "(creation, curation, manipulation and publication) of Tabular Resources such as datasets, codelist or generic table." + - " i.e. tabular data representing observations of a given event or phenomenon at different time intervals." + - " Tabular Resource are used in many domains ranging from statistics to signal processing and econometrics." + - " Tabular Data Manager offers a rich set of facilities ranging from those supporting the assessment" + - " of data correctness to those supporting the verification of the compliance of data with given code lists," + - " the aggregation and filtering of data.

"); - layoutCaptions.add(info, - new VerticalLayoutData(-1, -1, new Margins(1))); + HTML info = new HTML( + "

Tabular Data Manager offers facilities supporting the management of the entire life-cycle" + + "(creation, curation, manipulation and publication) of Tabular Resources such as datasets, codelist or generic table." + + " i.e. tabular data representing observations of a given event or phenomenon at different time intervals." + + " Tabular Resource are used in many domains ranging from statistics to signal processing and econometrics." + + " Tabular Data Manager offers a rich set of facilities ranging from those supporting the assessment" + + " of data correctness to those supporting the verification of the compliance of data with given code lists," + + " the aggregation and filtering of data.

"); - vl.add(contents,new VerticalLayoutData(-1, -1, new Margins(1))); + layoutCaptions + .add(info, new VerticalLayoutData(-1, -1, new Margins(1))); + + + + vl.add(contents, new VerticalLayoutData(-1, -1, new Margins(1))); } @@ -89,4 +93,6 @@ public class HelpPanel extends FramedPanel { } + + }