public class QueryBasedFeatureSetup extends java.lang.Object
|Modifier and Type||Method and Description|
Initializes all query based features found in the given packages on the given notifier.
public static java.util.Set<org.eclipse.emf.ecore.EStructuralFeature> initializeAllQueryBasedFeatures(org.eclipse.emf.common.notify.Notifier rootNotifier, org.eclipse.emf.ecore.EPackage... ePackages)
Note that the initialization of query-based features may cause the initialization of other query-based features from packages that were not passed to this method. This happens if the EClass that defines such a feature has at least one EObject instance contained by the notifier transitively, the feature is an EReference and the base index traverses the EObject and requests the value of the feature. Such features will not be included in the returned set.
rootNotifier- that the query-based features are initialized on, cannot be null
ePackages- to look in for query-based features, at least one is required