Class DeleteEObjectEvent
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.event.AbstractEvent
-
- com._1c.g5.v8.dt.form.mapping.core.event.DeleteEObjectEvent
-
public class DeleteEObjectEvent extends AbstractEvent
The event for deletingEObject
object.
-
-
Constructor Summary
Constructors Constructor Description DeleteEObjectEvent(Mapping<?,?> mapping, org.eclipse.emf.ecore.EStructuralFeature featureOfparent, org.eclipse.emf.ecore.EObject parent, Object toDelete, int position)
Creates a new event.DeleteEObjectEvent(org.eclipse.emf.ecore.EStructuralFeature featureOfparent, org.eclipse.emf.ecore.EObject parent, Object toDelete, int position)
Creates a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDeletedObject()
Gets the deleted object.org.eclipse.emf.ecore.EStructuralFeature
getFeature()
Gets the feature of parent in which deleting object.org.eclipse.emf.ecore.EObject
getParent()
Gets the parent in which deleting object.int
getPosition()
Gets the position of deleted object.-
Methods inherited from class com._1c.g5.v8.dt.form.mapping.core.event.AbstractEvent
getMapping
-
-
-
-
Constructor Detail
-
DeleteEObjectEvent
public DeleteEObjectEvent(Mapping<?,?> mapping, org.eclipse.emf.ecore.EStructuralFeature featureOfparent, org.eclipse.emf.ecore.EObject parent, Object toDelete, int position)
Creates a new event. Events creates on mapping.- Parameters:
mapping
- - the mapping which creates this event.featureOfparent
- - the feature of parent in which deleting object.parent
- - the parent in which deleting object.toDelete
- - the deleted object.position
- - the position of deleted object.
-
DeleteEObjectEvent
public DeleteEObjectEvent(org.eclipse.emf.ecore.EStructuralFeature featureOfparent, org.eclipse.emf.ecore.EObject parent, Object toDelete, int position)
Creates a new event. Without mapping.- Parameters:
featureOfparent
- - the feature of parent in which deleting object.parent
- - the parent in which deleting object.toDelete
- - the deleted object.position
- - the position of deleted object.
-
-
Method Detail
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
Gets the feature of parent in which deleting object.- Returns:
- the feature.
-
getParent
public org.eclipse.emf.ecore.EObject getParent()
Gets the parent in which deleting object.- Returns:
- the parent.
-
getDeletedObject
public Object getDeletedObject()
Gets the deleted object.- Returns:
- the deleted object.
-
getPosition
public int getPosition()
Gets the position of deleted object.- Returns:
- the position of deleted object.
-
-