cdm-vaadin/src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/NoCommitFieldGroup.java @ 55788d53
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.distributionStatus; |
10 |
|
11 |
import com.vaadin.data.fieldgroup.FieldGroup; |
12 |
|
13 |
/**
|
14 |
* Field group that might be used for vaadin grid
|
15 |
* instantiation of the distribution status editor.
|
16 |
*
|
17 |
* @author freimeier
|
18 |
* @since 18.10.2017
|
19 |
*
|
20 |
*/
|
21 |
public class NoCommitFieldGroup extends FieldGroup{ |
22 |
|
23 |
private static final long serialVersionUID = -1666206997756640330L; |
24 |
|
25 |
/**
|
26 |
*
|
27 |
* {@inheritDoc}
|
28 |
*/
|
29 |
@Override
|
30 |
public boolean isReadOnly() { |
31 |
return false; |
32 |
}
|
33 |
|
34 |
/**
|
35 |
*
|
36 |
* {@inheritDoc}
|
37 |
*/
|
38 |
@Override
|
39 |
public void commit() {} |
40 |
}
|
- « Previous
- 1
- 2
- 3
- 4
- Next »