Module de.seggebaeing.sqlanalyzer
Class GenerationSettingsController
java.lang.Object
de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
de.seggebaeing.sqlanalyzer.presentation.controller.general.GenerationSettingsController
- All Implemented Interfaces:
javafx.fxml.Initializable
Controller for the Generation Settings dialog.
Provides inputs for pool size and repetition count, selectable lists for LLMs
and Prompts (incl. “select all”), persists numeric options via a shared
GenerationSettingsController.SettingsObject
, and applies choices on OK.
Intended for FXML use on the JavaFX Application Thread; includes contextual help.- Since:
- 1.0
- Author:
- Felix Seggebäing
-
Field Summary
Fields inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
Returns the fixed title for the generation settings window.void
initialize
(URL location, ResourceBundle resources) Initializes header, input fields, selectable LLM/Prompt lists (with “select all”), wires OK/Cancel actions, and enables contextual help.Methods inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
closeWindow, enableHelp, getRoot, getStage
-
Constructor Details
-
GenerationSettingsController
public GenerationSettingsController()
-
-
Method Details
-
getTitle
Returns the fixed title for the generation settings window.- Specified by:
getTitle
in classTitledInitializableWindow
- Returns:
- the string
"Generation Settings"
-
initialize
Initializes header, input fields, selectable LLM/Prompt lists (with “select all”), wires OK/Cancel actions, and enables contextual help.- Parameters:
location
- FXML location (may benull
)resources
- localization bundle (may benull
)- Implementation Note:
- Invoked by the FXML loader on the JavaFX Application Thread.
-