Revision 3be6ef3e
Added by Niels Hoffmann over 13 years ago
taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/name/AuthorshipDetailElement.java | ||
---|---|---|
30 | 30 |
import eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection; |
31 | 31 |
|
32 | 32 |
/** |
33 |
* <p>AuthorshipDetailElement class.</p> |
|
34 |
* |
|
33 | 35 |
* @author n.hoffmann |
34 | 36 |
* @created Mar 4, 2010 |
35 | 37 |
* @version 1.0 |
... | ... | |
43 | 45 |
private AbstractSelectionElement selection_exCombinationAuthorTeam; |
44 | 46 |
private AbstractSelectionElement selection_combinationAuthorTeam; |
45 | 47 |
|
48 |
/** |
|
49 |
* <p>Constructor for AuthorshipDetailElement.</p> |
|
50 |
* |
|
51 |
* @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object. |
|
52 |
* @param formElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object. |
|
53 |
* @param style a int. |
|
54 |
*/ |
|
46 | 55 |
public AuthorshipDetailElement(CdmFormFactory cdmFormFactory, |
47 | 56 |
ICdmFormElement formElement, int style) { |
48 | 57 |
super(cdmFormFactory, formElement); |
49 | 58 |
} |
50 | 59 |
|
60 |
/** {@inheritDoc} */ |
|
51 | 61 |
@Override |
52 | 62 |
protected void createControls(ICdmFormElement formElement, NonViralName entity, int style) { |
53 | 63 |
toggleable_cache = formFactory.createToggleableTextField(this, "Authorship Cache", entity.getAuthorshipCache(), entity.isProtectedAuthorshipCache(), style); |
... | ... | |
66 | 76 |
addElement(selection_exBasionymAuthorTeam); |
67 | 77 |
} |
68 | 78 |
|
79 |
/** {@inheritDoc} */ |
|
69 | 80 |
@Override |
70 | 81 |
public void updateContent() { |
71 | 82 |
if(getEntity() == null){ |
... | ... | |
84 | 95 |
} |
85 | 96 |
|
86 | 97 |
|
98 |
/** {@inheritDoc} */ |
|
87 | 99 |
@Override |
88 | 100 |
public void handleEvent(Object eventSource) { |
89 | 101 |
if(eventSource == toggleable_cache){ |
Also available in: Unified diff
performed javacscript:fix and worked on documentation