Project

General

Profile

Download (938 Bytes) Statistics
| Branch: | Tag: | Revision:
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.component.phycobank;
10

    
11
import com.vaadin.ui.Button.ClickListener;
12

    
13
import eu.etaxonomy.cdm.vaadin.design.phycobank.WorkflowStepsDesign;
14

    
15
/**
16
 * @author a.kohlbecker
17
 * @since Mar 10, 2017
18
 *
19
 */
20
public class WorkflowSteps extends WorkflowStepsDesign {
21

    
22
    /**
23
     *
24
     */
25
    public WorkflowSteps() {
26
        // TODO Auto-generated constructor stub
27
    }
28

    
29
    public void appendWorkflowItem(WorkflowItem item){
30
        this.steps.addComponent(item);
31
    }
32

    
33
    public void appendNewWorkflowItem(int stepIndex, String caption, ClickListener listener){
34
        this.steps.addComponent(new WorkflowItem(stepIndex, caption, listener));
35
    }
36

    
37
}
(3-3/3)