Project

General

Profile

« Previous | Next » 

Revision f5979052

Added by Katja Luther over 6 years ago

fix multiple representation by removing conversation of selection dialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/agent/InstitutionDetailElement.java
1 1
/**
2 2
 * Copyright (C) 2007 EDIT
3
 * European Distributed Institute of Taxonomy 
3
 * European Distributed Institute of Taxonomy
4 4
 * http://www.e-taxonomy.eu
5
 * 
5
 *
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
 */
......
43 43

  
44 44
	/*
45 45
	 * (non-Javadoc)
46
	 * 
46
	 *
47 47
	 * @see
48 48
	 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
49 49
	 * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
......
52 52
	protected void createControls(ICdmFormElement formElement,
53 53
			Institution entity, int style) {
54 54
		this.setWarnForReferencingObjects(formElement);
55
			
55

  
56 56
		text_name = formFactory.createTextWithLabelElement(formElement, "Name",
57 57
				entity.getName(), style);
58 58
		text_code = formFactory.createTextWithLabelElement(formElement, "Code",
......
60 60
		// section_institutionTypes
61 61
		selection_partOfInstitution = formFactory
62 62
				.createSelectionElement(Institution.class,
63
						getConversationHolder(), formElement, "Is Part Of",
63
						//getConversationHolder(),
64
				        formElement, "Is Part Of",
64 65
						entity.getIsPartOf(),
65
						EntitySelectionElement.EDITABLE | EntitySelectionElement.SELECTABLE | EntitySelectionElement.DELETABLE, 
66
						EntitySelectionElement.EDITABLE | EntitySelectionElement.SELECTABLE | EntitySelectionElement.DELETABLE,
66 67
						style);
67 68
	}
68 69

  
69 70
	/*
70 71
	 * (non-Javadoc)
71
	 * 
72
	 *
72 73
	 * @see
73 74
	 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
74 75
	 * .lang.Object)

Also available in: Unified diff