Interface EMFFormsControlProcessorService
-
- All Superinterfaces:
ViewModelService
public interface EMFFormsControlProcessorService extends ViewModelService
A service which should be called while controls are initially rendered. While this service is generically supported within the
AbstractSWTRenderer
, extenders ofAbstractSWTRenderer
or custom controls should call this service for each generated SWT control which relates to aVDomainModelReference
.Note: Since all generated controls are potentially exposed, the possibilities of this service are practically limitless. But with power comes great responsibility: Too liberal modifications of the given
Control
s can lead to undefined and unwanted behavior, including unresponsive controls, misaligned layouts or even cancellation of the whole rendering process.- Since:
- 1.8
- Author:
- Stefan Dirix
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process(org.eclipse.swt.widgets.Control control, java.util.Collection<ReferenceObjectPair> references)
Process the givencontrol
which relates to the givenreferences
.void
process(org.eclipse.swt.widgets.Control control, VControl vControl, ViewModelContext controlViewModelContext)
Process the givencontrol
rendered by the givenvControl
.-
Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService
dispose, getPriority, instantiate
-
-
-
-
Method Detail
-
process
void process(org.eclipse.swt.widgets.Control control, VControl vControl, ViewModelContext controlViewModelContext)
Process the givencontrol
rendered by the givenvControl
.- Parameters:
control
- TheControl
which will be processed by this service.vControl
- TheVControl
responsible for the givencontrol
.controlViewModelContext
- TheViewModelContext
of the control.
-
process
void process(org.eclipse.swt.widgets.Control control, java.util.Collection<ReferenceObjectPair> references)
Process the givencontrol
which relates to the givenreferences
.- Parameters:
control
- TheControl
which will be processed by this service.references
- TheVDomainModelReference
s with their corresponding contextEObject
s which relate to the givencontrol
.
-
-