Class EMFExcelFile
java.lang.Object
com.amalgamasimulation.emf.datastructure.IDataSource
com.amalgamasimulation.emf.datastructure.EMFExcelFile
- Direct Known Subclasses:
EMFPartOneClassFile
-
Field Summary
FieldsFields inherited from class com.amalgamasimulation.emf.datastructure.IDataSource
eClasses, eObjectsContext, rootEClass, sheets, transform -
Constructor Summary
ConstructorsConstructorDescriptionEMFExcelFile(com.amalgamasimulation.emf.excel.EMFTransform<?> transform, com.amalgamasimulation.emf.excel.EObjectsContext eObjectsContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks that each sheet can be saved to an Excel file.<R extends DataStorage<?>>
voidwrite(R dataStorage) Methods inherited from class com.amalgamasimulation.emf.datastructure.IDataSource
addError, addSheetForEClass, addWarning, getContainmentReferences, getEObjectsContext, getErrors, getReferencedClasses, getRootEClass, getSheets, getSubTypes, getTransform, getWarnings, initRootEClassAndSheets, preRead, read
-
Field Details
-
MAX_ROWS_PER_WORKSHEET
public static final int MAX_ROWS_PER_WORKSHEET- See Also:
-
-
Constructor Details
-
EMFExcelFile
public EMFExcelFile(com.amalgamasimulation.emf.excel.EMFTransform<?> transform, com.amalgamasimulation.emf.excel.EObjectsContext eObjectsContext)
-
-
Method Details
-
write
- Specified by:
writein classIDataSource
-
checkCanWrite
public void checkCanWrite()Checks that each sheet can be saved to an Excel file. Throws an exception if any of the sheets cannot be saved.
-