|Constructor and Description|
Create a new instance for dispatching content changes
|Modifier and Type||Method and Description|
Register a new
Observes a content change.
public ChangeDispatcher(NodeState root)
root- current root node state
public java.io.Closeable addObserver(Observer observer)
Observerfor receiving notifications about changes reported to this change dispatcher. Changes are reported synchronously and clients need to ensure to no block any length of time (e.g. by relaying through a
Clients need to call
Closeable.close() close} on the returned
Closeable instance to stop receiving notifications.
public void contentChanged(NodeState root, CommitInfo info)
Observerclass javadocs and relevant repository and observer registration details for more information on when and how this method gets called.
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"