GuiApplicationBuilder

Fluent DSL for assembling a GuiApplicationConfiguration - see buildGuiApplication for the usual entry point, which builds a whole running GuiApplication from one of these in a single call.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Validates every accumulated setting (no duplicate profile/extension ids, at least one profile, a valid default) and produces the immutable configuration.

Link copied to clipboard

Sets the workspace-wide default solver options.

Link copied to clipboard

Explicitly picks the default solver profile new pages/workspaces start with.

Link copied to clipboard

Sets the workspace-wide default resolution timeout; must be positive.

Link copied to clipboard

Registers value, contributing its own solver profiles/features/commands to the application.

Link copied to clipboard

Sets the application's cosmetic metadata (defaults to ApplicationMetadata's own defaults).

Link copied to clipboard

Sets whether resolutions on different pages may run concurrently or pre-empt each other.

Link copied to clipboard
fun solverProfile(profile: SolverProfile, makeDefault: Boolean = false): GuiApplicationBuilder

Registers profile, directly (as opposed to one contributed by an extension); the first one registered becomes the default unless makeDefault is set on a later one.