Project

General

Profile

« Previous | Next » 

Revision 97e308a9

Added by Andreas Müller almost 3 years ago

cleanup and remove generics from Identifier class

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DeterminationDetailSection.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 org.eclipse.jface.viewers.ISelectionProvider;
......
21 20
/**
22 21
 * @author n.hoffmann
23 22
 * @created May 11, 2011
24
 * @version 1.0
25 23
 */
26 24
public class DeterminationDetailSection extends AbstractCdmDetailSection<DerivedUnitFacade> implements IDerivedUnitFacadeDetailSection {
27 25

  
28
	/**
29
	 * @param formFactory
30
	 * @param conversation
31
	 * @param parentElement
32
	 * @param selectionProvider
33
	 * @param style
34
	 */
35 26
	public DeterminationDetailSection(CdmFormFactory formFactory,
36 27
			ConversationHolder conversation, ICdmFormElement parentElement,
37 28
			ISelectionProvider selectionProvider, int style) {
38 29
		super(formFactory, conversation, parentElement, selectionProvider, style);
39 30
	}
40 31

  
41
	/* (non-Javadoc)
42
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#getHeading()
43
	 */
44 32
	@Override
45 33
	public String getHeading() {
46 34
		String sectionTitle = "Determinations";
47 35
		if(getEntity()!=null && getEntity().getDeterminations().size()>0){
48
			return sectionTitle+" +"; 
36
			return sectionTitle+" +";
49 37
		}
50 38
		return sectionTitle;
51 39
	}
52 40

  
53
	/* (non-Javadoc)
54
	 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
55
	 */
56 41
	@Override
57 42
	protected AbstractCdmDetailElement<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) {
58 43
	    return formFactory.createDeterminationDetailElement(parentElement);
59 44
	}
60

  
61
}
45
}

Also available in: Unified diff