Class MenuPlacementPreconditions
java.lang.Object
io.jmix.dynmodelai.modelchange.impl.MenuPlacementPreconditions
Checks whether a menu placement is allowed before changing the model definition.
Shared by proposed plans and executable Draft operations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StringgetIssue(DynamicModelDefinition model, @Nullable MenuProjection projection, String viewId, String parentMenu, @Nullable String insertBefore, Messages messages) Returns a localized refusal reason, ornullwhen the requested placement is allowed.
-
Field Details
-
DYNAMIC_MODEL_MENU
- See Also:
-
-
Method Details
-
getIssue
public static @Nullable String getIssue(DynamicModelDefinition model, @Nullable MenuProjection projection, String viewId, String parentMenu, @Nullable String insertBefore, Messages messages) Returns a localized refusal reason, ornullwhen the requested placement is allowed.
-