44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package org.gcube.portlets.user.td.codelistmappingimportwidget.client;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
|
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
/**
|
|
*
|
|
* @author "Giancarlo Panichi"
|
|
*
|
|
*/
|
|
public class CodelistMappingImportWizardTD extends WizardWindow {
|
|
protected static final int WITHWIZARD=800;
|
|
protected static final int HEIGHTWIZARD=520;
|
|
|
|
protected CodelistMappingSession codelistMappingSession;
|
|
|
|
/**
|
|
* The id of the {@link CSVTarget} to use.
|
|
* @param targetId
|
|
*/
|
|
|
|
public CodelistMappingImportWizardTD(TRId trId, String title, EventBus eventBus) {
|
|
super(title,eventBus);
|
|
Log.debug("CodelistMappingImportWizardTD: "+trId);
|
|
setWidth(WITHWIZARD);
|
|
setHeight(HEIGHTWIZARD);
|
|
|
|
codelistMappingSession= new CodelistMappingSession();
|
|
codelistMappingSession.setTrId(trId);
|
|
|
|
SourceSelectionCard sourceSelection= new SourceSelectionCard(codelistMappingSession);
|
|
addCard(sourceSelection);
|
|
sourceSelection.setup();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} |