combo.addActionListener(this);
return;
}
try {
Day day = currentWeekIndex.getDay(dayOfWeek);
SheduleProrumbleData data = spl.getProrumble(day);
if (option == exceptionOption) {
WeekIndex planweekIndex = new WeekIndex(currentWeekIndex.getIndex() % sil.getWeekCount());
sil.copyWorksWithOverwrite(planweekIndex, dayOfWeek, currentWeekIndex, dayOfWeek);
if (data != null) {
spl.iterator(day.getYear(), day.getMonth() + 1).remove(data);
}
} else if (option == planOption) {
sil.deleteWorks(currentWeekIndex, dayOfWeek);
if (data != null) {
spl.iterator(day.getYear(), day.getMonth() + 1).remove(data);
}
} else {
/* prorumble*/
sil.deleteWorks(currentWeekIndex, dayOfWeek);
if (data == null) {
data = new SheduleProrumbleData(sil.getCollaborator());
data.setDay(day);
spl.iterator(day.getYear(), day.getMonth() + 1).append(data);
}
data.setType(option.getProrumbleType());
}
initNewTableModel(dayUI[dayOfWeek.getEuropean()],
currentWeekIndex, dayOfWeek, sil, spl);