Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Checking an actionSet programatically

Didn't work.

The problem is that when I have the launch config dialog open,
the set of platform active contexts changes.  That means
that the C/C++ Tracepoint action set does not appear active
when dealing with the launch config dialog.

Does anyone have an idea how I can make use of an actionSet
from within the launch config dialog?

Thanks

Marc

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Tuesday, July 19, 2011 9:06 AM
> To: 'CDT General developers list.'
> Subject: Re: [cdt-dev] Checking an actionSet programatically
> 
> Found my answer.
> 
> Unlike what it says here: 
> http://wiki.eclipse.org/FAQ_What_is_an_action_set%3F 
> 
> there is a way to access actionSet programatically using 
> IContextService.
> 
> Marc
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx 
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> > Sent: Tuesday, July 19, 2011 8:36 AM
> > To: 'CDT General developers list.'
> > Subject: [cdt-dev] Checking an actionSet programatically
> > 
> > Hi,
> > 
> > I want to programatically add a launch option but I only want 
> > to show it 
> > when the C/C++ Tracepoint actionSet is enabled.
> > Is there a trick to be able to check programatically if an 
> action set
> > is enabled?  Would checking the visibility of some other UI 
> component
> > that is govered by the actionSet be the way to go?
> > 
> > Thanks
> > 
> > Marc
> > _______________________________________________
> > 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
> 

Back to the top