Project

General

Profile

« Previous | Next » 

Revision 8f5ccc1e

Added by Katja Luther almost 8 years ago

add nomenclatural author search for team members

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EditFromSelectionWizard.java
103 103
			addPage(new ReferenceWizardPage(formFactory,
104 104
					selectionElement.getConversationHolder(),
105 105
					(HibernateProxyHelper.deproxy(rootElement, Reference.class))));
106
		} else if (rootElement.isInstanceOf(Team.class)) {
106
		} else if (rootElement.isInstanceOf(Team.class) && selectionElement instanceof EntitySelectionElementWithAbbreviatedTitle<?>) {
107 107
			addPage(new TeamWizardPage(formFactory,
108
					selectionElement.getConversationHolder(), HibernateProxyHelper.deproxy(rootElement, Team.class)));
109
		} else if (rootElement.isInstanceOf(Person.class)) {
108
					selectionElement.getConversationHolder(), HibernateProxyHelper.deproxy(rootElement, Team.class), true));
109
		} else if (rootElement.isInstanceOf(Team.class) && !(selectionElement instanceof EntitySelectionElementWithAbbreviatedTitle<?>)) {
110
            addPage(new TeamWizardPage(formFactory,
111
                    selectionElement.getConversationHolder(), HibernateProxyHelper.deproxy(rootElement, Team.class), false));
112
        } else if (rootElement.isInstanceOf(Person.class)) {
110 113
			addPage(new PersonWizardPage(formFactory,
111 114
					selectionElement.getConversationHolder(), HibernateProxyHelper.deproxy(rootElement, Person.class)));
112 115
		} else if (rootElement.isInstanceOf(NonViralName.class)) {

Also available in: Unified diff