public class CreateDeleteOperationImpl extends AbstractOperationImpl implements CreateDeleteOperation
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
void |
apply(IdEObjectCollection collection)
Apply an operation to the given project if it can be applied.
|
org.eclipse.emf.ecore.EObject |
basicGetModelElement() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetModelElement(org.eclipse.emf.ecore.EObject newModelElement,
org.eclipse.emf.common.notify.NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
org.eclipse.emf.common.util.EMap<org.eclipse.emf.ecore.EObject,ModelElementId> |
getEObjectToIdMap() |
List<AbstractOperation> |
getLeafOperations()
Get all operations that are a leaf operation.
|
org.eclipse.emf.ecore.EObject |
getModelElement() |
Set<ModelElementId> |
getOtherInvolvedModelElements()
Get all model elements that are involved in the operation other than the
element the operation is directly operating on.
|
ModelElementId |
getParentofDeletedElement(Project project)
Get the id of the previous parent of the deleted element.
|
org.eclipse.emf.common.util.EList<ReferenceOperation> |
getSubOperations() |
boolean |
isDelete() |
AbstractOperation |
reverse()
Reverse the operation.
|
void |
setDelete(boolean newDelete) |
void |
setModelElement(org.eclipse.emf.ecore.EObject newModelElement) |
String |
toString() |
basicGetModelElementId, basicSetModelElementId, createAPI, getAllInvolvedModelElements, getClientDate, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementId, toAPIgetIdentifier, setIdentifiereAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAllInvolvedModelElements, getClientDate, getModelElementId, getOperationId, isAccepted, setAccepted, setClientDate, setModelElementIdgetIdentifier, setIdentifiereAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivercreateAPI, toAPIpublic void apply(IdEObjectCollection collection)
AbstractOperationapply in interface AbstractOperationcollection - the projectpublic AbstractOperation reverse()
AbstractOperationImplreverse in interface AbstractOperationreverse in class AbstractOperationImplpublic boolean isDelete()
isDelete in interface CreateDeleteOperationCreateDeleteOperation.setDelete(boolean),
OperationsPackage.getCreateDeleteOperation_Delete()public void setDelete(boolean newDelete)
setDelete in interface CreateDeleteOperationnewDelete - the new value of the 'Delete' attribute.CreateDeleteOperation.isDelete()public org.eclipse.emf.ecore.EObject getModelElement()
getModelElement in interface CreateDeleteOperationCreateDeleteOperation.setModelElement(EObject),
OperationsPackage.getCreateDeleteOperation_ModelElement()public org.eclipse.emf.ecore.EObject basicGetModelElement()
public org.eclipse.emf.common.notify.NotificationChain basicSetModelElement(org.eclipse.emf.ecore.EObject newModelElement,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setModelElement(org.eclipse.emf.ecore.EObject newModelElement)
setModelElement in interface CreateDeleteOperationnewModelElement - the new value of the 'Model Element' containment reference.CreateDeleteOperation.getModelElement()public org.eclipse.emf.common.util.EList<ReferenceOperation> getSubOperations()
getSubOperations in interface CreateDeleteOperationOperationsPackage.getCreateDeleteOperation_SubOperations()public org.eclipse.emf.common.util.EMap<org.eclipse.emf.ecore.EObject,ModelElementId> getEObjectToIdMap()
getEObjectToIdMap in interface CreateDeleteOperationEObject to ModelElementId-Map
OperationsPackage.getCreateDeleteOperation_EObjectToIdMap()public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class AbstractOperationImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class AbstractOperationImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class AbstractOperationImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class AbstractOperationImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class AbstractOperationImplpublic String toString()
toString in class AbstractOperationImplpublic Set<ModelElementId> getOtherInvolvedModelElements()
AbstractOperationImplgetOtherInvolvedModelElements in interface AbstractOperationgetOtherInvolvedModelElements in class AbstractOperationImplAbstractOperationImpl.getOtherInvolvedModelElements()public List<AbstractOperation> getLeafOperations()
getLeafOperations in interface AbstractOperationAbstractOperation.getLeafOperations()public ModelElementId getParentofDeletedElement(Project project)
getParentofDeletedElement in interface CreateDeleteOperationproject - the current project (needed to derive the parent)CreateDeleteOperation.getParentofDeletedElement(org.eclipse.emf.emfstore.internal.common.model.Project)Copyright © 2017. All rights reserved.