Examples of NewInstrumentDialog


Examples of eu.isas.peptideshaker.gui.pride.annotationdialogs.NewInstrumentDialog

        if (instrumentJComboBox.getSelectedIndex() == 0) {
            editInstrumentJButton.setEnabled(false);
        } else if (instrumentJComboBox.getSelectedIndex() == instrumentJComboBox.getItemCount() - 1) {
            editInstrumentJButton.setEnabled(false);
            instrumentJComboBox.setSelectedIndex(0);
            new NewInstrumentDialog(this, true);
        } else {
            editInstrumentJButton.setEnabled(true);
        }

        validateInput();
View Full Code Here

Examples of eu.isas.peptideshaker.gui.pride.annotationdialogs.NewInstrumentDialog

        Instrument tempInstrument = prideObjectsFactory.getInstruments().get(selectedInstrument);
        if (tempInstrument == null) {
            tempInstrument = new Instrument("New instrument", null, null, null);
        }

        new NewInstrumentDialog(this, true, tempInstrument);
    }//GEN-LAST:event_editInstrumentJButtonActionPerformed
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.