use of org.jkiss.dbeaver.ext.erd.directedit.ColumnNameTypeCellEditorValidator in project dbeaver by serge-rider.
the class AttributePart method performDirectEdit.
protected void performDirectEdit() {
if (manager == null) {
ERDGraphicalViewer viewer = (ERDGraphicalViewer) getViewer();
ValidationMessageHandler handler = viewer.getValidationHandler();
Label l = getFigure();
ColumnNameTypeCellEditorValidator columnNameTypeCellEditorValidator = new ColumnNameTypeCellEditorValidator(handler);
manager = new ExtendedDirectEditManager(this, TextCellEditor.class, new LabelCellEditorLocator(l), l, columnNameTypeCellEditorValidator);
}
manager.show();
}
Aggregations