package org.gcube.portlets.user.sdmxexportwizardtd.client; import java.util.List; import org.gcube.portlets.user.sdmxexportwizardtd.client.general.WizardWindow; import org.gcube.portlets.user.sdmxexportwizardtd.client.rpc.SDMXExportWizardServiceAsync; import org.gcube.portlets.user.sdmxexportwizardtd.shared.Agencies; import org.gcube.portlets.user.sdmxexportwizardtd.shared.SDMXExportSession; import com.allen_sauer.gwt.log.client.Log; import com.google.gwt.user.client.rpc.AsyncCallback; import com.sencha.gxt.data.shared.loader.ListLoadResultBean; /** * Entry point classes define onModuleLoad(). */ public class SDMXExportWizardTD extends WizardWindow { protected SDMXExportSession exportSession; /** * The id of the {@link CSVTarget} to use. * @param targetId */ @SuppressWarnings({ "unchecked", "rawtypes" }) public SDMXExportWizardTD(String title) { super(title); setWidth(550); setHeight(520); exportSession= new SDMXExportSession(); SDMXExportWizardServiceAsync.INSTANCE.setSDMXSession(exportSession,new AsyncCallback() { @Override public void onFailure(Throwable caught) { // TODO Auto-generated method stub } @Override public void onSuccess(Object result) { // TODO Auto-generated method stub } }); SDMXAgencyTypeCard sdmxAgencyType= new SDMXAgencyTypeCard(exportSession); addCard(sdmxAgencyType); SDMXAgenciesSelectionCard sdmxAgenciesSelection= new SDMXAgenciesSelectionCard(exportSession); addCard(sdmxAgenciesSelection); } }