Project

General

Profile

« Previous | Next » 

Revision f04c279b

Added by Cherian Mathew about 11 years ago

selected classification is set by default to the classification of the selected taxon node

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/ChangeAcceptedTaxonToSynonymHandler.java
57 57
		// Choose new accepted taxon	
58 58
		List<UUID> excludeTaxa = new ArrayList<UUID>();
59 59
		excludeTaxa.add(oldAcceptedTaxonNode.getUuid());
60
		TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(HandlerUtil.getActiveShell(event), editor.getConversationHolder(), "Choose the accepted taxon", excludeTaxa, null, null);
60
		TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(HandlerUtil.getActiveShell(event), 
61
				editor.getConversationHolder(), 
62
				"Choose the accepted taxon", 
63
				excludeTaxa, 
64
				null, 
65
				oldAcceptedTaxonNode.getClassification());			
61 66

  
62 67
		if (newAcceptedTaxonNode == null) {
63 68
			return null;

Also available in: Unified diff