public void endEditing()

in src/main/java/org/apache/cayenne/modeler/layout/ObjectEntityAttributesTabLayout.java [294:310]


    public void endEditing()
    {
        DetailEditorSupport.super.endEditing();

        final ObjectAttributeAdapter currentObjectAttributeAdapter = attributesTableView.getSelectionModel().getSelectedItem();

        if (currentObjectAttributeAdapter != null)
        {
            unbind(getSelectedAttributeBindings(currentObjectAttributeAdapter));

//            javaAttributeNameTextField.textProperty().unbindBidirectional(currentObjectAttributeAdapter.nameProperty());
//            javaTypeComboBox.valueProperty().unbindBidirectional(currentObjectAttributeAdapter.javaTypeProperty());
//            optimisticLockingCheckBox.selectedProperty().unbindBidirectional(currentObjectAttributeAdapter.usedForLockingProperty());
        }

        attributesTableView.getSelectionModel().selectedItemProperty().removeListener(attributesTableViewSelectionListener);
    }