Revision 9ac72187
Added by Lorna Morris over 12 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/MoveDescriptionElementsHandler.java | ||
---|---|---|
35 | 35 |
import eu.etaxonomy.taxeditor.store.CdmStore; |
36 | 36 |
import eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonBaseSelectionDialog; |
37 | 37 |
|
38 |
|
|
38 | 39 |
/** |
39 | 40 |
* @author n.hoffmann |
40 | 41 |
* @created Feb 8, 2011 |
... | ... | |
66 | 67 |
} |
67 | 68 |
} |
68 | 69 |
|
69 |
Taxon targetTaxon = TaxonBaseSelectionDialog.selectTaxon(HandlerUtil.getActiveShell(event), EditorUtil.getActiveMultiPageTaxonEditor().getConversationHolder()); |
|
70 |
Taxon targetTaxon = TaxonBaseSelectionDialog.selectTaxon(HandlerUtil.getActiveShell(event), EditorUtil.getActiveMultiPageTaxonEditor().getConversationHolder(), null);
|
|
70 | 71 |
|
71 | 72 |
TaxonDescription targetDescription = TaxonDescription.NewInstance(targetTaxon); |
72 | 73 |
targetDescription.setTitleCache(String.format("Copied from %s", EditorUtil.getActiveMultiPageTaxonEditor().getTaxon()), true); |
Also available in: Unified diff
Fixes #2681