Widget to simplify defining of
actual widgetsWidgets and allow to manipulatet themDashboardContext is an central for dashboard related services:
WidgetFactory
WidgetRegistry
DashboardPersister
WidgetActionsFactory
Instance is being created by DashboardContextInitializer during application startup and can't be replaced.IInitializer.IComponentInstantiationListener which inject DashboardContext if a Component implemets DashboardContextAwareDashboardPersister is an service which allow to save current Dashboard and load from underling storageDashboardSettings which allows to specify set of resources for inclusion in an page headerDashboard implementation.WidgetActionsFactory which provide common actions like:
Refresh
View settings
Delete an widget from a dashboard
WidgetFactory which creates a widget by specified widget class nameWidgetRegistry implementation.DashboardContext.getDashboardPersister() insteadWidgetDescriptor by widget classWidgetDescriptor by widget typeWidgetDescriptorWidgetAction per widgetWidgetDescriptorGenericPanel to render a widget on a pageWidgetDescriptorsComponents which are being used for rendering of widget's contentDashboardPersister
Persists a dashboard in specified file.Copyright © 2025. All rights reserved.