Package reportgen.prototype.context

Examples of reportgen.prototype.context.NoNeedAtom


            if(cores.size() == 0) {
                throw new ReportException("Нет доступных типов выборок");
            }
            QCore core = null;
            if(cores.size() == 1) {
                core = factory.createCore(0, reportQuery.getReportContext(new NoNeedAtom()));
            } else {
                Object title = JOptionPane.showInputDialog(parent, "Выберите тип нового запроса",
                        "", JOptionPane.QUESTION_MESSAGE, null, cores.toArray(), null);
                int index = cores.indexOf(title);
                if(index == -1) {
                    return;
                }
                core = factory.createCore(index, reportQuery.getReportContext(new NoNeedAtom()));
            }
            reportQuery.getCores().add(core);

            CorePanel panel = new CorePanel(parent, core);
            tabs.put(core, panel);
View Full Code Here


                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void addBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addBtnActionPerformed
        Context context = query.getContext3Stage(new NoNeedAtom());
        TableFormat tf = new TableFormat(context);
        try {
            TableFormatDlg dlg = new TableFormatDlg(parent, tf);

            dlg.setVisible(true);
View Full Code Here

        this.rowCount = new RowCount();
        this.version = ReportFactory.getActualVersion();
        this.cores = new CoresList(this);

        CoreFactoryList factory = new CoreFactoryList();
        QCore core = factory.createDefaultCore(getReportContext(new NoNeedAtom()));
        this.cores.add(core);
    }
View Full Code Here

        );
    }// </editor-fold>//GEN-END:initComponents

    private void addResultColBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addResultColBtnActionPerformed
        try {
            ReportResultColumn exp = new ReportResultColumn(query.getUnionContext(new NoNeedAtom()));
            ResultColumnList cols = query.getColumns();
            cols.add(exp);

            resultColTable.setModel(new ResultsTableModel(cols));
View Full Code Here

            }
            ResultColumnList results = query.getColumns();
            for(int j=0; j<cols.size(); j++) {
                QueryResultColumn col = cols.get(j);
                if(results.size() <= j) {
                    ReportResultColumn result = new ReportResultColumn(query.getUnionContext(new NoNeedAtom()));
                    result.setColClass(col.getCls());
                    result.setTitle(col.getColTitle());
                    results.add(result);
                } else {
                    ReportResultColumn result = results.get(j);
View Full Code Here

TOP

Related Classes of reportgen.prototype.context.NoNeedAtom

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.