I'm developing a Plug In for snippet generation, the snippets should be
dragged from a tree into a TextEditor.
This works perfectly for editors displaying xml or js, the
CompilationUnitEditor refuses to accept TextTransfers though (Eclipse 3.3)
I tried to use PluginTransfer instead with a DropActionAdapter extension,
which is meant to be the most flexible way to let different Views interact
with DND, but no luck. Non of the standard views seem to have an idea of
this Transfer type.
I also tried to read into the source code of the Snippet View in the WST
Plugin, which does practically the same thing, it somehow makes the
ComplationUnitEditor accept TextTransfers, but I could not figure out how
and when it does that magic.
Has anybody got experience with that? Help would be desperately
appreciated!