public class MultiReferenceRevealProvider extends Object implements EMFFormsRevealProvider
Constructor and Description |
---|
MultiReferenceRevealProvider() |
Modifier and Type | Method and Description |
---|---|
Double |
canReveal(ViewModelContext context,
VControl control,
EMFFormsDatabinding databinding)
I bid on the
element if it is a simple VControl specified by
a DMR that resolves to a multi-valued containment reference. |
RevealStep |
reveal(ViewModelContext context,
RevealHelper helper,
VControl control,
org.eclipse.emf.ecore.EObject object,
EMFFormsDatabinding databinding)
Create a terminal reveal step to select and reveal the
object in the
rendered element . |
public Double canReveal(ViewModelContext context, VControl control, EMFFormsDatabinding databinding) throws DatabindingFailedException
element
if it is a simple VControl
specified by
a DMR that resolves to a multi-valued containment reference.context
- the view model context in which to resolve the DMRcontrol
- the control to bid ondatabinding
- the databinding service in which to resolve the DMRDatabindingFailedException
- on failure to resolve the DMRpublic RevealStep reveal(ViewModelContext context, RevealHelper helper, VControl control, org.eclipse.emf.ecore.EObject object, EMFFormsDatabinding databinding) throws DatabindingFailedException
object
in the
rendered element
.context
- the view model context in which to find a renderer for the treehelper
- a helper for deferred revealingcontrol
- the multi-reference control view modelobject
- the object to revealdatabinding
- the databinding service in which to resolve the DMRDatabindingFailedException
- on failure to resolve the DMRCopyright © 2019. All rights reserved.