Module de.seggebaeing.sqlanalyzer
Class LLMOverviewController
java.lang.Object
de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
de.seggebaeing.sqlanalyzer.presentation.uielements.window.BDOWindow<LLM>
de.seggebaeing.sqlanalyzer.presentation.uielements.window.OverviewWindow<LLM>
de.seggebaeing.sqlanalyzer.presentation.controller.overview.LLMOverviewController
- All Implemented Interfaces:
javafx.fxml.Initializable
Overview window controller for
LLM
entries.
Extends OverviewWindow
to provide
list/display, filtering (by API and name), and an “Add” action that opens
a new LLM details view. Supports an optional external filter via constructor
and wires contextual help for the overview.- Since:
- 1.0
- Author:
- Felix Seggebäing
-
Field Summary
Fields inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.OverviewWindow
listView
Fields inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.BDOWindow
headerLabel, refreshBtn
Fields inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
root
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an overview without an external filter.LLMOverviewController
(Predicate<LLM> filter) Creates an overview with the given external filter applied initially. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addItem()
Opens the details view to add a newLLM
.protected BDOService
<LLM> Returns the service used to load and persist LLM objects.getTitle()
Returns the fixed title for the LLM overview.void
initialize
(URL location, ResourceBundle resources) Initializes base overview behavior, installs LLM-specific filters, and enables the overview help link.Methods inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.OverviewWindow
addObjectFilter, addStringFilter, refresh
Methods inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.BDOWindow
requestDeletion, setHeaderText
Methods inherited from class de.seggebaeing.sqlanalyzer.presentation.uielements.window.TitledInitializableWindow
closeWindow, enableHelp, getRoot, getStage
-
Constructor Details
-
LLMOverviewController
public LLMOverviewController()Creates an overview without an external filter. Intended for default FXML construction. -
LLMOverviewController
Creates an overview with the given external filter applied initially.- Parameters:
filter
- predicate to pre-filter listed models; may benull
-
-
Method Details
-
initialize
Initializes base overview behavior, installs LLM-specific filters, and enables the overview help link.- Specified by:
initialize
in interfacejavafx.fxml.Initializable
- Overrides:
initialize
in classOverviewWindow<LLM>
- Parameters:
location
- FXML location (may benull
)resources
- localization bundle (may benull
)- Implementation Note:
- Invoked by the FXML loader on the JavaFX Application Thread.
-
addItem
protected void addItem()Opens the details view to add a newLLM
.- Specified by:
addItem
in classOverviewWindow<LLM>
-
getService
Returns the service used to load and persist LLM objects.- Specified by:
getService
in classBDOWindow<LLM>
- Returns:
- the
LLMService
instance
-
getTitle
Returns the fixed title for the LLM overview.- Specified by:
getTitle
in classTitledInitializableWindow
- Returns:
- the string
"Large language models"
-