Package io.jmix.ui.screen
Class MasterDetailScreen.AfterCommitChangesEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.screen.MasterDetailScreen.AfterCommitChangesEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MasterDetailScreen<T>
Event sent after commit of data context from
Use this event listener to notify users after commit, for example:
MasterDetailScreen.commitEditorChanges()
call.
Use this event listener to notify users after commit, for example:
@Subscribe protected void onAfterCommit(AfterCommitChanges event) { notifications.create().withCaption("Committed").show(); }
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AfterCommitChangesEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getDataContext
- Returns:
- data context of the screen
-