use of com.evolveum.midpoint.web.page.admin.orgs.OrgTreeAssignablePanel in project midpoint by Evolveum.
the class TreeTablePanel method moveRootPerformed.
private void moveRootPerformed(final TreeSelectableBean<OrgType> root, AjaxRequestTarget target) {
OrgTreeAssignablePanel orgAssignablePanel = new OrgTreeAssignablePanel(parentPage.getMainPopupBodyId(), false) {
private static final long serialVersionUID = 1L;
@Override
protected void onItemSelect(SelectableBeanImpl<OrgType> selected, AjaxRequestTarget target) {
moveConfirmPerformed(root, selected, target);
}
@SuppressWarnings("unchecked")
@Override
protected OrgType getAssignmentOwnerObject() {
return root.getValue();
}
};
orgAssignablePanel.setOutputMarkupId(true);
parentPage.showMainPopup(orgAssignablePanel, target);
}
Aggregations