Project

General

Profile

Revision 387c38e7

ID387c38e764bb447a97b99dba824855f322c6891f
Parent 017d9197
Child 62c7b292

Added by Andreas Müller about 2 years ago

cleanup

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/SearchManager.java
74 74
			return NO_RESULTS;
75 75
		}
76 76

  
77
		List<NameRelationship> relationships = new ArrayList<NameRelationship>();
77
		List<NameRelationship> relationships = new ArrayList<>();
78 78
		List<RelationshipBase> all = CdmStore.getService(INameService.class).getAllRelationships(0, 0);
79 79

  
80 80
		for (RelationshipBase relationship : all){
......
85 85
		return relationships;
86 86
	}
87 87

  
88
	public List<UuidAndTitleCache<IdentifiableEntity>> findTaxaAndNames(IFindTaxaAndNamesConfigurator<TaxonBase> configurator){
88
	public List<UuidAndTitleCache<? extends IdentifiableEntity>> findTaxaAndNames(IFindTaxaAndNamesConfigurator<TaxonBase> configurator){
89 89
		return CdmStore.getService(ITaxonService.class).findTaxaAndNamesForEditor(configurator);
90 90
	}
91 91

  
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
45 45
 *
46 46
 * @author n.hoffmann
47 47
 * @created Mar 2, 2010
48
 * @version 1.0
49 48
 */
50 49
public class ReferenceDetailElement extends AbstractIdentifiableEntityDetailElement<Reference>
51 50
		implements IErrorIntolerableElement, IExceptionHandler {
......
99 98
		this.isWizard = isWizard;
100 99
	}
101 100

  
102
	/*
103
	 * (non-Javadoc)
104
	 *
105
	 * @see
106
	 * eu.etaxonomy.taxeditor.forms.section.cdmdetail.AbstractCdmDetailComposite
107
	 * #createControl(org.eclipse.swt.widgets.Composite, int)
108
	 */
101

  
109 102
	/** {@inheritDoc} */
110 103
	@Override
111 104
	protected void createControls(ICdmFormElement formElement,
112 105
			Reference entity, int style) {
113
		ICdmFormElement o = this.getParentElement();
114
		Class clazz=o.getClass();
115 106
		if (isWizard){
116 107
		    setWarnForReferencingObjects(formElement);
117 108
		}
118 109

  
119

  
120 110
		toggleable_cache = formFactory.createToggleableTextField(formElement,
121 111
				"Reference Cache", entity.getTitleCache(),
122 112
				entity.isProtectedTitleCache(), style);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)