major
nice-to-have
defect
major
enhancement
CommandModelConfiguration has the same problem as ViewConfiguration. The same solution applies; see #22882.
Further improvement
A configurable utility extracted from ` AbstractCommandModelConfiguration ` allows a view configuration to be applied 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);
.
Test
Refactoring, no additional test.