WorkbenchScreenState

class WorkbenchScreenState(    var workbenchLayoutConfig: String = "",     var structureViewLayoutConfig: String = "",     var phraseViewLayoutConfig: String = "") : JSONFriendly

The local AvailProject screen state that tracks the state of the open windows on the local machine. This is used to save open window positioning between project startups.

Author

Richard Arriaga

Constructors

Link copied to clipboard
fun WorkbenchScreenState(    workbenchLayoutConfig: String = "",     structureViewLayoutConfig: String = "",     phraseViewLayoutConfig: String = "")

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun refreshOpenEditors(workbench: AvailWorkbench)

Refresh openEditors from the given AvailWorkbench.

Link copied to clipboard
open override fun writeTo(writer: JSONWriter)

Properties

Link copied to clipboard
val fileContent: String

The file contents to write to the

Link copied to clipboard
open val jsonFormattedString: String
Link copied to clipboard
open val jsonPrettyPrintedFormattedString: String
Link copied to clipboard
Link copied to clipboard
var phraseViewLayoutConfig: String

The LayoutConfiguration.stringToStore for the PhraseViewPanel or an empty string if not open.

Link copied to clipboard
var structureViewLayoutConfig: String

The LayoutConfiguration.stringToStore for the StructureViewPanel or an empty string if not open.

Link copied to clipboard
var workbenchLayoutConfig: String

The AvailWorkbenchLayoutConfiguration.stringToStore