VELEMENT
- public interface EMFFormsSpreadsheetRendererService<VELEMENT extends VElement>
EMFFormsAbstractSpreadsheetRenderer
.Modifier and Type | Field and Description |
---|---|
static double |
NOT_APPLICABLE
Constant for
isApplicable(VElement, ViewModelContext) to indicate, that the EMFFormsRendererService
cannot provide a
fitting renderer for the provided VElement. |
Modifier and Type | Method and Description |
---|---|
EMFFormsAbstractSpreadsheetRenderer<VELEMENT> |
getRendererInstance(VELEMENT vElement,
ViewModelContext viewModelContext)
Returns a renderer.
|
double |
isApplicable(VElement vElement,
ViewModelContext viewModelContext)
Check whether the provided
VElement can be rendered by the EMFFormsAbstractSpreadsheetRenderer
provided
by getRendererInstance(VElement, ViewModelContext) . |
static final double NOT_APPLICABLE
isApplicable(VElement, ViewModelContext)
to indicate, that the EMFFormsRendererService
cannot provide a
fitting renderer for the provided VElement.double isApplicable(VElement vElement, ViewModelContext viewModelContext)
VElement
can be rendered by the EMFFormsAbstractSpreadsheetRenderer
provided
by getRendererInstance(VElement, ViewModelContext)
.vElement
- The VElement
to checkviewModelContext
- The ViewModelContext
to use for the renderer instanceNOT_APPLICABLE
if the renderer doesn't fit, a positive value otherwiseEMFFormsAbstractSpreadsheetRenderer<VELEMENT> getRendererInstance(VELEMENT vElement, ViewModelContext viewModelContext)
vElement
- The VElement
to create the renderer instance forviewModelContext
- The ViewModelContext
to use for the renderer instanceCopyright © 2019. All rights reserved.