Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@96231 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-28 18:01:25 +00:00
parent 2e5eae85e2
commit 66f7392207
2 changed files with 9 additions and 3 deletions

View File

@ -3,6 +3,7 @@ package org.gcube.portlets.user.td.extractcodelistwidget.client;
import org.gcube.portlets.user.td.gwtservice.shared.extract.ExtractCodelistSession;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow;
import com.google.web.bindery.event.shared.EventBus;
@ -15,6 +16,7 @@ import com.google.web.bindery.event.shared.EventBus;
public class ExtractCodelistWizardTD extends WizardWindow {
protected ExtractCodelistSession exportSession;
protected TRId trId;
@ -23,11 +25,12 @@ public class ExtractCodelistWizardTD extends WizardWindow {
* @param title
* @param eventBus
*/
public ExtractCodelistWizardTD(String title, EventBus eventBus) {
public ExtractCodelistWizardTD(TRId trId,String title, EventBus eventBus) {
super(title,eventBus);
this.trId=trId;
exportSession= new ExtractCodelistSession();
exportSession.setTrId(trId);
SourceColumnsSelectionCard sourceColumnsSelectionCard=new SourceColumnsSelectionCard(exportSession);
addCard(sourceColumnsSelectionCard);
sourceColumnsSelectionCard.setup();

View File

@ -1,5 +1,7 @@
package org.gcube.portlets.user.td.extractcodelistwidget.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;
@ -9,7 +11,8 @@ public class ExtractCodelistWizardTDEntry implements EntryPoint {
public void onModuleLoad() {
SimpleEventBus eventBus=new SimpleEventBus();
ExtractCodelistWizardTD exportWizard= new ExtractCodelistWizardTD("ExtractCodelist",eventBus);
TRId trId=new TRId("10");
ExtractCodelistWizardTD exportWizard= new ExtractCodelistWizardTD(trId,"ExtractCodelist",eventBus);
Log.info(exportWizard.getId());
}
}