Package reportgen.gui.genepanel.corepanel

Examples of reportgen.gui.genepanel.corepanel.CorePanel


    private void initCores() throws ReportException {
        CoresList cores = reportQuery.getCores();
        for(int i=0; i<cores.size(); i++) {
            QCore core = cores.get(i);
            CorePanel panel = new CorePanel(parent, core);
            tabs.put(core, panel);
            maintab.add(panel, 1);
            maintab.setTitleAt(1, "Выборка '" + core.toString() + "'");
        }
    }
View Full Code Here


                }
                core = factory.createCore(index, reportQuery.getReportContext(new NoNeedAtom()));
            }
            reportQuery.getCores().add(core);

            CorePanel panel = new CorePanel(parent, core);
            tabs.put(core, panel);
            maintab.add(panel, 1);
            maintab.setTitleAt(1, "Выборка '" + core.toString() + "'");
        }
View Full Code Here

        @Override
        protected void removeCore(int index) throws ReportException {
            QCore core = reportQuery.getCores().get(index);
            reportQuery.getCores().remove(index);
           
            CorePanel panel = tabs.remove(core);
            if(panel != null) {
                maintab.remove(panel);
            }
        }
View Full Code Here

                    core.getTitle(), JOptionPane.QUESTION_MESSAGE);
            if(title == null) {
                return;
            }
            core.setTitle(title);
            CorePanel panel = tabs.get(core);
            int panelIndex = maintab.indexOfComponent(panel);
            if(panelIndex != -1) {
                maintab.setTitleAt(panelIndex, "Выборка '" + title + "'");
            }
        }
View Full Code Here

TOP

Related Classes of reportgen.gui.genepanel.corepanel.CorePanel

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.