Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/name/NonViralNameDetailSection.java
24 24
import eu.etaxonomy.taxeditor.section.ITaxonDetailSection;
25 25

  
26 26
/**
27
 * <p>NonViralNameDetailSection class.</p>
28
 *
27 29
 * @author n.hoffmann
28 30
 * @created May 20, 2010
29 31
 * @version 1.0
......
35 37
	private static final Logger logger = Logger
36 38
			.getLogger(NonViralNameDetailSection.class);
37 39

  
40
	/**
41
	 * <p>Constructor for NonViralNameDetailSection.</p>
42
	 *
43
	 * @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
44
	 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
45
	 * @param parentElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object.
46
	 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
47
	 * @param style a int.
48
	 */
38 49
	public NonViralNameDetailSection(CdmFormFactory formFactory, ConversationHolder conversation,
39 50
			ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) {
40 51
		super(formFactory, conversation, parentElement, selectionProvider, style);
......
43 54
	/* (non-Javadoc)
44 55
	 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getDetailType()
45 56
	 */
57
	/** {@inheritDoc} */
46 58
	@Override
47 59
	protected DetailType getDetailType() {
48 60
		return DetailType.NONVIRALNAME;
......
51 63
	/* (non-Javadoc)
52 64
	 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
53 65
	 */
66
	/** {@inheritDoc} */
54 67
	@Override
55 68
	public String getHeading() {
56 69
		return "Name";
......
59 72
	/* (non-Javadoc)
60 73
	 * @see eu.etaxonomy.taxeditor.section.ITaxonDetailSection#setTaxon(eu.etaxonomy.cdm.model.taxon.TaxonBase)
61 74
	 */
75
	/** {@inheritDoc} */
62 76
	public void setTaxon(TaxonBase taxon) {
63 77
		NonViralName name = (NonViralName) HibernateProxyHelper.deproxy(taxon.getName());
64 78
		setEntity(name);

Also available in: Unified diff