Revision 73984434
Added by Andreas Kohlbecker about 6 years ago
- ID 739844349fa94d49455288671711f0217ddc8204
- Parent 51d6bc3c
src/main/java/eu/etaxonomy/cdm/vaadin/component/registration/RegistrationItemEditButtonGroup.java | ||
---|---|---|
12 | 12 |
import java.util.EnumSet; |
13 | 13 |
import java.util.List; |
14 | 14 |
|
15 |
import org.apache.log4j.Logger; |
|
16 |
|
|
15 | 17 |
import com.vaadin.server.ExternalResource; |
16 | 18 |
import com.vaadin.server.FontAwesome; |
17 | 19 |
import com.vaadin.ui.Button; |
... | ... | |
39 | 41 |
*/ |
40 | 42 |
public class RegistrationItemEditButtonGroup extends CompositeStyledComponent { |
41 | 43 |
|
44 |
private final static Logger logger = Logger.getLogger(RegistrationItemEditButtonGroup.class); |
|
45 |
|
|
42 | 46 |
|
43 |
/** |
|
44 |
* |
|
45 |
*/ |
|
46 | 47 |
private static final String DEFAULT_BUTTON_STYLES = ""; |
47 | 48 |
|
48 | 49 |
private static final long serialVersionUID = -5059163772392864050L; |
... | ... | |
92 | 93 |
if(regDto.getOrderdTypeDesignationWorkingSets() != null){ |
93 | 94 |
for(TypedEntityReference<TypeDesignationBase<?>> baseEntityRef : regDto.getOrderdTypeDesignationWorkingSets().keySet()) { |
94 | 95 |
TypeDesignationWorkingSet typeDesignationWorkingSet = regDto.getOrderdTypeDesignationWorkingSets().get(baseEntityRef); |
96 |
logger.debug("WorkingSet:" + typeDesignationWorkingSet.getWorkingsetType() + "#" + typeDesignationWorkingSet.getWorkingSetId()); |
|
95 | 97 |
String buttonLabel = SpecimenOrObservationBase.class.isAssignableFrom(baseEntityRef.getType()) ? "Type": "NameType"; |
96 | 98 |
Button tdButton = new Button(buttonLabel + ":"); |
97 | 99 |
tdButton.setDescription("Edit the type designation working set"); |
Also available in: Unified diff
#6740 service methods to load NameTypeDesignations for Registrations