Package simtools.ui

Examples of simtools.ui.ReportingDialog


        // Display warnings and errors messages
        if (!MergeDataException.mergeDataErrors.isEmpty()) {
            JOptionPane.showMessageDialog(
                    JSynoptic.gui.getOwner(),
                    new ReportingDialog(
                            "Following errors have occured during merging process:",
                            MergeDataException.mergeDataErrors
                    ),
                    "Merging process errors",
                    JOptionPane.INFORMATION_MESSAGE
View Full Code Here


    // Diplay merge errorrs list
    // Display warnings and errors messages
    if (!MergeDataException.mergeDataErrors.isEmpty()) {
        JOptionPane.showMessageDialog(
                JSynoptic.gui.getOwner(),
                new ReportingDialog(
                        "Following errors have occured during merging process:",
                        MergeDataException.mergeDataErrors
                ),
                "Merging process errors",
                JOptionPane.INFORMATION_MESSAGE
View Full Code Here

        } else {
            setStatus(messageWriter.print1args("fileLoadFailed", f.getName()));
        }
        // Ask for replacing empty data sources with correspongin data
        if (EmptyDataSourcePool.global.emptyDataSourcesCanBeReplaced() && (JSynoptic.gui != null)) {
            int answer = JOptionPane.showConfirmDialog(owner, new ReportingDialog(messageWriter.print1args(
                    "replaceDataSourcesText", f.getName()), EmptyDataSourcePool.global.getDataSourcesToReplaceTitles(),
                    EmptyDataSourcePool.global.getDataSourcesToReplace()), messageWriter
                    .print0args("replaceDataSources"), JOptionPane.YES_NO_OPTION);
            if (answer == JOptionPane.YES_OPTION) {
                EmptyDataSourcePool.global.replaceAllDataSources();
View Full Code Here

                JSynoptic.setStatus(messageWriter.print1args("cannotLoadFile", f.getName()));
                return false;
            }
            if (!DataSourcePool.global.localEmptySourcesIsEmpty()) {
                if (JSynoptic.gui != null) {
                    JOptionPane.showMessageDialog(JSynoptic.gui.getOwner(), new ReportingDialog(messageWriter
                            .print1args("missingElements", f.getName()), DataSourcePool.global
                            .getEmptySourcesDumpColumnNames(), DataSourcePool.global.getEmptySourcesDump()),
                            messageWriter.print0args("loadedFileRemarks"), JOptionPane.INFORMATION_MESSAGE);
                }
            }
View Full Code Here

TOP

Related Classes of simtools.ui.ReportingDialog

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.