Class MoveEObjectEvent
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.event.AbstractEvent
-
- com._1c.g5.v8.dt.form.mapping.core.event.MoveEObjectEvent
-
public class MoveEObjectEvent extends AbstractEvent
The event for movingEObject
object.
-
-
Constructor Summary
Constructors Constructor Description MoveEObjectEvent(Mapping<?,?> mapping, org.eclipse.emf.ecore.EStructuralFeature updatedFeature, org.eclipse.emf.ecore.EObject owner, Object model, int oldPosition, int newPosition)
Creates a new event.MoveEObjectEvent(org.eclipse.emf.ecore.EStructuralFeature updatedFeature, org.eclipse.emf.ecore.EObject owner, Object value, int oldPosition, int newPosition)
Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EStructuralFeature
getFeature()
Gets the feature of owner in which moving object.Object
getModel()
Gets the moving object.int
getNewPosition()
Gets the new position of moving object.int
getOldPosition()
org.eclipse.emf.ecore.EObject
getOwner()
Gets the owner in which moving object.-
Methods inherited from class com._1c.g5.v8.dt.form.mapping.core.event.AbstractEvent
getMapping
-
-
-
-
Constructor Detail
-
MoveEObjectEvent
public MoveEObjectEvent(Mapping<?,?> mapping, org.eclipse.emf.ecore.EStructuralFeature updatedFeature, org.eclipse.emf.ecore.EObject owner, Object model, int oldPosition, int newPosition)
Creates a new event. Events creates on mapping.- Parameters:
mapping
- - the mapping which creates this event.updatedFeature
- - the feature of owner in which moving object.owner
- - the owner in which moving object.model
- - the moving object.newPosition
- - the new position of moving object.
-
MoveEObjectEvent
public MoveEObjectEvent(org.eclipse.emf.ecore.EStructuralFeature updatedFeature, org.eclipse.emf.ecore.EObject owner, Object value, int oldPosition, int newPosition)
Creates a new event.- Parameters:
updatedFeature
- - the feature of owner in which moving object.owner
- - the owner in which moving object.model
- - the moving object.newPosition
- - the new position of moving object.
-
-
Method Detail
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
Gets the feature of owner in which moving object.- Returns:
- the feature of owner in which moving object.
-
getOwner
public org.eclipse.emf.ecore.EObject getOwner()
Gets the owner in which moving object.- Returns:
- the owner in which moving object.
-
getModel
public Object getModel()
Gets the moving object.- Returns:
- the moving object.
-
getOldPosition
public int getOldPosition()
-
getNewPosition
public int getNewPosition()
Gets the new position of moving object.- Returns:
- the new position of moving object.
-
-