39 lines
896 B
Java
39 lines
896 B
Java
package org.gcube.portlets.user.td.csvimportwidget.client;
|
|
|
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
|
|
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVImportSession;
|
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public class CSVImportWizardTD extends WizardWindow {
|
|
|
|
protected CSVImportSession importSession;
|
|
protected String WIZARDWIDTH = "727px";
|
|
protected String WIZARDHEIGHT = "520px";
|
|
//private CSVImportWizardTD wizard;
|
|
|
|
/**
|
|
* The id of the {@link CSVTarget} to use.
|
|
* @param targetId
|
|
*/
|
|
|
|
public CSVImportWizardTD(String title, EventBus eventBus) {
|
|
super(title,eventBus);
|
|
setWidth(WIZARDWIDTH);
|
|
|
|
importSession= new CSVImportSession();
|
|
//this.wizard=this;
|
|
|
|
SourceSelectionCard sourceSelection= new SourceSelectionCard(importSession);
|
|
addCard(sourceSelection);
|
|
sourceSelection.setup();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} |