}
}
});
optEveryWeeksdays.setText(WEEK_DAY);
comboEveryWeekdays = new Combo(jobGroup, SWT.NONE);
comboEveryWeekdays.setItems(DaysListener.getWeekdays());
comboEveryWeekdays.select(0);
comboEveryWeekdays.setEnabled(false);
final GridData gridData_17 = new GridData(GridData.FILL, GridData.CENTER, true, false);
gridData_17.widthHint = 148;
comboEveryWeekdays.setLayoutData(gridData_17);
final Label atLabel_2 = new Label(jobGroup, SWT.NONE);
atLabel_2.setLayoutData(new GridData(37, SWT.DEFAULT));
atLabel_2.setAlignment(SWT.RIGHT);
atLabel_2.setText("at");
txtWeekAtHour = new Text(jobGroup, SWT.CENTER | SWT.BORDER);
txtWeekAtHour.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
if(!checkTime(txtWeekAtHour.getText(), "hour")) {
txtWeekAtHour.setBackground(Options.getRequiredColor());
txtWeekAtHour.setFocus();
} else {
txtWeekAtHour.setBackground(null);
}
}
});
final GridData gridData_6 = new GridData(GridData.FILL, GridData.CENTER, true, false);
gridData_6.minimumWidth = 25;
gridData_6.widthHint = 0;
txtWeekAtHour.setLayoutData(gridData_6);
final Label label_3 = new Label(jobGroup, SWT.NONE);
label_3.setLayoutData(new GridData());
label_3.setText(":");
txtWeekAtMinutes = new Text(jobGroup, SWT.CENTER | SWT.BORDER);
txtWeekAtMinutes.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
if(!checkTime(txtWeekAtMinutes.getText(), "minutes")) {
txtWeekAtMinutes.setBackground(Options.getRequiredColor());
txtWeekAtMinutes.setFocus();
}else {
txtWeekAtMinutes.setBackground(null);
}
}
});
final GridData gridData_11 = new GridData(GridData.FILL, GridData.CENTER, false, false);
gridData_11.widthHint = 5;
gridData_11.minimumWidth = 25;
final GridData gridData_9 = new GridData(11, SWT.DEFAULT);
gridData_9.minimumWidth = 25;
final GridData gridData_3_2 = new GridData(GridData.BEGINNING, GridData.CENTER, true, false);
gridData_3_2.minimumWidth = 25;
txtWeekAtMinutes.setLayoutData(gridData_3_2);
final Label label_1_2 = new Label(jobGroup, SWT.NONE);
label_1_2.setLayoutData(new GridData());
label_1_2.setText(":");
txtWeekAtSecound = new Text(jobGroup, SWT.CENTER | SWT.BORDER);
txtWeekAtSecound.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
if(!checkTime(txtWeekAtSecound.getText(), "secound")) {
txtWeekAtSecound.setBackground(Options.getRequiredColor());
txtWeekAtSecound.setFocus();
} else {
txtWeekAtSecound.setBackground(null);
}
}
});
final GridData gridData_12 = new GridData(GridData.FILL, GridData.CENTER, false, false);
gridData_12.widthHint = 2;
gridData_12.minimumWidth = 25;
final GridData gridData_10 = new GridData(10, SWT.DEFAULT);
gridData_10.minimumHeight = 25;
final GridData gridData_4_2 = new GridData(GridData.BEGINNING, GridData.CENTER, true, false);
gridData_4_2.minimumWidth = 25;
txtWeekAtSecound.setLayoutData(gridData_4_2);
final Label hhmmssLabel_2 = new Label(jobGroup, SWT.NONE);
hhmmssLabel_2.setLayoutData(new GridData());
hhmmssLabel_2.setText("hh:mm:ss");
{
optEveryMonths = new Button(jobGroup, SWT.CHECK);
optEveryMonths.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(final SelectionEvent e) {
if(optEveryMonths.getSelection()) {
butAdd.setEnabled(true);
comboMonth.setEnabled(true);
txtMonthAtHour.setEnabled(true);
txtMonthAtMinutes.setEnabled(true);
txtMonthAtSecound.setEnabled(true);
} else {
comboMonth.setEnabled(false);
txtMonthAtHour.setEnabled(false);
txtMonthAtMinutes.setEnabled(false);
txtMonthAtSecound.setEnabled(false);
}
}
});
optEveryMonths.setText(MONTH_DAY);
}
{
comboMonth = new Combo(jobGroup, SWT.NONE);
comboMonth.setItems(DaysListener.getMonthdays());
comboMonth.select(0);
comboMonth.setEnabled(false);
comboMonth.select(0);
comboMonth.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));