Project

General

Profile

« Previous | Next » 

Revision e023a631

Added by Niels Hoffmann over 13 years ago

Performance optimization and reorganization of name editor. DnD should work on Mac as well.

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/handler/SetBasionymHandler.java
16 16
import org.eclipse.core.commands.ExecutionException;
17 17
import org.eclipse.core.commands.IHandler;
18 18
import org.eclipse.core.commands.common.NotDefinedException;
19
import org.eclipse.core.commands.operations.IUndoableOperation;
20 19
import org.eclipse.jface.viewers.IStructuredSelection;
21 20
import org.eclipse.ui.handlers.HandlerUtil;
22 21

  
......
24 23
import eu.etaxonomy.taxeditor.editor.EditorUtil;
25 24
import eu.etaxonomy.taxeditor.editor.Page;
26 25
import eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor;
26
import eu.etaxonomy.taxeditor.operations.AbstractPostOperation;
27 27
import eu.etaxonomy.taxeditor.operations.ChangeHomotypicalGroupBasionymOperation;
28 28

  
29 29
/**
......
46 46
				
47 47
		TaxonBase selectedTaxonBase = (TaxonBase) selection.getFirstElement();
48 48

  
49
		IUndoableOperation operation;
49
		AbstractPostOperation operation;
50 50
		
51 51
		try {
52 52
			operation = new ChangeHomotypicalGroupBasionymOperation(event.getCommand().getName(), editor.getUndoContext(),

Also available in: Unified diff