|
|
|
@ -3,9 +3,6 @@ package org.gcube.portlets.user.reportgenerator.client;
|
|
|
|
|
import org.gcube.portlets.user.reportgenerator.client.Presenter.Presenter;
|
|
|
|
|
|
|
|
|
|
import com.google.gwt.core.client.EntryPoint;
|
|
|
|
|
import com.google.gwt.event.logical.shared.ResizeEvent;
|
|
|
|
|
import com.google.gwt.event.logical.shared.ResizeHandler;
|
|
|
|
|
import com.google.gwt.user.client.Window;
|
|
|
|
|
import com.google.gwt.user.client.ui.CellPanel;
|
|
|
|
|
import com.google.gwt.user.client.ui.HTML;
|
|
|
|
|
import com.google.gwt.user.client.ui.HorizontalPanel;
|
|
|
|
@ -131,33 +128,6 @@ public class ReportGenerator implements EntryPoint {
|
|
|
|
|
|
|
|
|
|
// Add image and button to the RootPanel
|
|
|
|
|
RootPanel.get("ReportGeneratorDIV").add(mainLayout);
|
|
|
|
|
|
|
|
|
|
// int scrollerWidth = Window.getClientWidth()- TEMPLATE_LEFT - 30;
|
|
|
|
|
// bottomScrollerPanel.setPixelSize(scrollerWidth, 1000);
|
|
|
|
|
//
|
|
|
|
|
// if ( Window.getClientWidth() < 1070 ) {
|
|
|
|
|
// int scrollerWidth2 = Window.getClientWidth()- TEMPLATE_LEFT;
|
|
|
|
|
// bottomScrollerPanel.setPixelSize(scrollerWidth2, 1000);
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// Window.addResizeHandler(new ResizeHandler() {
|
|
|
|
|
// public void onResize(ResizeEvent event) {
|
|
|
|
|
// int scrollerHeight = event.getHeight() - bottomScrollerPanel.getAbsoluteTop();
|
|
|
|
|
// if (scrollerHeight < toolBoxPanel.getTreePanelHeight())
|
|
|
|
|
// scrollerHeight = toolBoxPanel.getTreePanelHeight();
|
|
|
|
|
// int scrollerWidth = Window.getClientWidth()- TEMPLATE_LEFT - 30;
|
|
|
|
|
// bottomScrollerPanel.setPixelSize(scrollerWidth , 1000);
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// if ( Window.getClientWidth() < 1060 ) {
|
|
|
|
|
// int scrollerWidth2 = Window.getClientWidth()- TEMPLATE_LEFT;
|
|
|
|
|
// bottomScrollerPanel.setPixelSize(scrollerWidth2, 1000);
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// });
|
|
|
|
|
//presenter.showExportPanel("", "", null, "");
|
|
|
|
|
//showGuidedTour() ;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|