Skip to content

0.18.19

Compare
Choose a tag to compare
@bjorndarri bjorndarri released this 21 Oct 12:04
· 190 commits to main since this release

Changes

is.codion.common.model

  • ConditionModel.WILDCARD default now PREFIX_AND_POSTFIX.
  • FilterModel.Refresher.supplier() removed.

is.codion.swing.common.model

  • DefaultFilterComboBoxModel.DefaultComboBoxItems.visiblePredicate bug fixed, now Notify.WHEN_SET.
  • DefaultFilterTableModel.VisiblePredicate.predicate bug fixed, now Notify.WHEN_SET.
  • ItemComboBoxModel no longer extends DefaultFilterComboBoxModel, now a factory class.
  • ItemComboBoxModel.Builder along with builder() added, replacing factory methods.
  • FilterComboBoxModel.ComboBoxSelection.validPredicate() removed.
  • FilterComboBoxModel.ComboBoxItems.validator() removed.

is.codion.swing.common.ui

  • DefaultFilterTableCellRenderer.DefaultBuilder bug fixed, useBooleanRenderer now initialized before settings, in order for a correct horizontal alignment for boolean columns.
  • FilterTableCellRenderer.Factory.create() T type parameter removed.
  • FilterTableColumnModel.identifiers() added.
  • DefaultFilterTableCellRenderer bug fixed, cell specific background color now included in alternate row coloring, some refactoring and renaming.

is.codion.framework.db

  • DefaultLocalEntityConnection.delete() bug fixed, database exception now with the correct Operation.

is.codion.swing.framework.model

  • EntityComboBoxModel, foreign key filtering and linking improved.
  • EntityComboBoxModel.foreignKeyVisiblePredicate() renamed foreignKeyFilterPredicate().
  • EntityComboBoxModel.ForeignKeyFilters added, related refactoring.
  • EntityComboBoxModel now an interface.
  • EntityComboBoxModel.ForeignKeyFilters renamed ForeignKeyFilter.
  • EntityComboBoxModel.ForeignKeyComboBoxModelFactory and ForeignKeyComboBoxModelLinker removed, ForeignKeyFilter.link() added.
  • EntityComboBoxModel.Builder added, related refactoring.
  • EntityComboBoxModel.ForeignKeyFilter.builder() added.
  • EntityComboBoxModel.ForeignKeyFilter.builder() now sets includeNull() to true if the foreign key is nullable.
  • EntityComboBoxModel.foreignKeyFilter() renamed filter().

is.codion.swing.framework.ui

  • EntityTablePanel.Config.cellRenderer() and cellEditor() added.
  • EntityComboBox.model() added for consistency.
  • EntityComboBox.createForeignKeyFilterControl() removed.
  • EntityTablePanel, no longer removes tooltips from south toolbar buttons, seem to only block mouse cursor in MetalLookAndFeel.
  • EntityTableCellRenderer bug fixed, create(Attribute, SwingEntityTableModel) never got called.
  • EntityTable.Config.cellEditorFactory() and cellRendererFactory() added.
  • EntityTableCellRenderer.Factory.create() T type parameter removed.
  • EntityDependenciesPanel.displayDependenciesDialog() removed, EntityTablePanel and EntityEditPanel refactored accordingly.
  • EntityTablePanel no longer applies preferences when constructed, applyPreferences() now public.
  • EntityPanel.applyPreferences() now public.
  • EntityApplicationPanel now handles applying preferences for its entity panels.
  • EntityTablePanel now remembers and reuses the dependencies dialog size.
  • EntityTablePanel now remembers and reapplies column user preferences for dependency panels, related refactoring.
  • EntityApplicationPanel, cached entity panels displayed via displayEntityPanel() now remember their size next time they are opened.
  • EntityPanelBuilder bug fixed, no longer overrides the panel condition and filter view, unless explicitly set in the builder.
  • EntityApplicationPanel.USE_CLIENT_PREFERENCES renamed USER_PREFERENCES_ENABLED and RESTORE_DEFAULT_PREFERENCES added.
  • EntityApplicationPanel.CALL_SYSTEM_EXIT added.
  • EntityComboBox.foreignKeyComboBox() and ForeignKeyComboBoxFactory removed.