Experiment experiment = helper.createExperiment(originalExperimentName, expName, expId, trialId); if (experiment != null) addExperimentAndComponentsToWorkspace(experiment, getSelectedNode()); 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) addExperimentAndComponentsToWorkspace(experiment, getSelectedNode()); } }  GUIUtils.timeConsumingTaskEnd(organizer); }
	    public void run() {	      // a potentially long process	      Experiment experiment =		helper.createExperiment(originalExperimentName,					expName,					expId, 					trialId);	      if (experiment != null)		addExperimentAndComponentsToWorkspace(experiment,						      getSelectedNode());	      GUIUtils.timeConsumingTaskEnd(organizer);	    }