public class ArrayOnceViewModelServiceProvider extends Object implements ViewModelServiceProvider
ViewModelServiceProviderfor compatibility with the injection of static arrays of services, that provides them exactly once and thereafter provides no services at all.
|Constructor and Description|
Initializes me with the services to provide once and once only.
|Modifier and Type||Method and Description|
Returns newly created view model services which will be used when the given view for the given object is rendered.
public ArrayOnceViewModelServiceProvider(ViewModelService... services)
services- the one-shot services to provide
public Collection<? extends ViewModelService> getViewModelServices(VElement view, org.eclipse.emf.ecore.EObject eObject)
Copyright © 2018. All rights reserved.