Companion

object Companion

Functions

Link copied to clipboard
fun launchWorkbench(    project: AvailProject = AvailProjectV1( "--No Project--", true, AvailRepositories()),     availProjectFilePath: String = "",     initial: String = "",     customWindowTitle: String = "",     useProjectNameAsFullTitle: Boolean)

Launch the Avail builderUI.

Link copied to clipboard
fun launchWorkbenchWithProject(    project: AvailProject,     customWindowTitle: String = "",     availProjectFilePath: String = "",     useProjectNameAsFullTitle: Boolean = true)
fun launchWorkbenchWithProject(    project: AvailProject,     globalAvailConfiguration: GlobalAvailConfiguration,     availProjectFilePath: String = "",     customWindowTitle: String = "",     useProjectNameAsFullTitle: Boolean = false)

Launch the Avail builderUI.

Link copied to clipboard
fun setAboutHandler(aboutHandler: () -> Unit)

Pass this method an Object and Method equipped to display application info. They will be called when the About menu item is selected from the application menu.

Link copied to clipboard
fun setPreferencesHandler(preferences: () -> Unit)

Pass this method a function which displays and edits application options. It will be invoked when the Preferences menu item is selected from the application menu.

Properties

Link copied to clipboard
const val DARK_MODE_KEY: String

The key for the dark mode System.setProperty.

Link copied to clipboard
val darkMode: Boolean

An indicator of whether to show the user interface in dark (Darcula) mode.

Link copied to clipboard
val inputBackgroundWhenRunning: AdaptiveColor

The background color of the input field when a command is running.

Link copied to clipboard
val inputForegroundWhenRunning: AdaptiveColor

The foreground color of the input field when a command is running.

Link copied to clipboard
val menuShiftShortcutMask: Int

The numeric mask for the modifier key suitable for the current platform while the SHIFT key is pressed.

Link copied to clipboard
val menuShortcutMask: Int

The numeric mask for the modifier key suitable for the current platform.

Link copied to clipboard
val showDeveloperTools: Boolean

Determine at startup whether we should show developer commands.