public class EcoreWeightProvider extends DefaultWeightProvider
WeightProvider applicable to all ecore
 objects.WeightProvider.DescriptorattributeChangeCoef, referenceChangeCoef, weightsMAJOR, MASSIVE, NORMAL, SIGNIFICANT, SMALL, UNLIKELY_TO_MATCH| Constructor and Description | 
|---|
| EcoreWeightProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getContainingFeatureWeight(EObject a)Return the weight associated with the fact some Object has changed it's containing reference. | 
| int | getParentWeight(EObject a)Return the weight associated with the fact some Object has changed it's container. | 
| int | getWeight(EStructuralFeature feature)Return the weight for the given feature. | 
irrelevantpublic int getWeight(EStructuralFeature feature)
getWeight in interface WeightProvidergetWeight in class DefaultWeightProviderfeature - any EStructuralFeature.public int getParentWeight(EObject a)
getParentWeight in interface WeightProvidergetParentWeight in class DefaultWeightProvidera - any instance.public int getContainingFeatureWeight(EObject a)
getContainingFeatureWeight in interface WeightProvidergetContainingFeatureWeight in class DefaultWeightProvidera - any instance.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.