Package jetbrains.mps.smodel.event
Class SModelChildEvent
- java.lang.Object
 - 
- jetbrains.mps.smodel.event.SModelEvent
 - 
- jetbrains.mps.smodel.event.SModelChildEvent
 
 
 
- 
public class SModelChildEvent extends SModelEvent
 
- 
- 
Constructor Summary
Constructors Constructor Description SModelChildEvent(SModel model, boolean added, SNode parent, SContainmentLink role, int childIndex, SNode child) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SModelEventVisitor visitor)SNodegetAffectedRoot()SContainmentLinkgetAggregationLink()SNodegetChild()intgetChildIndex()StringgetChildRole()SNodegetParent()booleanisAdded()booleanisRemoved()- 
Methods inherited from class jetbrains.mps.smodel.event.SModelEvent
getModel, getModelDescriptor, isChangeEvent 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SModelChildEvent
public SModelChildEvent(SModel model, boolean added, SNode parent, SContainmentLink role, int childIndex, SNode child)
 
 - 
 
- 
Method Detail
- 
getAffectedRoot
public SNode getAffectedRoot()
- Specified by:
 getAffectedRootin classSModelEvent
 
- 
isAdded
public boolean isAdded()
 
- 
isRemoved
public boolean isRemoved()
 
- 
getParent
public SNode getParent()
 
- 
getChild
public SNode getChild()
 
- 
getChildIndex
public int getChildIndex()
 
- 
getChildRole
public String getChildRole()
 
- 
getAggregationLink
public SContainmentLink getAggregationLink()
- Since:
 - 3.4
 
 
- 
accept
public void accept(SModelEventVisitor visitor)
- Specified by:
 acceptin classSModelEvent
 
 - 
 
 -