Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Cannot instantiate the type TemplateTransferDropTargetListener
Cannot instantiate the type TemplateTransferDropTargetListener [message #236075] Thu, 21 June 2007 09:52
Eclipse UserFriend
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
Previous Topic:JAWS 7.1
Next Topic:How to display the children of a model along with the model
Goto Forum:
  


Current Time: Fri Aug 12 09:32:42 GMT 2022

Powered by FUDForum. Page generated in 0.01964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top