Package net.sf.mzmine.util.dialogs

Examples of net.sf.mzmine.util.dialogs.PeakIdentitySetupDialog


        public void actionPerformed(ActionEvent e) {
          JComboBox combo = (JComboBox) e.getSource();
          Object item = combo.getSelectedItem();
          if (item != null) {
            if (item.toString() == NEW_IDENTITY) {
              PeakIdentitySetupDialog dialog = new PeakIdentitySetupDialog(
                  peakListRow);
              dialog.setVisible(true);
              return;
            }
            if (item.toString() == EDIT_IDENTITY) {
              PeakIdentitySetupDialog dialog = new PeakIdentitySetupDialog(
                  peakListRow, peakListRow
                      .getPreferredPeakIdentity());
              dialog.setVisible(true);
              return;
            }
            if (item.toString() == REMOVE_IDENTITY) {
              PeakIdentity identity = peakListRow
                  .getPreferredPeakIdentity();
View Full Code Here


        public void actionPerformed(ActionEvent e) {
          JComboBox combo = (JComboBox) e.getSource();
          Object item = combo.getSelectedItem();
          if (item != null) {
            if (item.toString().equals(NEW_IDENTITY)) {
              PeakIdentitySetupDialog dialog = new PeakIdentitySetupDialog(
                  peakListRow);
              dialog.setVisible(true);
            } else if (item.toString().equals(EDIT_IDENTITY)) {
              PeakIdentitySetupDialog dialog = new PeakIdentitySetupDialog(
                  peakListRow, peakListRow
                      .getPreferredPeakIdentity());
              dialog.setVisible(true);
            } else if (item.toString().equals(REMOVE_IDENTITY)) {
              PeakIdentity identity = peakListRow
                  .getPreferredPeakIdentity();
              if (identity != null) {
                peakListRow.removePeakIdentity(identity);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.util.dialogs.PeakIdentitySetupDialog

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.