Skip to content

0.18.69

Latest

Choose a tag to compare

@bjorndarri bjorndarri released this 18 Feb 10:47

Changes

is.codion.common.utilities

  • PropertyStore, command line properties now take precedence over configuration file.

is.codion.swing.common.ui

  • Windows.resizeToFitScreen() bug fixed, now uses getMaximumWindowBounds().
  • FilterTable.Builder.headerless() added.

is.codion.framework.db.local

  • DefaultLocalEntityConnection.insertSelect() exception behaviour now consistent with updateSelect(), fails if selected row count differs from number inserted entities.

is.codion.framework.model

  • EntityEditor.EditorEntity added, handling the access to the underlying entity.
  • EntityEditModel.EditEvents moved to PersistenceEvents, related renaming.
  • EntityEditModel.afterInsertUpdateOrDelete() renamed persisted().
  • EntityEditModel.PERSISTENCE_EVENTS renamed PUBLISH_PERSISTENCE_EVENTS, Settings.persistenceEvents() renamed publishPersistenceEvents().
  • EntitySearchModel.PERSISTENCE_EVENTS renamed PERSISTENCE_AWARE, Builder.persistenceEvents() renamed persistenceAware().
  • PersistenceEvents.events() renamed persistenceEvents() for static import.
  • DefaultEntityEditModel.DefaultSettings minor refactoring.
  • EntityEditModel.applyEdit() entities Collection parameter replaced with a single entity.
  • DefaultEntityEditor now uses Objects.deepEquals() when notifying.
  • EntityEditModel.applyEdit() replaced with the more focused EntityEditor.EditorValue.propagate() and Propagator.
  • DefaultEntityConditionModel now validates attributes when retrieving condition models.
  • DefaultEntityEditModel.insert(), update() and delete() overloaded with a single Entity instance parameter, used when persisting the active entity.
  • DefaultEntityEditor bug fixed, no longer populates lazy loaded values with defaults.
  • EntityPersistence refactored from DefaultEntityEditModel.
  • DefaultEntityEditModel persistence listeners moved to DefaultEntityEditor, inserted(), udpated() and deleted() removed.
  • DefaultEntityEditModel, notify before and after persist methods removed.
  • EntityEditModel.PersistEvents and PersistTasks added.
  • EntityEditModel.persistence() removed, protected DefaultEntityEditModel.persistence() added instead.

is.codion.swing.framework.model

  • EntityComboBoxModel.PERSISTENCE_EVENTS renamed PERSISTENCE_AWARE, Builder.persistenceEvents() renamed persistenceAware().

is.codion.swing.framework.ui

  • EntityEditorPanel.Config added, handles validIndicator, modifiedIndicator, modifiedWarning and defaultTextFieldColumns.
  • EntityEditorPanel.Config.transferFocusOnEnter() added along with Config.TRANSFER_FOCUS_ON_ENTER.
  • EntityEditorPanel.InputFocus moved to EntityEditPanel.
  • EntityEditorPanel.Config.modifiedWarning() moved to EntityEditPanel.Config.
  • EntityEditPanel.Config.editPanel() removed, unused.
  • EntityEditorPanel.Config.defaultTextFieldColumns() renamed textFieldColumns().
  • DefaultEditComponent.DEFAULT_TEXT_FIELD_COLUMNS renamed TEXT_FIELD_COLUMNS.
  • EntityTablePanel.Config.closeAddDialog(), includeSearchField() and includeStatusPanel() added.

is.codion.tools.generator.domain

  • DomainSource bug fixed, did not set hidden() for columns.