mailTo.addFocusListener(new FocusAdapter() {
public void focusGained(final FocusEvent e) {
mailTo.selectAll();
}
});
mailTo.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
listener.setValue("log_mail_to", mailTo.getText());
}
});
mailTo.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
final Label mailCcLabel = new Label(group, SWT.NONE);
mailCcLabel.setText("Mail CC");
mailCC = new Text(group, SWT.BORDER);
mailCC.addFocusListener(new FocusAdapter() {
public void focusGained(final FocusEvent e) {
mailCC.selectAll();
}
});
mailCC.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
listener.setValue("log_mail_cc", mailCC.getText());
}
});
final GridData gridData_2 = new GridData(GridData.FILL, GridData.CENTER, true, false);
gridData_2.minimumWidth = 60;
mailCC.setLayoutData(gridData_2);
final Label mailBccLabel = new Label(group, SWT.NONE);
mailBccLabel.setText("Mail BCC");
GridData gridData = new GridData(GridData.FILL, GridData.CENTER, false, false);
gridData.minimumWidth = 60;
mailBCC = new Text(group, SWT.BORDER);
mailBCC.addFocusListener(new FocusAdapter() {
public void focusGained(final FocusEvent e) {
mailBCC.selectAll();
}
});
mailBCC.setLayoutData(gridData);
mailBCC.addModifyListener(new org.eclipse.swt.events.ModifyListener() {
public void modifyText(org.eclipse.swt.events.ModifyEvent e) {
listener.setValue("log_mail_bcc", mailBCC.getText());
}
});
final Label label_1 = new Label(group, SWT.HORIZONTAL | SWT.SEPARATOR);
final GridData gridData_3 = new GridData(GridData.FILL, GridData.CENTER, false, false, 2, 1);
gridData_3.heightHint = 8;
label_1.setLayoutData(gridData_3);
final Label logLevelLabel = new Label(group, SWT.NONE);
logLevelLabel.setText("Log Level");
LogLevel = new Combo(group, SWT.READ_ONLY);
GridData gd_LogLevel = new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1);
gd_LogLevel.minimumWidth = 150;
LogLevel.setLayoutData(gd_LogLevel);
LogLevel.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(final SelectionEvent e) {
listener.setValue("log_level", LogLevel.getText());
}
});
final Label label_2 = new Label(group, SWT.HORIZONTAL | SWT.SEPARATOR);
final GridData gridData_4 = new GridData(GridData.FILL, GridData.CENTER, false, false, 2, 1);
gridData_4.heightHint = 8;
label_2.setLayoutData(gridData_4);
final Label historyLabel = new Label(group, SWT.NONE);
historyLabel.setText("History");
cboHistory = new Combo(group, SWT.READ_ONLY);
cboHistory.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(final SelectionEvent e) {
listener.setValue("history", cboHistory.getText());
}
});
GridData gd_cboHistory = new GridData(GridData.BEGINNING, GridData.CENTER, true, false);
gd_cboHistory.minimumWidth = 150;
cboHistory.setLayoutData(gd_cboHistory);
final Label historyOnProcessLabel = new Label(group, SWT.NONE);
historyOnProcessLabel.setText("History On Process");
cboHistoryOnProcess = new Combo(group, SWT.NONE);
cboHistoryOnProcess.addModifyListener(new ModifyListener() {
public void modifyText(final ModifyEvent e) {
setOnHistory();
}
});
cboHistoryOnProcess.addVerifyListener(new VerifyListener() {