Avail Workbench
AvailWorkbench is a simple user interface for the Avail builder.
Author
Mark van Gulik
Todd L Smith
Richard Arriaga
Parameters
The FileManager used to manage Avail files.
The module name resolver.
The actively running AvailProject.
The AvailWorkbench's frame's title.
Types
AbstractWorkbenchTask is a foundation for long-running AvailBuilder operations.
Functions
Re-parse the package structure from scratch. Invoke the provided closure with the module tree and entry points tree, but don't install them. This can safely be run outside the UI thread.
Clear the transcript.
Close the provided AvailEditor.
Answer the standard error stream.
Ensure the new build position information will eventually be presented to the display.
Progress has been made at loading a module. Ensure this is presented to the user in the near future.
Answer the AvailProjectRoot for the given AvailProjectRoot.name.
Answer the standard input stream.
Answer the standard output stream.
Re-populate the visible tree structures based on the provided tree of modules and tree of entry points. Attempt to preserve selection and expansion information.
Answer the currently selected entry point, or null if none.
Answer the resolved name of the module selected in the entryPointsTree, or the module defining the entry point that's selected, or null if none.
Answer the ModuleRoot that is currently selected, otherwise null.
Enable or disable controls and menu items based on the current state.
Write text to the transcript with the given StreamStyle.
Properties
The AvailBuilder used by this user interface.
The current background task.
The progress bar that displays the overall build progress.
Keep track of recent commands in a history buffer. Each submitted command is added to the end of the list. Cursor-up retrieves the most recent selected line, and subsequent cursors-up retrieve previous lines, back to the first entry, then an empty command line, then the last entry again and so on. An initial cursor-down selects the first entry and goes from there.
The documentation path for the Stacks generator.
The recognized textual templates available for interactive transformation, as a PrefixTree from template texts to expansion texts.