public class AutocompleteTextControlSWTRendererService extends Object implements EMFFormsDIRendererService<VControl>
NOT_APPLICABLE
Constructor and Description |
---|
AutocompleteTextControlSWTRendererService() |
Modifier and Type | Method and Description |
---|---|
Class<? extends AbstractSWTRenderer<VControl>> |
getRendererClass()
Returns the
Class for the renderer of this service. |
double |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass() . |
void |
setDatabinding(EMFFormsDatabinding databinding)
Sets the
EMFFormsDatabinding service. |
public AutocompleteTextControlSWTRendererService()
public void setDatabinding(EMFFormsDatabinding databinding)
EMFFormsDatabinding
service.databinding
- servicepublic double isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
can be rendered by the renderer defined by
EMFFormsDIRendererService.getRendererClass()
.isApplicable
in interface EMFFormsDIRendererService<VControl>
vElement
- The VElement
to checkviewModelContext
- The ViewModelContext
to use for the rendererEMFFormsDIRendererService.NOT_APPLICABLE
if the renderer doesn't fit, a positive value otherwiseEMFFormsDIRendererService.isApplicable(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public Class<? extends AbstractSWTRenderer<VControl>> getRendererClass()
Class
for the renderer of this service.getRendererClass
in interface EMFFormsDIRendererService<VControl>
Class
EMFFormsDIRendererService.getRendererClass()
Copyright © 2018. All rights reserved.