use of eu.esdihumboldt.hale.server.status.war.components.memory.MemoryPanel in project hale by halestudio.
the class StatusPage method addControls.
@Override
protected void addControls(boolean loggedIn) {
super.addControls(loggedIn);
List<AbstractTab> tabs = new ArrayList<AbstractTab>();
tabs.add(new AbstractTab(Model.of("Memory")) {
private static final long serialVersionUID = -8792707190741096316L;
@Override
public WebMarkupContainer getPanel(String panelId) {
return new MemoryPanel(panelId);
}
});
tabs.add(new AbstractTab(Model.of("Jobs")) {
private static final long serialVersionUID = -8792707190741096316L;
@Override
public WebMarkupContainer getPanel(String panelId) {
return new JobPanelWrapper(panelId);
}
});
add(new TabbedPanel<AbstractTab>("tabs", tabs));
}
Aggregations