public class CSI2PivotMapping extends org.eclipse.emf.common.notify.impl.AdapterImpl implements MetaModelManagerListener
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Set<java.lang.String> |
computeCSIs(java.util.Collection<? extends org.eclipse.emf.ecore.resource.Resource> csResources) |
Element |
get(ModelElementCS csElement)
Return the Pivot element corresponding to a given CS element.
|
static CSI2PivotMapping |
getAdapter(MetaModelManager metaModelManager) |
java.util.Map<java.lang.String,Element> |
getMapping() |
boolean |
isAdapterForType(java.lang.Object type) |
void |
metaModelManagerDisposed(MetaModelManager metaModelManager)
Respond to disposal of the MetaModelManager by eliminating all further usage.
|
void |
put(ModelElementCS csElement,
Element pivotElement)
Install the Pivot element corresponding to a given CS element.
|
void |
update(java.util.Collection<? extends org.eclipse.emf.ecore.resource.Resource> csResources)
Update the mapping to cache the Pivot elements with respect to the CSIs for all CS elements in csResources.
|
@NonNull public static CSI2PivotMapping getAdapter(@NonNull MetaModelManager metaModelManager)
public void clear()
public java.util.Set<java.lang.String> computeCSIs(java.util.Collection<? extends org.eclipse.emf.ecore.resource.Resource> csResources)
public Element get(ModelElementCS csElement)
public java.util.Map<java.lang.String,Element> getMapping()
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
public void metaModelManagerDisposed(@NonNull MetaModelManager metaModelManager)
MetaModelManagerListener
metaModelManagerDisposed
in interface MetaModelManagerListener
public void put(ModelElementCS csElement, Element pivotElement)
public void update(java.util.Collection<? extends org.eclipse.emf.ecore.resource.Resource> csResources)