public interface EMFFormsRevealProvider extends Vendor<RevealStep>
A provider of reveal strategies to the EMFFormsRevealService
.
This is intended to be implemented as OSGi services. The Eclipse DI
context for the provider invocation includes at least the following
variables, in addition to anything else injected by the editor site that
hosts the view context (if the editor implementation puts the Eclipse context
into the view context):
EObject.class
VElement.class
RevealHelper.class
EMFFormsRevealService.class
EMFFormsViewContext.class
Additionally, in an SWT rendering at least, a method parameter of any
renderer type annotated with
@org.eclipse.emf.ecp.view.model.common.di.annotations.Renderer
will be computed from the contextual VElement
and EMFFormsViewContext
.
And a context function is available to cast the injectable view context as an
org.eclipse.emf.ecp.view.spi.context.ViewModelContext
when applicable.
EMFFormsRevealService.addRevealProvider(EMFFormsRevealProvider)
Copyright © 2019. All rights reserved.