Package eu.isas.peptideshaker.gui.pride.annotationdialogs

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


        if (protocolJComboBox.getSelectedIndex() == 0) {
            editProtocolJButton.setEnabled(false);
        } else if (protocolJComboBox.getSelectedIndex() == protocolJComboBox.getItemCount() - 1) {
            editProtocolJButton.setEnabled(false);
            protocolJComboBox.setSelectedIndex(0);
            new NewProtocolDialog(this, true);
        } else {
            editProtocolJButton.setEnabled(true);
        }

        validateInput();
View Full Code Here


        Protocol tempProtocol = prideObjectsFactory.getProtocols().get(selectedProtocol);
        if (tempProtocol == null) {
            tempProtocol = new Protocol("New protocol", null);
        }

        new NewProtocolDialog(this, true, tempProtocol);
    }//GEN-LAST:event_editProtocolJButtonActionPerformed
View Full Code Here

TOP

Related Classes of eu.isas.peptideshaker.gui.pride.annotationdialogs.NewProtocolDialog

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.