public class NotificationRecorder extends Object
| Constructor and Description |
|---|
NotificationRecorder() |
| Modifier and Type | Method and Description |
|---|---|
NotificationRecording |
getRecording()
Returns a completed notification recording, may throw IllegalStateException in case the recording is requested
while recording still takes place, i.e.
|
boolean |
isRecordingComplete() |
void |
newRecording()
Starts a new recording.
|
void |
newRecording(NotificationRecordingHint aHint)
Starts a new recording.
|
void |
record(org.eclipse.emf.common.notify.Notification n)
Records a new EMF Notification.
|
void |
stopRecording()
Tries to stop an ongoing recording, useful only in context of delete operations, in which multiple EMF
notification chains are recorded as a single sequence.
|
public void record(org.eclipse.emf.common.notify.Notification n)
n - the notification to recordpublic NotificationRecording getRecording()
public void stopRecording()
public void newRecording()
public void newRecording(NotificationRecordingHint aHint)
aHint - the hint to use when creating the new recording.public boolean isRecordingComplete()
Copyright © 2017. All rights reserved.