Package com.structis.fichesst.client.popup

Examples of com.structis.fichesst.client.popup.CreateFicheSTPopUpReportWindow


      @Override
      public void onClick(ClickEvent event) {
        List<FicheStDto> allModels = new ArrayList<FicheStDto>();
        allModels.addAll(ficheStGrid1.getStore().getModels());
        allModels.addAll(ficheStGrid2.getStore().getModels());
        CreateFicheSTPopUpReportWindow popUpReport = new CreateFicheSTPopUpReportWindow(bus, allModels, true);
        popUpReport.show();
      }
    });

    HTML printRefacturations = new HTML("<img src='./images/imprimer.png'/> " + messages.printRefacturations(), false);
    printRefacturations.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);
    printRefacturations.setStyleName("actionHTML");
    linksPanel.add(new HTML(LINKS_SPACE, false));
    linksPanel.add(printRefacturations);
    printRefacturations.addClickHandler(new ClickHandler() {
      @Override
      public void onClick(ClickEvent event) {
        List<FicheStDto> allModels = new ArrayList<FicheStDto>();
        allModels.addAll(ficheStGrid1.getStore().getModels());
        allModels.addAll(ficheStGrid2.getStore().getModels());
        CreateFicheSTPopUpReportWindow popUpReport = new CreateFicheSTPopUpReportWindow(bus, allModels, false);
        popUpReport.show();
      }
    });

    ficheStGrid1 = createFicheStGrid(messages.totalSt());
    fldstNewFieldset_1.add(ficheStGrid1);
View Full Code Here


    buttonPanel1.addButton(new Button(messages.printSubcontractor(), new SelectionListener<ButtonEvent>() {
      @Override
      public void componentSelected(ButtonEvent ce) {
        // bus.fireEvent(new ExportGestionPanelEvent());
        GWT.log("allModels::::" + listFicheSt.size());
        CreateFicheSTPopUpReportWindow popUpReport = new CreateFicheSTPopUpReportWindow(bus, listFicheSt, true);
        popUpReport.show();
      }
    }));
   
    buttonPanel1.addButton(new Button(messages.printRefacturations(), new SelectionListener<ButtonEvent>() {
      @Override
      public void componentSelected(ButtonEvent ce) {
        // bus.fireEvent(new ExportAvancementPanelEvent());
        CreateFicheSTPopUpReportWindow popUpReport = new CreateFicheSTPopUpReportWindow(bus, listFicheSt, false);
        popUpReport.show();
      }
    }));
   
    add(buttonPanel1);
   
View Full Code Here

TOP

Related Classes of com.structis.fichesst.client.popup.CreateFicheSTPopUpReportWindow

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.