ArtifactPlansFileEditor

constructor(workbench: AvailWorkbench, frameTitle: String, autoSave: Boolean = false, afterTextLoaded: (ArtifactPlansFileEditor) -> Unit = {})

Construct an ArtifactPlansFileEditor.

Parameters

workbench

The owning AvailWorkbench.

frameTitle

The window title.

autoSave

Whether to auto save the backing file to disk after changes.

afterTextLoaded

Action to perform after text has been loaded to sourcePane.