Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-codelistmapping-import-widget@96438 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-03 15:34:08 +00:00
parent 51374b9df9
commit 1a8a765498
4 changed files with 13 additions and 3 deletions

View File

@ -1,11 +1,14 @@
package org.gcube.portlets.user.td.codelistmappingimportwidget.client;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
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;
/**
*
* @author "Giancarlo Panichi"
*
*/
public class CodelistMappingImportWizardTD extends WizardWindow {
@ -17,7 +20,7 @@ public class CodelistMappingImportWizardTD extends WizardWindow {
* @param targetId
*/
public CodelistMappingImportWizardTD(String title, EventBus eventBus) {
public CodelistMappingImportWizardTD(TRId trId, String title, EventBus eventBus) {
super(title,eventBus);
importSession= new CSVImportSession();

View File

@ -1,15 +1,22 @@
package org.gcube.portlets.user.td.codelistmappingimportwidget.client;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.core.client.EntryPoint;
import com.google.web.bindery.event.shared.SimpleEventBus;
/**
*
* @author "Giancarlo Panichi"
*
*/
public class CodelistMappingImportWizardTDEntry implements EntryPoint {
public void onModuleLoad() {
TRId trId=new TRId();
SimpleEventBus eventBus=new SimpleEventBus();
CodelistMappingImportWizardTD importWizard= new CodelistMappingImportWizardTD("CSVImport",eventBus);
CodelistMappingImportWizardTD importWizard= new CodelistMappingImportWizardTD(trId, "Codelist Mapping Import",eventBus);
Log.info(importWizard.getId());
}
}