Package com.compomics.util.gui.gene_mapping

Examples of com.compomics.util.gui.gene_mapping.SpeciesDialog


            GenePreferences genePreferences = peptideShakerGUI.getGenePreferences();
            String selectedSpecies = genePreferences.getCurrentSpecies();

            if (selectedSpecies == null) {
                new SpeciesDialog(peptideShakerGUI, genePreferences, true, peptideShakerGUI.getWaitingIcon(), peptideShakerGUI.getNormalIcon());
                selectedSpecies = genePreferences.getCurrentSpecies();
            }

            if (selectedSpecies != null) {
View Full Code Here


     * Open the species selection dialog.
     *
     * @param evt
     */
    private void editSpeciesButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editSpeciesButtonActionPerformed
        new SpeciesDialog(this, peptideShakerGUI, genePreferences, true, peptideShakerGUI.getWaitingIcon(), peptideShakerGUI.getNormalIcon());
        if (genePreferences.getCurrentSpecies() != null) {
            speciesTextField.setText(genePreferences.getCurrentSpecies());
        } else {
            speciesTextField.setText("(not selected)");
        }
View Full Code Here

     * @param evt
     */
    private void speciesJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_speciesJMenuItemActionPerformed
        GenePreferences genePreferences = getGenePreferences();
        String oldSpecies = genePreferences.getCurrentSpecies();
        new SpeciesDialog(this, genePreferences, true, getWaitingIcon(), getNormalIcon());
        String newSpecies = genePreferences.getCurrentSpecies();

        if (oldSpecies == null || !oldSpecies.equals(newSpecies)) {
            clearGeneMappings(); // clear the old mappings
            if (newSpecies != null) {
View Full Code Here

TOP

Related Classes of com.compomics.util.gui.gene_mapping.SpeciesDialog

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.