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
FieldsFields inherited from interface FormInterceptor
SORTING_ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmodifyForm(FormBuilder formBuilder, String baseName, FormScope formScope) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
modifyFormin interfaceFormInterceptor
-