Package com.compomics.util.gui.export.graphics

Examples of com.compomics.util.gui.export.graphics.ExportGraphicsDialog


        JPopupMenu popupMenu = new JPopupMenu();

        JMenuItem menuItem = new JMenuItem("Plots");
        menuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, overviewPlotsPanel);
            }
        });

        popupMenu.add(menuItem);
View Full Code Here


     * Export the plot to figure format.
     *
     * @param evt
     */
    private void pepPlotExportJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pepPlotExportJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, pepChartPanel);
    }//GEN-LAST:event_pepPlotExportJButtonActionPerformed
View Full Code Here

     * Export the plot to figure format.
     *
     * @param evt
     */
    private void fdrPlotExportJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fdrPlotExportJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, fdrsChartPanel);
    }//GEN-LAST:event_fdrPlotExportJButtonActionPerformed
View Full Code Here

     * Export the plot to figure format.
     *
     * @param evt
     */
    private void confidencePlotExportJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_confidencePlotExportJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, confidenceChartPanel);
    }//GEN-LAST:event_confidencePlotExportJButtonActionPerformed
View Full Code Here

     * Export the plot to figure format.
     *
     * @param evt
     */
    private void fdrFnrPlotExportJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_fdrFnrPlotExportJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, fdrFnrChartPanel);
    }//GEN-LAST:event_fdrFnrPlotExportJButtonActionPerformed
View Full Code Here

     * Export the plot to figure format.
     *
     * @param evt
     */
    private void costBenefitPlotExportJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_costBenefitPlotExportJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, costBenefitChartPanel);
    }//GEN-LAST:event_costBenefitPlotExportJButtonActionPerformed
View Full Code Here

        int index = goPlotsTabbedPane.getSelectedIndex();

        if (index == 1) {
            // frequency plot
            new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, (ChartPanel) goFrequencyPlotPanel.getComponent(0));
        } else if (index == 2) {
            // significance plot
            new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, (ChartPanel) goSignificancePlotPanel.getComponent(0));
        } else {
            // protein table

            // get the file to send the output to
            final File selectedFile = peptideShakerGUI.getUserSelectedFile(".txt", "Tab separated text file (.txt)", "Export...", false);
View Full Code Here

        if (modificationProfileRelatedPeptideJPanel.getComponentCount() == 2) {

            menuItem = new JMenuItem("Modification Profile Plot");
            menuItem.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, modificationProfileRelatedPeptideJPanel.getComponent(1));
                }
            });

            popupMenu.add(menuItem);
        }
View Full Code Here

        popupMenu.add(menuItem);

        menuItem = new JMenuItem("Modification Profile Plot");
        menuItem.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, modificationProfileSelectedPeptideJPanel.getComponent(1));
            }
        });

        popupMenu.add(menuItem);
View Full Code Here

     * Export the plot.
     *
     * @param evt
     */
    private void exportPsmPlotJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exportPsmPlotJButtonActionPerformed
        new ExportGraphicsDialog(peptideShakerGUI, peptideShakerGUI, true, psmQCPlotPanel);
    }//GEN-LAST:event_exportPsmPlotJButtonActionPerformed
View Full Code Here

TOP

Related Classes of com.compomics.util.gui.export.graphics.ExportGraphicsDialog

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.