Class RemoveEmptyActionGroupInterceptor
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.interceptors.RemoveEmptyActionGroupInterceptor
- All Implemented Interfaces:
FormInterceptor
@Component
@Order(2147483647)
public class RemoveEmptyActionGroupInterceptor
extends Object
implements FormInterceptor
Remove empty action groups as we remove the selection (in the frontend) if there is no main action bar.
Possibly such a group contained a placeholder action removed by
RemovePlaceholderInterceptor
.
This interceptor runs last.-
Field Summary
Fields inherited from interface ch.tocco.nice2.model.form.api.form2.FormInterceptor
SORTING_ORDER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyForm
(FormBuilder formBuilder, String baseName, FormScope formScope) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.FormInterceptor
getActionGroupBuilder, getActionGroupBuilder, getActionsActionGroupBuilder, getCreateCopyActionGroupBuilder, getOutputActionGroupBuilder
-
Field Details
-
ORDER
public static final int ORDER- See Also:
-
-
Constructor Details
-
RemoveEmptyActionGroupInterceptor
public RemoveEmptyActionGroupInterceptor()
-
-
Method Details
-
modifyForm
- Specified by:
modifyForm
in interfaceFormInterceptor
-