Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@98271 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-02 11:11:25 +00:00 committed by Giancarlo Panichi
parent cc3822032f
commit 379ae2c8b6
2 changed files with 7 additions and 9 deletions

View File

@ -13,7 +13,9 @@ import com.google.web.bindery.event.shared.EventBus;
*
*/
public class TDOpen extends WizardWindow {
protected static final int WITHWIZARD=700;
protected static final int HEIGHTWIZARD=520;
protected TDOpenSession tdOpenSession;
/**
@ -24,8 +26,8 @@ public class TDOpen extends WizardWindow {
public TDOpen(String title,EventBus eventBus) {
super(title,eventBus);
Log.info("TDOpen: "+title);
setWidth(700);
setHeight(520);
setWidth(WITHWIZARD);
setHeight(HEIGHTWIZARD);
BUTTONNEXTLABEL="Open";
nextButton.setText(BUTTONNEXTLABEL);

View File

@ -27,9 +27,7 @@ import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
*
*/
public class TabResourcesSelectionCard extends WizardCard {
protected final String GRIDWIDTH = "688px";
protected final String GRIDHEIGHT = "430px";
protected TabResourcesSelectionCard thisCard;
protected TDOpenSession tdOpenSession;
protected TabResourcesSelectionPanel tabResourcesSelectionPanel;
@ -43,9 +41,7 @@ public class TabResourcesSelectionCard extends WizardCard {
tabResourcesSelectionPanel = new TabResourcesSelectionPanel(thisCard,res);
// tabResourcesSelectionPanel.setResize(false);
// tabResourcesSelectionPanel.setSize(GRIDWIDTH, GRIDHEIGHT);
tabResourcesSelectionPanel
.addSelectionHandler(new SelectionHandler<TabResource>() {