class IncidentListPresenter extends RecordListPresenter {

    @Override
    public int calculateDisplayedIndex() {
        List<Incident> incidents = incidentService.getAll();
        return incidents.isEmpty() ? HAVE_NO_RESULT : HAVE_RESULT_LIST;
    }

    @Inject public  IncidentListPresenter(IncidentService incidentService, IncidentFormService
            incidentFormService, RecordService recordService);

}