Package io.jmix.uidata.settings
Class PresentationsManagerImpl
java.lang.Object
io.jmix.uidata.settings.PresentationsManagerImpl
- All Implemented Interfaces:
PresentationsManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefaultPresentation
(Collection<Component> components) Applies default presentation to a component if it exists.void
commitPresentations
(Collection<Component> components) Commits presentation changes.void
setupDefaultSettings
(Collection<Component> components) Sets settings with an initial state to a component.
-
Field Details
-
settingsRegistry
-
-
Constructor Details
-
PresentationsManagerImpl
-
-
Method Details
-
setupDefaultSettings
Description copied from interface:PresentationsManager
Sets settings with an initial state to a component. These settings contains initial state of a component before applying last saved settings or presentation settings.- Specified by:
setupDefaultSettings
in interfacePresentationsManager
- Parameters:
components
- components to set default settings
-
applyDefaultPresentation
Description copied from interface:PresentationsManager
Applies default presentation to a component if it exists.- Specified by:
applyDefaultPresentation
in interfacePresentationsManager
- Parameters:
components
- components to apply default presentation
-
commitPresentations
Description copied from interface:PresentationsManager
Commits presentation changes.- Specified by:
commitPresentations
in interfacePresentationsManager
- Parameters:
components
- components that should commit presentation changes
-