Package com.compomics.util.pride.prideobjects

Examples of com.compomics.util.pride.prideobjects.Protocol


     * @param evt
     */
    private void editProtocolJButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editProtocolJButtonActionPerformed
        // get the selected protcol details
        String selectedProtocol = (String) protocolJComboBox.getSelectedItem();
        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


                String selectedSample = (String) sampleJComboBox.getSelectedItem();
                Sample sample = prideObjectsFactory.getSamples().get(selectedSample);

                // get the selected protcol details
                String selectedProtocol = (String) protocolJComboBox.getSelectedItem();
                Protocol protocol = prideObjectsFactory.getProtocols().get(selectedProtocol);

                // get the selected instrument details
                String selectedInstrument = (String) instrumentJComboBox.getSelectedItem();
                Instrument instrument = prideObjectsFactory.getInstruments().get(selectedInstrument);
View Full Code Here

                    (String) protocolCvTermsJTable.getValueAt(i, 2),
                    (String) protocolCvTermsJTable.getValueAt(i, 3),
                    (String) protocolCvTermsJTable.getValueAt(i, 4)));
        }

        prideExportDialog.setProtocol(new Protocol(protocolNameJTextField.getText(), cvTerms));
        dispose();
    }//GEN-LAST:event_okButtonActionPerformed
View Full Code Here

     *
     * @param evt
     */
    private void deleteButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteButtonActionPerformed
        dispose();
        prideExportDialog.deleteProtocol(new Protocol(protocolNameJTextField.getText(), new ArrayList<CvTerm>()));
    }//GEN-LAST:event_deleteButtonActionPerformed
View Full Code Here

TOP

Related Classes of com.compomics.util.pride.prideobjects.Protocol

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.