Revision 2192ca65
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/view/registration/StartRegistrationPresenter.java | ||
---|---|---|
31 | 31 |
import eu.etaxonomy.cdm.persistence.query.MatchMode; |
32 | 32 |
import eu.etaxonomy.cdm.ref.TypedEntityReference; |
33 | 33 |
import eu.etaxonomy.cdm.service.CdmFilterablePagingProviderFactory; |
34 |
import eu.etaxonomy.cdm.service.ReferenceLabelProvider;
|
|
34 |
import eu.etaxonomy.cdm.service.ReferenceEllypsisFormatter;
|
|
35 | 35 |
import eu.etaxonomy.cdm.service.TypifiedEntityFilterablePagingProvider; |
36 | 36 |
import eu.etaxonomy.cdm.vaadin.event.EditorActionTypeFilter; |
37 | 37 |
import eu.etaxonomy.cdm.vaadin.event.ReferenceEditorAction; |
... | ... | |
79 | 79 |
super.handleViewEntered(); |
80 | 80 |
|
81 | 81 |
referencePagingProvider = pagingProviderFactory.referenceEntityReferencePagingProvider( |
82 |
new ReferenceLabelProvider(ReferenceLabelProvider.LabelType.BIBLIOGRAPHIC),
|
|
83 |
ReferenceLabelProvider.INIT_STRATEGY
|
|
82 |
new ReferenceEllypsisFormatter(ReferenceEllypsisFormatter.LabelType.BIBLIOGRAPHIC),
|
|
83 |
ReferenceEllypsisFormatter.INIT_STRATEGY
|
|
84 | 84 |
); |
85 | 85 |
TypedEntityCaptionGenerator<Reference> titleCacheGenrator = new TypedEntityCaptionGenerator<Reference>(); |
86 | 86 |
referencePagingProvider.addRestriction(new Restriction("type", Operator.AND_NOT, null, ReferenceType.Section, ReferenceType.Journal, ReferenceType.PrintSeries)); |
Also available in: Unified diff
ref #7949 renaming ComboboxLabelProvider to EllypsisFormatter and other classes accordingly, abstract base class introduced