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:
parent
358681e2a4
commit
54ab87f359
|
@ -6,7 +6,7 @@
|
||||||
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>
|
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>
|
||||||
<Class>PortletsUser</Class>
|
<Class>PortletsUser</Class>
|
||||||
<Name>tabular-data-csv-import-widget</Name>
|
<Name>tabular-data-csv-import-widget</Name>
|
||||||
<Version>2.8.0-SNAPSHOT</Version>
|
<Version>1.0.0</Version>
|
||||||
<Packages>
|
<Packages>
|
||||||
<Software>
|
<Software>
|
||||||
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>
|
<Description>tabular-data-csv-import-widget allows csv import from file and workspace</Description>
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
The gCube System - tabular-data-csv-import-widget
|
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
|
Authors
|
||||||
-------
|
-------
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -38,7 +38,7 @@
|
||||||
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
||||||
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
|
||||||
<release.date>2015-10-15</release.date>
|
<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>
|
<templatesDirectory>templates</templatesDirectory>
|
||||||
<distroDirectory>distro</distroDirectory>
|
<distroDirectory>distro</distroDirectory>
|
||||||
<configDirectory>config</configDirectory>
|
<configDirectory>config</configDirectory>
|
||||||
|
|
|
@ -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.GWT;
|
||||||
import com.google.gwt.core.client.Scheduler;
|
import com.google.gwt.core.client.Scheduler;
|
||||||
import com.google.gwt.core.client.Scheduler.ScheduledCommand;
|
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.Command;
|
||||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||||
import com.google.gwt.user.client.ui.VerticalPanel;
|
import com.google.gwt.user.client.ui.VerticalPanel;
|
||||||
import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction;
|
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.client.loader.RpcProxy;
|
||||||
import com.sencha.gxt.data.shared.ListStore;
|
import com.sencha.gxt.data.shared.ListStore;
|
||||||
import com.sencha.gxt.data.shared.loader.ListLoadConfig;
|
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 {
|
public class CSVTableDetailCard extends WizardCard {
|
||||||
protected DateTimeFormat sdf = DateTimeFormat.getFormat("yyyy-MM-dd");
|
|
||||||
|
|
||||||
protected final String TABLEDETAILPANELWIDTH = "100%";
|
private final String TABLEDETAILPANELWIDTH = "100%";
|
||||||
protected final String TABLEDETAILPANELHEIGHT = "100%";
|
private final String TABLEDETAILPANELHEIGHT = "100%";
|
||||||
protected final String FORMWIDTH = "538px";
|
|
||||||
|
private CSVImportSession importSession;
|
||||||
|
private CSVTableDetailCard thisCard;
|
||||||
|
|
||||||
protected CSVImportSession importSession;
|
private VerticalLayoutContainer p;
|
||||||
protected CSVTableDetailCard thisCard;
|
private VerticalPanel tableDetailPanel;
|
||||||
|
|
||||||
protected VerticalLayoutContainer p;
|
private TextField name;
|
||||||
protected VerticalPanel tableDetailPanel;
|
private TextArea description;
|
||||||
|
private TextArea rights;
|
||||||
|
private DateField validFrom;
|
||||||
|
private DateField validUntilTo;
|
||||||
|
|
||||||
protected TextField name;
|
private TabResource detail;
|
||||||
protected TextArea description;
|
|
||||||
protected TextArea rights;
|
|
||||||
protected DateField validFrom;
|
|
||||||
protected DateField validUntilTo;
|
|
||||||
|
|
||||||
protected TabResource detail;
|
private ListLoader<ListLoadConfig, ListLoadResult<LicenceData>> loader;
|
||||||
|
private ComboBox<LicenceData> comboLicences;
|
||||||
protected ListLoader<ListLoadConfig, ListLoadResult<LicenceData>> loader;
|
|
||||||
protected ComboBox<LicenceData> comboLicences;
|
|
||||||
|
|
||||||
public CSVTableDetailCard(final CSVImportSession importSession) {
|
public CSVTableDetailCard(final CSVImportSession importSession) {
|
||||||
super("Tabular Resource Detail", "");
|
super("Tabular Resource Detail", "");
|
||||||
|
@ -91,16 +89,16 @@ public class CSVTableDetailCard extends WizardCard {
|
||||||
|
|
||||||
FramedPanel form = new FramedPanel();
|
FramedPanel form = new FramedPanel();
|
||||||
form.setHeadingText("Details");
|
form.setHeadingText("Details");
|
||||||
form.setWidth(FORMWIDTH);
|
|
||||||
|
|
||||||
FieldSet fieldSet = new FieldSet();
|
FieldSet fieldSet = new FieldSet();
|
||||||
fieldSet.setHeadingText("Information");
|
fieldSet.setHeadingText("Information");
|
||||||
fieldSet.setCollapsible(false);
|
fieldSet.setCollapsible(false);
|
||||||
|
|
||||||
form.add(fieldSet);
|
form.add(fieldSet, new MarginData(new Margins(0)));
|
||||||
|
|
||||||
p = new VerticalLayoutContainer();
|
p = new VerticalLayoutContainer();
|
||||||
fieldSet.add(p);
|
fieldSet.add(p, new MarginData(new Margins(0)));
|
||||||
|
|
||||||
name = new TextField();
|
name = new TextField();
|
||||||
name.setAllowBlank(false);
|
name.setAllowBlank(false);
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
The gCube System - ${name}
|
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
|
Authors
|
||||||
-------
|
-------
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<Description>${project.description}</Description>
|
<Description>${project.description}</Description>
|
||||||
<Class>PortletsUser</Class>
|
<Class>PortletsUser</Class>
|
||||||
<Name>${project.name}</Name>
|
<Name>${project.name}</Name>
|
||||||
<Version>${version}</Version>
|
<Version>1.0.0</Version>
|
||||||
<Packages>
|
<Packages>
|
||||||
<Software>
|
<Software>
|
||||||
<Description>${project.description}</Description>
|
<Description>${project.description}</Description>
|
||||||
|
|
Loading…
Reference in New Issue