use of org.eclipse.sirius.components.emf.services.LabelFeatureProviderRegistry in project sirius-components by eclipse-sirius.
the class EMFConfiguration method labelFeatureProviderRegistry.
@Bean
public LabelFeatureProviderRegistry labelFeatureProviderRegistry(List<ILabelFeatureProvider> providers) {
LabelFeatureProviderRegistry providerRegistry = new LabelFeatureProviderRegistry();
providers.forEach(provider -> providerRegistry.put(provider.getEPackageNsUri(), provider));
return providerRegistry;
}
Aggregations