Revision 24b8f2f1
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/AbstractGroupedContainerE4.java | ||
---|---|---|
15 | 15 |
|
16 | 16 |
import org.apache.commons.lang.StringUtils; |
17 | 17 |
import org.eclipse.core.runtime.Assert; |
18 |
import org.eclipse.e4.ui.workbench.modeling.ESelectionService; |
|
19 | 18 |
import org.eclipse.jface.dialogs.Dialog; |
20 | 19 |
import org.eclipse.jface.text.IDocument; |
21 | 20 |
import org.eclipse.jface.text.Position; |
... | ... | |
60 | 59 |
import eu.etaxonomy.taxeditor.editor.name.container.LineBreakListener; |
61 | 60 |
import eu.etaxonomy.taxeditor.editor.name.container.LineWrapSupport; |
62 | 61 |
import eu.etaxonomy.taxeditor.editor.name.container.NameViewer; |
62 |
import eu.etaxonomy.taxeditor.editor.name.dnd.NameEditorDragSourceEffect; |
|
63 | 63 |
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditorE4; |
64 |
import eu.etaxonomy.taxeditor.editor.name.e4.dnd.NameEditorDragListenerE4; |
|
64 | 65 |
import eu.etaxonomy.taxeditor.editor.name.operation.CreateSynonymInNewGroupOperation; |
65 | 66 |
import eu.etaxonomy.taxeditor.model.AbstractUtility; |
66 | 67 |
import eu.etaxonomy.taxeditor.model.IElementHasDetails; |
... | ... | |
682 | 683 |
operations); |
683 | 684 |
dragSource.setTransfer(types); |
684 | 685 |
|
685 |
//FIXME E4 migrate dnd |
|
686 |
// dragSource.addDragListener(new NameEditorDragListener(this)); |
|
687 |
// dragSource.setDragSourceEffect(new NameEditorDragSourceEffect( |
|
688 |
// control)); |
|
686 |
dragSource.addDragListener(new NameEditorDragListenerE4(this)); |
|
687 |
dragSource.setDragSourceEffect(new NameEditorDragSourceEffect( |
|
688 |
control)); |
|
689 | 689 |
} |
690 | 690 |
} |
691 | 691 |
} |
Also available in: Unified diff
ref #6595 migrate drag and drop functionality