Package reportgen.gui.genepanel

Examples of reportgen.gui.genepanel.Report


            } else {

                SubReportChooseDlg dlg = new SubReportChooseDlg(parent, lst);
                dlg.setVisible(true);
                if(dlg.isOK()) {
                    Report selected = dlg.getSelectedReport();
                    ItemSelectorEditable<QueryExecuterSub> subreports = reportQuery.getSubReports();
                    QueryExecuterSub srq = new QueryExecuterSub(
                            selected.getID(), selected.getQuery(), selected.getTitle(),
                            selected.getDescription(), "", "", 1, RowCount.SINGLE);
                    subreports.add(srq);
                    subreportTable.setModel(new SubReportTableModel(subreportTable, subreports));
                    subreportTable.getColumnModel().getColumn(SubReportTableModel.COL_SELCOLUMN)
                            .setCellEditor(new SubReportColumnTableEditor(subreports));
                    subreportTable.getColumnModel().getColumn(SubReportTableModel.COL_SELECTROWS)
View Full Code Here


        }

        ItemSelectorEditable<QueryExecuterSub> subreports = reportQuery.getSubReports();
        QueryExecuterSub subreport = subreports.get(subreportTable.getSelectedRow());
        try {
            Report report = queryManager.get(subreport.getReportId());
            Object res = report.execute();
            ReportExecuteDialog dlg = new ReportExecuteDialog(parent);
            while (res instanceof UserInputChunk) {
                UserInputChunk chunk = (UserInputChunk) res;
                dlg.addPanel(new UserInputPanel(chunk));
                dlg.setVisible(true);
                if (dlg.isOK()) {
                    throw new ReportException("Генерация отчета отменена");
                }
                res = report.continueReport(chunk);
            }
            QueryResults results = (QueryResults) res;
            UserChoiceDlg userChoiceDlg = new UserChoiceDlg(parent, results,
                    subreport.getActiveRows(),
                    subreport.getReport().getQuery().getColumns().getList());
View Full Code Here

TOP

Related Classes of reportgen.gui.genepanel.Report

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.