public class ControlRevealProvider extends Object implements EMFFormsRevealProvider
VControl
s that reveals a specific EStructuralFeature
setting.Constructor and Description |
---|
ControlRevealProvider() |
Modifier and Type | Method and Description |
---|---|
Double |
canReveal(VControl control,
org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature,
EMFFormsSettingToControlMapper settingMapper)
I bid on the
control if it is presents the given feature of the domain
model object . |
RevealStep |
reveal(VControl control,
org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext context)
Create a terminal reveal step to focus into the specific setting
control
in a that presents a feature or an object . |
public Double canReveal(VControl control, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, @ViewService EMFFormsSettingToControlMapper settingMapper)
control
if it is presents the given feature
of the domain
model object
.control
- the element to bid onobject
- the domain object to bid onfeature
- the feature of the domain object
to bid onsettingMapper
- the setting-to-control mapper servicepublic RevealStep reveal(VControl control, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, ViewModelContext context)
control
in a that presents a feature
or an object
.control
- the control to revealobject
- the object to revealfeature
- the feature of the domain object
to revealcontext
- the view-model context in which the control
is renderedCopyright © 2019. All rights reserved.