public class EMFFormsSpreadsheetExporterImpl extends Object implements EMFFormsSpreadsheetExporter
EMFFormsSpreadsheetExporter
.Modifier and Type | Class and Description |
---|---|
static interface |
EMFFormsSpreadsheetExporterImpl.ViewProvider
Interface which encapsulates the call to get a viewmodel for EObject + properties.
|
INSTANCE
Constructor and Description |
---|
EMFFormsSpreadsheetExporterImpl()
Default Constructor.
|
EMFFormsSpreadsheetExporterImpl(EMFFormsSpreadsheetExporterImpl.ViewProvider viewProvider)
Constructor which offers a way to influence the view model retrieval.
|
Modifier and Type | Method and Description |
---|---|
org.apache.poi.ss.usermodel.Workbook |
render(Collection<? extends org.eclipse.emf.ecore.EObject> domainObjects,
org.eclipse.emf.ecore.EObject viewEobject,
VViewModelProperties properties)
Starts the rendering to the Spreadsheet document.
|
public EMFFormsSpreadsheetExporterImpl()
public EMFFormsSpreadsheetExporterImpl(EMFFormsSpreadsheetExporterImpl.ViewProvider viewProvider)
viewProvider
- the provider which will be used to find the view model that will be renderedpublic org.apache.poi.ss.usermodel.Workbook render(Collection<? extends org.eclipse.emf.ecore.EObject> domainObjects, org.eclipse.emf.ecore.EObject viewEobject, VViewModelProperties properties)
EMFFormsSpreadsheetExporter
render
in interface EMFFormsSpreadsheetExporter
domainObjects
- The collection of EObject
containing the data to exportviewEobject
- the eObject which will be used to determine the view modelproperties
- the properties
which will be used to determine the view modelWorkbook
Copyright © 2016. All rights reserved.