Package com.ganteater.ae.desktop
package com.ganteater.ae.desktop
Swing-based desktop front end for Anteater Engine (AE).
This package contains the application entry point and the runtime glue that connects the core AE engine to a Swing user interface. It is responsible for launching the desktop UI, adapting engine interactions (inputs, confirmations, file selection) to Swing dialogs, and running recipes while reporting progress and failures via UI components.
Responsibilities
- Launch the desktop application and optionally delegate to console execution.
- Provide an
AEWorkspaceimplementation that bridges engine prompts and Swing dialogs. - Run recipes from the UI and surface errors and progress updates in the desktop experience.
- Define small UI-facing enums used for frame styling and dialog categorization.
Key types
-
Anteater- Application entry point. Starts the Swing UI (for example by creating anAEFrame) or delegates toRecipeRunnerwhen started in console mode. -
DesktopWorkspace-AEWorkspaceimplementation that connects the engine to the desktop UI: configuration selection, variable/input dialogs, confirmations/messages, and progress updates. -
WorkPlace- Desktop-orientedRecipeRunnersubclass used by the UI to execute recipes and present failures through Swing components. -
FrameStyleandInputDialogType- Small enums used by the UI/workspace layer for window styling and prompt/checkpoint categorization.
Usage
Launch the desktop application by passing one or more recipe files as command-line arguments.
// Start the desktop UI and run recipes
com.ganteater.ae.desktop.Anteater.main("path/to/recipe.xml", "path/to/another-recipe.xml");
To use the same entry point in console mode, provide /console as the first argument.
// Run using the console runner via the same entry point
com.ganteater.ae.desktop.Anteater.main("/console", "path/to/recipe.xml");
-
ClassDescriptionViktor_Tovstyi Date: Sep 7, 2006 Time: 10:24:58 AM