public class ClientPluginHelper extends AbstractClientHelper implements PreloadL10nCacheFinishedListenerI, L10nLocaleChangeListenerI
Manages the active collection of ClientPluginI instances, propagates runtime events
(such as locale mutations and preload completions), drives plugin-specific action re-registrations
on the EDT, and collects shutdown vetoes during client termination.
| Constructor and Description |
|---|
ClientPluginHelper(Client _client)
Constructs a new plugin helper bound to client context, user profile settings, and dialog services.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientCloseVetos()
Queries all active plugins for reasons to prevent closing the client application.
|
java.util.List<ClientPluginI> |
getPlugins()
Returns an unmodifiable view of all currently registered client plugins.
|
void |
initPluginActionsOnEDT()
Triggers action re-registration on the EDT across all active plugins.
|
void |
processLocaleChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
Propagates a locale change notification across all active plugins.
|
void |
processPreloadFinished(java.util.Locale lc)
Notifies all active plugins that client resource preloading has completed for a given locale.
|
void |
refreshPluginActions(boolean sync)
Refreshes action enablement and state across all plugins on the EDT.
|
void |
tryCleanupBeforeClose()
Executes pre-shutdown cleanup routines across all active plugins before client termination.
|
clientpublic ClientPluginHelper(Client _client)
_ctx - client runtime contextpublic java.util.List<ClientPluginI> getPlugins()
ClientPluginI instancespublic void processLocaleChanged(java.util.Locale oldLocale,
java.util.Locale newLocale)
processLocaleChanged in interface L10nLocaleChangeListenerIoldLocale - previous client localenewLocale - newly activated client localepublic void processPreloadFinished(java.util.Locale lc)
processPreloadFinished in interface PreloadL10nCacheFinishedListenerIlc - locale for which preloading has finishedpublic void initPluginActionsOnEDT()
public void refreshPluginActions(boolean sync)
sync - true to wait synchronously for EDT execution; false to schedule asynchronouslypublic void tryCleanupBeforeClose()
public java.lang.String getClientCloseVetos()
Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.