ref 8781:TDM - Integration excel generator-tabman portlet

https://support.d4science.org/issues/8781

Added excel to template

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-export-widget@149237 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-05-30 10:18:04 +00:00 committed by Giancarlo Panichi
parent 27b1a7d826
commit 890196705e
35 changed files with 122 additions and 94 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" output="target/tabular-data-sdmx-export-widget-1.9.0-SNAPSHOT/WEB-INF/classes" path="src/main/java"> <classpathentry kind="src" output="target/tabular-data-sdmx-export-widget-1.10.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry excluding="**" kind="src" output="target/tabular-data-sdmx-export-widget-1.9.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources"> <classpathentry excluding="**" kind="src" output="target/tabular-data-sdmx-export-widget-1.10.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
@ -45,5 +45,5 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/> <attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="output" path="target/tabular-data-sdmx-export-widget-1.9.0-SNAPSHOT/WEB-INF/classes"/> <classpathentry kind="output" path="target/tabular-data-sdmx-export-widget-1.10.0-SNAPSHOT/WEB-INF/classes"/>
</classpath> </classpath>

View File

@ -1,4 +1,8 @@
<ReleaseNotes> <ReleaseNotes>
<Changeset component="${groupId}.${artifactId}.1-10-0" date="2017-07-01">
<Change>Added excel parameter for Template export [ticket #8781]
</Change>
</Changeset>
<Changeset component="${groupId}.${artifactId}.1-9-0" date="2017-04-01"> <Changeset component="${groupId}.${artifactId}.1-9-0" date="2017-04-01">
<Change>Added support for template export in SDMX [issue #8033] <Change>Added support for template export in SDMX [issue #8033]
</Change> </Change>

View File

@ -13,7 +13,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.portlets.user</groupId> <groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-sdmx-export-widget</artifactId> <artifactId>tabular-data-sdmx-export-widget</artifactId>
<version>1.9.0-SNAPSHOT</version> <version>1.10.0-SNAPSHOT</version>
<name>tabular-data-sdmx-export-widget</name> <name>tabular-data-sdmx-export-widget</name>

View File

@ -54,8 +54,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class AgenciesSelectionPanel extends ContentPanel implements public class AgenciesSelectionPanel extends ContentPanel implements

View File

@ -54,8 +54,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class CodelistSelectionPanel extends ContentPanel implements HasSelectionHandlers<Codelist> { public class CodelistSelectionPanel extends ContentPanel implements HasSelectionHandlers<Codelist> {

View File

@ -50,8 +50,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class DatasetSelectionPanel extends ContentPanel implements HasSelectionHandlers<Dataset> { public class DatasetSelectionPanel extends ContentPanel implements HasSelectionHandlers<Dataset> {

View File

@ -14,8 +14,8 @@ import com.google.gwt.event.logical.shared.SelectionHandler;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class MeasureColumnSelectionCard extends WizardCard { public class MeasureColumnSelectionCard extends WizardCard {

View File

@ -56,8 +56,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class MeasureColumnSelectionPanel extends ContentPanel implements public class MeasureColumnSelectionPanel extends ContentPanel implements

View File

@ -14,8 +14,8 @@ import com.google.gwt.event.logical.shared.SelectionHandler;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXAgenciesSelectionCard extends WizardCard { public class SDMXAgenciesSelectionCard extends WizardCard {

View File

@ -18,8 +18,8 @@ import com.sencha.gxt.widget.core.client.form.Radio;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXAgencyTypeCard extends WizardCard { public class SDMXAgencyTypeCard extends WizardCard {

View File

@ -15,8 +15,8 @@ import com.google.gwt.user.client.Command;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXCodelistSelectionCard extends WizardCard { public class SDMXCodelistSelectionCard extends WizardCard {

View File

@ -11,8 +11,8 @@ import com.google.gwt.user.client.Command;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXDatasetSelectionCard extends WizardCard { public class SDMXDatasetSelectionCard extends WizardCard {

View File

@ -17,10 +17,9 @@ import com.sencha.gxt.widget.core.client.box.AutoProgressMessageBox;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
* Entry point classes define <code>onModuleLoad()</code>.
* *
*/ */
public class SDMXExportWizardTD extends WizardWindow { public class SDMXExportWizardTD extends WizardWindow {
@ -28,11 +27,11 @@ public class SDMXExportWizardTD extends WizardWindow {
protected SDMXExportSession exportSession; protected SDMXExportSession exportSession;
/** /**
* The id of the {@link CSVTarget} to use.
* *
* @param targetId *
* @param title Title
* @param eventBus Event bus
*/ */
public SDMXExportWizardTD(String title, final EventBus eventBus) { public SDMXExportWizardTD(String title, final EventBus eventBus) {
super(title, eventBus); super(title, eventBus);
setWidth(550); setWidth(550);

View File

@ -8,8 +8,8 @@ import com.google.web.bindery.event.shared.SimpleEventBus;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXExportWizardTDEntry implements EntryPoint { public class SDMXExportWizardTDEntry implements EntryPoint {

View File

@ -30,8 +30,8 @@ import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer.VBoxLayou
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXOperationInProgressCard extends WizardCard implements public class SDMXOperationInProgressCard extends WizardCard implements

View File

@ -30,8 +30,8 @@ import com.sencha.gxt.widget.core.client.form.TextField;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXRegistrySelectionCard extends WizardCard { public class SDMXRegistrySelectionCard extends WizardCard {

View File

@ -23,8 +23,8 @@ import com.sencha.gxt.widget.core.client.form.TextField;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTableDetailCard extends WizardCard { public class SDMXTableDetailCard extends WizardCard {

View File

@ -14,8 +14,8 @@ import com.google.gwt.event.logical.shared.SelectionHandler;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class ViewColumnSelectionCard extends WizardCard { public class ViewColumnSelectionCard extends WizardCard {

View File

@ -55,8 +55,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class ViewColumnSelectionPanel extends ContentPanel implements public class ViewColumnSelectionPanel extends ContentPanel implements

View File

@ -15,8 +15,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface AgenciesProperties extends PropertyAccess<Agencies> { public interface AgenciesProperties extends PropertyAccess<Agencies> {

View File

@ -14,8 +14,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface CodelistProperties extends PropertyAccess<Codelist> { public interface CodelistProperties extends PropertyAccess<Codelist> {

View File

@ -9,8 +9,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface ColumnDataProperties extends public interface ColumnDataProperties extends

View File

@ -13,8 +13,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface DatasetProperties extends PropertyAccess<Dataset> { public interface DatasetProperties extends PropertyAccess<Dataset> {

View File

@ -9,8 +9,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author "Giancarlo Panichi" * @author Giancarlo Panichi
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface TemplateColumnDataProperties extends public interface TemplateColumnDataProperties extends

View File

@ -13,8 +13,8 @@ import com.sencha.gxt.data.shared.PropertyAccess;
/** /**
* *
* @author giancarlo * @author Giancarlo Panichi
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public interface TemplateDataProperties extends PropertyAccess<TemplateData> { public interface TemplateDataProperties extends PropertyAccess<TemplateData> {

View File

@ -14,8 +14,8 @@ import com.google.gwt.user.client.Command;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportAgenciesSelectionCard extends WizardCard { public class SDMXTemplateExportAgenciesSelectionCard extends WizardCard {

View File

@ -54,8 +54,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportAgenciesSelectionPanel extends ContentPanel implements public class SDMXTemplateExportAgenciesSelectionPanel extends ContentPanel implements

View File

@ -14,8 +14,8 @@ import com.google.gwt.user.client.Command;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportMeasureColumnSelectionCard extends WizardCard { public class SDMXTemplateExportMeasureColumnSelectionCard extends WizardCard {

View File

@ -56,8 +56,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportMeasureColumnSelectionPanel extends ContentPanel public class SDMXTemplateExportMeasureColumnSelectionPanel extends ContentPanel

View File

@ -30,8 +30,8 @@ import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer.VBoxLayou
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportOperationInProgressCard extends WizardCard implements public class SDMXTemplateExportOperationInProgressCard extends WizardCard implements

View File

@ -30,8 +30,8 @@ import com.sencha.gxt.widget.core.client.form.TextField;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateExportRegistrySelectionCard extends WizardCard { public class SDMXTemplateExportRegistrySelectionCard extends WizardCard {

View File

@ -9,8 +9,13 @@ import org.gcube.portlets.user.td.gwtservice.shared.source.SDMXRegistrySource;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard; import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import com.allen_sauer.gwt.log.client.Log; import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.user.client.Command; import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.HasValue;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.VerticalPanel;
import com.sencha.gxt.core.client.util.ToggleGroup;
import com.sencha.gxt.widget.core.client.FramedPanel; import com.sencha.gxt.widget.core.client.FramedPanel;
import com.sencha.gxt.widget.core.client.box.AlertMessageBox; import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer; import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer;
@ -19,12 +24,13 @@ import com.sencha.gxt.widget.core.client.event.HideEvent;
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler; import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
import com.sencha.gxt.widget.core.client.form.FieldLabel; import com.sencha.gxt.widget.core.client.form.FieldLabel;
import com.sencha.gxt.widget.core.client.form.FieldSet; import com.sencha.gxt.widget.core.client.form.FieldSet;
import com.sencha.gxt.widget.core.client.form.Radio;
import com.sencha.gxt.widget.core.client.form.TextField; import com.sencha.gxt.widget.core.client.form.TextField;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> * <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
* *
*/ */
public class SDMXTemplateExportTableDetailCard extends WizardCard { public class SDMXTemplateExportTableDetailCard extends WizardCard {
@ -45,6 +51,8 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
private TextField version; private TextField version;
private TextField templateName; private TextField templateName;
private TextField measureColumn; private TextField measureColumn;
private Radio excelTrue;
public SDMXTemplateExportTableDetailCard(final SDMXTemplateExportSession sdmxTemplateExportSession) { public SDMXTemplateExportTableDetailCard(final SDMXTemplateExportSession sdmxTemplateExportSession) {
super("SDMX Table Detail", ""); super("SDMX Table Detail", "");
@ -99,15 +107,13 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
registryBaseUrl = new TextField(); registryBaseUrl = new TextField();
registryBaseUrl.setVisible(false); registryBaseUrl.setVisible(false);
registryBaseUrl.setEmptyText("Enter Registry URL..."); registryBaseUrl.setEmptyText("Enter Registry URL...");
String urlRegistry = ((SDMXRegistrySource) sdmxTemplateExportSession.getSource()) String urlRegistry = ((SDMXRegistrySource) sdmxTemplateExportSession.getSource()).getUrl();
.getUrl();
if (urlRegistry == null || urlRegistry.isEmpty()) { if (urlRegistry == null || urlRegistry.isEmpty()) {
registryBaseUrl.setValue(null); registryBaseUrl.setValue(null);
} else { } else {
registryBaseUrl.setValue(urlRegistry); registryBaseUrl.setValue(urlRegistry);
} }
FieldLabel registryBaseUrlLabel = new FieldLabel(registryBaseUrl, FieldLabel registryBaseUrlLabel = new FieldLabel(registryBaseUrl, "Registry URL");
"Registry URL");
registryBaseUrlLabel.setVisible(false); registryBaseUrlLabel.setVisible(false);
p.add(registryBaseUrlLabel, new VerticalLayoutData(1, -1)); p.add(registryBaseUrlLabel, new VerticalLayoutData(1, -1));
@ -117,21 +123,42 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
version.setValue(Constants.SDMX_TEMPLATE_EXPORT_DEFAULT_VERSION); version.setValue(Constants.SDMX_TEMPLATE_EXPORT_DEFAULT_VERSION);
p.add(new FieldLabel(version, "Version"), new VerticalLayoutData(1, -1)); p.add(new FieldLabel(version, "Version"), new VerticalLayoutData(1, -1));
templateName = new TextField(); templateName = new TextField();
templateName.setValue(sdmxTemplateExportSession.getTemplateData().getName()); templateName.setValue(sdmxTemplateExportSession.getTemplateData().getName());
templateName.setReadOnly(true); templateName.setReadOnly(true);
p.add(new FieldLabel(templateName, "Template"), p.add(new FieldLabel(templateName, "Template"), new VerticalLayoutData(1, -1));
new VerticalLayoutData(1, -1));
measureColumn = new TextField(); measureColumn = new TextField();
measureColumn.setValue(sdmxTemplateExportSession.getObsValueColumn().getLabel()); measureColumn.setValue(sdmxTemplateExportSession.getObsValueColumn().getLabel());
measureColumn.setReadOnly(true); measureColumn.setReadOnly(true);
p.add(new FieldLabel(measureColumn, "Measure Column"), p.add(new FieldLabel(measureColumn, "Measure Column"), new VerticalLayoutData(1, -1));
new VerticalLayoutData(1, -1));
excelTrue = new Radio();
excelTrue.setBoxLabel("True");
excelTrue.setValue(true);
Radio excelFalse = new Radio();
excelFalse.setBoxLabel("False");
ToggleGroup excelToggle = new ToggleGroup();
excelToggle.add(excelTrue);
excelToggle.add(excelFalse);
excelToggle.addValueChangeHandler(new ValueChangeHandler<HasValue<Boolean>>() {
@Override
public void onValueChange(ValueChangeEvent<HasValue<Boolean>> event) {
} }
});
HorizontalPanel hp = new HorizontalPanel();
hp.add(excelTrue);
hp.add(excelFalse);
p.add(new FieldLabel(hp, "Excel"), new VerticalLayoutData(-1, -1));
}
@Override @Override
public void setup() { public void setup() {
@ -175,9 +202,8 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
} }
}; };
if (id.getValue() == null || id.getValue().isEmpty() || !id.isValid() if (id.getValue() == null || id.getValue().isEmpty() || !id.isValid() || version.getValue() == null
|| version.getValue() == null || version.getValue().isEmpty() || version.getValue().isEmpty() || !version.isValid() || agencyId.getValue() == null
|| !version.isValid() || agencyId.getValue() == null
|| agencyId.getValue().isEmpty() || !agencyId.isValid()) { || agencyId.getValue().isEmpty() || !agencyId.isValid()) {
d = new AlertMessageBox("Attention!", "Fill in all fields"); d = new AlertMessageBox("Attention!", "Fill in all fields");
@ -185,8 +211,7 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
d.show(); d.show();
} else { } else {
if (!version.getValue().matches("[0-9]+\\.[0-9]+")) { if (!version.getValue().matches("[0-9]+\\.[0-9]+")) {
d = new AlertMessageBox("Attention!", d = new AlertMessageBox("Attention!", "Version must match the regular expression [0-9]+\\.[0-9]+");
"Version must match the regular expression [0-9]+\\.[0-9]+");
d.addHideHandler(hideHandler); d.addHideHandler(hideHandler);
d.show(); d.show();
} else { } else {
@ -206,6 +231,7 @@ public class SDMXTemplateExportTableDetailCard extends WizardCard {
sdmxTemplateExportSession.setAgencyId(agencyId.getCurrentValue()); sdmxTemplateExportSession.setAgencyId(agencyId.getCurrentValue());
sdmxTemplateExportSession.setVersion(version.getCurrentValue()); sdmxTemplateExportSession.setVersion(version.getCurrentValue());
sdmxTemplateExportSession.setRegistryBaseUrl(registryBaseUrl.getCurrentValue()); sdmxTemplateExportSession.setRegistryBaseUrl(registryBaseUrl.getCurrentValue());
sdmxTemplateExportSession.setExcel(excelTrue.getValue());
SDMXTemplateExportOperationInProgressCard sdmxOperationInProgressCard = new SDMXTemplateExportOperationInProgressCard( SDMXTemplateExportOperationInProgressCard sdmxOperationInProgressCard = new SDMXTemplateExportOperationInProgressCard(
sdmxTemplateExportSession); sdmxTemplateExportSession);
getWizardWindow().addCard(sdmxOperationInProgressCard); getWizardWindow().addCard(sdmxOperationInProgressCard);

View File

@ -7,10 +7,9 @@ import com.google.web.bindery.event.shared.EventBus;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
* Entry point classes define <code>onModuleLoad()</code>.
* *
*/ */
public class SDMXTemplateExportWizard extends WizardWindow { public class SDMXTemplateExportWizard extends WizardWindow {
@ -20,11 +19,11 @@ public class SDMXTemplateExportWizard extends WizardWindow {
private static final String HEIGHT = "530px"; private static final String HEIGHT = "530px";
/** /**
* The id of the {@link CSVTarget} to use.
* *
* @param targetId *
* @param title Title
* @param eventBus Event bus
*/ */
public SDMXTemplateExportWizard(String title, final EventBus eventBus) { public SDMXTemplateExportWizard(String title, final EventBus eventBus) {
super(title, eventBus); super(title, eventBus);
setWidth(WIDTH); setWidth(WIDTH);

View File

@ -14,8 +14,8 @@ import com.google.gwt.user.client.Command;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTemplateSelectionCard extends WizardCard { public class SDMXTemplateSelectionCard extends WizardCard {

View File

@ -56,8 +56,8 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
/** /**
* *
* @author "Giancarlo Panichi" <a * @author Giancarlo Panichi
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a> *
* *
*/ */
public class SDMXTmplateExportTemplateSelectionPanel extends ContentPanel public class SDMXTmplateExportTemplateSelectionPanel extends ContentPanel