Package com.compomics.software.dialogs

Examples of com.compomics.software.dialogs.SearchGuiSetupDialog


        // check if we have a valid SearchGUI location.
        try {
            UtilitiesUserPreferences utilitiesUserPreferences = UtilitiesUserPreferences.loadUserPreferences();
            if (utilitiesUserPreferences.getSearchGuiPath() == null || !(new File(utilitiesUserPreferences.getSearchGuiPath()).exists())) {
                SearchGuiSetupDialog searchGuiSetupDialog = new SearchGuiSetupDialog(prideReShakeGUI, true);
                openSearchGUI = !searchGuiSetupDialog.isDialogCanceled();
            }
        } catch (Exception e) {
            prideReShakeGUI.getPeptideShakerGUI().catchException(e);
        }
View Full Code Here


            public void run() {
                // check if searchgui is installed
                if (peptideShakerGUI.getUtilitiesUserPreferences().getSearchGuiPath() == null
                        || !(new File(peptideShakerGUI.getUtilitiesUserPreferences().getSearchGuiPath()).exists())) {
                    try {
                        SearchGuiSetupDialog searchGuiSetupDialog = new SearchGuiSetupDialog(WelcomeDialog.this, true);
                        boolean canceled = searchGuiSetupDialog.isDialogCanceled();

                        if (!canceled) {
                            setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));
                            setVisible(false);
                            new PrideReshakeGUI(peptideShakerGUI);
View Full Code Here

     *
     * @param evt
     */
    private void searchGUISettingsMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_searchGUISettingsMenuItemActionPerformed
        try {
            new SearchGuiSetupDialog(peptideShakerGUI, true);
            peptideShakerGUI.loadUserPreferences();
        } catch (Exception ex) {
            peptideShakerGUI.catchException(ex);
        }
    }//GEN-LAST:event_searchGUISettingsMenuItemActionPerformed
View Full Code Here

     *
     * @param evt
     */
    private void searchGuiPreferencesJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_searchGuiPreferencesJMenuItemActionPerformed
        try {
            new SearchGuiSetupDialog(this, true);
            loadUserPreferences();
        } catch (Exception ex) {
            catchException(ex);
        }
    }//GEN-LAST:event_searchGuiPreferencesJMenuItemActionPerformed
View Full Code Here

TOP

Related Classes of com.compomics.software.dialogs.SearchGuiSetupDialog

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.