public interface ECPSelectionProviderService extends ViewModelService
ViewModelContext, to provide a coherent selection provider for the rendering of a view.
|Modifier and Type||Method and Description|
Obtain a selection provider that aggregates the selection in the view model context.
Register a selection provider for a given
null, but if there are no registered providers to which it can delegate, it may have no useful effect.
void registerSelectionProvider(VElement element, org.eclipse.jface.viewers.ISelectionProvider selectionProvider)
element. The effect is undefined if the
elementalready has a provider registered. It is probably a good practice that only the renderer of the
elementbe responsible for registering a selection provider for it.
element- an element in the view model
selectionProvider- a selection provider to register for it
NullPointerException- if the either the element or the selection provider is
Copyright © 2019. All rights reserved.