Cannot instantiate the type TemplateTransferDropTargetListener [message #236075] |
Thu, 21 June 2007 09:52 |
Eclipse User |
|
|
|
Originally posted by: neliacatarina.portugalmail.pt
Hi
In my code I have this line:
getViewer().addDropTargetListener((TransferDropTargetListene r) new TemplateTransferDropTargetListener(getViewer()));
And is working fine since the beggining but now, for some reason, it started complaining that it can't instanceat it. I think maybe it's a conflict with it's super org.eclipse.gef.dnd.AbstractTransferDropTargetListener.
It thinks it is an abstract class and tells me I can't instanceate it.
Also, I have
getGraphicalViewer().addDropTargetListener(new FlowTemplateTransferDropTargetListener(getGraphicalViewer()) );
And it tells me method addDropTargetListener(TransferDropTargetListener) from the type EditPartViewer is deprecated...
How do I fix this?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02538 seconds