Project

General

Profile

« Previous | Next » 

Revision 3b975922

Added by Katja Luther over 5 years ago

ref #7793: add DB preferences to hide specimen and import issues and smaller changes in db preferences

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java
47 47
import eu.etaxonomy.taxeditor.ui.element.IEntityElement;
48 48
import eu.etaxonomy.taxeditor.ui.section.agent.TeamMemberElement;
49 49
import eu.etaxonomy.taxeditor.ui.section.description.CommonNameSourceElement;
50
import eu.etaxonomy.taxeditor.ui.section.description.detail.CommonNameDetailElement;
50 51
import eu.etaxonomy.taxeditor.ui.section.name.AuthorshipDetailElement;
51 52
import eu.etaxonomy.taxeditor.ui.section.reference.NomenclaturalReferenceDetailElement;
52 53
import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement;
......
160 161
		        return (T) NamedAreaSelectionDialog.select(shell, //conversation,
161 162
		                (NamedArea) currentSelection, DerivedUnit.class.getCanonicalName(), Country.uuidCountryVocabulary);
162 163
		    }
164
		    else if(parentElement instanceof CommonNameDetailElement ){
165
                return (T) CommonNameNamedAreaSelectionDialog.select(shell, //conversation,
166
                        (NamedArea) currentSelection, DerivedUnit.class.getCanonicalName());
167
            }
163 168
		    else{
164 169
		        return (T) NamedAreaSelectionDialog.select(shell, //conversation,
165 170
		                (NamedArea) currentSelection, parentElement.getClass().getCanonicalName());

Also available in: Unified diff