use of com.evolveum.midpoint.web.page.admin.configuration.component.HeaderMenuAction in project midpoint by Evolveum.
the class AbstractRoleMemberPanel method createRemoveMemberInlineMenuItems.
protected List<InlineMenuItem> createRemoveMemberInlineMenuItems() {
List<InlineMenuItem> removeMenuItems = new ArrayList<>();
removeMenuItems.add(new InlineMenuItem(createStringResource("TreeTablePanel.menu.unassignMembersSelected"), false, new HeaderMenuAction(this) {
private static final long serialVersionUID = 1L;
@Override
public void onClick(AjaxRequestTarget target) {
removeMembersPerformed(QueryScope.SELECTED, target);
}
}));
removeMenuItems.add(new InlineMenuItem(createStringResource("TreeTablePanel.menu.unassignMembersAll"), false, new HeaderMenuAction(this) {
private static final long serialVersionUID = 1L;
@Override
public void onClick(AjaxRequestTarget target) {
removeMembersPerformed(QueryScope.ALL, target);
}
}));
return removeMenuItems;
}
Aggregations