|
|
|
@ -61,11 +61,7 @@ public class TextFieldEditorDefinePane extends FieldEditorDefinePane<TextEditor>
|
|
|
|
|
regPane.getRegComboBox().addActionListener(new ActionListener() { |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
RegExp regExp = (RegExp) regPane.getRegComboBox().getSelectedItem(); |
|
|
|
|
if (StringUtils.EMPTY.equals(regExp.toRegText())) { |
|
|
|
|
getRegErrorMsgTextField().setEnabled(false); |
|
|
|
|
} else { |
|
|
|
|
getRegErrorMsgTextField().setEnabled(true); |
|
|
|
|
} |
|
|
|
|
getRegErrorMsgTextField().setEnabled(regExp.errorMessageEditable()); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|