Revision ae6dd647
Added by Andreas Müller almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/association/DerivedUnitTypeDesignationElement.java | ||
---|---|---|
29 | 29 |
/** |
30 | 30 |
* @author n.hoffmann |
31 | 31 |
* @created May 17, 2010 |
32 |
* @version 1.0 |
|
33 | 32 |
*/ |
34 | 33 |
public class DerivedUnitTypeDesignationElement extends AbstractTypeDesignationElement<SpecimenTypeDesignation> { |
35 | 34 |
|
36 | 35 |
private TermComboElement<SpecimenTypeDesignationStatus> combo_typeStatus; |
37 | 36 |
|
38 |
private List<EntitySelectionElement<TaxonNameBase>> selectionTaxonNames; |
|
37 |
// private List<EntitySelectionElement<TaxonNameBase>> selectionTaxonNames;
|
|
39 | 38 |
private ICdmFormElement parentFormElement; |
40 | 39 |
private int style; |
41 | 40 |
|
... | ... | |
58 | 57 |
formFactory.createLabel(getLayoutComposite(), "!!!!!!!!"); |
59 | 58 |
} |
60 | 59 |
|
61 |
SpecimenTypeDesignationStatus typeStatus = (SpecimenTypeDesignationStatus) HibernateProxyHelper
|
|
62 |
.deproxy(entity.getTypeStatus());
|
|
60 |
SpecimenTypeDesignationStatus typeStatus = HibernateProxyHelper |
|
61 |
.deproxy(entity.getTypeStatus());
|
|
63 | 62 |
combo_typeStatus.setSelection(typeStatus); |
64 | 63 |
checkbox_notDesignated.setSelection(entity.isNotDesignated()); |
65 | 64 |
|
Also available in: Unified diff
try to fix Class Cast Exception in DerivedUnitTypeDesignationElement