Drag&Drop of a file in an editor
Hello everybody !
Files drag&drop in an editor usually open them. What I'd like to do is to create another drag&drop (for example hitting ALT when making the drag&drop movement) that, instead of open the file, would retrieve the file contents, or at least its path, to insert a part of these contents in the editor...
I tried to add an extension : org.eclipse.ui.dropActions. It generated a dropActionDelegate class. But this class seems not to be called when I make drag&drops.
Is there a link to add between the editor and this dropActionDelegate class ?
Do you have an idea how to do this particular drag&drop ???
Thanks !!!