[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Question about extending VariablesView (DSF)

There is also a Dsf implementation of this interface, BreakpointVMModelProxyStrategy. You can see how GdbBreakpointVMProvider/BreakpointVMProvider works and how it was created through the GdbViewModelAdapter.

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Derek Morris
Sent: Thursday, September 15, 2011 1:44 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Question about extending VariablesView (DSF)

That helps - but how to I get my ICheckModelProxy created and 'plumbed in'. I see that for breakpoints, it is ultiimately created via CDebugElementProxyFactory which in turn is statically created in CDebugElementAdapter, thus providing no opportunity to override.

To give more background, I am extending the GDB debugger and adding a new view to show some additional information specific to our target. I need to find a way to 'plumb-in' my ICheckModelProxy

Thanks

--
Subs




On 15 Sep 2011, at 18:13, Chuong, Patrick wrote:

> Take a look at the ICheckModelProxy interface and how BreakpointProxy implements this interface.
> 
> Patrick
> 
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Derek Morris
> Sent: Thursday, September 15, 2011 11:41 AM
> To: CDT General developers list.
> Subject: [cdt-dev] Question about extending VariablesView (DSF)
> 
> Hi,
> 
> I am using DSF and the Indigo release of CDT. 
> 
> I have implemented a new view in my debugger by extending the VariablesView. I have my data being displayed as I want.
> 
> I have created the view with a checkbox (by overriding getViewerStyle and adding the SWT.CHECK flag). 
> 
> My question is how do receive events from the checkbox being set/cleared? I can create Cell editors by implementing the IElementEditor interface, but I can't find a way to get checkbox 'events'.
> 
> Any clues?
> 
> Thanks
> --
> Subs
> 
> 
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev