Revision c33e979b
Added by Andreas Kohlbecker about 7 years ago
src/main/java/eu/etaxonomy/vaadin/mvp/AbstractPresenter.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.util.logging.Logger; |
4 | 4 |
|
5 |
import org.springframework.beans.factory.annotation.Autowired; |
|
6 |
|
|
5 | 7 |
import com.vaadin.spring.annotation.SpringComponent; |
6 | 8 |
|
9 |
import eu.etaxonomy.cdm.api.application.CdmRepository; |
|
10 |
|
|
7 | 11 |
/** |
8 | 12 |
* AbstractPresenter is the base class of all presenter components. Presenter's |
9 | 13 |
* role is to govern the view and control the complex UI logic based on |
... | ... | |
19 | 23 |
|
20 | 24 |
private V view; |
21 | 25 |
|
26 |
@Autowired |
|
27 |
private CdmRepository repo; |
|
28 |
|
|
22 | 29 |
protected V getView() { |
23 | 30 |
return view; |
24 | 31 |
} |
Also available in: Unified diff
ref #6169 preparing for opening name editor