Search in sources :

Example 6 with AttributePart

use of org.jkiss.dbeaver.erd.ui.part.AttributePart in project dbeaver by serge-rider.

the class AttributeDirectEditPolicy method showCurrentEditValue.

@Override
protected void showCurrentEditValue(DirectEditRequest request) {
    String value = (String) request.getCellEditor().getValue();
    AttributePart attributePart = (AttributePart) getHost();
    attributePart.handleNameChange(value);
}
Also used : AttributePart(org.jkiss.dbeaver.erd.ui.part.AttributePart)

Aggregations

AttributePart (org.jkiss.dbeaver.erd.ui.part.AttributePart)6 List (java.util.List)2 CellEditor (org.eclipse.jface.viewers.CellEditor)2 AssociationCreateCommand (org.jkiss.dbeaver.erd.ui.command.AssociationCreateCommand)2