use of com.cubrid.common.ui.er.directedit.TableNameCellEditorValidator in project cubrid-manager by CUBRID.
the class TablePart method performDirectEdit.
protected void performDirectEdit() {
if (manager == null) {
ValidationGraphicalViewer viewer = (ValidationGraphicalViewer) getViewer();
ValidationMessageHandler handler = viewer.getValidationHandler();
TableFigure figure = (TableFigure) getFigure();
EditableLabel nameLabel = figure.getNameLabel();
manager = new ERDirectEditManager(nameLabel, new TableNameCellEditorValidator(handler), this, TableNameCellEditor.class, new LabelCellEditorLocator(nameLabel));
}
manager.show();
}
Aggregations