Revision cbc54d4e
Added by Andreas Müller almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/media/MediaSpecimenGeneralDetailElement.java | ||
---|---|---|
39 | 39 |
/** |
40 | 40 |
* @author pplitzner |
41 | 41 |
* @date 16.12.2013 |
42 |
* |
|
43 | 42 |
*/ |
44 | 43 |
public class MediaSpecimenGeneralDetailElement extends AbstractCdmDetailElement<DerivedUnitFacade> implements ITogglableMediaElement{ |
45 | 44 |
|
46 |
private final TermVocabulary mediaSpecimenVocabulary = CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.MediaSpecimenKindOfUnit.getUuid()); |
|
45 |
private final TermVocabulary<?> mediaSpecimenVocabulary = CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.MediaSpecimenKindOfUnit.getUuid());
|
|
47 | 46 |
|
48 | 47 |
private TermComboElement<DefinedTerm> comboKindOfUnit; |
49 | 48 |
private LanguageStringWithLabelElement textTitleLanguageString; |
... | ... | |
57 | 56 |
private CheckboxElement checkIsPublish; |
58 | 57 |
|
59 | 58 |
private MediaDetailElement mediaDetailElement; |
60 |
/** |
|
61 |
* @param formFactory |
|
62 |
* @param formElement |
|
63 |
*/ |
|
59 |
|
|
64 | 60 |
public MediaSpecimenGeneralDetailElement(CdmFormFactory formFactory, ICdmFormElement formElement) { |
65 | 61 |
super(formFactory, formElement); |
66 | 62 |
} |
... | ... | |
93 | 89 |
// spacer.setBackground(getPersistentBackground()); |
94 | 90 |
LabelElement label2 = formFactory.createLabel(formElement, ""); |
95 | 91 |
|
96 |
selection_collection = formFactory.createSelectionElement(Collection.class,// getConversationHolder(),
|
|
92 |
selection_collection = formFactory.createSelectionElement(Collection.class, |
|
97 | 93 |
formElement, "Collection", entity.getCollection(), EntitySelectionElement.ALL, style); |
98 | 94 |
text_accessionNumber = formFactory.createTextWithLabelElement(formElement, "Accession Number", entity.getAccessionNumber(), style); |
99 | 95 |
|
... | ... | |
108 | 104 |
break; |
109 | 105 |
} |
110 | 106 |
} |
111 |
selection_publishedIn = formFactory.createSelectionElement(Reference.class, //getConversationHolder(),
|
|
107 |
selection_publishedIn = formFactory.createSelectionElement(Reference.class, |
|
112 | 108 |
formElement, "Published in", publishedIn, EntitySelectionElement.ALL, style); |
113 | 109 |
text_published_in_detail = formFactory.createTextWithLabelElement(formElement, "Published in Detail", publishedInDetail, style); |
114 | 110 |
LabelElement label4 = formFactory.createLabel(formElement, ""); |
Also available in: Unified diff
cleanup