Package org.jetbrains.mps.openapi.event
Class SReferenceChangeEvent
- java.lang.Object
-
- org.jetbrains.mps.openapi.event.AbstractModelEvent
-
- org.jetbrains.mps.openapi.event.AbstractModelChangeEvent
-
- org.jetbrains.mps.openapi.event.SReferenceChangeEvent
-
public final class SReferenceChangeEvent extends AbstractModelChangeEvent
Encapsulates information about modified reference.- Since:
- 3.3
-
-
Constructor Summary
Constructors Constructor Description SReferenceChangeEvent(SModel model, SNode node, SReferenceLink link, SReference oldValue, SReference newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SReferenceLink
getAssociationLink()
SModel
getModel()
SReference
getNewValue()
SNode
getNode()
SReference
getOldValue()
-
-
-
Constructor Detail
-
SReferenceChangeEvent
public SReferenceChangeEvent(@NotNull SModel model, @NotNull SNode node, @NotNull SReferenceLink link, SReference oldValue, SReference newValue)
-
-
Method Detail
-
getModel
@NotNull public SModel getModel()
- Specified by:
getModel
in classAbstractModelChangeEvent
- Returns:
- affected model
-
getAssociationLink
@NotNull public SReferenceLink getAssociationLink()
-
getOldValue
public SReference getOldValue()
-
getNewValue
public SReference getNewValue()
-
-