Package org.jetbrains.mps.openapi.model
Interface SModelChangeListener
-
- All Known Implementing Classes:
SRepositoryContentAdapter
@Deprecated public interface SModelChangeListener
Deprecated.useSNodeChangeListener
instead.DON'T USE THIS INTERFACE AS IT'S SCHEDULED FOR REMOVAL IN THE UPCOMING MPS RELEASE This interface can be implemented to track write access of individual nodes in the model. Change listeners get notified regardless of model being attached to a repository. If, however, model is attached to a repository, all notifications are delivered inside a write lock on the repository after a real change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
nodeAdded(SModel model, SNode parent, String role, SNode child)
Deprecated.void
nodeRemoved(SModel model, SNode parent, String role, SNode child)
Deprecated.void
propertyChanged(SNode node, String propertyName, String oldValue, String newValue)
Deprecated.void
referenceChanged(SNode node, String role, SReference oldRef, SReference newRef)
Deprecated.
-
-
-
Method Detail
-
propertyChanged
void propertyChanged(SNode node, String propertyName, String oldValue, String newValue)
Deprecated.
-
referenceChanged
void referenceChanged(SNode node, String role, SReference oldRef, SReference newRef)
Deprecated.
-
-