pass the EclipseState object to EclipseWriter