Examples of ExportFormatSelectionDialog


Examples of com.compomics.util.gui.ExportFormatSelectionDialog

    /**
     * Writes the selected report into a file.
     */
    private void writeSelectedReport() {

        ExportFormatSelectionDialog exportFormatSelectionDialog = new ExportFormatSelectionDialog(this, true);

        if (!exportFormatSelectionDialog.isCanceled()) {

            final File selectedFile;
            final ExportFormat exportFormat = exportFormatSelectionDialog.getFormat();

            // get the file to send the output to
            if (exportFormat == ExportFormat.text) {
                selectedFile = peptideShakerGUI.getUserSelectedFile(".txt", "Tab separated text file (.txt)", "Export...", false);
            } else {
View Full Code Here

Examples of com.compomics.util.gui.ExportFormatSelectionDialog

    /**
     * Writes the documentation related to the selected report into a file.
     */
    private void writeDocumentationOfSelectedReport() {

        ExportFormatSelectionDialog exportFormatSelectionDialog = new ExportFormatSelectionDialog(this, true);

        if (!exportFormatSelectionDialog.isCanceled()) {

            final File selectedFile;
            final ExportFormat exportFormat = exportFormatSelectionDialog.getFormat();

            // get the file to send the output to
            if (exportFormat == ExportFormat.text) {
                selectedFile = peptideShakerGUI.getUserSelectedFile(".txt", "Tab separated text file (.txt)", "Export...", false);
            } else {
View Full Code Here

Examples of com.compomics.util.gui.ExportFormatSelectionDialog

    /**
     * Lets the user select a file where to write the certificate of analysis.
     */
    private void writeCoa() {

        ExportFormatSelectionDialog exportFormatSelectionDialog = new ExportFormatSelectionDialog(this, true);

        if (!exportFormatSelectionDialog.isCanceled()) {

            final File selectedFile;
            final ExportFormat exportFormat = exportFormatSelectionDialog.getFormat();

            // get the file to send the output to
            if (exportFormat == ExportFormat.text) {
                selectedFile = peptideShakerGUI.getUserSelectedFile(".txt", "Tab separated text file (.txt)", "Export...", false);
            } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.