Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to clear "modified" state of a detail view #4134

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

knstvk
Copy link
Contributor

@knstvk knstvk commented Jan 30, 2025

Introduced io.jmix.flowui.model.DataContext#clearChanges and io.jmix.flowui.view.ChangeTracker#clearChanges methods.

* {@link #getModified()} and {@link #getRemoved()} return empty sets.
*/
default void clearChanges() {
throw new UnsupportedOperationException("Not implemented");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a problem because this method is not called by the framework.

@knstvk knstvk requested a review from glebfox January 30, 2025 08:42
@knstvk knstvk linked an issue Jan 30, 2025 that may be closed by this pull request
@knstvk knstvk merged commit 6193d25 into master Feb 4, 2025
@knstvk knstvk deleted the 3940-clear-detail-view-modified-state branch February 4, 2025 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to clear "modified" state of a detail view
2 participants