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:
parent
2e5eae85e2
commit
66f7392207
|
@ -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();
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue