Class: SubstanceTablePresenter

SubstanceTablePresenter(getCodeObj, onCodeObjUpdate)

Manages substance table download/upload functionality. This presenter handles the substances table dialog which allows users to download CSV files containing substance metadata and upload modifications. Uses MetaSerializer to convert substances to/from CSV format.

Constructor

new SubstanceTablePresenter(getCodeObj, onCodeObjUpdate)

Creates a new SubstanceTablePresenter.
Parameters:
Name Type Description
getCodeObj function Callback to get the current code object.
onCodeObjUpdate function Callback when code object is updated.
Source:

Methods

refresh(codeObj)

Refreshes the substance count and download data.
Parameters:
Name Type Description
codeObj Object Current code object.
Source: