[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: Drag and drop (DnD) onto CompilationUnitEditor (JDT Java editor)

Thanks for this reply.

I need to find a workaround for this, guess I dont have the luxury of time
for JDT to implement it. Can this functionality be implemented by extending
CompilationUnitEditor (Java editor) in my plugin and add the drop
functionality to it? Can you provide some poniters as to how this can be
done.

Thanks,
~ Neeraj.

"Tom Eicher" <eclipse@xxxxxxxxxxxxxxx> wrote in message
news:d76iqg$vt1$1@xxxxxxxxxxxxxxxxxxx
> Neeraj Mahajan wrote:
> > Is it possible for a plugin to drop onto CompilationUnitEditor (i.e. JDT
> > Java editor) from lets say a palette? Lets assume that the palette has
an
> > item - "Method". So when I drag and drop this item onto Java editor a
method
> > is added with some default definition.
>
> This is not currently supported - what you would need is a drop handler
> extension point that you could contribute to. Feel free to file an
> enhancement request against jdt-text.
>
> -tom