use of org.apache.syncope.client.console.notifications.NotificationDirectoryPanel in project syncope by apache.
the class Notifications method buildTabList.
private List<ITab> buildTabList() {
final List<ITab> tabs = new ArrayList<>();
tabs.add(new AbstractTab(new ResourceModel("notifications")) {
private static final long serialVersionUID = -6815067322125799251L;
@Override
public Panel getPanel(final String panelId) {
return new NotificationDirectoryPanel(panelId, getPageReference());
}
});
tabs.add(new AbstractTab(new ResourceModel("notification.templates")) {
private static final long serialVersionUID = -6815067322125799251L;
@Override
public Panel getPanel(final String panelId) {
return new MailTemplateDirectoryPanel(panelId, getPageReference());
}
});
return tabs;
}
Aggregations