Package com.mcawful
Class CustomPanelManifestRegistry
java.lang.Object
com.mcawful.CustomPanelManifestRegistry
Runtime index built from merged custom-panel manifests so
PanelUserHandler
can resolve INIDB tables and Rhino scriptPath values to a stock panel section (games,
extra, etc.) without hard-coding community module names.
Rebuilt whenever CustomPanelManifestCollector produces a new merged manifest. Nav-only
modules that keep settings in bespoke panel JS (no manifest settingsModal) rely on the
panel sending section from nav.section on websocket messages.
- Author:
- mcawful
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringpanelSectionForScript(String scriptPath) static StringpanelSectionForTable(String table)
-
Method Details
-
panelSectionForTable
- Parameters:
table- INIDB table name from a panel DB request- Returns:
- panel section to check, or
nullif unknown to custom manifests
-
panelSectionForScript
- Parameters:
scriptPath- Rhino script path from a panel command or socket event- Returns:
- panel section to check, or
nullif unknown to custom manifests
-