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

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


        if (sampleJComboBox.getSelectedIndex() == 0) {
            editSampleJButton.setEnabled(false);
        } else if (sampleJComboBox.getSelectedIndex() == sampleJComboBox.getItemCount() - 1) {
            editSampleJButton.setEnabled(false);
            sampleJComboBox.setSelectedIndex(0);
            new NewSampleDialog(this, true);
        } else {
            editSampleJButton.setEnabled(true);
        }

        validateInput();
View Full Code Here


        Sample tempSample = prideObjectsFactory.getSamples().get(selectedSample);
        if (tempSample == null) {
            tempSample = new Sample("New Sample", null);
        }

        new NewSampleDialog(this, true, tempSample);
    }//GEN-LAST:event_editSampleJButtonActionPerformed
View Full Code Here

TOP

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

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.