Project

General

Profile

Revision 3dc6890f

ID3dc6890f405bb4faec89ed87fe9ab8ae298be289
Parent 4654a246
Child db0db938

Added by Patrick Plitzner over 2 years ago

ref #7102 Enable wizard for taxa editing

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EditFromSelectionWizard.java
38 38
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
39 39
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
40 40
import eu.etaxonomy.cdm.model.reference.Reference;
41
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
41 42
import eu.etaxonomy.taxeditor.model.MessagingUtils;
42 43
import eu.etaxonomy.taxeditor.model.TextHelper;
43 44
import eu.etaxonomy.taxeditor.newWizard.AmplificationGeneralWizardPage;
......
58 59
import eu.etaxonomy.taxeditor.ui.section.occurrence.FieldUnitWizardPage;
59 60
import eu.etaxonomy.taxeditor.ui.section.occurrence.GatheringEventWizardPage;
60 61
import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceWizardPage;
62
import eu.etaxonomy.taxeditor.ui.section.taxon.TaxonWizardPage;
61 63
import eu.etaxonomy.taxeditor.ui.section.user.UserDetailWizardPage;
62 64

  
63 65
/**
......
115 117
			addPage(new NonViralNameWizardPage(formFactory,
116 118
					selectionElement.getConversationHolder(),
117 119
					HibernateProxyHelper.deproxy(rootElement, TaxonName.class)));
118
		} else if (rootElement.isInstanceOf(SpecimenOrObservationBase.class)) {
120
		} else if (rootElement.isInstanceOf(TaxonBase.class)) {
121
            addPage(new TaxonWizardPage(formFactory,
122
                    selectionElement.getConversationHolder(),
123
                    HibernateProxyHelper.deproxy(rootElement, TaxonBase.class)));
124
        }  else if (rootElement.isInstanceOf(SpecimenOrObservationBase.class)) {
119 125

  
120 126
			DerivedUnitFacade facade;
121 127
			try {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)