Class FocusListInlineMenuHelper<F extends FocusType>
java.lang.Object
com.evolveum.midpoint.web.component.util.FocusListInlineMenuHelper<F>
- All Implemented Interfaces:
Serializable
Provides common inline menu functionality for focal objects: enable, disable, reconcile, delete.
TODO deduplicate this functionality with the one in PageUsers
- See Also:
-
Constructor Summary
ConstructorDescriptionFocusListInlineMenuHelper
(@NotNull Class<F> objectClass, @NotNull PageBase parentPage, @NotNull MainObjectListPanel<F> focusListComponent) -
Method Summary
Modifier and TypeMethodDescriptioncreateRowActions
(Class<F> objectType) void
deleteConfirmedPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<SelectableBean<F>> selectedObject) protected org.apache.wicket.model.IModel<String>
getConfirmationMessageModel
(ColumnMenuAction<?> action, String actionName) static boolean
isObjectDisabled
(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader) static boolean
isObjectEnabled
(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader) protected boolean
isShowConfirmationDialog
(ColumnMenuAction<?> action)
-
Constructor Details
-
FocusListInlineMenuHelper
public FocusListInlineMenuHelper(@NotNull @NotNull Class<F> objectClass, @NotNull @NotNull PageBase parentPage, @NotNull @NotNull MainObjectListPanel<F> focusListComponent)
-
-
Method Details
-
createRowActions
-
deleteConfirmedPerformed
public void deleteConfirmedPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<SelectableBean<F>> selectedObject) -
isObjectEnabled
public static boolean isObjectEnabled(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader) -
isObjectDisabled
public static boolean isObjectDisabled(org.apache.wicket.model.IModel<?> rowModel, boolean isHeader) -
isShowConfirmationDialog
-
getConfirmationMessageModel
protected org.apache.wicket.model.IModel<String> getConfirmationMessageModel(ColumnMenuAction<?> action, String actionName)
-