Project

General

Profile

« Previous | Next » 

Revision c4dcde9b

Added by Niels Hoffmann about 12 years ago

Removed all calls to active menu selection (fixes #1106)

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/CreateSynonymInHomotypicalGroupHandler.java
49 49
	public Object execute(ExecutionEvent event) throws ExecutionException {
50 50
		TaxonNameEditor editor = (TaxonNameEditor) EditorUtil.getActiveEditorPage(
51 51
				Page.NAME);
52
		ISelection menuSelection = HandlerUtil.getActiveMenuSelection(event);
52
		ISelection menuSelection = HandlerUtil.getCurrentSelection(event);
53 53
		
54 54
		Object selecteObject = ((StructuredSelection) menuSelection).getFirstElement();
55 55
		

Also available in: Unified diff