|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.client.model.changeTracking.notification.recording.NotificationRecorder
public class NotificationRecorder
A Notification recorder is meant to generate a NotificationRecording. To create the recording just repeatedly call record() with incoming EMF notifications.
Constructor Summary | |
---|---|
NotificationRecorder()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationRecorder()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |