Search in sources :

Example 1 with CoreLogPanel

use of org.apache.syncope.client.console.panels.CoreLogPanel in project syncope by apache.

the class Logs method buildTabList.

private List<ITab> buildTabList() {
    final List<ITab> tabs = new ArrayList<>(2);
    tabs.add(new AbstractTab(new Model<>("Core")) {

        private static final long serialVersionUID = -6815067322125799251L;

        @Override
        public Panel getPanel(final String panelId) {
            return new CoreLogPanel(panelId, getPageReference());
        }
    });
    tabs.add(new AbstractTab(new Model<>("Console")) {

        private static final long serialVersionUID = -6815067322125799251L;

        @Override
        public Panel getPanel(final String panelId) {
            return new ConsoleLogPanel(panelId, getPageReference());
        }
    });
    return tabs;
}
Also used : Panel(org.apache.wicket.markup.html.panel.Panel) ConsoleLogPanel(org.apache.syncope.client.console.panels.ConsoleLogPanel) CoreLogPanel(org.apache.syncope.client.console.panels.CoreLogPanel) AjaxBootstrapTabbedPanel(de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel) ArrayList(java.util.ArrayList) Model(org.apache.wicket.model.Model) AbstractTab(org.apache.wicket.extensions.markup.html.tabs.AbstractTab) ConsoleLogPanel(org.apache.syncope.client.console.panels.ConsoleLogPanel) ITab(org.apache.wicket.extensions.markup.html.tabs.ITab) CoreLogPanel(org.apache.syncope.client.console.panels.CoreLogPanel)

Aggregations

AjaxBootstrapTabbedPanel (de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel)1 ArrayList (java.util.ArrayList)1 ConsoleLogPanel (org.apache.syncope.client.console.panels.ConsoleLogPanel)1 CoreLogPanel (org.apache.syncope.client.console.panels.CoreLogPanel)1 AbstractTab (org.apache.wicket.extensions.markup.html.tabs.AbstractTab)1 ITab (org.apache.wicket.extensions.markup.html.tabs.ITab)1 Panel (org.apache.wicket.markup.html.panel.Panel)1 Model (org.apache.wicket.model.Model)1