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.registration;
|
10
|
|
11
|
import java.util.UUID;
|
12
|
|
13
|
import com.vaadin.ui.CssLayout;
|
14
|
|
15
|
import eu.etaxonomy.cdm.vaadin.presenter.registration.RegistrationType;
|
16
|
import eu.etaxonomy.vaadin.mvp.ApplicationView;
|
17
|
|
18
|
/**
|
19
|
* @author a.kohlbecker
|
20
|
* @since Mar 3, 2017
|
21
|
*
|
22
|
*/
|
23
|
public interface RegistrationWorkflowView extends ApplicationView{
|
24
|
|
25
|
|
26
|
CssLayout getWorkflow();
|
27
|
|
28
|
|
29
|
/**
|
30
|
* Open a popup editor for an existing TaxonName if the nameUuid is
|
31
|
* given otherwise a blank editor will open if the nameUuid is null.
|
32
|
*
|
33
|
* @param nameUuid can be null
|
34
|
*/
|
35
|
void openNameEditor(UUID nameUuid);
|
36
|
|
37
|
/**
|
38
|
* Open a popup editor for an existing Reference if the referenceUuid is
|
39
|
* given otherwise a blank editor will open if the referenceUuid is null.
|
40
|
*
|
41
|
* @param referenceUuid can be null
|
42
|
*/
|
43
|
void openReferenceEditor(UUID referenceUuid);
|
44
|
|
45
|
public void makeWorflow(RegistrationType type);
|
46
|
|
47
|
|
48
|
/**
|
49
|
* @param subheaderText
|
50
|
*/
|
51
|
void setSubheaderText(String subheaderText);
|
52
|
|
53
|
/**
|
54
|
* @param subheaderText
|
55
|
*/
|
56
|
void setHeaderText(String subheaderText);
|
57
|
|
58
|
|
59
|
|
60
|
}
|