Hi Marc,
This will work for me. But why disable the
option if there is no breakpoint added to the breakpoint manager, which implements
this interface?
I should be able to toggle this option
without a breakpoint set, otherwise I am limited to set a breakpoint first
before this option is enabled.
I have submitted a bug to track this issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312121.
Thanks,
Patrick
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
Sent: Friday, May 07, 2010 2:40 PM
To: 'CDT General developers list.'
Subject: [cdt-dev] RE: Breakpoints
View Show Fullpath
I've played around there recently and had
a similar problem with that action for teh debug view.
For the breakpoint view, we don't want to
enable this action if there are only java breakpoints (for example),
so, as long as you have some common
attribute between an ICBreakpoint and your breakpoint, we should
be able to fix this.
One idea I played with was a
IShowFullPathObject interface which any breakpoint that supports this
action should implement.
Marc
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuong, Patrick
Sent: Friday, May 07, 2010 11:55
AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Breakpoints
View Show Fullpath
Hi,
I am running into an issue with the “Show Full
Paths” action in the Breakpoints view. This action is contributed by CDT
and I would like to reuse this action for my own breakpoint type that
isn’t an ICBreakpoint type. It looks like the code in ViewFilterAction
disables this action if there isn’t a breakpoint of type ICBreakpoint set
in the platform breakpoint manager. Can this be done in a way to support
non-ICBreakpoint type?
Regards,
Patrick