package org.gcube.portlets.user.td.replacebyexternalwidget.client; import org.gcube.portlets.user.td.gwtservice.shared.tr.replacebyexternal.ReplaceByExternalSession; import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId; import org.gcube.portlets.user.td.wizardwidget.client.WizardWindow; import com.allen_sauer.gwt.log.client.Log; import com.google.web.bindery.event.shared.EventBus; /** * * @author "Giancarlo Panichi" email: g.panichi@isti.cnr.it * */ public class ReplaceByExternalTD extends WizardWindow { protected static final int WITHWIZARD = 800; protected static final int HEIGHTWIZARD = 520; protected ReplaceByExternalSession replaceByExternalSession; protected TRId trId; /** * * @param trId * @param title * @param eventBus */ public ReplaceByExternalTD(TRId trId, String title, EventBus eventBus) { super(title, eventBus); Log.debug("UnionWizardTD: " + trId); setWidth(WITHWIZARD); setHeight(HEIGHTWIZARD); this.trId = trId; replaceByExternalSession = new ReplaceByExternalSession(); replaceByExternalSession.setTrId(trId); TabResourcesSelectionCard tabResourcesSelection = new TabResourcesSelectionCard( replaceByExternalSession); addCard(tabResourcesSelection); tabResourcesSelection.setup(); } }