1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.vaadin.view.phycobank;
|
10
|
|
11
|
import org.springframework.beans.factory.annotation.Autowired;
|
12
|
import org.springframework.context.ApplicationEventPublisher;
|
13
|
|
14
|
import com.vaadin.navigator.View;
|
15
|
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
|
16
|
import com.vaadin.spring.annotation.SpringView;
|
17
|
|
18
|
import eu.etaxonomy.cdm.vaadin.design.phycobank.StartRegistrationDesign;
|
19
|
import eu.etaxonomy.vaadin.ui.navigation.NavigationEvent;
|
20
|
|
21
|
/**
|
22
|
* @author a.kohlbecker
|
23
|
* @since Mar 2, 2017
|
24
|
*
|
25
|
*/
|
26
|
@SpringView(name=StartRegistrationView.NAME)
|
27
|
public class StartRegistrationView extends StartRegistrationDesign implements View {
|
28
|
|
29
|
private static final long serialVersionUID = -213040114015958970L;
|
30
|
|
31
|
public static final String NAME = "regStart";
|
32
|
|
33
|
@Autowired
|
34
|
ApplicationEventPublisher eventBus;
|
35
|
|
36
|
public StartRegistrationView() {
|
37
|
buttonName.addClickListener(e -> new NavigationEvent(RegistrationWorkflowView.NAME));
|
38
|
}
|
39
|
|
40
|
/**
|
41
|
* {@inheritDoc}
|
42
|
*/
|
43
|
@Override
|
44
|
public void enter(ViewChangeEvent event) {
|
45
|
|
46
|
}
|
47
|
|
48
|
}
|