Package io.jmix.ui.screen
Class StandardEditor.AfterCommitChangesEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.screen.StandardEditor.AfterCommitChangesEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StandardEditor<T>
Event sent after commit of data context from
Use this event listener to notify users after commit, for example:
StandardEditor.commitChanges()
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
-