Class DynamicViewHandlerSuggestionProvider

java.lang.Object
io.jmix.dynmodelflowui.impl.DynamicViewHandlerSuggestionProvider

@Component("dynmod_DynamicViewHandlerSuggestionProvider") public class DynamicViewHandlerSuggestionProvider extends Object
Provides code completion for a dynamic view behavior handler expression, in the role JpqlUiSuggestionProvider plays for JPQL queries. Used by the Admin UI handler editor as the Suggester of its expression editor.

What is offered depends on where the cursor stands, as classified by DynamicViewHandlerExpressionParser: the sandbox API at the root and after a dot, and the values valid in the slot when the cursor is inside a string argument — component ids for the components facade, operation names for services.call, and the view's handler names for the follow-up of dialogs.confirm. Keys of the state facade are invented by the expression author, so nothing is offered for them.

The typed prefix is not filtered here; the code editor filters the returned options client-side, the same way it does for JPQL.