major
nice-to-have
defect
major
enhancement
Components register their commands in ` registerCommands`.
The commands should already be known to the configuration so that the authorization tree can be determined without instantiating the components.
Code Migration
Instead of in ` registerCommands()`, commands must now be specified in the configuration. See, for example, ` EditComponent.Config`.
Component configurations must include the constant
#!java /** @see com.top_logic.basic.reflect.DefaultMethodInvoker */ Lookup LOOKUP = MethodHandles.lookup();
.
In the method
#!java
@Override
default void modifyIntrinsicCommands(CommandRegistry registry) {
super.modifyIntrinsicCommands(registry);
}
commands from the CommandHandlerFactory can be registered in the given registry.
Test
TestLayoutComponent#testIntrinsicCommands()