Major
Nice to have
Bugfix
Major
Enhancement
CommandModelConfiguration has the same problem as ViewConfiguration. Same solution applicable, see #22882.
Further improvement
A configurable utility extracted from AbstractCommandModelConfiguration allows to apply a view configuration to an existing CommandModel:
#!java class CommandModelCustomization { void customizeCommandModel(CommandModel model) {...} }
Code migration
Instead of
#!java void createCommandModel(LayoutComponent aLayoutComponent); CommandModel getCommandModel();
directly
#!java CommandModel createCommandModel(LayoutComponent aLayoutComponent);
implement.
Test
Refactoring, no additional test.