public class ProjectImpl extends NotifiableIdEObjectCollectionImpl implements Project
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterListMATERIALIZED_MODELELEMENTID_GENERATOR_EXTENSIONPOINT, MODELELEMENTID_GENERATOR_CLASS_ATTRIBUTE, MODELELEMENTID_GENERATOR_EXTENSIONPOINT| Modifier and Type | Method and Description |
|---|---|
void |
addCutElement(org.eclipse.emf.ecore.EObject eObject)
Add a new cut element.
|
ESModelElementIdToEObjectMappingImpl |
createAPI()
Creates the API interface for this class.
|
void |
delete()
Deletes a project by notifying all project change observers about the
deletion.
|
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) |
Object |
getAdapter(Class adapter)
this methods implements the adapter interface which is needed by the
navigator.
|
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
getCutElements() |
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> |
getModelElements() |
void |
initMapping()
Initializes the ID caches of the collection, i.e.
|
ESModelElementIdToEObjectMappingImpl |
toAPI()
Returns the API interface of this class.
|
addIdEObjectCollectionChangeObserver, collectionDeleted, copy, getChangeNotifier, initMapping, modelElementAdded, modelElementRemoved, notify, removeIdEObjectCollectionChangeObserver, setUndetachableaddModelElement, allocateModelElementIds, clearAllocatedCaches, clearAllocatedCaches, contains, contains, deleteModelElement, disallocateModelElementIds, dispose, get, getAllModelElements, getAllModelElementsByClass, getAllModelElementsByClass, getAllModelElementsByClass, getAllModelElementsByClass, getDeletedModelElement, getDeletedModelElementId, getEObjectToIdMapping, getIdToEObjectMapping, getModelElement, getModelElementId, getModelElementsByClass, removeModelElement, removeModelElementAndChildrenFromResourceeAdapters, 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, eVirtualUnset, toStringeNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddIdEObjectCollectionChangeObserver, getChangeNotifier, removeIdEObjectCollectionChangeObserveraddModelElement, allocateModelElementIds, clearAllocatedCaches, clearAllocatedCaches, contains, contains, deleteModelElement, disallocateModelElementIds, getAllModelElements, getEObjectToIdMapping, getIdToEObjectMapping, getModelElement, getModelElementId, getModelElementsByClass, initMappingeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivergetAllModelElementsByClass, getAllModelElementsByClassgetcollectionDeleted, modelElementAdded, modelElementRemoved, notifypublic org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getModelElements()
getModelElements in interface ESObjectContainer<ModelElementId>getModelElements in interface IdEObjectCollectiongetModelElements in interface ProjectgetModelElements in class IdEObjectCollectionImplIdEObjectCollection.getModelElements()public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getCutElements()
getCutElements in interface ProjectModelPackage.getProject_CutElements()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 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic Object getAdapter(Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptableadapter - the adapter classpublic void delete()
delete in interface ProjectProject.delete()public void addCutElement(org.eclipse.emf.ecore.EObject eObject)
addCutElement in class NotifiableIdEObjectCollectionImpleObject - The new cut element.NotifiableIdEObjectCollectionImpl.addCutElement(org.eclipse.emf.ecore.EObject)public void initMapping()
IdEObjectCollection.getModelElements() and for each model
element the ModelElementId is fetched via IdEObjectCollection.getModelElementId(EObject). Then a
mapping
between the model element and its ModelElementId is created
within the cache.initMapping in interface IdEObjectCollectioninitMapping in class NotifiableIdEObjectCollectionImplNotifiableIdEObjectCollectionImpl.initMapping()public ESModelElementIdToEObjectMappingImpl toAPI()
toAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>APIDelegate.toAPI()public ESModelElementIdToEObjectMappingImpl createAPI()
createAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>APIDelegate.createAPI()Copyright © 2017. All rights reserved.