|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.emfstore.internal.common.model.impl.IdEObjectCollectionImpl org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl org.eclipse.emf.emfstore.internal.common.model.impl.ProjectImpl
public class ProjectImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
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 |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.IdEObjectCollectionImpl |
---|
MODELELEMENTID_GENERATOR_CLASS_ATTRIBUTE, MODELELEMENTID_GENERATOR_EXTENSIONPOINT |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl |
---|
addIdEObjectCollectionChangeObserver, collectionDeleted, copy, getChangeNotifier, initMapping, modelElementAdded, modelElementRemoved, notify, removeIdEObjectCollectionChangeObserver, setUndetachable |
Methods inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.IdEObjectCollectionImpl |
---|
addModelElement, allocateModelElementIds, clearAllocatedCaches, contains, contains, deleteModelElement, disallocateModelElementIds, dispose, get, getAllModelElements, getAllModelElementsByClass, getAllModelElementsByClass, getAllModelElementsByClass, getAllModelElementsByClass, getDeletedModelElement, getDeletedModelElementId, getEObjectId, getEObjectToIdMapping, getIdToEObjectMapping, getModelElement, getModelElementId, getModelElementsByClass, removeModelElement, removeModelElementAndChildrenFromResource |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, 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, toString |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.NotifiableIdEObjectCollection |
---|
addIdEObjectCollectionChangeObserver, getChangeNotifier, removeIdEObjectCollectionChangeObserver |
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.IdEObjectCollection |
---|
addModelElement, allocateModelElementIds, clearAllocatedCaches, contains, contains, deleteModelElement, disallocateModelElementIds, getAllModelElements, getEObjectToIdMapping, getIdToEObjectMapping, getModelElement, getModelElementId, getModelElementsByClass, initMapping |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.emfstore.common.model.ESObjectContainer |
---|
getAllModelElementsByClass, getAllModelElementsByClass |
Methods inherited from interface org.eclipse.emf.emfstore.common.model.ESIdToEObjectMapping |
---|
get |
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.model.util.IdEObjectCollectionChangeObserver |
---|
collectionDeleted, modelElementAdded, modelElementRemoved, notify |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getModelElements()
getModelElements
in interface ESObjectContainer<ModelElementId>
getModelElements
in interface IdEObjectCollection
getModelElements
in interface Project
getModelElements
in class IdEObjectCollectionImpl
IdEObjectCollection.getModelElements()
public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getCutElements()
getCutElements
in interface Project
ModelPackage.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.BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object getAdapter(Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
adapter
- the adapter class
public void delete()
delete
in interface Project
Project.delete()
public void addCutElement(org.eclipse.emf.ecore.EObject eObject)
addCutElement
in class NotifiableIdEObjectCollectionImpl
eObject
- 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 IdEObjectCollection
initMapping
in class NotifiableIdEObjectCollectionImpl
NotifiableIdEObjectCollectionImpl.initMapping()
public ESModelElementIdToEObjectMappingImpl toAPI()
toAPI
in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>
APIDelegate.toAPI()
public ESModelElementIdToEObjectMappingImpl createAPI()
createAPI
in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>
APIDelegate.createAPI()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |