[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Newbie Question: Gef + DND

> > public class MappingTemplateTransferDropTargetListener extends
> > TemplateTransferDropTargetListener {
> >
> >     public MappingTemplateTransferDropTargetListener(EditPartViewer
> viewer)
> > {
> >
> >                     super(viewer);
> >
> >     }
> >
> >     protected CreationFactory getFactory(Object template) {
> >
> >                 return new MappingElementCreationFactory(template);
> >
> >     }
> >
> > }

A little re-question.
I see in the tutorials and articles it is recommanded use Abstract... .
Why now you don't use the Template... one?

Sorry, Gino.