Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] CDT/UI Fix CView Drag&Drop

> 
> Alain,
> 
> This patch changes CViewDragAdapter.java in ways that disable drag and 
> drop for non-resource selections (the only reason for my previous patch).
> 
> The problems are in dragSetData where the method returns (because there 
> are no resources selected) before the LocalSelectionTransfer is queried 
> and in dragStart where doit is set to false if any members of the 
> selection are not resources.
> 
> What's the policy here: Should I submit a new patch or should we ask the 
> author of this patch to do so?
> 

8-)
Do you have a patch handy, please submit.

When you say non-resource selections, do you mean children of ITranslationUnit
like IInclude, IVariable etc .. to also work with Drag&Drop.  It was on
my TODO list.

Let me know, to not duplicate.

Thanks for the heads up.




Back to the top