[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] double click listener in Debug View

Hi Mike,
Per the double-click discussion in our meeting this morning: CDT registers a double-click listener on the tree view in the following module: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/ui/viewmodel/DefaultVMModelProxyStrategy.java (line 210).


The idea is to install a jface IDoubleClickListener in the viewer upon IModelProxy.installed() and to clean it up on IModelProxy.dispose(). The proxy also has to make sure that it owns the element on which the double-click action was invoked.

One down-side is that this implementation does not work for the breadcrumb.

Cheers,
Pawel