Revision b66bc2e5
Added by Andreas Müller about 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CollectionDetailElement.java | ||
---|---|---|
6 | 6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
7 | 7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
8 | 8 |
*/ |
9 |
|
|
10 | 9 |
package eu.etaxonomy.taxeditor.ui.section.occurrence; |
11 | 10 |
|
12 | 11 |
import eu.etaxonomy.cdm.model.agent.Institution; |
... | ... | |
40 | 39 |
private EntitySelectionElement<Collection> selection_superCollection; |
41 | 40 |
|
42 | 41 |
/** |
43 |
* <p> |
|
44 | 42 |
* Constructor for CollectionDetailElement. |
45 |
* </p> |
|
46 |
* |
|
47 |
* @param formFactory |
|
48 |
* a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} |
|
49 |
* object. |
|
50 |
* @param formElement |
|
51 |
* a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} |
|
52 |
* object. |
|
53 | 43 |
*/ |
54 | 44 |
public CollectionDetailElement(CdmFormFactory formFactory, |
55 | 45 |
ICdmFormElement formElement) { |
... | ... | |
73 | 63 |
formElement, "Town Or Location", entity.getTownOrLocation(), |
74 | 64 |
style); |
75 | 65 |
selection_institute = formFactory |
76 |
.createSelectionElement(Institution.class,//getConversationHolder(),
|
|
66 |
.createSelectionElement(Institution.class, |
|
77 | 67 |
formElement, "Institute", |
78 | 68 |
entity.getInstitute(), |
79 | 69 |
EntitySelectionElement.ALL, style); |
80 | 70 |
selection_superCollection = formFactory |
81 |
.createSelectionElement(Collection.class,//getConversationHolder(),
|
|
71 |
.createSelectionElement(Collection.class, |
|
82 | 72 |
formElement, |
83 | 73 |
"Super Collection", entity.getSuperCollection(), |
84 | 74 |
EntitySelectionElement.ALL, style); |
... | ... | |
107 | 97 |
text_titleCache.setText(getEntity().getTitleCache()); |
108 | 98 |
} |
109 | 99 |
} |
110 |
} |
|
100 |
} |
Also available in: Unified diff
cleanup