public class TextEditorDialog extends DBNDialog implements DocumentListener {
private TextEditorForm mainForm;
private TextEditorDialog(Project project, TextEditorAdapter textEditorAdapter) throws SQLException {
super(project, "Edit LOB content (column " + textEditorAdapter.getUserValueHolder().getName() + ")", true);
UserValueHolder userValueHolder = textEditorAdapter.getUserValueHolder();
mainForm = new TextEditorForm(this, userValueHolder, textEditorAdapter);
getCancelAction().putValue(Action.NAME, "Close");
getOKAction().setEnabled(false);
setModal(true);
init();