Class PeptideShakerParametersDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class PeptideShakerParametersDialog extends JDialog
A dialog for editing the PeptideShaker settings required when starting PeptideShaker from SearchGUI.
Author:
Harald Barsnes, Marc Vaudel
See Also:
  • Constructor Details

    • PeptideShakerParametersDialog

      public PeptideShakerParametersDialog(SearchGUI searchGUI, boolean modal, ArrayList<File> mascotFiles)
      Creates a new PeptideShakerSettingsDialog.
      Parameters:
      searchGUI - the SearchGUI parent
      modal - if the dialog is to be modal
      mascotFiles - the mascot dat files
  • Method Details

    • getMascotFiles

      public ArrayList<File> getMascotFiles()
      Returns the Mascot files.
      Returns:
      the mascot files
    • isCanceled

      public boolean isCanceled()
      Indicates whether the user pushed on cancel.
      Returns:
      a boolean indicating whether the user pushed on cancel
    • getProjectName

      public String getProjectName()
      Returns the project name as set by the user.
      Returns:
      the project name as set by the user
    • getPeptideShakerOutputFile

      public File getPeptideShakerOutputFile()
      Returns the PeptideShaker output file as set by the user.
      Returns:
      the PeptideShaker output file as set by the user
    • checkForNewVersion

      public boolean checkForNewVersion(String peptideShakerJarPath)
      Check for new version.
      Parameters:
      peptideShakerJarPath - the path to the PeptideShaker jar file
      Returns:
      true if a new version is available
    • downloadPeptideShaker

      public boolean downloadPeptideShaker()
      Download PeptideShaker.
      Returns:
      true if not canceled