Project

General

Profile

« Previous | Next » 

Revision 6992befa

Added by Andreas Müller almost 9 years ago

Rename NonViralName authorteams to authorship #4968

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/AuthorshipDetailElement.java
72 72
		selectionCombinationAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class,
73 73
				getConversationHolder(),
74 74
				formElement, "Author",
75
				entity.getCombinationAuthorTeam(),
75
				entity.getCombinationAuthorship(),
76 76
				EntitySelectionElement.ALL, style);
77 77
		addElement(selectionCombinationAuthor);
78 78
		selectionExCombinationAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class,
79 79
				getConversationHolder(),
80 80
				formElement, "Ex Author",
81
				entity.getExCombinationAuthorTeam(),
81
				entity.getExCombinationAuthorship(),
82 82
				EntitySelectionElement.ALL, style);
83 83
		addElement(selectionExCombinationAuthor);
84 84
		selectionBasionymAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class, getConversationHolder(),
85
                formElement, "Basionym Author", entity.getBasionymAuthorTeam(),
85
                formElement, "Basionym Author", entity.getBasionymAuthorship(),
86 86
                EntitySelectionElement.ALL, style);
87 87
		addElement(selectionBasionymAuthor);
88 88
		selectionExBasionymAuthor = formFactory.createSelectionElement(TeamOrPersonBase.class, getConversationHolder(),
89
		        formElement, "Ex Basionym Author", entity.getExBasionymAuthorTeam(),
89
		        formElement, "Ex Basionym Author", entity.getExBasionymAuthorship(),
90 90
		        EntitySelectionElement.ALL, style);
91 91

  
92 92
		addElement(selectionExBasionymAuthor);
......
121 121
						Arrays.asList(new Object[] { toggleable_cache }));
122 122
			}
123 123
		} else if (eventSource == selectionCombinationAuthor) {
124
			getEntity().setCombinationAuthorTeam(
124
			getEntity().setCombinationAuthorship(
125 125
					selectionCombinationAuthor.getSelection());
126 126
		} else if (eventSource == selectionExCombinationAuthor) {
127
			getEntity().setExCombinationAuthorTeam(
127
			getEntity().setExCombinationAuthorship(
128 128
					selectionExCombinationAuthor.getSelection());
129 129
		} else if (eventSource == selectionBasionymAuthor) {
130
			getEntity().setBasionymAuthorTeam(
130
			getEntity().setBasionymAuthorship(
131 131
					selectionBasionymAuthor.getSelection());
132 132
		} else if (eventSource == selectionExBasionymAuthor) {
133
			getEntity().setExBasionymAuthorTeam(
133
			getEntity().setExBasionymAuthorship(
134 134
					selectionExBasionymAuthor.getSelection());
135 135
		}
136 136

  

Also available in: Unified diff