public interface EMFFormsSpreadsheetRendererFactory
VElement
and
ViewModelContext
.Modifier and Type | Method and Description |
---|---|
void |
addEMFFormsSpreadsheetRendererService(EMFFormsSpreadsheetRendererService<VElement> spreadsheetRendererService)
Adds an
EMFFormsSpreadsheetRendererService to the list of available renderer. |
<VELEMENT extends VElement> |
getRendererInstance(VELEMENT vElement,
ViewModelContext viewModelContext)
Returns the renderer which fits the provided
VElement and ViewModelContext the most. |
void |
removeEMFFormsSpreadsheetRendererService(EMFFormsSpreadsheetRendererService<VElement> spreadsheetRendererService)
Removes an
EMFFormsSpreadsheetRendererService from the list of available renderer. |
void addEMFFormsSpreadsheetRendererService(EMFFormsSpreadsheetRendererService<VElement> spreadsheetRendererService)
EMFFormsSpreadsheetRendererService
to the list of available renderer.spreadsheetRendererService
- The EMFFormsSpreadsheetRendererService to addvoid removeEMFFormsSpreadsheetRendererService(EMFFormsSpreadsheetRendererService<VElement> spreadsheetRendererService)
EMFFormsSpreadsheetRendererService
from the list of available renderer.spreadsheetRendererService
- The EMFFormsSpreadsheetRendererService to remove<VELEMENT extends VElement> EMFFormsAbstractSpreadsheetRenderer<VElement> getRendererInstance(VELEMENT vElement, ViewModelContext viewModelContext) throws EMFFormsNoRendererException
VElement
and ViewModelContext
the most.VELEMENT
- The VElement typevElement
- the VElement
to find the renderer forviewModelContext
- the ViewModelContext
to find the renderer forEMFFormsNoRendererException
- is thrown when no renderer can be foundCopyright © 2019. All rights reserved.