public interface EditingContextAdapter
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.edit.domain.EditingDomain |
getEditingDomain()
Returns the editing domain.
|
void |
onModelChange(IConsumer<java.util.List<org.eclipse.emf.common.notify.Notification>> trigger)
Registers a listener to notify when the model is modified.
|
org.eclipse.core.runtime.IStatus |
performModelChange(java.lang.Runnable operation)
Executes an operation which which potentially makes changes to the model.
|
void |
removeModelChangeConsumer()
Unregisters the currently set listener.
|
org.eclipse.core.runtime.IStatus performModelChange(java.lang.Runnable operation)
operation
- the operation.void onModelChange(IConsumer<java.util.List<org.eclipse.emf.common.notify.Notification>> trigger)
null
.trigger
- the trigger to invoke when the model is modified.void removeModelChangeConsumer()
org.eclipse.emf.edit.domain.EditingDomain getEditingDomain()