Package avail.anvil.actions

Types

Link copied to clipboard
class AboutAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

An AboutAction presents the "About Avail" dialog.

Link copied to clipboard
abstract class AbstractWorkbenchAction(    val workbench: AvailWorkbench,     name: String,     keyStroke: KeyStroke? = null,     rootPane: JRootPane = workbench.rootPane) : AbstractAction

An abstraction for all the workbench's actions.

Link copied to clipboard
class BuildAction(val workbench: AvailWorkbench, forEntryPointModule: Boolean) : AbstractWorkbenchAction

A BuildAction launches a build task in a Swing worker thread.

Link copied to clipboard
class CancelAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A CancelAction cancels a background build task.

Link copied to clipboard
class CleanAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A CleanAction empties all compiled module repositories.

Link copied to clipboard
class CleanModuleAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A CleanModuleAction removes from the repository file all compiled versions of the selected module. If a package or root is selected, this is done for all modules within it.

Link copied to clipboard
class ClearTranscriptAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ClearTranscriptAction clears the AvailWorkbench's transcript.

Link copied to clipboard
class CreateProgramAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A CreateProgramAction produces a program file that can be executed separately from the workbench environment.

Link copied to clipboard
class DebugAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

The DebugAction opens a debugger on all extant Avail fibers.

Link copied to clipboard
class ExamineCompilationAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ExamineCompilationAction presents information about a specific compilation of the selected module.

Link copied to clipboard
class ExamineModuleManifest(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ExamineModuleManifest presents information about a specific compilation of the selected module.

Link copied to clipboard
class ExamineRepositoryAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ExamineRepositoryAction presents information about the content of the Repository of the currently selected module root.

Link copied to clipboard
class ExamineSerializedPhrasesAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ExamineSerializedPhrasesAction presents information about the block phrases that were captured separately (but with a pumping dependence) from a specific compilation of the selected module.

Link copied to clipboard
class ExamineStylingAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

An ExamineStylingAction presents information about the styling that was produced for a selected compilation.

Link copied to clipboard
class FindAction(val workbench: AvailWorkbench, val frame: JFrame) : AbstractWorkbenchAction

A FindAction presents the Find/Replace window for the supplied JTextPane.

Link copied to clipboard
class GenerateDocumentationAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A GenerateDocumentationAction instructs the Avail builder to recursively generate Stacks documentation.

Link copied to clipboard
class GenerateGraphAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A GenerateGraphAction instructs the Avail builder to generate a graphical representation of the selected module's dependencies.

Link copied to clipboard
class InsertEntryPointAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

An InsertEntryPointAction inserts a string based on the currently selected entry point into the user input field.

Link copied to clipboard
class NewModuleAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

Create a new module and open an editor on it.

Link copied to clipboard
class OpenModuleAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

Open an editor on the selected module.

Link copied to clipboard
class ParserIntegrityCheckAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ParserIntegrityCheckAction checks critical data structures used by the AvailCompiler.

Link copied to clipboard
class PreferencesAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A PreferencesAction presents the preferences dialog.

Link copied to clipboard
class RefreshAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A RefreshAction updates the module tree with new information from the filesystem.

Link copied to clipboard
class ResetCCReportDataAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A ResetCCReportDataAction clears code coverage information obtained from running.

Link copied to clipboard
class ResetVMReportDataAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ResetVMReportDataAction clears performance information obtained from running.

Link copied to clipboard
class RetrieveNextCommand(val workbench: AvailWorkbench) : AbstractWorkbenchAction

Retrieve the earliest executed command, or if this action has been performed already, retrieve the command after the one most recently shown. If the latest command is reached, clear the command line and wrap around on the next retrieval.

Link copied to clipboard
class RetrievePreviousCommand(val workbench: AvailWorkbench) : AbstractWorkbenchAction

Retrieve the most recently executed command, or if this action has been performed already, retrieve the command before the one most recently shown. If the earliest command is passed, clear the command line and wrap around on the next retrieval.

Link copied to clipboard
class SearchOpenModuleDialogAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

Open a dialog to search for modules to be opened.

Link copied to clipboard
class SetDocumentationPathAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A SetDocumentationPathAction displays a modal dialog that prompts the user for the Stacks documentation path.

Link copied to clipboard
class ShowCCReportAction(val workbench: AvailWorkbench, runtime: AvailRuntime) : AbstractWorkbenchAction

A DisplayCodeCoverageReportAction instructs the Avail builder to display the code coverage report.

Link copied to clipboard
class ShowVMReportAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ReportAction dumps performance information obtained from running.

Link copied to clipboard
class SubmitInputAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A SubmitInputAction sends a line of text from the input field to standard input.

Link copied to clipboard
class ToggleDebugAfterUnload(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugAfterUnload toggles the flag that indicates whether to trace objects after each module unload, to determine if the module is still accessible from the AvailRuntime to write debug information about primitive execution to the transcript.

Link copied to clipboard
class ToggleDebugInterpreterL1(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugInterpreterL1 toggles the flag that indicates whether to write debug information about Level One nybblecode execution to the transcript.

Link copied to clipboard
class ToggleDebugInterpreterL2(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugInterpreterL2 toggles the flag that indicates whether to write debug information about Level Two execution to the transcript.

Link copied to clipboard
class ToggleDebugInterpreterPrimitives(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugInterpreterPrimitives toggles the flag that indicates whether to write debug information about primitive execution to the transcript.

Link copied to clipboard
class ToggleDebugJVM(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugJVM toggles the flag that indicates whether enable debugging support for JVM translation.

Link copied to clipboard
class ToggleDebugJVMCodeGeneration(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugJVMCodeGeneration toggles the flag that indicates whether enable deep code generation debugging support for JVM translation.

Link copied to clipboard
class ToggleDebugWorkUnits(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleDebugWorkUnits toggles the flag that indicates whether to write debug information about queued and executed work units to the transcript.

Link copied to clipboard
class ToggleFastLoaderAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleFastLoaderAction toggles the flag that indicates whether to attempt to rewrite some top-level statements into a faster form during module compilation.

Link copied to clipboard
class ToggleL2SanityCheck(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A ToggleL2SanityCheck toggles the flag that indicates whether enable debugging support for JVM translation.

Link copied to clipboard
class TraceCompilerAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A TraceCompilerAction toggles the flag that indicates whether to show detailed compiler traces.

Link copied to clipboard
class TraceLoadedStatementsAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A TraceLoadedStatementsAction toggles the flag that indicates whether to show each top-level statement prior to running it, whether during compilation or when loading a pre-compiled module.

Link copied to clipboard
class TraceMacrosAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A TraceMacrosAction toggles the flag that indicates whether to show macro expansions as they happen during compilation.

Link copied to clipboard
class TraceStylingAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A TraceStylingAction toggles the flag that indicates whether to show detailed styling traces.

Link copied to clipboard
class TraceSummarizeStatementsAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

A TraceSummarizeStatementsAction toggles the flag that indicates whether to show information about how statements are rewritten as fast-load summaries.

Link copied to clipboard
class UnloadAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

An UnloadAction launches an unload task in a Swing worker thread.

Link copied to clipboard
class UnloadAllAction(val workbench: AvailWorkbench) : AbstractWorkbenchAction

An UnloadAllAction launches an unload task (with null specified as the module to unload) in a Swing worker thread.