experiment.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer);
if (cmtDialog.processResults()) { final String trialId = cmtDialog.getTrialId(); if (trialId != null) { Experiment experiment = helper.createExperiment(originalExperimentName, cmtDialog.getExperimentName(), cmtDialog.getExperimentId(), trialId); if (experiment != null) addDatabaseExperimentToWorkspace(experiment); }
          public void run() {            experiment.saveToDb(saveToDbConflictHandler); // save under new name            GUIUtils.timeConsumingTaskEnd(organizer);          }