Skip to content

0.18.33

Choose a tag to compare

@bjorndarri bjorndarri released this 07 Apr 09:29
· 2348 commits to main since this release

Changes

is.codion.swing.common.ui

  • Icons.icon() renamed get().
  • ActionDialogBuilder.onShown() now supports multiple consumers.
  • ComponentDialogBuilder.onShown(), onOpened() and onClosed() now support multiple consumers.

is.codion.framework.db.core

  • JSpecify annotations added.

is.codion.framework.db.local

  • JSpecify annotations added.

is.codion.framework.model

  • AbstractEntityEditModel.configureSearchModel() added, for separating the configuration of a search model for use in the edit model from search model creation.
  • EntityEditModel.apply() added.
  • EntityEditModel.apply() renamed applyEdit().

is.codion.swing.framework.model

  • DefaultEntityComboBoxModel.DefaultForeignKeyFilter.link() bug fixed, combo box model used its own selection instead of the one from the filter model when initializing the link
  • SwingEntityEditModel.configureComboBoxModel() added, for separating the configuration of a combo box model for use in the edit model from combo box model creation.
  • SwingEntityTableModel.setValueAt() now uses EntityEditModel.apply().
  • EntityComboBoxModel.Filter.builder() removed.

is.codion.swing.framework.ui

  • EntityEditPanel, exception handling and logging now consistent for insert, update and delete.
  • EditComponentFactory.caption() AttributeDefinition parameter added.
  • DefaultEditAttributeDialogBuilder now displays no caption if EditComponentFactory.caption() returns nothing.
  • EntityDialogs.EditAttributeDialogBuilder.applier() removed, EntityEditModel.apply() used instead.
  • EntityTablePanel, edit panel dialog location no longer follows mouse when displayed on double click.
  • EntityDialogs.addEntityDialog() and editEntityDialog() editPanel parameter no longer Supplier.
  • EntityDialogs.AddEntityDialogBuilder and EditEntityDialogBuilder.onShown() added.
  • EntityEditPanel, insert, update and delete commands refactored.
  • EntityPanel.requestInitialFocus() now uses requestFocusInWindow() instead of requestFocus(), otherwise focus can escape the application when toggling the edit panel state.
  • EntityEditComponentPanel.Defaults removed.