textControl.setLayoutData(gd);
textControl.setTextLimit(textLimit);
textControl.setToolTipText(preference.getDescription());
if (domain != null) {
textControl.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
String value= textControl.getText();
IStatus status= domain.validate(value);
if (!status.matches(IStatus.ERROR))
fOverlayStore.setValue(preference.getKey(), value);