Fixed Layout

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@119387 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-10-05 16:07:24 +00:00
parent 358681e2a4
commit 54ab87f359
6 changed files with 28 additions and 26 deletions

View File

@ -6,7 +6,7 @@
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>
<Class>PortletsUser</Class>
<Name>tabular-data-csv-import-widget</Name>
<Version>2.8.0-SNAPSHOT</Version>
<Version>1.0.0</Version>
<Packages>
<Software>
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>

View File

@ -1,7 +1,9 @@
The gCube System - tabular-data-csv-import-widget
------------------------------------------------------------
This work has been supported by the following European projects: iMarine (FP7-INFRASTRUCTURES-2011-2)
This work has been partially supported by the following European projects: DILIGENT (FP6-2003-IST-2),
D4Science (FP7-INFRA-2007-1.2.2), D4Science-II (FP7-INFRA-2008-1.2.2), iMarine (FP7-INFRASTRUCTURES-2011-2),
and EUBrazilOpenBio (FP7-ICT-2011-EU-Brazil), Parthenos (H2020-INFRADEV-1-2014-1), BlueBridge (H2020-EINFRA-2015-1).
Authors
-------

View File

@ -38,7 +38,7 @@
<distroDirectory>${project.basedir}/distro</distroDirectory>
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<release.date>2015-10-15</release.date>
<wikiurl>https://gcube.wiki.gcube-system.org/gcube/index.php/Tabular_Data_Manager</wikiurl>
<wikiurl>http://wiki.gcube-system.org/gcube/Tabular_Data_Manager</wikiurl>
<templatesDirectory>templates</templatesDirectory>
<distroDirectory>distro</distroDirectory>
<configDirectory>config</configDirectory>

View File

@ -20,11 +20,11 @@ import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction;
import com.sencha.gxt.core.client.util.Margins;
import com.sencha.gxt.data.client.loader.RpcProxy;
import com.sencha.gxt.data.shared.ListStore;
import com.sencha.gxt.data.shared.loader.ListLoadConfig;
@ -54,28 +54,26 @@ import com.sencha.gxt.widget.core.client.form.TextField;
*
*/
public class CSVTableDetailCard extends WizardCard {
protected DateTimeFormat sdf = DateTimeFormat.getFormat("yyyy-MM-dd");
protected final String TABLEDETAILPANELWIDTH = "100%";
protected final String TABLEDETAILPANELHEIGHT = "100%";
protected final String FORMWIDTH = "538px";
private final String TABLEDETAILPANELWIDTH = "100%";
private final String TABLEDETAILPANELHEIGHT = "100%";
private CSVImportSession importSession;
private CSVTableDetailCard thisCard;
protected CSVImportSession importSession;
protected CSVTableDetailCard thisCard;
private VerticalLayoutContainer p;
private VerticalPanel tableDetailPanel;
protected VerticalLayoutContainer p;
protected VerticalPanel tableDetailPanel;
private TextField name;
private TextArea description;
private TextArea rights;
private DateField validFrom;
private DateField validUntilTo;
protected TextField name;
protected TextArea description;
protected TextArea rights;
protected DateField validFrom;
protected DateField validUntilTo;
private TabResource detail;
protected TabResource detail;
protected ListLoader<ListLoadConfig, ListLoadResult<LicenceData>> loader;
protected ComboBox<LicenceData> comboLicences;
private ListLoader<ListLoadConfig, ListLoadResult<LicenceData>> loader;
private ComboBox<LicenceData> comboLicences;
public CSVTableDetailCard(final CSVImportSession importSession) {
super("Tabular Resource Detail", "");
@ -91,16 +89,16 @@ public class CSVTableDetailCard extends WizardCard {
FramedPanel form = new FramedPanel();
form.setHeadingText("Details");
form.setWidth(FORMWIDTH);
FieldSet fieldSet = new FieldSet();
fieldSet.setHeadingText("Information");
fieldSet.setCollapsible(false);
form.add(fieldSet);
form.add(fieldSet, new MarginData(new Margins(0)));
p = new VerticalLayoutContainer();
fieldSet.add(p);
fieldSet.add(p, new MarginData(new Margins(0)));
name = new TextField();
name.setAllowBlank(false);

View File

@ -1,7 +1,9 @@
The gCube System - ${name}
------------------------------------------------------------
This work has been supported by the following European projects: iMarine (FP7-INFRASTRUCTURES-2011-2)
This work has been partially supported by the following European projects: DILIGENT (FP6-2003-IST-2),
D4Science (FP7-INFRA-2007-1.2.2), D4Science-II (FP7-INFRA-2008-1.2.2), iMarine (FP7-INFRASTRUCTURES-2011-2),
and EUBrazilOpenBio (FP7-ICT-2011-EU-Brazil), Parthenos (H2020-INFRADEV-1-2014-1), BlueBridge (H2020-EINFRA-2015-1).
Authors
-------

View File

@ -6,7 +6,7 @@
<Description>${project.description}</Description>
<Class>PortletsUser</Class>
<Name>${project.name}</Name>
<Version>${version}</Version>
<Version>1.0.0</Version>
<Packages>
<Software>
<Description>${project.description}</Description>