2013-11-18 10:44:53 +01:00
|
|
|
package org.gcube.portlets.user.td.csvexportwidget.client;
|
|
|
|
|
2013-11-18 14:36:43 +01:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
2013-11-18 10:44:53 +01:00
|
|
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
|
|
|
|
|
2014-12-15 12:17:42 +01:00
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
2013-11-18 10:44:53 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2014-12-15 12:17:42 +01:00
|
|
|
public class CSVExportWizardTD extends WizardWindow {
|
2013-11-18 10:44:53 +01:00
|
|
|
|
2013-11-18 14:36:43 +01:00
|
|
|
protected CSVExportSession exportSession;
|
2015-08-03 18:55:47 +02:00
|
|
|
protected String WIZARDWIDTH = "844px";
|
|
|
|
|
|
|
|
|
2013-11-18 10:44:53 +01:00
|
|
|
/**
|
2014-12-15 12:17:42 +01:00
|
|
|
*
|
2015-08-03 18:55:47 +02:00
|
|
|
* @param title
|
|
|
|
* @param eventBus
|
2013-11-18 10:44:53 +01:00
|
|
|
*/
|
2014-12-15 12:17:42 +01:00
|
|
|
public CSVExportWizardTD(String title, EventBus eventBus) {
|
|
|
|
super(title, eventBus);
|
2015-08-03 18:55:47 +02:00
|
|
|
setWidth(WIZARDWIDTH);
|
|
|
|
|
|
|
|
|
2014-12-15 12:17:42 +01:00
|
|
|
exportSession = new CSVExportSession();
|
|
|
|
|
|
|
|
CSVExportConfigCard csvExportConfigCard = new CSVExportConfigCard(
|
|
|
|
exportSession);
|
2013-11-29 12:28:02 +01:00
|
|
|
addCard(csvExportConfigCard);
|
2013-12-02 14:05:05 +01:00
|
|
|
csvExportConfigCard.setup();
|
2014-12-15 12:17:42 +01:00
|
|
|
|
2013-11-18 10:44:53 +01:00
|
|
|
}
|
2014-12-15 12:17:42 +01:00
|
|
|
|
2013-11-18 10:44:53 +01:00
|
|
|
|
2014-12-15 12:17:42 +01:00
|
|
|
|
2013-11-18 10:44:53 +01:00
|
|
|
}
|