public class ModelManipulationWithEditingDomain extends AbstractModelManipulations
engine
Constructor and Description |
---|
ModelManipulationWithEditingDomain(ViatraQueryEngine engine,
org.eclipse.emf.edit.domain.EditingDomain domain) |
Modifier and Type | Method and Description |
---|---|
protected void |
doAdd(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.util.Collection<? extends java.lang.Object> elements) |
protected void |
doAdd(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object element,
int index) |
protected void |
doChangeIndex(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
int oldIndex,
int newIndex) |
protected org.eclipse.emf.ecore.EObject |
doCreate(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EClass clazz) |
protected org.eclipse.emf.ecore.EObject |
doCreate(org.eclipse.emf.ecore.resource.Resource res,
org.eclipse.emf.ecore.EClass clazz) |
protected void |
doMoveTo(org.eclipse.emf.ecore.EObject what,
org.eclipse.emf.ecore.EObject newContainer,
org.eclipse.emf.ecore.EReference reference) |
protected void |
doMoveTo(org.eclipse.emf.ecore.EObject what,
org.eclipse.emf.ecore.EObject newContainer,
org.eclipse.emf.ecore.EReference reference,
int index) |
protected void |
doMoveTo(org.eclipse.emf.ecore.EObject what,
org.eclipse.emf.ecore.resource.Resource newContainer) |
protected void |
doMoveTo(org.eclipse.emf.ecore.EObject what,
org.eclipse.emf.ecore.resource.Resource newContainer,
int index) |
protected void |
doRemove(org.eclipse.emf.ecore.EObject object)
Removes an element from the containment hierarchy
|
protected void |
doRemove(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature reference) |
protected void |
doRemove(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
int index) |
protected void |
doRemove(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object element)
Remove a non-containment reference value
|
protected void |
doSet(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.lang.Object value) |
protected void |
executeCommand(org.eclipse.emf.common.command.Command command) |
public ModelManipulationWithEditingDomain(ViatraQueryEngine engine, org.eclipse.emf.edit.domain.EditingDomain domain)
protected org.eclipse.emf.ecore.EObject doCreate(org.eclipse.emf.ecore.resource.Resource res, org.eclipse.emf.ecore.EClass clazz) throws ModelManipulationException
doCreate
in class AbstractModelManipulations
ModelManipulationException
protected org.eclipse.emf.ecore.EObject doCreate(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EClass clazz) throws ModelManipulationException
doCreate
in class AbstractModelManipulations
ModelManipulationException
protected void doAdd(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Collection<? extends java.lang.Object> elements) throws ModelManipulationException
doAdd
in class AbstractModelManipulations
ModelManipulationException
protected void doAdd(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object element, int index) throws ModelManipulationException
doAdd
in class AbstractModelManipulations
ModelManipulationException
protected void doSet(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value) throws ModelManipulationException
doSet
in class AbstractModelManipulations
ModelManipulationException
protected void doRemove(org.eclipse.emf.ecore.EObject object) throws ModelManipulationException
AbstractModelManipulations
doRemove
in class AbstractModelManipulations
ModelManipulationException
protected void doRemove(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object element) throws ModelManipulationException
AbstractModelManipulations
doRemove
in class AbstractModelManipulations
ModelManipulationException
protected void doRemove(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, int index) throws ModelManipulationException
doRemove
in class AbstractModelManipulations
ModelManipulationException
protected void doRemove(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature reference) throws ModelManipulationException
doRemove
in class AbstractModelManipulations
ModelManipulationException
protected void doMoveTo(org.eclipse.emf.ecore.EObject what, org.eclipse.emf.ecore.resource.Resource newContainer) throws ModelManipulationException
doMoveTo
in class AbstractModelManipulations
ModelManipulationException
protected void doMoveTo(org.eclipse.emf.ecore.EObject what, org.eclipse.emf.ecore.EObject newContainer, org.eclipse.emf.ecore.EReference reference, int index) throws ModelManipulationException
doMoveTo
in class AbstractModelManipulations
ModelManipulationException
protected void doMoveTo(org.eclipse.emf.ecore.EObject what, org.eclipse.emf.ecore.EObject newContainer, org.eclipse.emf.ecore.EReference reference) throws ModelManipulationException
doMoveTo
in class AbstractModelManipulations
ModelManipulationException
protected void doMoveTo(org.eclipse.emf.ecore.EObject what, org.eclipse.emf.ecore.resource.Resource newContainer, int index) throws ModelManipulationException
doMoveTo
in class AbstractModelManipulations
ModelManipulationException
protected void executeCommand(org.eclipse.emf.common.command.Command command) throws ModelManipulationException
ModelManipulationException
protected void doChangeIndex(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EStructuralFeature feature, int oldIndex, int newIndex) throws ModelManipulationException
doChangeIndex
in class AbstractModelManipulations
ModelManipulationException