Package org.bioinfo.ngs.qc.qualimap.gui.dialogs

Examples of org.bioinfo.ngs.qc.qualimap.gui.dialogs.EditSampleInfoDialog


    @Override
    public void actionPerformed(ActionEvent actionEvent) {
        String actionCommand = actionEvent.getActionCommand();

        if ( actionCommand.equals(Constants.COMMAND_ADD_ITEM) ) {
            EditSampleInfoDialog dlg = new EditSampleInfoDialog(this);
            dlg.setModal(true);
            dlg.setLocationRelativeTo(this);
            dlg.setVisible(true);
        } else if ( actionCommand.equals(Constants.COMMAND_REMOVE_ITEM) ) {
            int index = inputDataTable.getSelectedRow();
            if (index != -1 ) {
                removeDataItem(index);
            }
        } else if ( actionCommand.equals(Constants.COMMAND_EDIT_ITEM) ) {
            int index = inputDataTable.getSelectedRow();
            if (index != -1) {
                EditSampleInfoDialog dlg = new EditSampleInfoDialog(this, index);
                dlg.setModal(true);
                dlg.setLocationRelativeTo(this);
                dlg.setVisible(true);
            }
        } else if (actionCommand.equals(Constants.COMMAND_BROWSE_GFF)) {
            browseGffFile();
        } else if ( actionCommand.equals(Constants.COMMAND_RUN_ANALYSIS) ) {
View Full Code Here

TOP

Related Classes of org.bioinfo.ngs.qc.qualimap.gui.dialogs.EditSampleInfoDialog

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.