public class EMFFormsSpreadsheetControlRenderer extends EMFFormsAbstractSpreadsheetRenderer<VControl>
VControl
.Constructor and Description |
---|
EMFFormsSpreadsheetControlRenderer(EMFFormsDatabindingEMF emfformsDatabinding,
EMFFormsLabelProvider emfformsLabelProvider,
ReportService reportService,
VTViewTemplateProvider vtViewTemplateProvider,
EMFFormsIdProvider idProvider,
EMFFormsSpreadsheetValueConverterRegistry converterRegistry,
EMFFormsSpreadsheetFormatDescriptionProvider formatDescriptionProvider,
EMFFormsDomainExpander domainExpander)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
render(org.apache.poi.ss.usermodel.Workbook workbook,
VControl vElement,
ViewModelContext viewModelContext,
EMFFormsSpreadsheetRenderTarget renderTarget)
This is called to trigger the rendering.
|
public EMFFormsSpreadsheetControlRenderer(EMFFormsDatabindingEMF emfformsDatabinding, EMFFormsLabelProvider emfformsLabelProvider, ReportService reportService, VTViewTemplateProvider vtViewTemplateProvider, EMFFormsIdProvider idProvider, EMFFormsSpreadsheetValueConverterRegistry converterRegistry, EMFFormsSpreadsheetFormatDescriptionProvider formatDescriptionProvider, EMFFormsDomainExpander domainExpander)
emfformsDatabinding
- The EMFFormsDatabinding to useemfformsLabelProvider
- The EMFFormsLabelProvider to usereportService
- The ReportService
vtViewTemplateProvider
- The VTViewTemplateProvider
idProvider
- The EMFFormsIdProvider
converterRegistry
- The EMFFormsSpreadsheetValueConverterRegistry
formatDescriptionProvider
- The EMFFormsSpreadsheetFormatDescriptionProvider
domainExpander
- The EMFFormsDomainExpander
public int render(org.apache.poi.ss.usermodel.Workbook workbook, VControl vElement, ViewModelContext viewModelContext, EMFFormsSpreadsheetRenderTarget renderTarget)
render
in class EMFFormsAbstractSpreadsheetRenderer<VControl>
workbook
- The Workbook
to write tovElement
- The VElement
describing the information to writeviewModelContext
- The ViewModelContext
containing the EObject
renderTarget
- The EMFFormsSpreadsheetRenderTarget
containing the information where to render toEMFFormsAbstractSpreadsheetRenderer.render(org.apache.poi.ss.usermodel.Workbook,
org.eclipse.emf.ecp.view.spi.model.VElement, org.eclipse.emf.ecp.view.spi.context.ViewModelContext,
org.eclipse.emfforms.spi.spreadsheet.core.EMFFormsSpreadsheetRenderTarget)
Copyright © 2017. All rights reserved.