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(AbstractSWTRenderer<?> renderer,
org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature)
Create a terminal reveal step to focus into the specific setting control in a
container
element . |
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(@Renderer AbstractSWTRenderer<?> renderer, org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
element
.renderer
- the renderer of the control to revealobject
- the object to revealfeature
- the feature of the domain object
to revealCopyright © 2019. All rights reserved.