LocalScreenState

class LocalScreenState(var workbenchLayoutConfig: String = "", var structureViewLayoutConfig: 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 LocalScreenState(workbenchLayoutConfig: String = "", structureViewLayoutConfig: 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
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