|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectMetaclassInstancesAdapter
org.eclipse.gmt.modisco.infra.facet.core.adapters.instances.MetaclassInstancesAdapterWithFacet
public class MetaclassInstancesAdapterWithFacet
An adapter that acts as a cache for lists of instances by EClass (extending
MetaclassInstancesAdapter for supporting Facets). It works by
listening to changes in the model and updating the cache accordingly.
It must be created on a Resource through
MetaclassInstancesAdapterFactoryWithFacet, by doing the following:
MetaclassInstancesAdapterFactoryWithFacet.getInstance().setFacetContext(facetContext);
MetaclassInstances instances = (MetaclassInstances) MetaclassInstancesAdapterFactoryWithFacet.getInstance().adapt(resource, MetaclassInstances.class);
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||