Project

General

Profile

« Previous | Next » 

Revision be719c48

Added by Patrick Plitzner over 7 years ago

ref #6058 store named area filters more individually

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java
126 126
		}
127 127
		if(clazz.equals(NamedArea.class)){
128 128
		    if(parentElement instanceof IEntityElement && ((IEntityElement) parentElement).getEntity() instanceof DerivedUnitFacade){
129
		        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
129
		        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, DerivedUnit.class.getCanonicalName(), Country.uuidCountryVocabulary);
130 130
		    }
131 131
		    else{
132
		        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection);
132
		        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, parentElement.getClass().getCanonicalName());
133 133
		    }
134 134
		}
135 135
		if(clazz.equals(Collection.class)){

Also available in: Unified diff