use of com.evolveum.midpoint.web.application.SimpleCounter in project midpoint by Evolveum.
the class DetailsNavigationPanel method getCounterProvider.
private SimpleCounter<ObjectDetailsModels<O>, O> getCounterProvider(IModel<ContainerPanelConfigurationType> panelModel) {
ContainerPanelConfigurationType config = panelModel.getObject();
String panelInstanceIdentifier = config.getIdentifier();
SimpleCounter<ObjectDetailsModels<O>, O> counter = getPageBase().getCounterProvider(panelInstanceIdentifier);
if (counter == null || counter.getClass().equals(SimpleCounter.class)) {
return null;
}
return counter;
}
Aggregations