use of com.evolveum.midpoint.web.page.admin.valuePolicy.component.ValuePolicyBasicPanel in project midpoint by Evolveum.
the class PageValuePolicy method initTabs.
private void initTabs(MidpointForm mainForm) {
List<ITab> tabs = new ArrayList<>();
PageBase baseParameter = this;
tabs.add(new AbstractTab(createStringResource("PageValuePolicy.basic")) {
@Override
public WebMarkupContainer getPanel(String panelId) {
return new ValuePolicyBasicPanel(panelId, valuePolicyModel);
}
});
// tabs.add(new AbstractTab(createStringResource("PageValuePolicy.stringPolicy")) {
// @Override
// public WebMarkupContainer getPanel(String panelId) {
// return new ValuePolicyStringPoliciesPanel(panelId,mainForm,valuePolicyModel,baseParameter);
// }
// });
TabbedPanel tabPanel = WebComponentUtil.createTabPanel(ID_TAB_PANEL, this, tabs, null);
mainForm.add(tabPanel);
}
Aggregations