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

> 
> Here's a patch for CViewDragAdapter that re-enables dragging non-resource 
> selections from the "C/C++ Projects" view.
> 
> Yes, the non-resource selections I'm particularly interested in are 
> children of ITranslationUnit.
> 
> 

Sorry for the delay ... vacation days to burn 8-)

Is this the right approach ?

I we want to do D&D of non-resources it is probably better to
define a Drag/Drop Adapter for the task.

The CView{Drag/Drop}Adapter are probably misnommers should be
CViewResourceDragAdapter etc ..

On my GNU/Linux box with the patch apply, you have the impression
that you could drag a function an copy/move it to another file but
it is actually a noop.  If we do not support it, lets not enable
the operation, just yet.




Back to the top