2014-06-03 16:33:12 +02:00
|
|
|
package org.gcube.portlets.user.td.codelistmappingimportwidget.client;
|
|
|
|
|
2014-06-04 15:11:21 +02:00
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
2014-06-03 17:34:08 +02:00
|
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
2014-06-03 16:33:12 +02:00
|
|
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
|
2014-06-04 15:11:21 +02:00
|
|
|
|
2014-06-04 19:48:30 +02:00
|
|
|
import com.allen_sauer.gwt.log.client.Log;
|
2014-06-03 16:33:12 +02:00
|
|
|
import com.google.web.bindery.event.shared.EventBus;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
2018-06-27 16:02:19 +02:00
|
|
|
* @author Giancarlo Panichi
|
2018-06-27 14:28:07 +02:00
|
|
|
*
|
2014-06-03 17:34:08 +02:00
|
|
|
*
|
2014-06-03 16:33:12 +02:00
|
|
|
*/
|
|
|
|
public class CodelistMappingImportWizardTD extends WizardWindow {
|
2015-10-30 19:04:39 +01:00
|
|
|
private static final int WITHWIZARD=800;
|
|
|
|
private static final int HEIGHTWIZARD=520;
|
|
|
|
private CodelistMappingSession codelistMappingSession;
|
2014-06-03 16:33:12 +02:00
|
|
|
|
2018-06-27 14:28:07 +02:00
|
|
|
|
2014-06-03 16:33:12 +02:00
|
|
|
|
2014-06-03 17:34:08 +02:00
|
|
|
public CodelistMappingImportWizardTD(TRId trId, String title, EventBus eventBus) {
|
2014-06-03 16:33:12 +02:00
|
|
|
super(title,eventBus);
|
2014-06-04 19:48:30 +02:00
|
|
|
Log.debug("CodelistMappingImportWizardTD: "+trId);
|
2014-07-02 14:18:14 +02:00
|
|
|
setWidth(WITHWIZARD);
|
|
|
|
setHeight(HEIGHTWIZARD);
|
|
|
|
|
2014-06-04 15:11:21 +02:00
|
|
|
codelistMappingSession= new CodelistMappingSession();
|
2014-06-04 19:48:30 +02:00
|
|
|
codelistMappingSession.setTrId(trId);
|
2014-06-03 16:33:12 +02:00
|
|
|
|
2014-06-04 15:11:21 +02:00
|
|
|
SourceSelectionCard sourceSelection= new SourceSelectionCard(codelistMappingSession);
|
2014-06-03 16:33:12 +02:00
|
|
|
addCard(sourceSelection);
|
|
|
|
sourceSelection.setup();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|