use of com.cubrid.common.ui.er.directedit.ColumnNameTypeCellEditorValidator in project cubrid-manager by CUBRID.
the class ColumnPart method createDirectEditManager.
private void createDirectEditManager() {
if (manager == null) {
ValidationGraphicalViewer viewer = (ValidationGraphicalViewer) getViewer();
ValidationMessageHandler handler = viewer.getValidationHandler();
Label label = (Label) getFigure();
ColumnNameTypeCellEditorValidator columnNameTypeCellEditorValidator = new ColumnNameTypeCellEditorValidator(handler, (ERTableColumn) getModel());
manager = new ERDirectEditManager(label, columnNameTypeCellEditorValidator, this, TextCellEditor.class, new LabelCellEditorLocator(label));
}
}
Aggregations