// We re-use the same observation list file save task as
// above but specify simple file type to match the fact that
// we are only going to save JD, magnitude, and uncertainty
// (for
// means).
ObsListFileSaveTask task = new ObsListFileSaveTask(obs,
outFile, NewStarType.NEW_STAR_FROM_SIMPLE_FILE,
obsListFileSaveDialog.getDelimiter());
this.currTask = task;
task.execute();
}
} else {
MessageBox.showMessageDialog(parent, "Save Observations",
"There are no visible observations to save.");
}