Class ModificationsDialog

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

public class ModificationsDialog
extends JDialog
A dialog where the modification details can be modified.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Constructor Details

    • ModificationsDialog

      public ModificationsDialog​(Frame parentFrame, boolean modal)
      Creates a new ModificationsDialog.
      Parameters:
      parentFrame - the parent frame
      modal - if the dialog is to be modal or not
  • Method Details

    • getOlsAccessionLink

      public String getOlsAccessionLink​(String modAccession)
      Returns a web link to the given PSI-MOD CV term at https://www.ebi.ac.uk/ols/ontologies/mod.
      Parameters:
      modAccession - the PSI-MOD accession number
      Returns:
      the OLS web link
    • getUniModAccessionLink

      public String getUniModAccessionLink​(String unimodAccession)
      Returns a web link to the given Unimod CV term at http://www.unimod.org.
      Parameters:
      unimodAccession - the Unimod accession number
      Returns:
      the Unimod web link
    • updateModifications

      public void updateModifications()
      Updates the modification lists and tables.
    • updateModSelection

      public void updateModSelection()
      Updates the modification selection in the default table.