private static void showTaskScheduleImpl(String path) {
// if no path was given, just display a chooser dialog to the user.
if (path == null || path.length() == 0) {
raiseWindowImpl();
new TaskScheduleChooser(dash);
return;
}
List taskLists = EVTaskList.getPreferredTaskListsForPath(dash.data,
path);
raiseWindowImpl();
if (taskLists.size() == 1)
TaskScheduleChooser.open(dash, (String) taskLists.get(0));
else
new TaskScheduleChooser
(dash, (String[]) taskLists.toArray(new String[0]));
}